@font-face {
  font-family: "Inter var";
  src: url("../fonts/inter/Inter-upright-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter var";
  src: url("../fonts/inter/Inter-italic-var.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f5f7f9;
  --surface-strong: #eaf0f5;
  --text: #172033;
  --muted: #687386;
  --line: #dfe5eb;
  --brand: #08a7dc;
  --brand-dark: #087eaa;
  --danger: #e11d48;
  --header-height: 78px;
  --radius: 16px;
  --shadow: 0 12px 35px rgb(20 35 55 / 9%);
  --shell: 1170px;
}

[data-theme="dark"] {
  --bg: #111b28;
  --surface: #1b2938;
  --surface-strong: #263748;
  --text: #f8fafc;
  --muted: #b2bdc9;
  --line: #33465a;
  --shadow: 0 12px 35px rgb(0 0 0 / 22%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.has-player { padding-bottom: 84px; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 50; top: 0; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); box-shadow: 6px 1px 3px rgba(16, 24, 40, 0.1); backdrop-filter: blur(12px); }
.site-header__inner { min-height: var(--header-height); display: grid; grid-template-columns: 194px minmax(0, 1fr) 291px; align-items: center; gap: 0; padding-inline: 15px; }
.site-brand { display: inline-flex; width: 166px; height: var(--header-height); align-items: center; gap: 10px; font-size: 19px; font-weight: 800; }
.site-brand__logo { width: 162px; height: 33px; object-fit: contain; object-position: left center; }
.site-brand__mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--brand); color: white; }
.site-search { align-self: center; padding-inline: 12px; }
.site-search .search-form { width: 255px; transform: translateX(-12px); }
.site-actions { display: grid; grid-template-columns: 194px 97px; align-items: center; justify-self: stretch; transform: translateX(12px); }
.theme-control { display: flex; min-height: 38px; align-items: center; justify-content: flex-end; gap: 4px; padding-right: 12px; color: #9db2c8; }
.theme-control__icon { width: 17.5px; height: 17.5px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-control__icon--moon { width: 17.5px; height: 17.5px; fill: currentColor; stroke: none; }
.theme-switch { position: relative; width: 40px; height: 20px; padding: 0; border: 1px solid #d8e1e9; border-radius: 999px; background: #f1f5f8; cursor: pointer; }
.theme-switch span { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(35 50 65 / 22%); transition: transform .2s ease; }
.theme-switch[aria-checked="true"] { border-color: var(--brand); background: var(--brand); }
.theme-switch[aria-checked="true"] span { transform: translateX(20px); }
.menu-button { display: grid; width: 30px; height: 30px; place-items: center; justify-self: end; margin-right: 18px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-button:hover { background: var(--surface); }
.menu-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.site-nav__backdrop { position: fixed; z-index: 59; inset: 0; padding: 0; border: 0; background: rgb(10 20 32 / 28%); opacity: 0; cursor: default; transition: opacity .36s ease; }
.site-nav__backdrop.is-visible { opacity: 1; }
.site-nav { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); padding: 0 28px 32px; overflow-x: hidden; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgb(16 24 40 / 13%); transform: translateX(100%); transition: transform .42s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.site-nav.is-open { transform: translateX(0); }
.site-nav__header { position: sticky; z-index: 2; top: 0; display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; margin-inline: -4px; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-nav__header strong { font-size: 20px; }
.site-nav__close { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.site-nav__close:hover { background: var(--surface); }
.site-nav__close svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-nav__list { display: grid; gap: 2px; margin: 18px 0 0; padding: 0; list-style: none; }
.site-nav__list > li { position: relative; border-bottom: 1px solid var(--line); }
.site-nav__list a { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 13px 4px; font-size: 20px; font-weight: 600; }
.site-nav__list > .menu-item-has-children > a::after { width: 7px; height: 7px; content: ""; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.site-nav__list > .menu-item-has-children.is-open > a::after { transform: translateY(2px) rotate(225deg); }
.site-nav .sub-menu { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin: 0 0 12px; padding: 4px 0 8px; list-style: none; }
.site-nav .is-open > .sub-menu { display: grid; }
.site-nav .sub-menu a { display: block; overflow: hidden; padding: 7px 8px; border-radius: 7px; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.site-nav .sub-menu a:hover { background: var(--surface); color: var(--brand-dark); }
.site-nav i { display: none; }
.menu-button[aria-expanded="true"] { background: var(--surface); }

.search-form { position: relative; }
.search-form input { width: 240px; height: 37px; padding: 0 42px 0 16px; color: var(--text); background: var(--bg); border: 1px solid #ced4da; border-radius: 99px; outline: 0; }
.search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.search-form button { position: absolute; top: 0; left: 201px; display: grid; width: 39px; height: 37px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.search-form svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.ad-slot { display: grid; min-height: 90px; place-items: center; overflow: hidden; color: var(--muted); font-size: 12px; }
.ad-slot--top { margin-top: 12px; }
.ad-slot--leaderboard { min-height: 120px; margin-block: 14px; }
.ad-slot--sidebar { min-height: 250px; margin-top: 32px; }

.radio-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 24px; padding: 32px; background: var(--surface); border-radius: var(--radius); }
.radio-hero__art { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--surface-strong); }
.radio-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.radio-hero__content h1 { margin: 0 0 6px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -.04em; }
.radio-hero__content p { max-width: 780px; margin: 0 0 14px; color: var(--muted); }
.radio-hero__actions, .tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.radio-hero__actions { margin-top: 20px; }
.favorite-text-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.favorite-text-button span { color: var(--danger); }
.radio-hero__website { display: inline-flex; align-items: center; gap: 6px; }
.radio-hero__website svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.radio-hero--featured { width: min(calc(100% - 32px), 1140px); min-height: 244px; gap: 24px; margin-top: 0; padding: 32px; background: #f6f7f8; border-radius: 0; font-size: 14px; line-height: 21px; }
.radio-hero--featured .radio-hero__art { border-radius: 12.8px; box-shadow: 0 3px 4px 1px rgb(28 31 58 / 12%); }
.radio-hero--featured .radio-hero__content { align-self: stretch; padding-top: 9.6px; }
.radio-hero--featured .radio-hero__content h1 { margin: 0 0 8px; font-size: 33.6px; font-weight: 700; line-height: 36.96px; }
.radio-hero--featured .radio-hero__content p { min-height: 42px; max-width: none; margin: 0 0 16px; color: #6b7280; font-size: 14px; line-height: 21px; }
.radio-hero--featured .tag-list { gap: 8px; }
.radio-hero--featured .radio-tag { margin-bottom: 5px; padding: 2.5px 15.36px; color: rgb(0 0 0 / 87%); background: transparent; border-radius: 3px; box-shadow: inset 0 -10rem 0 rgb(158 158 158 / 20%); font-size: 12.8px; font-weight: 500; line-height: 16px; }
.radio-hero--featured .radio-hero__actions { gap: 11px; margin-top: 20px; font-size: 14px; line-height: 21px; }
.radio-hero--featured .favorite-text-button { width: 14px; height: 21px; font-size: 16px; line-height: 21px; }
.radio-hero--featured .radio-hero__website { font-size: 12px; font-weight: 300; line-height: 18px; }
.radio-tag { display: inline-flex; padding: 3px 11px; background: var(--surface-strong); border-radius: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.play-mark { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; overflow: hidden; border: 0; border-radius: 100%; background: transparent; transform: translate(-50%, -50%); }
.play-mark::before { position: absolute; z-index: 2; top: 50%; left: 53%; content: ""; border-block: 7px solid transparent; border-left: 11px solid #fff; transform: translate(-50%, -50%); transition: border-left-color .1s linear .1s; }
.play-mark::after { position: absolute; z-index: 1; inset: 0; content: ""; border-radius: 100%; background: rgb(0 0 0 / 30%); box-shadow: inset 0 0 0 2px #fff; transform: scale(.9); transition: box-shadow .2s ease-in-out, transform .2s ease-in-out; }
.play-mark--large { width: 40px; height: 40px; }
:is(.radio-card__art, a.radio-hero__art):is(:hover, :focus-visible) .play-mark::before { border-left-color: #000; }
:is(.radio-card__art, a.radio-hero__art):is(:hover, :focus-visible) .play-mark::after { box-shadow: inset 0 0 0 30px #fff; transform: scale(1); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-block: 34px 56px; }
.content-layout.shell { width: min(calc(100% - 32px), 1140px); }
.section-title { margin: 0 0 22px; font-size: 21px; line-height: 1.25; }
.section-title span { color: var(--brand); }
.radio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 0; padding: 0; list-style: none; }
.radio-card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 34px; gap: 16px; align-items: center; min-height: 104px; }
.radio-card__art { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1; background: var(--surface); }
.radio-card__art img { width: 100%; height: 100%; object-fit: cover; }
.radio-card__body { min-width: 0; }
.radio-card__title { display: block; overflow: hidden; margin-bottom: 7px; font-size: 17px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.radio-card__title:hover { color: var(--brand-dark); }
.favorite-button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.favorite-button svg { width: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.favorite-button[aria-pressed="true"] svg { fill: var(--danger); stroke: var(--danger); }
.favorites-panel { min-width: 0; align-self: start; }
.favorites-list { display: grid; gap: 14px; }
.favorite-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) 32px; gap: 12px; align-items: center; }
.favorite-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; }
.favorite-item a { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.favorite-item button { border: 0; background: transparent; cursor: pointer; }
.empty-state { color: var(--muted); }

.featured-news { padding-block: 24px 48px; }
.editorial { padding-block: 54px; border-top: 1px solid var(--line); }
.editorial > * { max-width: 860px; margin-inline: auto; }
.editorial h1, .editorial h2, .editorial h3 { line-height: 1.2; letter-spacing: -.025em; }
.editorial h2 { margin-top: 42px; }
.editorial p, .editorial li { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.editorial img { height: auto; border-radius: var(--radius); }

.generic-content { padding-block: 46px 64px; }
.archive-radios .content-layout { padding-block: 46px 64px; }
.single-radio { padding-block: 0 64px; }
.single-radio > article > .editorial.shell { width: min(calc(100% - 32px), 1140px); }
.archive-header { max-width: 780px; margin-bottom: 34px; }
.archive-header h1 { margin: 0; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.eyebrow { margin: 0 0 7px; color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.radio-hero--single { margin: 0 auto 48px; }
.editorial--single { margin-top: 54px; }

.radio-player { position: fixed; z-index: 80; bottom: 0; left: 50%; display: grid; width: min(calc(100% - 32px), 1140px); min-height: 70px; grid-template-columns: 70px minmax(0, 1fr); align-items: center; padding: 0; color: #fff; background: #17171b; box-shadow: 0 -5px 18px rgb(0 0 0 / 16%); transform: translateX(-50%); }
.radio-player__art { width: 70px; height: 70px; object-fit: cover; border-radius: 0; }
.radio-player__meta { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.radio-player__controls { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: 34px; transform: translate(-50%, -50%); }
.radio-player__play { position: relative; width: 48px; height: 48px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.radio-player__play span { position: absolute; top: 50%; left: 54%; border-block: 8px solid transparent; border-left: 12px solid #fff; transform: translate(-50%, -50%); }
.radio-player__play.is-playing span { left: 50%; width: 12px; height: 16px; border: 0; border-inline: 4px solid #fff; }
.radio-player__volume { display: flex; align-items: center; gap: 14px; }
.radio-player__volume svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.radio-player__volume input { width: 72px; accent-color: #fff; }

.site-footer { margin-top: 20px; color: #d8e0e8; background: #0d1825; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding-block: 48px 30px; }
.site-footer p { margin: 6px 0 0; color: #9eacba; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { padding-block: 18px; border-top: 1px solid #263544; color: #9eacba; font-size: 14px; }
.toast { position: fixed; z-index: 100; right: 20px; bottom: 100px; padding: 11px 16px; color: #fff; background: #172534; border-radius: 9px; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: 180px minmax(180px, 1fr) 210px; }
  .site-actions { grid-template-columns: 140px 70px; }
  .content-layout { grid-template-columns: 1fr; }
  .favorites-panel { border-top: 1px solid var(--line); padding-top: 30px; }
}

@media (max-width: 680px) {
  :root { --header-height: 60px; }
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-block: 7px; }
  .site-brand { width: auto; height: var(--header-height); }
  .site-brand__logo { width: 150px; height: 31px; }
  .site-actions { grid-template-columns: 102px 44px; }
  .menu-button { width: 42px; height: 42px; margin-right: 0; }
  .theme-control { gap: 5px; }
  .theme-control__icon { width: 16px; height: 16px; }
  .theme-switch { width: 38px; height: 20px; }
  .theme-switch span { width: 14px; height: 14px; }
  .theme-switch[aria-checked="true"] span { transform: translateX(18px); }
  .site-search { grid-column: 1 / -1; grid-row: 2; padding-inline: 0; }
  .site-search .search-form { transform: none; }
  .site-actions { transform: none; }
  .site-search .search-form, .search-form input { width: 100%; }
  .search-form button { right: 1px; left: auto; }
  .site-nav { width: min(360px, 94vw); padding-inline: 20px; }
  .site-nav__list { display: grid; gap: 3px; }
  .site-nav__list > li > a { width: 100%; justify-content: space-between; }
  .site-nav .sub-menu { grid-template-columns: 1fr; }
  .radio-hero { grid-template-columns: 118px minmax(0, 1fr); gap: 18px; padding: 20px; }
  .radio-hero__content h1 { font-size: 1.9rem; }
  .radio-hero__content p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .radio-grid { grid-template-columns: 1fr; }
  .radio-card { grid-template-columns: 88px minmax(0, 1fr) 34px; }
  .content-layout { padding-top: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .radio-player { width: 100%; min-height: 64px; grid-template-columns: 64px minmax(0, 1fr); }
  .radio-player__art { width: 64px; height: 64px; }
  .radio-player__controls { left: calc(50% + 24px); gap: 18px; }
  .radio-player__play { width: 44px; height: 44px; }
  .radio-player__volume { gap: 8px; }
  .radio-player__volume input { width: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

