/* Xtrema 92.5 FM — mockup layout */

:root {
    --bg: #0a0e1a;
    --bg-deep: #060912;
    --surface: #111827;
    --surface-2: #151d2e;
    --surface-3: #1a2438;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --muted: #94a3b8;
    --orange: #f37021;
    --orange-soft: #ff8a3d;
    --orange-dark: #c45a12;
    --red-live: #ef4444;
    --font: 'Inter', system-ui, sans-serif;
    --display: 'Barlow Condensed', sans-serif;
    --player-h: 88px;
    --header-h: 78px;
    --max: 1180px;
    --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--player-h) + 8px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.live-pip, .live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--red-live);
    border-radius: 50%;
    animation: pip 1.6s ease-in-out infinite;
}

@keyframes pip {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-soft));
    box-shadow: 0 4px 20px rgba(243, 112, 33, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(243, 112, 33, 0.45);
}

.btn--hero {
    padding: 16px 32px;
    font-size: 0.8125rem;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.btn--ghost {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
}

.btn--outline-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.15);
    padding: 12px 24px;
    font-size: 0.8125rem;
}

.btn--outline-light:hover {
    background: rgba(0, 0, 0, 0.28);
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(243, 112, 33, 0.35);
    transition: transform 0.2s;
}

.btn-live:hover { transform: translateY(-1px); }

/* ── Header ── */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}

.site-header__logo img {
    height: 52px;
    width: auto;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.site-nav__link {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--orange);
}

.site-header__menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.site-header__menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 560px;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(10, 14, 26, 0.94) 0%, rgba(10, 14, 26, 0.82) 45%, rgba(10, 14, 26, 0.62) 100%),
        radial-gradient(ellipse 60% 70% at 72% 55%, rgba(243, 112, 33, 0.16) 0%, transparent 68%),
        url('../images/v2/player-bg.jpg') 72% 38%/cover no-repeat;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    min-height: calc(560px - var(--header-h));
    padding-bottom: 24px;
}

.hero__brand {
    margin: 0 0 18px;
    line-height: 0;
}

.hero__logo {
    display: block;
    width: min(100%, 380px);
    height: auto;
    mix-blend-mode: screen;
}

.hero__sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 420px;
    margin-bottom: 28px;
}

.hero__visual {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    min-height: 460px;
}

.hero__photo {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: min(100%, 380px);
    max-height: 460px;
    object-fit: contain;
    object-position: bottom center;
    flex-shrink: 0;
}

.hero__host {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
    margin-bottom: 22%;
    padding: 10px 0 10px 14px;
    border-left: 3px solid var(--orange);
    flex-shrink: 0;
    white-space: nowrap;
}

.hero__host strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__host span {
    font-size: 0.6875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (min-width: 901px) {
    .hero {
        padding-bottom: 0;
        overflow: visible;
    }

    .hero > .container.hero__grid {
        padding-right: 0;
        align-items: end;
        min-height: calc(500px - var(--header-h));
        padding-bottom: 0;
    }

    .hero__visual {
        justify-content: flex-end;
        align-items: flex-end;
        min-height: 0;
    }

    .hero__photo {
        max-height: min(520px, calc(100vh - var(--header-h) - 72px));
        object-position: bottom right;
    }

    .hero__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: end;
        gap: 20px;
        text-align: center;
        padding-bottom: 32px;
    }

    .hero__brand {
        margin: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero__copy .btn--hero {
        align-self: center;
    }
}

/* ── Features bar ── */
.features {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(243, 112, 33, 0.2);
}

.feature__text {
    min-width: 0;
}

.feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(243, 112, 33, 0.12);
    color: var(--orange);
}

.feature strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.feature__desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.4;
}

.feature__hint {
    display: none;
    font-size: 0.6875rem;
    color: var(--orange);
    margin-top: 6px;
    font-weight: 600;
}

/* Feature lightbox */
.feature-modal[hidden] {
    display: none;
}

.feature-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.feature-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 9, 18, 0.82);
    backdrop-filter: blur(4px);
}

.feature-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 28px 24px 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #151d2e 0%, #101828 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.feature-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-modal__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(243, 112, 33, 0.15);
    color: var(--orange);
    margin-bottom: 16px;
}

.feature-modal__title {
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.feature-modal__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #cbd5e1;
}

body.feature-modal-open {
    overflow: hidden;
}

/* ── Home main layout ── */
.home-main {
    padding: 48px 0 56px;
    background: var(--bg);
}

.home-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.home-main__content {
    display: flex;
    flex-direction: column;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.news-block__head h2 {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-block__more {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--orange);
}

.news-block__more:hover { text-decoration: underline; }

.news-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-mockup-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 901px) {
    .news-mockup-grid--home > .news-card-v2:nth-child(n + 7) {
        display: none;
    }
}

.news-mockup-grid--home .news-card-v2 {
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.news-mockup-grid--home .news-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.news-mockup-grid--home .news-card-v2__media {
    aspect-ratio: 16 / 10;
}

.news-mockup-grid--home .news-card-v2__title {
    padding: 11px 13px 13px;
    font-size: 0.8125rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.news-mockup-grid--home .news-tag--overlay {
    left: 8px;
    bottom: 8px;
    font-size: 0.5625rem;
    padding: 3px 8px;
}

.home-inline-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 20px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(243, 112, 33, 0.15) 0%, rgba(21, 29, 46, 0.95) 55%);
    border: 1px solid rgba(243, 112, 33, 0.25);
}

.home-inline-banner__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-inline-banner__copy strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
}

.home-inline-banner__copy span {
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* ── News cards v2 (title only) ── */
.news-card-v2 {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #151d2e 0%, #101828 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}

.news-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 112, 33, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.news-card-v2__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b1220;
}

.news-card-v2__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 14, 26, 0.75) 100%);
    pointer-events: none;
}

.news-card-v2__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-card-v2:hover .news-card-v2__media img {
    transform: scale(1.06);
}

.news-card-v2__title {
    padding: 16px 18px 18px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.news-tag--overlay {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.news-tag--tiny {
    font-size: 0.5625rem;
    padding: 3px 7px;
    margin-bottom: 6px;
}

.news-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-tag--local { background: var(--orange); color: #fff; }
.news-tag--national { background: #eab308; color: #111; }
.news-tag--sport { background: #84cc16; color: #111; }
.news-tag--default { background: rgba(243, 112, 33, 0.18); color: var(--orange); }

/* Sidebar panels */
.sidebar-panel {
    background: linear-gradient(180deg, #151d2e 0%, #101828 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 18px;
}

.sidebar-panel__title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-news-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
    padding: 8px;
    margin: -8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.sidebar-news-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-news-item__thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    background: #0b1220;
}

.sidebar-news-item__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-news-item__title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #f1f5f9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news-item__meta {
    margin-top: 4px;
    font-size: 0.6875rem;
    color: #7c8aa0;
}

/* Sidebar on-air */
.on-air-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px 20px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.on-air-card__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, rgba(10, 14, 26, 0.92) 75%),
        url('../images/v2/player-bg.jpg') 28% center/cover no-repeat;
    z-index: 0;
}

.on-air-card > *:not(.on-air-card__bg) {
    position: relative;
    z-index: 1;
}

.on-air-card--compact {
    min-height: 0;
    padding: 18px 16px;
    flex-shrink: 0;
}

.on-air-card--compact h3 {
    font-size: 1.0625rem;
    margin-top: 6px;
}

.on-air-card--compact .on-air-card__schedule {
    margin-bottom: 12px;
}

.on-air-card__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 4px;
    background: var(--red-live);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.on-air-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 8px;
}

.on-air-card__schedule {
    font-size: 0.8125rem;
    color: #e2e8f0;
}

.on-air-card__desc {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 8px;
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 48px 0;
    background: var(--bg-deep);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
    box-shadow: 0 8px 32px rgba(243, 112, 33, 0.25);
}

.cta-banner__inner > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-banner h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 0.9375rem;
    opacity: 0.92;
    margin: 6px 0 0;
    line-height: 1.4;
}

.cta-banner__inner .btn {
    flex-shrink: 0;
    align-self: center;
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding-top: 48px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.site-footer__brand p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 16px 0 20px;
    max-width: 280px;
    line-height: 1.6;
}

.site-footer__logo {
    height: 56px;
    width: auto;
}

.site-footer__social {
    display: flex;
    gap: 10px;
}

.site-footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.site-footer__social a:hover {
    background: var(--orange);
}

.site-footer__col h3 {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.site-footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__col a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.2s;
}

.site-footer__col a:hover { color: var(--orange); }

.site-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--muted);
}

.site-footer__contact svg { flex-shrink: 0; color: var(--orange); }

.fb-widget {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: #111;
}

.fb-widget__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #f0f2f5;
}

.fb-widget__icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #1877f2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.fb-widget__head strong {
    display: block;
    font-size: 0.8125rem;
}

.fb-widget__head span {
    font-size: 0.75rem;
    color: #65676b;
}

.fb-widget__btn {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1877f2;
    border-top: 1px solid #e4e6eb;
}

.site-footer__bar {
    border-top: 1px solid var(--border);
    padding: 16px 0;
}

.site-footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--muted);
}

.site-footer__bar-inner span { color: var(--orange); }

/* ── Player ── */
.radio-player {
    position: fixed;
    inset: auto 0 0;
    z-index: 200;
    height: var(--player-h);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}

.radio-player::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.9) 100%),
        url('../images/v2/player-bg.jpg') 28% center/cover no-repeat;
    pointer-events: none;
}

.radio-player > .container,
.radio-player > .radio-player__status {
    position: relative;
    z-index: 1;
}

.radio-player__row {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr minmax(120px, 160px);
    align-items: center;
    gap: 24px;
    height: var(--player-h);
}

.radio-player__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.radio-player__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
}

.radio-player__name {
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-player__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.radio-player__eq {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 36px;
    flex: 1;
    max-width: 140px;
}

.radio-player__eq--right { flex-direction: row-reverse; }

.radio-player__eq span {
    flex: 1;
    max-width: 4px;
    border-radius: 4px;
    animation: eq 0.9s ease-in-out infinite;
}

.radio-player__eq--left span {
    background: linear-gradient(to top, var(--orange), var(--orange-soft));
}

.radio-player__eq--right span {
    background: linear-gradient(to top, #3b82f6, #60a5fa);
}

.radio-player__eq--left span:nth-child(1)  { height: 30%; animation-delay: 0s; }
.radio-player__eq--left span:nth-child(2)  { height: 55%; animation-delay: 0.08s; }
.radio-player__eq--left span:nth-child(3)  { height: 80%; animation-delay: 0.16s; }
.radio-player__eq--left span:nth-child(4)  { height: 100%; animation-delay: 0.24s; }
.radio-player__eq--left span:nth-child(5)  { height: 70%; animation-delay: 0.32s; }
.radio-player__eq--left span:nth-child(6)  { height: 45%; animation-delay: 0.4s; }
.radio-player__eq--left span:nth-child(7)  { height: 65%; animation-delay: 0.48s; }
.radio-player__eq--left span:nth-child(8)  { height: 90%; animation-delay: 0.56s; }
.radio-player__eq--left span:nth-child(9)  { height: 50%; animation-delay: 0.64s; }
.radio-player__eq--left span:nth-child(10) { height: 35%; animation-delay: 0.72s; }

.radio-player__eq--right span:nth-child(1)  { height: 30%; animation-delay: 0.04s; }
.radio-player__eq--right span:nth-child(2)  { height: 55%; animation-delay: 0.12s; }
.radio-player__eq--right span:nth-child(3)  { height: 80%; animation-delay: 0.2s; }
.radio-player__eq--right span:nth-child(4)  { height: 100%; animation-delay: 0.28s; }
.radio-player__eq--right span:nth-child(5)  { height: 70%; animation-delay: 0.36s; }
.radio-player__eq--right span:nth-child(6)  { height: 45%; animation-delay: 0.44s; }
.radio-player__eq--right span:nth-child(7)  { height: 65%; animation-delay: 0.52s; }
.radio-player__eq--right span:nth-child(8)  { height: 90%; animation-delay: 0.6s; }
.radio-player__eq--right span:nth-child(9)  { height: 50%; animation-delay: 0.68s; }
.radio-player__eq--right span:nth-child(10) { height: 35%; animation-delay: 0.76s; }

@keyframes eq {
    0%, 100% { transform: scaleY(0.35); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}

.radio-player__eq.is-paused span {
    animation-play-state: paused;
    opacity: 0.2;
}

.radio-player__play {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--orange), var(--orange-soft));
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.15), 0 4px 20px rgba(243, 112, 33, 0.35);
    transition: transform 0.2s;
}

.radio-player__play:hover { transform: scale(1.06); }

.radio-player__play.is-playing .icon-play { display: none; }
.radio-player__play.is-playing .icon-pause { display: block !important; }
.radio-player__play:not(.is-playing) .icon-pause { display: none !important; }

.radio-player__vol {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    min-width: 120px;
}

.radio-player__vol-icon { flex-shrink: 0; color: var(--muted); }

.vol-slider {
    position: relative;
    flex: 1;
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    --vol-pct: 75%;
}

.vol-slider__track {
    position: relative;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.vol-slider__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--vol-pct);
    border-radius: inherit;
    background: var(--orange);
}

.vol-slider__knob {
    position: absolute;
    left: var(--vol-pct);
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 2px #14141c, 0 0 0 3px rgba(243, 112, 33, 0.45);
}

.vol-slider__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.radio-player__status {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    color: var(--muted);
}

.radio-player__status.is-error { color: #f87171; }

/* ── Inner pages (noticias / noticia) ── */
.news-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.page-hero {
    padding: calc(var(--header-h) + 32px) 0 32px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-hero--compact {
    padding-top: calc(var(--header-h) + 16px);
    background: transparent;
    border-bottom: none;
}

.page-hero h1 {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 12px;
}

.page-hero p { color: var(--muted); margin-top: 8px; }

.page-hero__back {
    font-size: 0.875rem;
    color: var(--muted);
}

.page-hero__back:hover { color: var(--orange); }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
}

.breadcrumb a:hover { color: var(--orange); }

.news-section { padding: 48px 0 80px; }

.news-section--page { padding-top: 0; }

.news-section--related { padding-top: 0; padding-bottom: 64px; }

.news-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.news-section__title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-grid--compact { grid-template-columns: repeat(3, 1fr); }

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243, 112, 33, 0.35);
}

.news-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.news-card__badge {
    align-self: flex-start;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(243, 112, 33, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
}

.news-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
}

.news-card__excerpt {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.5;
}

.news-card__date {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--muted);
}

.news-article { padding: 32px 0 64px; }

/* Article read layout */
.article-layout {
    padding: 8px 0 80px;
}

.article-layout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.article-panel {
    --article-pad: max(32px, calc((100% - 40rem) / 2));
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.article-panel__cover {
    position: relative;
    margin: 0;
    width: 100%;
    height: clamp(320px, 42vw, 520px);
    background: #0b1220;
    overflow: hidden;
}

.article-panel__cover-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 22%;
}

.article-panel__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 26, 0.1) 0%,
        rgba(10, 14, 26, 0.35) 45%,
        rgba(10, 14, 26, 0.9) 75%,
        rgba(14, 20, 34, 1) 100%
    );
    pointer-events: none;
}

.article-panel__cover-caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    margin: 0;
    padding: 0 var(--article-pad) 30px;
}

.article-panel__cover-caption .news-tag {
    margin-bottom: 12px;
}

.article-panel__cover-caption h1 {
    font-size: clamp(1.625rem, 3.2vw, 2.375rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 14px;
    max-width: 22em;
}

.article-panel__header--solo {
    padding: 32px var(--article-pad) 0;
}

.article-panel__header--solo .news-tag {
    margin-bottom: 12px;
}

.article-panel__header--solo h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
}

.article-panel__header--solo .article-panel__meta {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-panel__content {
    padding: 0 var(--article-pad);
}

.article-panel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    font-size: 0.8125rem;
    color: rgba(203, 213, 225, 0.88);
}

.article-panel__meta > * + *::before {
    content: '·';
    margin: 0 10px;
    color: rgba(203, 213, 225, 0.45);
}

.article-panel__body {
    padding: 34px 0 28px;
    font-size: 1.125rem;
    line-height: 1.9;
    color: #c8d2e0;
}

.article-panel__body p {
    margin-bottom: 1.4em;
}

.article-panel__body p:first-child {
    font-size: 1.1875rem;
    line-height: 1.8;
    color: #e8edf4;
}

.article-panel__body h2 {
    font-size: 1.3125rem;
    font-weight: 700;
    color: #fff;
    margin: 2em 0 0.85em;
    line-height: 1.35;
}

.article-panel__body a {
    color: var(--orange-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-panel__body a:hover {
    color: #fff;
}

.article-panel__footer {
    padding: 24px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-panel__footer .btn--ghost {
    font-size: 0.875rem;
}

.article-layout .home-sidebar {
    gap: 20px;
}

.news-article__inner { max-width: 760px; }

.news-article__hero {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--border);
}

.news-article__hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.news-article__header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0 16px;
}

.news-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.news-article__body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.news-article__body p { margin-bottom: 1.25em; }

.news-article__body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.75em 0 0.75em;
}

.news-article__footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Inner pages header override */
body.inner-page .site-header {
    position: sticky;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1025px) {
    .article-layout .home-sidebar {
        position: sticky;
        top: calc(var(--header-h) + 20px);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .home-main__grid,
    .article-layout__grid {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        min-height: 0;
    }

    .on-air-card--compact {
        grid-column: 1 / -1;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.98);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.25s;
    }

    body.nav-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__menu {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    .site-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .btn-live { display: none; }

    .hero {
        min-height: auto;
        padding-bottom: 0;
        overflow: visible;
    }

    .hero .container {
        overflow: visible;
        padding-bottom: 0;
    }

    /* Logo centrado verticalmente; foto define el borde inferior del hero */
    .hero__grid {
        display: grid;
        grid-template-columns: 40% 1fr;
        column-gap: 8px;
        align-items: stretch;
        min-height: 0;
        height: auto;
        padding-bottom: 0;
    }

    .hero__copy {
        order: 1;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: center;
        padding-bottom: 0;
        min-width: 0;
    }

    .hero__brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .hero__logo {
        width: auto;
        max-width: 128px;
        margin: 0;
    }

    .hero__sub {
        display: none;
    }

    .hero__copy .btn--hero {
        padding: 6px 10px;
        font-size: 0.5625rem;
        gap: 5px;
        white-space: nowrap;
        align-self: center;
    }

    .hero__copy .btn--hero svg {
        width: 12px;
        height: 12px;
    }

    .hero__visual {
        order: 2;
        align-self: stretch;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
        min-height: 0;
        overflow: visible;
        line-height: 0;
    }

    .hero__photo {
        width: auto;
        max-width: 64%;
        height: clamp(200px, 40dvh, 275px);
        max-height: none;
        object-fit: contain;
        object-position: bottom right;
        flex-shrink: 0;
        display: block;
    }

    .hero__host {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        margin-bottom: 22%;
        padding: 4px 0 4px 6px;
        border-left-width: 2px;
        max-width: 38%;
        white-space: nowrap;
    }

    .hero__host svg {
        display: none;
    }

    .hero__host strong {
        font-size: 0.5rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .hero__host span {
        font-size: 0.4375rem;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
    }

    .feature__desc {
        display: none;
    }

    .news-mockup-grid,
    .news-mockup-grid--home,
    .news-grid,
    .news-grid--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .news-mockup-grid--home > .news-card-v2:nth-child(n + 5) {
        display: none;
    }

    .news-mockup-grid--home .news-card-v2__media,
    .news-card-v2__media {
        aspect-ratio: 16 / 8;
    }

    .news-mockup-grid--home .news-card-v2__title,
    .news-card-v2__title {
        padding: 8px 10px 10px;
        font-size: 0.75rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .news-mockup-grid--home .news-tag--overlay,
    .news-tag--overlay {
        left: 6px;
        bottom: 6px;
        font-size: 0.5rem;
        padding: 2px 6px;
    }

    .cta-banner__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-banner__inner .btn {
        align-self: center;
    }

    .home-inline-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding-top: 32px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
        padding-bottom: 28px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__brand p {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer__logo {
        height: 48px;
    }

    .site-footer__social {
        justify-content: center;
    }

    .site-footer__col:has(.fb-widget) {
        display: none;
    }

    .site-footer__col h3 {
        margin-bottom: 12px;
        font-size: 0.75rem;
    }

    .site-footer__bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .site-footer__bar-inner p:last-child {
        display: none;
    }

    .page-hero--compact {
        padding-top: calc(var(--header-h) + 12px);
        padding-bottom: 4px;
    }

    .article-layout {
        padding: 0 0 52px;
    }

    .article-layout .home-sidebar {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 8px;
    }

    .article-panel {
        --article-pad: 20px;
        border-radius: 14px;
    }

    .article-panel__cover {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .article-panel__cover::after {
        display: none;
    }

    .article-panel__cover-img {
        width: 100%;
        height: clamp(200px, 52vw, 260px);
    }

    .article-panel__cover-caption {
        position: static;
        padding: 18px var(--article-pad) 0;
    }

    .article-panel__cover-caption h1 {
        font-size: 1.25rem;
        line-height: 1.35;
        max-width: none;
        margin-bottom: 12px;
    }

    .article-panel__cover-caption .article-panel__meta {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .article-panel__header--solo {
        padding: 20px var(--article-pad) 0;
    }

    .article-panel__header--solo h1 {
        font-size: 1.25rem;
    }

    .article-panel__body {
        padding: 18px 0 22px;
        font-size: 0.9375rem;
        line-height: 1.78;
    }

    .article-panel__body p:first-child {
        font-size: 1rem;
    }

    .article-panel__footer {
        padding: 18px 0 22px;
    }
}

@media (max-width: 640px) {
    :root { --player-h: 108px; --header-h: 68px; }

    body { padding-bottom: calc(var(--player-h) + 12px); }

    .site-header__logo img { height: 44px; }

    .hero .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero__grid {
        column-gap: 6px;
        padding-bottom: 0;
    }

    .hero__logo {
        max-width: 112px;
    }

    .hero__copy .btn--hero {
        padding: 5px 9px;
        font-size: 0.5rem;
        gap: 4px;
    }

    .hero__copy .btn--hero svg {
        width: 11px;
        height: 11px;
    }

    .hero__photo {
        height: clamp(185px, 38dvh, 255px);
        max-width: 62%;
    }

    .hero__host {
        max-width: 36%;
        margin-bottom: 20%;
        padding-left: 5px;
    }

    .hero__host strong,
    .hero__host span {
        display: block;
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero__host strong {
        font-size: 0.4375rem;
        letter-spacing: 0.015em;
    }

    .hero__host span {
        font-size: 0.375rem;
        letter-spacing: 0.025em;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature {
        padding: 14px 10px;
    }

    .feature strong {
        font-size: 0.75rem;
    }

    .news-mockup-grid--home .news-card-v2__media,
    .news-card-v2__media {
        aspect-ratio: 16 / 7;
    }

    .news-mockup-grid--home .news-card-v2__title,
    .news-card-v2__title {
        padding: 7px 9px 9px;
        font-size: 0.6875rem;
        line-height: 1.25;
    }

    .news-mockup-grid--home,
    .news-mockup-grid {
        gap: 8px;
    }

    .article-panel {
        --article-pad: 18px;
    }

    .article-panel__cover-caption h1,
    .article-panel__header--solo h1 {
        font-size: 1.125rem;
    }

    .article-panel__meta {
        font-size: 0.75rem;
    }

    .article-panel__body {
        font-size: 0.9rem;
        line-height: 1.72;
    }

    .article-panel__body p:first-child {
        font-size: 0.9625rem;
    }

    .home-sidebar,
    .news-grid,
    .news-grid--compact {
        grid-template-columns: 1fr;
    }

    .news-mockup-grid,
    .news-mockup-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .radio-player {
        height: auto;
        padding: 12px 0 max(12px, env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
    }

    .radio-player__row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "info play"
            "vol vol";
        gap: 12px 14px;
        height: auto;
    }

    .radio-player__info { grid-area: info; }
    .radio-player__controls { grid-area: play; justify-content: flex-end; }
    .radio-player__eq { display: none; }
    .radio-player__play { width: 48px; height: 48px; }
    .radio-player__vol { grid-area: vol; width: 100%; min-width: 0; }
    .radio-player__status { display: none; }
}
