/* Cosmo: full-width glossy magazine front. */
.synergy-header-cosmo,
.synergy-home-cosmo,
.synergy-sidebar-cosmo,
.synergy-footer-cosmo {
  --cosmo-ink: #080008;
  --cosmo-paper: #fff7fb;
  --cosmo-white: #fff;
  --cosmo-hot: #ff0a78;
  --cosmo-red: #ff2b32;
  --cosmo-yellow: #ffe642;
  --cosmo-lilac: #c9a9ff;
  --cosmo-blue: #51d4ff;
  --cosmo-line: #080008;
  --cosmo-muted: #6f5966;
  --cosmo-gutter: clamp(14px, 2.1vw, 34px);
  --synergy-design-page: 100%;
  --synergy-design-page-gutter: var(--cosmo-gutter);
  --synergy-design-page-gutter-mobile: 14px;
  color: var(--cosmo-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.synergy-bottom-nav--cosmo {
  --synergy-bottom-design-bg: #fff;
  --synergy-bottom-design-fg: #080008;
  --synergy-bottom-design-border: 4px solid #ff1493;
  --synergy-bottom-design-shadow: 0 -18px 44px rgba(255, 20, 147, 0.18), 0 -4px 0 #080008;
  --synergy-bottom-design-blur: none;
  --synergy-bottom-design-height: 68px;
  --synergy-bottom-design-pad-x: 7px;
  --synergy-bottom-design-icon-radius: 2px;
}

.synergy-bottom-nav--cosmo .synergy-bottom-nav-item {
  border-radius: 0;
}

.synergy-bottom-nav--cosmo .synergy-bottom-nav-label {
  font-size: 8px;
  font-weight: 950;
}

.synergy-bottom-nav--cosmo .synergy-bottom-nav-item.is-active,
.synergy-bottom-nav--cosmo .synergy-bottom-nav-item[aria-current="page"],
.synergy-bottom-nav--cosmo .synergy-bottom-nav-item[aria-current="true"] {
  color: #ff1493;
}

.synergy-bottom-nav--cosmo .synergy-bottom-nav-item.is-active .synergy-bottom-nav-icon,
.synergy-bottom-nav--cosmo .synergy-bottom-nav-item[aria-current="page"] .synergy-bottom-nav-icon,
.synergy-bottom-nav--cosmo .synergy-bottom-nav-item[aria-current="true"] .synergy-bottom-nav-icon,
.synergy-bottom-nav--cosmo .synergy-bottom-nav-item.is-primary .synergy-bottom-nav-icon {
  background: #fff200;
  color: #080008;
  box-shadow: 4px 4px 0 #080008;
}

.synergy-header-cosmo {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cosmo-white);
  color: var(--cosmo-ink);
}

.cosmo-flash {
  background: var(--cosmo-ink);
  color: var(--cosmo-white);
}

.cosmo-flash-inner {
  display: grid;
  min-height: 32px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cosmo-flash span {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  background: var(--cosmo-yellow);
  padding: 0 12px;
  color: var(--cosmo-ink);
}

.cosmo-flash a,
.cosmo-flash time {
  color: var(--cosmo-white);
  text-decoration: none;
}

.cosmo-flash time {
  color: var(--cosmo-yellow);
}

.cosmo-masthead {
  display: grid;
  min-height: 94px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 5px solid var(--cosmo-hot);
}

.cosmo-brand {
  min-width: 0;
  justify-self: center;
}

.cosmo-logo-link,
.cosmo-drawer-logo,
.cosmo-footer-logo {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.cosmo-logo-image {
  display: block;
  max-height: 94px;
  max-width: min(100%, 720px);
  width: auto;
}

.cosmo-logo-text,
.cosmo-drawer-logo-text,
.cosmo-footer-logo-text {
  display: block;
  overflow: hidden;
  color: var(--cosmo-hot);
  font-size: clamp(46px, 8vw, 116px);
  font-weight: 1000;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cosmo-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cosmo-icon-button,
.cosmo-language > button {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cosmo-ink);
  background: var(--cosmo-white);
  color: var(--cosmo-ink);
  cursor: pointer;
}

.cosmo-icon-button {
  width: 42px;
}

.cosmo-icon-button:hover,
.cosmo-language > button:hover {
  background: var(--cosmo-yellow);
}

.cosmo-icon-button svg {
  width: 21px;
  height: 21px;
}

.cosmo-language {
  position: relative;
}

.cosmo-language > button {
  padding: 0 11px;
  font-size: 11px;
  font-weight: 1000;
}

.cosmo-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 86px;
  border: 2px solid var(--cosmo-ink);
  background: var(--cosmo-white);
  box-shadow: 6px 6px 0 var(--cosmo-hot);
}

.cosmo-language-menu a {
  padding: 9px 11px;
  color: var(--cosmo-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.cosmo-language-menu a.is-active {
  background: var(--cosmo-ink);
  color: var(--cosmo-white);
}

.cosmo-nav-wrap {
  border-bottom: 2px solid var(--cosmo-ink);
  background: var(--cosmo-white);
}

.cosmo-nav {
  --synergy-design-nav-column-gap: 0;
  --synergy-design-nav-row-gap: 0;
  min-height: 46px;
  justify-content: center;
  overflow: hidden;
}

.cosmo-nav-link {
  min-height: 46px;
  padding: 0 clamp(9px, 1.4vw, 20px);
  color: var(--cosmo-ink);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.cosmo-nav-link:hover {
  background: var(--cosmo-hot);
  color: var(--cosmo-white);
}

.synergy-home-cosmo {
  background:
    linear-gradient(90deg, rgba(255, 10, 120, 0.09), transparent 32%, rgba(81, 212, 255, 0.12)),
    var(--cosmo-paper);
}

.cosmo-home-inner {
  padding-top: 22px;
  padding-bottom: 48px;
}

.cosmo-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.58fr) minmax(280px, 0.82fr);
  gap: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}

.cosmo-cover-lead,
.cosmo-coverlines,
.cosmo-side-stack,
.cosmo-card,
.cosmo-board,
.cosmo-popular,
.cosmo-latest {
  min-width: 0;
}

.cosmo-card a,
.cosmo-board-head a,
.cosmo-coverlines a,
.cosmo-popular a {
  color: inherit;
  text-decoration: none;
}

.cosmo-card a:hover,
.cosmo-board-head a:hover,
.cosmo-coverlines a:hover,
.cosmo-popular a:hover {
  text-decoration: underline;
}

.cosmo-card {
  border: 0;
  background: transparent;
}

.cosmo-card-cover {
  display: grid;
  height: 100%;
  border: 3px solid var(--cosmo-ink);
  background: var(--cosmo-white);
  box-shadow: 10px 10px 0 var(--cosmo-hot);
}

.cosmo-media {
  --synergy-design-media-ratio: 4 / 3;
  margin: 0;
  background: #f6dbe9;
}

.cosmo-media-cover {
  --synergy-design-media-ratio: 16 / 9;
}

.cosmo-card-cover .cosmo-media-cover {
  border-bottom: 3px solid var(--cosmo-ink);
}

.cosmo-card-cover > .cosmo-cover-title,
.cosmo-card-cover > .cosmo-card-excerpt,
.cosmo-card-cover > .cosmo-card-meta {
  padding-right: clamp(16px, 2vw, 28px);
  padding-left: clamp(16px, 2vw, 28px);
}

.cosmo-cover-title {
  margin: 18px 0 0;
  color: var(--cosmo-ink);
  font-size: clamp(34px, 5.1vw, 72px);
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.cosmo-card-excerpt {
  margin: 10px 0 0;
  color: var(--cosmo-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.35;
}

.cosmo-card-meta {
  margin-top: 12px;
  padding-bottom: 18px;
  color: var(--cosmo-hot);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cosmo-card-meta a {
  color: var(--cosmo-hot);
}

.cosmo-coverlines {
  display: grid;
  gap: 10px;
}

.cosmo-coverlines h2,
.cosmo-board-head h2,
.cosmo-popular h2,
.cosmo-latest h2 {
  margin: 0;
  color: var(--cosmo-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.cosmo-coverlines article {
  display: grid;
  min-height: 104px;
  align-content: space-between;
  border: 3px solid var(--cosmo-ink);
  background: var(--cosmo-yellow);
  padding: 12px;
}

.cosmo-coverlines article:nth-child(odd) {
  background: var(--cosmo-hot);
  color: var(--cosmo-white);
}

.cosmo-coverlines span {
  font-size: 12px;
  font-weight: 1000;
}

.cosmo-coverlines a {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.cosmo-side-stack {
  display: grid;
  gap: 14px;
}

.cosmo-card-side,
.cosmo-card-tile,
.cosmo-card-mini {
  border: 2px solid var(--cosmo-ink);
  background: var(--cosmo-white);
}

.cosmo-card-side {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
}

.cosmo-card-side .cosmo-media {
  --synergy-design-media-ratio: 1 / 1;
  border-right: 2px solid var(--cosmo-ink);
}

.cosmo-card-title {
  margin: 0;
  padding: 10px;
  color: var(--cosmo-ink);
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.cosmo-card-side .cosmo-card-meta,
.cosmo-card-tile .cosmo-card-meta,
.cosmo-card-mini .cosmo-card-meta {
  padding: 0 10px 10px;
}

.cosmo-shelf,
.cosmo-latest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: 28px;
}

.cosmo-shelf .cosmo-card-title,
.cosmo-latest-grid .cosmo-card-title {
  min-height: 68px;
}

.cosmo-ad-band {
  min-height: 128px;
  margin: 30px 0;
  border: 3px solid var(--cosmo-ink);
  background:
    linear-gradient(90deg, var(--cosmo-yellow), #fff 42%, var(--cosmo-lilac));
  padding: 12px;
  box-shadow: 8px 8px 0 var(--cosmo-ink);
}

.cosmo-ad-band.is-pair {
  background:
    linear-gradient(90deg, var(--cosmo-blue), #fff 42%, var(--cosmo-yellow));
}

.cosmo-boards {
  display: grid;
  gap: 32px;
}

.cosmo-board {
  border: 3px solid var(--cosmo-ink);
  background: var(--cosmo-white);
}

.cosmo-board.is-alt {
  background: #fff0f7;
}

.cosmo-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid var(--cosmo-ink);
  background: var(--cosmo-hot);
  padding: 12px clamp(14px, 1.6vw, 22px);
  color: var(--cosmo-white);
}

.cosmo-board.is-alt .cosmo-board-head {
  background: var(--cosmo-yellow);
  color: var(--cosmo-ink);
}

.cosmo-board-head > a {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cosmo-board-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) repeat(2, minmax(180px, 0.82fr));
  gap: 0;
}

.cosmo-board-grid .cosmo-card {
  border: 0;
  border-right: 2px solid var(--cosmo-ink);
  border-bottom: 2px solid var(--cosmo-ink);
}

.cosmo-board-grid .cosmo-card:nth-child(3n) {
  border-right: 0;
}

.cosmo-card-feature {
  grid-row: span 2;
}

.cosmo-feature-title {
  margin: 0;
  padding: 14px;
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-transform: uppercase;
}

.cosmo-card-feature .cosmo-card-excerpt {
  padding: 0 14px;
}

.cosmo-card-feature .cosmo-card-meta {
  padding: 0 14px 14px;
}

.cosmo-popular {
  margin-top: 34px;
  border-top: 5px solid var(--cosmo-hot);
  padding-top: 12px;
}

.cosmo-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cosmo-popular-grid article {
  display: grid;
  min-height: 116px;
  align-content: space-between;
  border: 2px solid var(--cosmo-ink);
  background: var(--cosmo-yellow);
  padding: 12px;
}

.cosmo-popular-grid article:nth-child(even) {
  background: var(--cosmo-blue);
}

.cosmo-popular-grid b {
  font-size: 26px;
  font-weight: 1000;
  line-height: 1;
}

.cosmo-popular-grid a {
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.cosmo-latest {
  margin-top: 34px;
  border-top: 5px solid var(--cosmo-ink);
  padding-top: 12px;
}

.synergy-sidebar-cosmo .cosmo-drawer {
  --synergy-design-drawer-width: 360px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  display: flex;
  height: 100vh;
  flex-direction: column;
  transform: translateX(-105%);
  border-right: 3px solid var(--cosmo-ink);
  background: var(--cosmo-white);
  color: var(--cosmo-ink);
  box-shadow: 12px 0 0 var(--cosmo-hot);
  transition: transform 180ms ease;
}

.synergy-sidebar-cosmo .cosmo-drawer.is-open {
  transform: translateX(0);
}

.cosmo-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  border: 0;
  background: rgba(8, 0, 8, 0.6);
}

.cosmo-drawer-head {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--cosmo-ink);
  padding: 0 16px;
}

.cosmo-drawer-logo-text {
  max-width: 250px;
  font-size: 34px;
  text-align: left;
}

.cosmo-drawer-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cosmo-ink);
  background: var(--cosmo-yellow);
  color: var(--cosmo-ink);
  cursor: pointer;
}

.cosmo-drawer-close svg {
  width: 21px;
  height: 21px;
}

.cosmo-drawer-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 3px solid var(--cosmo-ink);
}

.cosmo-drawer-search input {
  min-width: 0;
  border: 0;
  padding: 14px;
  outline: 0;
  font-weight: 800;
}

.cosmo-drawer-search button {
  border: 0;
  border-left: 3px solid var(--cosmo-ink);
  background: var(--cosmo-hot);
  padding: 0 14px;
  color: var(--cosmo-white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.cosmo-drawer-langs {
  border-bottom: 3px solid var(--cosmo-ink);
  padding: 10px 14px;
}

.cosmo-drawer-langs a,
.cosmo-footer-langs a {
  color: inherit;
  font-size: 12px;
  font-weight: 1000;
  text-decoration: none;
}

.cosmo-drawer-langs a.is-active,
.cosmo-footer-langs a.is-active {
  color: var(--cosmo-hot);
}

.cosmo-drawer-nav {
  flex: 1;
  overflow-y: auto;
}

.cosmo-drawer-nav a,
.cosmo-drawer-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 2px solid var(--cosmo-ink);
  background: var(--cosmo-white);
  padding: 15px 18px;
  color: var(--cosmo-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 1000;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.cosmo-drawer-item svg {
  width: 17px;
  height: 17px;
  transition: transform 160ms ease;
}

.cosmo-drawer-item svg.is-open {
  transform: rotate(180deg);
}

.cosmo-drawer-children {
  border-bottom: 2px solid var(--cosmo-ink);
  background: var(--cosmo-paper);
}

.cosmo-drawer-children a {
  padding: 12px 26px;
  color: var(--cosmo-muted);
  font-size: 13px;
}

.synergy-footer-cosmo {
  border-top: 6px solid var(--cosmo-hot);
  background: var(--cosmo-ink);
  color: var(--cosmo-white);
}

.cosmo-footer-inner {
  padding-top: 34px;
  padding-bottom: 34px;
}

.cosmo-footer-cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 3px solid var(--cosmo-white);
  background: var(--cosmo-hot);
  padding: 18px;
  color: var(--cosmo-white);
}

.cosmo-footer-cover span {
  display: block;
  margin-bottom: 6px;
  color: var(--cosmo-yellow);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.cosmo-footer-logo-text {
  color: var(--cosmo-white);
  font-size: clamp(38px, 6vw, 78px);
  text-align: left;
}

.cosmo-footer-cover > a {
  flex: 0 0 auto;
  border: 2px solid var(--cosmo-white);
  background: var(--cosmo-yellow);
  padding: 12px 16px;
  color: var(--cosmo-ink);
  font-size: 12px;
  font-weight: 1000;
  text-decoration: none;
  text-transform: uppercase;
}

.cosmo-footer-nav {
  --synergy-design-nav-column-gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0;
}

.cosmo-footer-nav-link,
.cosmo-footer-group-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.cosmo-footer-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px 0;
}

.cosmo-footer-heading {
  margin: 0 0 10px;
  color: var(--cosmo-yellow);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.cosmo-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.cosmo-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .cosmo-cover-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  }

  .cosmo-side-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cosmo-card-side {
    display: block;
  }

  .cosmo-card-side .cosmo-media {
    border-right: 0;
    border-bottom: 2px solid var(--cosmo-ink);
  }

  .cosmo-board-grid {
    grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(160px, 0.9fr));
  }

  .cosmo-shelf,
  .cosmo-latest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cosmo-flash a,
  .cosmo-flash time,
  .cosmo-nav-wrap,
  .cosmo-language {
    display: none;
  }

  .cosmo-flash-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cosmo-masthead {
    min-height: 72px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .cosmo-logo-text {
    font-size: clamp(34px, 10vw, 54px);
  }

  .cosmo-logo-image {
    max-height: 48px;
  }

  .cosmo-cover-grid,
  .cosmo-board-grid {
    grid-template-columns: 1fr;
  }

  .cosmo-side-stack,
  .cosmo-shelf,
  .cosmo-popular-grid,
  .cosmo-footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cosmo-card-feature {
    grid-row: auto;
  }

  .cosmo-board-grid .cosmo-card,
  .cosmo-board-grid .cosmo-card:nth-child(3n) {
    border-right: 0;
  }

  .cosmo-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cosmo-footer-cover,
  .cosmo-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .synergy-sidebar-cosmo .cosmo-drawer {
    --synergy-design-drawer-width: 326px;
  }
}

@media (max-width: 480px) {
  .cosmo-masthead {
    gap: 6px;
  }

  .cosmo-brand {
    max-width: calc(100vw - 126px);
  }

  .cosmo-logo-text {
    max-width: 100%;
    font-size: clamp(24px, 7.5vw, 32px);
    letter-spacing: -0.055em;
  }

  .cosmo-logo-image {
    max-height: 38px;
  }

  .cosmo-cover-title {
    font-size: 35px;
    line-height: 0.94;
  }

  .cosmo-card-cover {
    box-shadow: 6px 6px 0 var(--cosmo-hot);
  }

  .cosmo-coverlines article {
    min-height: 86px;
  }

  .cosmo-side-stack,
  .cosmo-shelf,
  .cosmo-popular-grid,
  .cosmo-latest-grid,
  .cosmo-footer-groups {
    grid-template-columns: 1fr;
  }

  .cosmo-ad-band {
    box-shadow: 5px 5px 0 var(--cosmo-ink);
  }
}
