/**
 * RFM Réunion — modernized métropole look
 * Red / white / soft grey — readable for 40–60
 */

:root {
    --font-sans: 'DM Sans', 'Segoe UI', Tahoma, sans-serif;
    --font-display: 'DM Sans', 'Segoe UI', Tahoma, sans-serif;

    --primary: #E52725;
    --primary-dark: #C41F1D;
    --primary-light: #F04846;
    --primary-soft: #FDECEC;
    --primary-glow: rgba(229, 39, 37, 0.15);

    --ink: #2A2A2E;
    --ink-2: #3D3D44;
    --charcoal: #333338;
    --charcoal-soft: #4A4A52;

    --bg: #FFFFFF;
    --bg-soft: #F4F4F6;
    --bg-muted: #EAEAEE;
    --paper: #F4F4F6;
    --surface: #FFFFFF;
    --surface-raised: #FFFFFF;

    --text: #2A2A2E;
    --text-secondary: #5C5C66;
    --text-muted: #8A8A96;

    --border: #E2E2E8;
    --border-light: #EEEFF2;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);

    --radius: 10px;
    --radius-sm: 6px;
    --radius-full: 9999px;

    --hero-text: #fff;
    --hero-heading: #fff;

    --nav-h: 64px;
    --player-h: 72px;
    --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.55;
    font-size: 17px;
    min-height: 100vh;
    padding-bottom: calc(var(--player-h) + 8px);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.desktop-only { display: initial; }
.mobile-only { display: none; }
.text-center { text-align: center; }

.container,
.container-narrow {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}
.container-narrow { width: min(100% - 40px, 720px); }

/* ========== HEADER (RFM-style) ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.navbar,
.navbar-npo {
    background: var(--primary);
    min-height: var(--nav-h);
    border: none;
}
.nav-container {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 8px;
}
.nav-logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-listen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 9px 16px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    border: none;
    border-radius: var(--radius-full);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}
.nav-listen:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
}
.nav-listen svg {
    flex-shrink: 0;
    display: block;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 9px 16px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.nav-cta:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
}
.nav-item-cta-mobile { display: none; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    margin-left: 0;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 11px;
    transition: transform .2s ease, opacity .2s ease;
}
.hamburger { top: 21px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}

.navbar-npo .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 14px;
    color: rgba(255,255,255,0.92);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.navbar-npo .nav-link:hover {
    color: #fff;
    background: rgba(0,0,0,0.1);
}
.navbar-npo .nav-link-active {
    color: #fff;
    background: rgba(0,0,0,0.12);
}
.navbar-npo .nav-link-live {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--primary) !important;
    font-weight: 800;
}
.navbar-npo .nav-link-live:hover {
    background: var(--bg-soft);
    color: var(--primary-dark) !important;
}
.navbar-npo .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px 0;
    display: none;
    z-index: 20;
}
.nav-item-has-dropdown {
    position: relative;
}
.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown.nav-item-open .nav-dropdown {
    display: block;
}
.navbar-npo .nav-dropdown .nav-link {
    display: block;
    width: 100%;
    color: var(--text);
    text-transform: none;
    font-weight: 600;
    padding: 10px 16px;
}
.navbar-npo .nav-dropdown .nav-link:hover,
.navbar-npo .nav-dropdown .nav-link-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    animation: pulse-live 1.8s ease-in-out infinite;
}
.rfm-live-pill .live-dot { background: var(--primary); }
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== FEATURE (classic RFM promo block) ========== */
.rfm-feature {
    background: var(--bg-soft);
    padding: 24px 0 8px;
}
.rfm-feature-panel {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    min-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.rfm-feature-visual {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(229,39,37,0.35), transparent 55%),
        linear-gradient(135deg, #4A1010 0%, #2A2A30 45%, #1C1C22 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 40px 36px;
}
.rfm-feature-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}
.rfm-feature-kicker {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}
.rfm-feature-title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 14ch;
    margin-bottom: 22px;
}
.rfm-feature-side {
    background: var(--charcoal);
    color: #fff;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}
.rfm-feature-side-brand {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
}
.rfm-feature-side-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}
.rfm-feature-side-meta {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    margin-bottom: auto;
}
.rfm-feature-side-link {
    margin-top: 28px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rfm-feature-side-link:hover { color: #ffc9c8; }
.rfm-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(229,39,37,0.2);
    border: 1px solid rgba(229,39,37,0.45);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ========== HOME MODULES (À l'antenne / C'était quoi) ========== */
.home-layout-container {
    padding-top: 28px;
    padding-bottom: 48px;
}
.rfm-modules {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    margin-bottom: 36px;
}
.rfm-module {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.rfm-module-head {
    background: var(--bg-muted);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 18px;
}
.rfm-module-head--dark {
    background: var(--charcoal);
    color: #fff;
}
.rfm-module-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.rfm-onair-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 18px;
}
.rfm-onair-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.rfm-onair-track {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 20px;
}
.rfm-onair-time {
    color: var(--primary);
    margin-right: 6px;
}
.rfm-onair-sep {
    color: var(--text-muted);
    margin: 0 4px;
    font-weight: 500;
}
.rfm-onair-play { margin-top: auto; }

.rfm-history-body { align-items: stretch; text-align: left; }
.rfm-history-lead {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.3;
}
.rfm-history-prev {
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rfm-history-prev-time {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
}
.rfm-history-prev-track { font-weight: 700; font-size: 1.05rem; }
.rfm-history-prev-artist { color: var(--text-secondary); font-size: 0.95rem; }

/* ========== SECTIONS ========== */
.section { padding: 28px 0 12px; }
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.section-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}
.section-link:hover { color: var(--primary-dark); }

.home-videos .video-grid--home {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
    .home-videos .video-grid--home {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .home-videos .video-grid--home {
        grid-template-columns: 1fr;
    }
}

.page-header {
    background: var(--primary);
    color: #fff;
    padding: 40px 0 36px;
}
.page-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}
.page-subtitle {
    margin-top: 8px;
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    max-width: 40ch;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; margin-bottom: 10px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
}
.btn-secondary:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-muted { background: var(--bg-muted); color: var(--ink); }
.btn-muted:hover { background: var(--border); color: var(--ink); }
.btn-icon { padding: 0; border-radius: var(--radius-sm); }

/* ========== PROGRAMME ========== */
.schedule-spotlight {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}
.schedule-now-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}
.schedule-now-card:hover {
    color: inherit;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.schedule-now-image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-muted);
    aspect-ratio: 1;
}
.schedule-now-image img { width: 100%; height: 100%; object-fit: cover; }
.schedule-now-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
}
.schedule-now-badge-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 8px;
    text-align: center;
}
.schedule-now-time {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}
.schedule-now-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.schedule-now-host,
.schedule-now-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.schedule-upcoming {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.schedule-upcoming-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.schedule-upcoming-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    color: inherit;
}
.schedule-upcoming-item:hover { color: var(--primary); }
.schedule-upcoming-cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg-muted);
    flex-shrink: 0;
}
.schedule-upcoming-placeholder { background: var(--bg-muted); }
.schedule-upcoming-name { font-weight: 700; }
.schedule-upcoming-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}
.schedule-upcoming-day {
    color: var(--primary);
    font-weight: 700;
    margin-right: 6px;
}

/* ========== TRACKS ========== */
.recent-tracks {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.track-item {
    display: grid;
    grid-template-columns: 56px 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
}
.track-item:last-child { border-bottom: none; }
.track-item:hover { background: #FAFAFB; }
.track-time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}
.track-cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg-muted);
}
.track-cover--empty { background: linear-gradient(135deg, var(--primary-soft), var(--bg-muted)); }
.track-title { font-weight: 700; }
.track-artist { font-size: 0.9rem; color: var(--text-secondary); margin-top: 2px; }

/* ========== SCHEDULE PAGE ========== */
.schedule-day-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 18px 22px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.schedule-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    transition: background .15s ease;
}
.schedule-nav-btn:hover { background: var(--primary-dark); color: #fff; }
.schedule-nav-btn:disabled { opacity: 0.35; cursor: default; }
.schedule-day-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
}
.schedule-day-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ink);
}
.schedule-day-date { font-size: 1rem; color: var(--text-secondary); }
.schedule-day-today { color: var(--primary); font-weight: 700; font-size: 1rem; }

.schedule-panels { max-width: 900px; margin: 0 auto; }
.schedule-day-panel { animation: schedule-fade .2s ease; }
@keyframes schedule-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.schedule-list > .schedule-card { scroll-margin-top: 88px; }

.schedule-card {
    --schedule-thumb: clamp(
        88px,
        calc(88px + (min(var(--schedule-slot-min, 60), 60) - 15) * (32px / 45)),
        120px
    );
    display: grid;
    grid-template-columns: 80px 1fr var(--schedule-thumb);
    gap: 18px;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    align-items: stretch;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    min-height: clamp(
        4rem,
        calc(4.25rem + (min(var(--schedule-slot-min, 60), 60) - 15) * (1.75rem / 45)),
        6rem
    );
}
.schedule-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.schedule-card--on-air {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}
.schedule-card--contains-live-nest {
    border-color: rgba(229, 39, 37, 0.45);
    box-shadow: 0 0 0 1px rgba(229, 39, 37, 0.2);
}
.schedule-card--on-air:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}
.schedule-card--compact {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
    min-height: auto;
    align-items: center;
}

/* Link wraps grid children — critical for layout */
.schedule-card-primary {
    display: contents;
    color: inherit;
    text-decoration: none;
}
.schedule-card-primary:hover { color: inherit; }

.schedule-card-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
    text-align: center;
    min-height: 100%;
    box-sizing: border-box;
}
.schedule-time-start {
    font-weight: 800;
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    color: var(--primary-dark);
}
.schedule-time-end {
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    margin-top: 2px;
}

.schedule-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.schedule-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.schedule-card-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 220px;
    min-width: 0;
}
.schedule-card-title-group .schedule-card-title {
    flex: 1;
    min-width: 0;
}
.schedule-card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}
.schedule-card-host {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 6px;
}
.schedule-card-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.schedule-card-next {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}
.schedule-card-next svg { flex-shrink: 0; }

.schedule-on-air-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    white-space: nowrap;
}
.schedule-on-air-badge--compact,
.schedule-on-air-badge--micro {
    font-size: 0.55rem;
    padding: 2px 6px;
    margin: 0;
}
.schedule-freq-badge,
.schedule-rediffusion-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    line-height: 1.15;
}
.schedule-freq-badge {
    background: var(--charcoal);
    color: #fff;
}
.schedule-rediffusion-badge {
    background: #E16F00;
    color: #fff;
}

.schedule-card-image {
    width: var(--schedule-thumb);
    height: var(--schedule-thumb);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
    justify-self: end;
    background: var(--bg-muted);
}
.schedule-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.schedule-card:hover .schedule-card-image img { transform: scale(1.05); }
.schedule-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-soft), var(--bg-muted));
}

.schedule-card-nests {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}
.schedule-card-nest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.875rem;
}
.schedule-card-nest:hover {
    color: var(--text);
    border-color: var(--primary);
    background: var(--primary-soft);
}
.schedule-card-nest--on-air {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 1px rgba(229, 39, 37, 0.25);
}
.schedule-nest-time {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--primary-dark);
    font-size: 0.8rem;
}
.schedule-nest-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 12rem;
    min-width: 0;
}
.schedule-nest-title { font-weight: 700; min-width: 0; }
.schedule-nest-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    background: #E16F00;
    color: #fff;
    border-radius: var(--radius-full);
}

.schedule-card-content--compact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
}
.schedule-compact-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px 8px;
    min-width: 0;
    overflow: hidden;
}
.schedule-compact-times {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--primary-dark);
}
.schedule-compact-dot {
    flex-shrink: 0;
    color: var(--text-muted);
    user-select: none;
}
.schedule-compact-title-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 46%;
}
.schedule-card-title--compact-inline {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.schedule-card-desc--one-line {
    margin: 0;
    flex: 1 1 0;
    min-width: 3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.schedule-compact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.schedule-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.schedule-empty svg {
    margin: 0 auto 12px;
    opacity: 0.35;
}

@media (max-width: 700px) {
    .schedule-day-nav {
        gap: 10px;
        padding: 14px 12px;
    }
    .schedule-day-label {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .schedule-day-date {
        order: -1;
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
    }
    .schedule-day-name { font-size: 1.1rem; }
    .schedule-day-today { font-size: 0.9rem; }
    .schedule-card {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: clamp(
            3.75rem,
            calc(4rem + (min(var(--schedule-slot-min, 60), 60) - 15) * (1.5rem / 45)),
            5.5rem
        );
    }
    .schedule-card--compact { min-height: auto; }
    .schedule-card-time {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        min-height: 0;
    }
    .schedule-time-end::before {
        content: "—";
        margin-right: 8px;
    }
    .schedule-card-image {
        width: 100%;
        height: clamp(
            140px,
            calc(140px + (min(var(--schedule-slot-min, 60), 60) - 15) * (40px / 45)),
            180px
        );
        order: -1;
        justify-self: stretch;
    }
}

/* ========== HISTORY ========== */
.history-date-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}
.history-picker-row { display: flex; flex-direction: column; gap: 6px; }
.history-date-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.history-date-select,
.history-time-hour,
.history-time-minute {
    appearance: none;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font: inherit;
    font-weight: 600;
    min-width: 140px;
}
.history-time-picker { display: flex; gap: 8px; }
.history-date-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
}
.history-date-btn:hover { background: var(--primary-dark); }
.history-date-heading {
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

/* ========== TEAM ========== */
.section--team { padding-top: 8px; }
.team-section { margin-bottom: 40px; }
.team-section:last-child { margin-bottom: 0; }
.team-section-header { margin-bottom: 22px; }
.team-section-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 6px;
}
.team-section-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 28px;
}
.team-card {
    text-align: center;
    color: inherit;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 18px 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.team-card:hover {
    color: inherit;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
    background: var(--bg-muted);
}
.team-photo--placeholder {
    display: grid;
    place-items: center;
    color: var(--text-muted);
}
.team-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}
.team-role {
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.team-empty {
    text-align: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 48px 24px;
}
.team-empty p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* ========== FRÉQUENCES ========== */
.section--freqs { padding-top: 8px; max-width: 720px; }
.freq-intro {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px 28px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.freq-intro p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin: 0;
    max-width: 40ch;
}
.freq-list {
    list-style: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.freq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
}
.freq-item:last-child { border-bottom: none; }
.freq-item:nth-child(even) { background: #FAFAFB; }
.freq-city {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink);
}
.freq-mhz {
    font-weight: 800;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    white-space: nowrap;
}
.freq-mhz small {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: 2px;
}

.page-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.page-kicker a { color: rgba(255,255,255,0.85); }
.page-kicker a:hover { color: #fff; }

.member-section { padding-top: 8px; }
.member-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: start;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 28px;
}
.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-muted);
    box-shadow: var(--shadow-sm);
}
.member-photo--placeholder {
    display: grid;
    place-items: center;
    color: var(--text-muted);
}
.member-bio.prose {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.member-socials { margin-top: 18px; }
.member-socials a {
    background: var(--bg-soft);
    color: var(--ink);
}
.member-socials a:hover {
    background: var(--primary);
    color: #fff;
}
.member-shows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.member-show-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 12px 14px;
    color: inherit;
}
.member-show-card:hover { color: inherit; box-shadow: var(--shadow); }
.member-show-cover {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-muted);
}
.member-show-cover--empty { background: var(--bg-muted); }
.member-show-title { font-size: 1.05rem; font-weight: 800; }
.member-show-meta { margin-top: 4px; color: var(--text-secondary); font-size: 0.9rem; }
.member-back { margin-top: 8px; }

@media (max-width: 720px) {
    .member-header { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .member-socials { justify-content: center; }
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: start;
}
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--text-secondary);
}
.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font: inherit;
    font-size: 1rem;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-textarea { min-height: 150px; resize: vertical; }

.contact-flash { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 16px; }
.contact-flash--ok { background: var(--primary); color: #fff; }
.contact-flash--ok h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.contact-flash--err {
    background: #fff5f5;
    color: var(--primary-dark);
    border: 1px solid #ffd0cf;
}

/* ========== SHOW / CMS ========== */
.content-header,
.content-header--show {
    background: var(--primary);
    color: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.content-header--show {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.content-header--wide {
    display: block;
    min-height: clamp(240px, 42vw, 420px);
    padding: 0;
}
.content-header-media {
    flex-shrink: 0;
}
.content-header--wide .content-header-media {
    position: absolute;
    inset: 0;
}
.content-cover {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.content-cover--wide {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.content-header--wide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 8, 8, 0.82) 0%,
        rgba(20, 8, 8, 0.55) 42%,
        rgba(20, 8, 8, 0.18) 100%
    );
    pointer-events: none;
}
.content-header--wide .content-info {
    position: relative;
    z-index: 1;
    max-width: min(640px, 100%);
    padding: clamp(28px, 5vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(240px, 42vw, 420px);
    box-sizing: border-box;
}
.content-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.content-info {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.92);
}
.content-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}
.show-host-meta {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.92);
}
.show-host-meta a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.show-description-block,
.show-description,
.about-content,
.legal-page-content,
.prose {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-top: 22px;
    line-height: 1.7;
    font-size: 1.05rem;
}
.show-description-block .prose,
.show-description.prose {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
}
.show-schedule-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.show-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    color: var(--ink, #2a2a2e);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
}
.show-validity-badge,
.show-rediffusion-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--primary-soft, #fde8e8);
    color: var(--primary-dark, #C81E1D);
}
.show-host-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    margin-top: 14px;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .15s ease, transform .15s ease;
}
a.show-host-card:hover {
    color: inherit;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.show-host-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.show-host-name {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
}
.show-host-bio {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.show-host-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 720px) {
    .content-header--show:not(.content-header--wide) {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }
    .content-header--show:not(.content-header--wide) .content-cover {
        width: 140px;
        height: 140px;
    }
    .content-header--wide {
        min-height: 280px;
    }
    .content-header--wide::after {
        background: linear-gradient(
            180deg,
            rgba(20, 8, 8, 0.25) 0%,
            rgba(20, 8, 8, 0.78) 70%,
            rgba(20, 8, 8, 0.9) 100%
        );
    }
    .content-header--wide .content-info {
        min-height: 280px;
        padding: 24px;
    }
}

.legal-page-card { margin-top: 22px; }
.legal-page-wysiwyg h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1.3em 0 0.45em;
}
.legal-page-wysiwyg p { margin-bottom: 0.9em; color: var(--text-secondary); }

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.78);
    padding: 56px 0 32px;
    margin-top: 48px;
}
.footer-container {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand { margin-bottom: 12px; }
.footer-logo-img { height: 64px; width: auto; }
.footer-brand span { display: none; }
.footer-tagline {
    color: rgba(255,255,255,0.55);
    font-size: 0.98rem;
    max-width: 28ch;
}
.footer-heading {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: 8px; }
.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
    width: min(100% - 40px, var(--max));
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.footer-legal-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-legal-nav a {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-legal-nav a:hover { color: #fff; }
.footer-legal-sep { opacity: 0.4; }

.regie-page .regie-redirect {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border, #e5e5e5);
}
.regie-redirect-note {
    margin: 0 0 16px;
    font-size: 0.95rem;
    opacity: 0.85;
}
.regie-redirect .btn { display: inline-flex; }
.footer-credit {
    margin-top: 12px;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.45;
}
.footer-credit a { color: inherit; border-bottom: 1px dotted currentColor; }

/* ========== PLAYER ========== */
.player {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    height: var(--player-h);
    background: #fff;
    border-top: 3px solid var(--primary);
    color: var(--text);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.1);
}
.player-container {
    width: min(100% - 24px, var(--max));
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}
.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    max-width: 340px;
    cursor: pointer;
}
.player-cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg-muted);
    flex-shrink: 0;
}
.player-cover[src$=".svg"],
.player-cover[src*="logo"] { object-fit: contain; padding: 2px; }
.player-text { min-width: 0; overflow: hidden; }
.player-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ink);
}
.player-artist {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.player-btn { color: var(--text-secondary); }
.player-btn:hover { color: var(--primary); }
.player-btn-main {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
}
.player-btn-main:hover { background: var(--primary-dark); }
.player-btn-main svg { width: 20px; height: 20px; }
.player-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.player-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 36px;
}
.player-seek,
.player-vol-slider,
.player-fs-seek,
.player-fs-vol {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    outline: none;
    border: none;
    cursor: pointer;
}
.player-seek { flex: 1; }
.player-vol-slider { width: 90px; }
.player-seek::-webkit-slider-thumb,
.player-vol-slider::-webkit-slider-thumb,
.player-fs-seek::-webkit-slider-thumb,
.player-fs-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
}
.player-volume { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.player-live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.player-live .live-dot { background: var(--primary); }
.player-speed,
.speed-btn {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.player-back-live,
.player-expand { color: var(--text-secondary); }
.player-fs-reagir { display: none !important; }

.player-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--charcoal);
    color: #fff;
    display: none;
    flex-direction: column;
    padding: 20px;
}
.player-fullscreen.active,
.player-fullscreen.open,
.player-fullscreen[aria-hidden="false"] { display: flex; }
.player-fs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.player-fs-close,
.player-fs-live,
.player-fs-btn {
    color: #fff;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}
.player-fs-label {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.player-fs-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.player-fs-cover {
    width: min(70vw, 260px);
    height: min(70vw, 260px);
    object-fit: cover;
    border-radius: 12px;
    background: #222;
    margin-bottom: 8px;
}
.player-fs-title { font-size: 1.5rem; font-weight: 800; }
.player-fs-artist { color: rgba(255,255,255,0.65); }
.player-fs-progress { width: min(100%, 400px); }
.player-fs-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 8px;
}
.player-fs-controls {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 12px;
}
.player-fs-btn-main {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
}
.player-fs-extras {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-top: 16px;
}
.player-fs-speed-options { display: flex; gap: 6px; }
.player-fs-volume { display: flex; align-items: center; gap: 8px; }

.page-404,
.error-page {
    min-height: 50vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
}
.page-404 h1,
.error-page h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    color: var(--primary);
}

/* Legacy class aliases used by older markup */
.hero-two-col,
.hero-two-col-no-carousel { display: contents; }
.play-button-hero { display: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
    .nav-container { padding-left: 0; }
    .rfm-feature-panel { grid-template-columns: 1fr; }
    .rfm-feature-visual {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .rfm-feature-title { margin-inline: auto; }
    .rfm-modules { grid-template-columns: 1fr; }
    .schedule-spotlight { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .player-progress,
    .player-volume,
    .player-speed { display: none; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .desktop-only { display: none; }
    .mobile-only { display: initial; }
    .container,
    .container-narrow { width: min(100% - 28px, var(--max)); }

    .nav-logo-img { height: 46px; width: 46px; }
    .nav-actions { gap: 6px; }
    .nav-cta { display: none; }
    .nav-listen {
        padding: 8px 12px;
        font-size: 0.78rem;
    }
    .nav-item-cta-mobile { display: list-item; }
    .navbar-npo .nav-link-cta {
        margin: 8px 4px 4px;
        justify-content: center;
        background: #fff;
        color: var(--primary) !important;
        border-radius: var(--radius-full);
        text-transform: none;
        letter-spacing: 0;
    }
    .navbar-npo .nav-link-cta:hover {
        background: var(--bg-soft);
        color: var(--primary-dark) !important;
    }
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
        z-index: 90;
        box-shadow: var(--shadow);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-npo .nav-dropdown {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.12);
        border-radius: 0;
    }
    .navbar-npo .nav-dropdown .nav-link { color: #fff; }

    .rfm-feature { padding-top: 16px; }
    .rfm-feature-logo { width: 120px; height: 120px; }
    .schedule-now-card { grid-template-columns: 100px 1fr; }
    .track-item { grid-template-columns: 48px 40px 1fr; gap: 10px; padding: 12px; }
    .track-cover { width: 40px; height: 40px; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .history-date-form { flex-direction: column; align-items: stretch; }
    .history-date-select { width: 100%; }
}

/* ========== VIDEOS ========== */
.section--videos { padding-top: 8px; }
.video-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.video-filter {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.92rem;
    transition: color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.video-filter:hover {
    color: var(--ink);
    box-shadow: var(--shadow);
}
.video-filter.is-active {
    color: #fff;
    background: var(--primary, #E52725);
    box-shadow: none;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.video-grid--related { margin-top: 8px; }
.video-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.video-card:hover {
    color: inherit;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.video-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-muted);
    overflow: hidden;
}
.video-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-card-thumb--empty { background: linear-gradient(135deg, #1a1a1a, #444); }
.video-card-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity .15s ease;
}
.video-card:hover .video-card-play { opacity: 1; }
.video-card-play svg {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    background: var(--primary, #E52725);
}
.video-card-body { padding: 16px 18px 18px; }
.video-card-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary, #E52725);
    margin-bottom: 6px;
}
.video-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 8px;
}
.video-card-date {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.video-section { padding-top: 8px; }
.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.video-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-fallback-thumb {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: block;
}
.video-lead {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 20px;
}
.video-body.prose { margin-bottom: 20px; }
.video-source {
    margin: 0 0 28px;
    font-size: 0.92rem;
}
.video-source a { font-weight: 700; }

@media (max-width: 640px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-card-play { opacity: 1; background: transparent; }
    .video-card-play svg { width: 44px; height: 44px; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .live-dot { animation: none; }
    .video-card { transition: none; }
    .video-card:hover { transform: none; }
}
