/*
 * Modern Air
 * True broadcast portal layout
 */

body[data-public-app][data-website-template="modern"]{
    --modern-bg:#f2f4f7;
    --modern-ink:#111827;
    --modern-muted:#6b7280;
    --modern-blue:#0b66c3;
    --modern-dark:#08111f;
    --modern-line:#dde3ea;
    --modern-surface:#ffffff;

    background:var(--modern-bg);
    color:var(--modern-ink);
}

/* HEADER */

body[data-public-app][data-website-template="modern"] .top[data-public-header]{
    background:#ffffff;
    color:var(--modern-ink);
    border-bottom:1px solid var(--modern-line);
    box-shadow:0 3px 14px rgba(15,23,42,.05);
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand,
body[data-public-app][data-website-template="modern"] .top[data-public-header] a{
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand small{
    color:var(--modern-muted);
}

body[data-public-app][data-website-template="modern"] .shell{
    width:min(1500px,calc(100% - 48px));
    margin-top:0;
}

/* HERO */

body[data-public-app][data-website-template="modern"] .modern-portal-hero{
    position:relative;
    min-height:560px;
    overflow:hidden;
    margin:0 calc(50% - 50vw);
    border-radius:0;
    background:
        radial-gradient(circle at 75% 20%,rgba(56,132,255,.35),transparent 30%),
        linear-gradient(115deg,#050b14,#10233b 58%,#0b66c3);
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .modern-portal-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(2,7,14,.94) 0%,
            rgba(2,7,14,.72) 42%,
            rgba(2,7,14,.18) 100%
        );
    pointer-events:none;
}

body[data-public-app][data-website-template="modern"] .modern-portal-hero-grid{
    position:relative;
    z-index:2;
    width:min(1500px,calc(100% - 48px));
    min-height:560px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
    gap:70px;
    align-items:center;
    padding:70px 0;
}

body[data-public-app][data-website-template="modern"] .modern-live-status{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:26px;
    color:#bcd5ee;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-live-status-dot{
    width:11px;
    height:11px;
    border-radius:50%;
    background:#ff3158;
    box-shadow:0 0 0 7px rgba(255,49,88,.16);
}

body[data-public-app][data-website-template="modern"] .modern-portal-logo{
    width:94px;
    height:94px;
    object-fit:cover;
    margin-bottom:24px;
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 38px rgba(0,0,0,.28);
}

body[data-public-app][data-website-template="modern"] .modern-portal-hero h1{
    max-width:900px;
    margin:0;
    color:#fff;
    font-size:clamp(3.6rem,6.2vw,6.5rem);
    line-height:.9;
    letter-spacing:-.065em;
}

body[data-public-app][data-website-template="modern"] .modern-portal-tagline{
    max-width:760px;
    margin:20px 0 0;
    color:#dce9f6;
    font-size:clamp(1.15rem,2vw,1.45rem);
    font-weight:700;
}

/* PRESENTER */

body[data-public-app][data-website-template="modern"] .modern-portal-presenters{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:26px;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 14px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(0,0,0,.26);
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter img{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter div{
    display:grid;
    gap:1px;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter span,
body[data-public-app][data-website-template="modern"] .modern-portal-presenter small{
    color:#b9cad9;
}

/* PLAYER PANEL */

body[data-public-app][data-website-template="modern"] .modern-portal-player{
    padding:30px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:28px;
    background:rgba(3,9,18,.68);
    backdrop-filter:blur(18px) saturate(135%);
    box-shadow:0 22px 55px rgba(0,0,0,.28);
}

body[data-public-app][data-website-template="modern"] .modern-portal-player-label{
    display:block;
    margin-bottom:12px;
    color:#80b7e8;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-portal-track{
    display:grid;
    gap:5px;
}

body[data-public-app][data-website-template="modern"] .modern-portal-track strong{
    color:#fff;
    font-size:1.8rem;
    line-height:1.1;
}

body[data-public-app][data-website-template="modern"] .modern-portal-track span{
    color:#becddd;
    font-size:1rem;
}

body[data-public-app][data-website-template="modern"] .modern-portal-play{
    width:100%;
    margin-top:26px;
    padding:16px 22px;
    border:0;
    border-radius:999px;
    background:#ffffff;
    color:#0a223a;
    font-size:1rem;
    font-weight:900;
}

/* BROADCAST STRIP */

body[data-public-app][data-website-template="modern"] .modern-broadcast-strip{
    display:grid;
    grid-template-columns:180px minmax(0,1fr);
    align-items:center;
    gap:26px;
    margin-top:-34px;
    padding:20px 28px;
    position:relative;
    z-index:3;
    border-radius:18px;
    background:#071321;
    color:#fff;
    box-shadow:0 16px 38px rgba(10,29,48,.18);
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-strip-label{
    display:flex;
    align-items:center;
    gap:9px;
    color:#8ec6f5;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-strip-label span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#ff3158;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-strip-content{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) minmax(220px,.55fr);
    align-items:center;
    gap:18px;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-strip-content img{
    width:64px;
    height:64px;
    border-radius:12px;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-current,
body[data-public-app][data-website-template="modern"] .modern-broadcast-next{
    display:grid;
    gap:2px;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-current strong,
body[data-public-app][data-website-template="modern"] .modern-broadcast-next strong{
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-current span,
body[data-public-app][data-website-template="modern"] .modern-broadcast-next span{
    color:#a9bfd1;
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-next{
    padding-left:18px;
    border-left:1px solid rgba(255,255,255,.12);
}

body[data-public-app][data-website-template="modern"] .modern-broadcast-next small{
    color:#70aee1;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

/* WIDE SECTIONS */

body[data-public-app][data-website-template="modern"] .modern-wide-section,
body[data-public-app][data-website-template="modern"] .modern-shows-section,
body[data-public-app][data-website-template="modern"] .modern-recent-section,
body[data-public-app][data-website-template="modern"] .modern-news-section{
    width:min(1240px,100%);
    margin:48px auto 0;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading{
    margin-bottom:24px;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading>span,
body[data-public-app][data-website-template="modern"] .modern-wide-heading>div>span{
    display:block;
    margin-bottom:5px;
    color:var(--modern-blue);
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading h2{
    margin:0;
    color:var(--modern-ink);
    font-size:clamp(2rem,3vw,3rem);
    line-height:1;
    letter-spacing:-.045em;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading-row{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading-row>a{
    color:var(--modern-blue);
    font-weight:800;
}

/* TIMELINE */

body[data-public-app][data-website-template="modern"] .modern-timeline-section{
    padding:30px 32px;
    background:#fff;
    border:1px solid var(--modern-line);
    border-radius:20px;
    box-shadow:0 8px 24px rgba(24,45,67,.06);
}

body[data-public-app][data-website-template="modern"] .modern-timeline{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li{
    min-height:92px;
    padding:16px 18px;
    border:1px solid var(--modern-line);
    border-radius:14px;
    background:#f8fafc;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li:first-child{
    border-left:1px solid var(--modern-line);
}

body[data-public-app][data-website-template="modern"] .modern-timeline time{
    display:none;
    margin-bottom:0;
    color:var(--modern-blue);
    font-size:1.2rem;
    font-weight:900;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li div{
    display:grid;
    gap:4px;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li span{
    color:var(--modern-muted);
}

/* SHOW RAIL */

body[data-public-app][data-website-template="modern"] .modern-show-rail{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile{
    min-height:230px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
    border-radius:22px;
    background:
        linear-gradient(145deg,#1769aa,#7b22c7);
    color:#fff;
    text-decoration:none;
    box-shadow:0 12px 30px rgba(36,57,81,.12);
}

body[data-public-app][data-website-template="modern"] .modern-show-tile:hover{
    transform:translateY(-3px);
    text-decoration:none;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile-art{
    display:grid;
    place-items:center;
    flex:1;
    font-size:3rem;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile>div:last-child{
    padding:20px;
    display:grid;
    gap:4px;
    background:linear-gradient(transparent,rgba(0,0,0,.45));
}

body[data-public-app][data-website-template="modern"] .modern-show-tile strong,
body[data-public-app][data-website-template="modern"] .modern-show-tile span{
    color:#fff;
}

/* RECENT */

body[data-public-app][data-website-template="modern"] .modern-recent-section{
    padding:30px 32px;
    border:1px solid var(--modern-line);
    border-radius:20px;
    background:#fff;
    color:var(--modern-ink);
    box-shadow:0 8px 24px rgba(24,45,67,.05);
}

body[data-public-app][data-website-template="modern"] .modern-recent-section .modern-wide-heading h2{
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .modern-recent-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 34px;
    margin:0;
    padding:0;
    list-style:none;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:13px 0;
    border-top:1px solid var(--modern-line);
}

body[data-public-app][data-website-template="modern"] .modern-recent-list span{
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .modern-recent-list time{
    color:var(--modern-muted);
    white-space:nowrap;
}

/* NEWS */

body[data-public-app][data-website-template="modern"] .modern-news-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

body[data-public-app][data-website-template="modern"] .modern-news-card{
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 26px rgba(24,45,67,.07);
}

body[data-public-app][data-website-template="modern"] .modern-news-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .modern-news-card>div{
    padding:20px;
}

body[data-public-app][data-website-template="modern"] .modern-news-card h3{
    margin:0 0 8px;
}

body[data-public-app][data-website-template="modern"] .modern-news-card h3 a{
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .modern-news-card p{
    color:var(--modern-muted);
}

body[data-public-app][data-website-template="modern"] .modern-portal-empty{
    color:var(--modern-muted);
}

/* PLAYER */

body[data-public-app][data-website-template="modern"] .public-player{
    background:#071321;
}

/* RESPONSIVE */

@media(max-width:980px){
    body[data-public-app][data-website-template="modern"] .modern-portal-hero-grid{
        grid-template-columns:1fr;
        gap:32px;
        padding:50px 0;
    }

    body[data-public-app][data-website-template="modern"] .modern-portal-player{
        width:min(100%,620px);
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    body[data-public-app][data-website-template="modern"] .modern-show-rail{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    body[data-public-app][data-website-template="modern"] .modern-broadcast-strip{
        grid-template-columns:1fr;
    }

    body[data-public-app][data-website-template="modern"] .modern-broadcast-strip-content{
        grid-template-columns:auto minmax(0,1fr);
    }

    body[data-public-app][data-website-template="modern"] .modern-broadcast-next{
        grid-column:1/-1;
        padding:14px 0 0;
        border-left:0;
        border-top:1px solid rgba(255,255,255,.12);
    }

    body[data-public-app][data-website-template="modern"] .modern-recent-list{
        grid-template-columns:1fr;
    }
}

@media(max-width:680px){
    body[data-public-app][data-website-template="modern"] .shell,
    body[data-public-app][data-website-template="modern"] .modern-portal-hero-grid{
        width:calc(100% - 24px);
    }

    body[data-public-app][data-website-template="modern"] .modern-portal-hero{
        min-height:0;
    }

    body[data-public-app][data-website-template="modern"] .modern-portal-hero h1{
        font-size:clamp(2.8rem,14vw,4.3rem);
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline{
        grid-template-columns:1fr;
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline li{
        border-left:0;
        border-top:1px solid var(--modern-line);
    }

    body[data-public-app][data-website-template="modern"] .modern-show-rail,
    body[data-public-app][data-website-template="modern"] .modern-news-grid{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   MODERN AIR — SHOW-LED HERO
   ========================================================= */

body[data-public-app][data-website-template="modern"] .modern-portal-hero{
    position:relative;
    min-height:620px;
    margin:0 calc(50% - 50vw);
    overflow:hidden;
    background:#09111d;
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .modern-hero-media{
    position:absolute;
    inset:0;
}

body[data-public-app][data-website-template="modern"] .modern-hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

body[data-public-app][data-website-template="modern"] .modern-hero-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(4,10,18,.92) 0%,
            rgba(4,10,18,.72) 38%,
            rgba(4,10,18,.30) 66%,
            rgba(4,10,18,.48) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4,10,18,.60) 0%,
            rgba(4,10,18,.04) 48%
        );
}

body[data-public-app][data-website-template="modern"] .modern-hero-content{
    position:relative;
    z-index:2;
    width:min(1500px,calc(100% - 64px));
    min-height:620px;
    margin:0 auto;
    padding:54px 0 70px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 390px;
    grid-template-rows:auto 1fr auto;
    gap:28px 48px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-brand{
    grid-column:1 / -1;
}

body[data-public-app][data-website-template="modern"] .modern-portal-logo{
    width:auto;
    max-width:180px;
    max-height:72px;
    object-fit:contain;
}

body[data-public-app][data-website-template="modern"] .modern-hero-show{
    align-self:end;
    max-width:820px;
}

body[data-public-app][data-website-template="modern"] .modern-live-status{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:18px;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-live-status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ff334f;
    box-shadow:0 0 0 6px rgba(255,51,79,.16);
}

body[data-public-app][data-website-template="modern"] .modern-hero-show h1{
    margin:0;
    max-width:900px;
    font-size:clamp(3rem,6vw,6.6rem);
    line-height:.92;
    letter-spacing:-.055em;
    font-weight:900;
    text-wrap:balance;
}

body[data-public-app][data-website-template="modern"] .modern-hero-description{
    max-width:680px;
    margin:22px 0 0;
    font-size:clamp(1rem,1.8vw,1.35rem);
    line-height:1.55;
    color:rgba(255,255,255,.82);
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenters{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:24px;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:7px 12px 7px 7px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(12px);
    border-radius:999px;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter img{
    width:42px;
    height:42px;
    object-fit:cover;
    border-radius:50%;
}

body[data-public-app][data-website-template="modern"] .modern-portal-presenter strong{
    font-size:.95rem;
}

body[data-public-app][data-website-template="modern"] .modern-hero-player{
    align-self:end;
    justify-self:end;
    width:100%;
    padding:24px;
    background:rgba(8,17,31,.68);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 22px 60px rgba(0,0,0,.24);
    backdrop-filter:blur(18px);
}

body[data-public-app][data-website-template="modern"] .modern-hero-now{
    display:grid;
    gap:8px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-now > span{
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
    color:rgba(255,255,255,.56);
}

body[data-public-app][data-website-template="modern"] .modern-hero-now [data-station-hero-track]{
    display:grid;
    gap:5px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-now strong{
    font-size:1.35rem;
    line-height:1.15;
}

body[data-public-app][data-website-template="modern"] .modern-hero-now small{
    font-size:.95rem;
    color:rgba(255,255,255,.68);
}

body[data-public-app][data-website-template="modern"] .modern-hero-play{
    width:100%;
    margin-top:20px;
    min-height:58px;
    border:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    font:inherit;
    font-weight:900;
    font-size:1rem;
    cursor:pointer;
    background:var(--modern-blue);
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .modern-hero-play span{
    font-size:1.15rem;
}

body[data-public-app][data-website-template="modern"] .modern-hero-player .player-status{
    display:block;
    min-height:1em;
    margin-top:10px;
    font-size:.8rem;
    color:rgba(255,255,255,.62);
}

@media (max-width:980px){
    body[data-public-app][data-website-template="modern"] .modern-portal-hero,
    body[data-public-app][data-website-template="modern"] .modern-hero-content{
        min-height:560px;
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-content{
        width:min(100% - 36px,1500px);
        grid-template-columns:1fr;
        grid-template-rows:auto 1fr auto;
        padding:34px 0 44px;
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-player{
        justify-self:stretch;
        max-width:520px;
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-show h1{
        font-size:clamp(2.8rem,11vw,5.5rem);
    }
}

@media (max-width:620px){
    body[data-public-app][data-website-template="modern"] .modern-hero-content{
        width:calc(100% - 28px);
        padding-top:24px;
    }

    body[data-public-app][data-website-template="modern"] .modern-portal-logo{
        max-width:135px;
        max-height:56px;
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-show h1{
        font-size:clamp(2.5rem,13vw,4.2rem);
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-player{
        padding:18px;
    }
}


/* Modern hero live bar */

body[data-public-app][data-website-template="modern"] .modern-hero-livebar{
    align-self:end;
    justify-self:end;
    width:min(100%,520px);
    display:flex;
    align-items:center;
    gap:20px;
    padding:0;
}

body[data-public-app][data-website-template="modern"] .modern-hero-round-play{
    flex:0 0 82px;
    width:82px;
    height:82px;
    border-radius:50%;
    border:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-left:5px;
    background:#fff;
    color:#0a1422;
    font:inherit;
    font-size:1.8rem;
    cursor:pointer;
    box-shadow:0 14px 40px rgba(0,0,0,.30);
}

body[data-public-app][data-website-template="modern"] .modern-hero-round-play:hover{
    transform:scale(1.04);
}

body[data-public-app][data-website-template="modern"] .modern-hero-round-play-disabled{
    opacity:.7;
    cursor:default;
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline{
    min-width:0;
    display:grid;
    gap:5px;
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .modern-hero-track-label{
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:rgba(255,255,255,.58);
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline [data-station-hero-track]{
    display:grid;
    gap:3px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline strong{
    font-size:1.25rem;
    line-height:1.15;
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline [data-station-hero-track] span{
    font-size:.95rem;
    color:rgba(255,255,255,.72);
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline .player-status{
    min-height:1em;
    font-size:.75rem;
    color:rgba(255,255,255,.55);
}

/* Old boxed hero player no longer used */
body[data-public-app][data-website-template="modern"] .modern-hero-player{
    display:none;
}

@media (max-width:980px){
    body[data-public-app][data-website-template="modern"] .modern-hero-livebar{
        justify-self:start;
        width:100%;
        max-width:520px;
    }
}

@media (max-width:620px){
    body[data-public-app][data-website-template="modern"] .modern-hero-round-play{
        flex-basis:66px;
        width:66px;
        height:66px;
        font-size:1.45rem;
    }

    body[data-public-app][data-website-template="modern"] .modern-hero-livebar{
        gap:15px;
    }
}


/* Modern hero player placement correction */

body[data-public-app][data-website-template="modern"] .modern-hero-livebar{
    grid-column:1;
    grid-row:3;
    justify-self:start;
    align-self:start;
    width:auto;
    max-width:700px;
    margin-top:6px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-round-play{
    flex:0 0 74px;
    width:74px;
    height:74px;
    font-size:0;
    overflow:hidden;
    white-space:nowrap;
}

body[data-public-app][data-website-template="modern"] .modern-hero-round-play::before{
    content:"▶";
    display:block;
    font-size:1.55rem;
    line-height:1;
    margin-left:4px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline{
    min-width:260px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-trackline strong{
    font-size:1.15rem;
}

@media (max-width:980px){
    body[data-public-app][data-website-template="modern"] .modern-hero-livebar{
        grid-column:1;
        grid-row:auto;
    }
}


/* Modern hero — lighter image treatment */

body[data-public-app][data-website-template="modern"] .modern-hero-shade{
    background:
        linear-gradient(
            90deg,
            rgba(4,10,18,.58) 0%,
            rgba(4,10,18,.42) 34%,
            rgba(4,10,18,.16) 66%,
            rgba(4,10,18,.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4,10,18,.34) 0%,
            rgba(4,10,18,0) 52%
        );
}


/* Modern hero — reduce dark overlay */

body[data-public-app][data-website-template="modern"] .modern-hero-shade{
    background:
        linear-gradient(
            90deg,
            rgba(4,10,18,.38) 0%,
            rgba(4,10,18,.26) 34%,
            rgba(4,10,18,.08) 68%,
            rgba(4,10,18,.04) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4,10,18,.20) 0%,
            rgba(4,10,18,0) 55%
        );
}



/* Modern home content rail — compact teaser sections */
@media (max-width:680px){
    body[data-public-app][data-website-template="modern"] .modern-wide-section,
    body[data-public-app][data-website-template="modern"] .modern-shows-section,
    body[data-public-app][data-website-template="modern"] .modern-recent-section,
    body[data-public-app][data-website-template="modern"] .modern-news-section{
        width:100%;
        margin-top:34px;
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline-section,
    body[data-public-app][data-website-template="modern"] .modern-recent-section{
        padding:24px 20px;
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline li{
        min-height:0;
        border:1px solid var(--modern-line);
    }
}


/* === MODERN UNIFIED CONTENT CARDS v1 === */

/*
 * Shared visual language for:
 * - This Hour
 * - Latest Shows
 * - Recently Played
 * - Music News / News
 */

body[data-public-app][data-website-template="modern"] .modern-timeline-section,
body[data-public-app][data-website-template="modern"] .modern-recent-section{
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

/* One common grid */

body[data-public-app][data-website-template="modern"] .modern-timeline,
body[data-public-app][data-website-template="modern"] .modern-recent-list,
body[data-public-app][data-website-template="modern"] .modern-show-rail,
body[data-public-app][data-website-template="modern"] .modern-news-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin:0;
    padding:0;
    list-style:none;
}

/* One common card surface */

body[data-public-app][data-website-template="modern"] .modern-timeline li,
body[data-public-app][data-website-template="modern"] .modern-recent-list li,
body[data-public-app][data-website-template="modern"] .modern-show-tile,
body[data-public-app][data-website-template="modern"] .modern-news-card{
    position:relative;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--modern-line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 26px rgba(24,45,67,.07);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li:hover,
body[data-public-app][data-website-template="modern"] .modern-recent-list li:hover,
body[data-public-app][data-website-template="modern"] .modern-show-tile:hover,
body[data-public-app][data-website-template="modern"] .modern-news-card:hover{
    transform:translateY(-3px);
    border-color:#c9d7e5;
    box-shadow:0 16px 34px rgba(24,45,67,.11);
}

/* ---------------------------------------------------------
   THIS HOUR
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"] .modern-timeline li{
    display:flex;
    flex-direction:column;
    min-height:178px;
    padding:0;
}

/* Artwork-style header when no real cover is available */

body[data-public-app][data-website-template="modern"] .modern-timeline li::before{
    content:"♫";
    display:flex;
    align-items:center;
    justify-content:center;
    height:86px;
    flex:0 0 86px;
    background:
        radial-gradient(circle at 78% 20%,rgba(255,255,255,.28),transparent 28%),
        linear-gradient(135deg,#0b66c3,#4b8fe1);
    color:rgba(255,255,255,.92);
    font-size:2rem;
    font-weight:800;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li > div{
    display:grid;
    gap:5px;
    padding:18px 20px 20px;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li strong{
    color:var(--modern-ink);
    font-size:1.05rem;
    line-height:1.3;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li span{
    color:var(--modern-muted);
    font-size:.92rem;
}

/* Never show exact schedule times in Modern */

body[data-public-app][data-website-template="modern"] .modern-timeline time{
    display:none !important;
}

/* ---------------------------------------------------------
   RECENTLY PLAYED
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"] .modern-recent-list{
    gap:20px;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:0;
    min-height:168px;
    padding:0;
    border-top:1px solid var(--modern-line);
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li::before{
    content:"♪";
    display:flex;
    align-items:center;
    justify-content:center;
    height:78px;
    flex:0 0 78px;
    background:
        radial-gradient(circle at 78% 22%,rgba(255,255,255,.24),transparent 30%),
        linear-gradient(135deg,#253a55,#607d9e);
    color:#fff;
    font-size:1.9rem;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li > span{
    display:block;
    padding:16px 18px 3px;
    color:var(--modern-ink);
    font-weight:750;
    line-height:1.35;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li > time{
    display:block;
    margin-top:auto;
    padding:3px 18px 16px;
    color:var(--modern-muted);
    font-size:.78rem;
}

/* ---------------------------------------------------------
   LATEST SHOWS
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"] .modern-show-tile{
    min-height:250px;
    border-color:transparent;
    background:linear-gradient(145deg,#1769aa,#7b22c7);
}

body[data-public-app][data-website-template="modern"] .modern-show-tile-art{
    min-height:150px;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile > div:last-child{
    padding:20px;
}

/* ---------------------------------------------------------
   NEWS
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"] .modern-news-card{
    height:100%;
}

body[data-public-app][data-website-template="modern"] .modern-news-card img{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .modern-news-card > div{
    padding:20px;
}

body[data-public-app][data-website-template="modern"] .modern-news-card h3{
    margin:0 0 9px;
    font-size:1.08rem;
    line-height:1.3;
}

body[data-public-app][data-website-template="modern"] .modern-news-card p{
    margin:0;
    color:var(--modern-muted);
    line-height:1.55;
}

/* ---------------------------------------------------------
   EMPTY STATES
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"] .modern-portal-empty{
    margin:0;
    padding:30px;
    border:1px dashed #cad5e0;
    border-radius:20px;
    background:rgba(255,255,255,.55);
    color:var(--modern-muted);
    text-align:center;
    font-weight:650;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width:980px){
    body[data-public-app][data-website-template="modern"] .modern-timeline,
    body[data-public-app][data-website-template="modern"] .modern-recent-list,
    body[data-public-app][data-website-template="modern"] .modern-show-rail,
    body[data-public-app][data-website-template="modern"] .modern-news-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:680px){
    body[data-public-app][data-website-template="modern"] .modern-timeline,
    body[data-public-app][data-website-template="modern"] .modern-recent-list,
    body[data-public-app][data-website-template="modern"] .modern-show-rail,
    body[data-public-app][data-website-template="modern"] .modern-news-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    body[data-public-app][data-website-template="modern"] .modern-timeline li,
    body[data-public-app][data-website-template="modern"] .modern-recent-list li{
        min-height:0;
    }
}


/* === MODERN NAVIGATION v1 === */

/* Header */

body[data-public-app][data-website-template="modern"] .top[data-public-header]{
    position:relative;
    z-index:20;
    min-height:78px;
    padding:0 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--modern-line);
    box-shadow:0 4px 18px rgba(15,23,42,.045);
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    text-decoration:none;
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand-icon{
    flex:0 0 auto;
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:14px;
    background:#f4f7fa;
    border:1px solid var(--modern-line);
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand>span:last-child{
    min-width:0;
    display:grid;
    gap:2px;
    color:var(--modern-ink);
    font-weight:850;
    line-height:1.1;
}

body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand small{
    color:var(--modern-muted);
    font-size:.76rem;
    font-weight:650;
}

/* Right actions */

body[data-public-app][data-website-template="modern"] .public-header-actions{
    display:flex;
    align-items:center;
    gap:14px;
}

body[data-public-app][data-website-template="modern"] .public-header-actions .account{
    display:flex;
    align-items:center;
    gap:10px;
}

body[data-public-app][data-website-template="modern"] .public-header-actions .badge{
    padding:6px 10px;
    border-radius:999px;
    background:#eef4fb;
    color:var(--modern-blue);
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* Menu button */

body[data-public-app][data-website-template="modern"] .public-menu-toggle{
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid var(--modern-line);
    border-radius:999px;
    background:#fff;
    color:var(--modern-ink);
    font:inherit;
    font-weight:800;
    cursor:pointer;
    transition:.18s ease;
}

body[data-public-app][data-website-template="modern"] .public-menu-toggle:hover{
    border-color:#c7d7e7;
    background:#f8fafc;
    transform:translateY(-1px);
}

/* Horizontal public navigation */

body[data-public-app][data-website-template="modern"] .workspace[data-public-workspace]{
    display:block;
}

body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation]{
    width:min(1240px,calc(100% - 48px));
    margin:18px auto 0;
    padding:7px;
    display:flex;
    align-items:center;
    gap:6px;
    overflow-x:auto;
    scrollbar-width:none;
    border:1px solid var(--modern-line);
    border-radius:18px;
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 26px rgba(24,45,67,.055);
}

body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation]::-webkit-scrollbar{
    display:none;
}

body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation] a{
    flex:0 0 auto;
    padding:10px 15px;
    border-radius:12px;
    color:#455468;
    text-decoration:none;
    font-size:.9rem;
    font-weight:750;
    line-height:1;
    transition:
        background .16s ease,
        color .16s ease,
        transform .16s ease;
}

body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation] a:hover{
    background:#f3f7fb;
    color:var(--modern-ink);
    transform:translateY(-1px);
}

body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation] a.active,
body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation] a[aria-current="page"]{
    background:var(--modern-blue);
    color:#fff;
}

/* Main content spacing below navigation */

body[data-public-app][data-website-template="modern"] [data-public-main]{
    margin-top:22px;
}

/* Drawer */

body[data-public-app][data-website-template="modern"] .public-menu-drawer{
    width:min(390px,calc(100vw - 24px));
    background:#fff;
    color:var(--modern-ink);
    border-left:1px solid var(--modern-line);
    box-shadow:-20px 0 55px rgba(15,23,42,.17);
}

body[data-public-app][data-website-template="modern"] .public-menu-drawer-head{
    padding:26px 24px 18px;
    border-bottom:1px solid var(--modern-line);
}

body[data-public-app][data-website-template="modern"] .public-menu-drawer-head .eyebrow{
    margin:0 0 3px;
    color:var(--modern-blue);
}

body[data-public-app][data-website-template="modern"] .public-menu-drawer-head strong{
    font-size:1.4rem;
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .public-menu-close{
    width:40px;
    height:40px;
    border:1px solid var(--modern-line);
    border-radius:50%;
    background:#fff;
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .public-menu-links{
    padding:12px;
    display:grid;
    gap:5px;
}

body[data-public-app][data-website-template="modern"] .public-menu-links a{
    padding:14px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-radius:12px;
    color:#405065;
    text-decoration:none;
    font-weight:750;
    transition:.16s ease;
}

body[data-public-app][data-website-template="modern"] .public-menu-links a:hover{
    background:#f3f7fb;
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .public-menu-links a.active,
body[data-public-app][data-website-template="modern"] .public-menu-links a[aria-current="page"]{
    background:#edf5fd;
    color:var(--modern-blue);
}

/* Responsive */

@media (max-width:900px){

    body[data-public-app][data-website-template="modern"] .section-nav[data-public-navigation]{
        display:none;
    }

    body[data-public-app][data-website-template="modern"] [data-public-main]{
        margin-top:0;
    }

    body[data-public-app][data-website-template="modern"] .top[data-public-header]{
        min-height:70px;
        padding:0 18px;
    }

    body[data-public-app][data-website-template="modern"] .public-header-actions .account .badge{
        display:none;
    }
}

@media (max-width:620px){

    body[data-public-app][data-website-template="modern"] .top[data-public-header]{
        padding:0 12px;
        gap:10px;
    }

    body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand-icon{
        width:40px;
        height:40px;
        border-radius:12px;
    }

    body[data-public-app][data-website-template="modern"] .top[data-public-header] .brand small{
        display:none;
    }

    body[data-public-app][data-website-template="modern"] .public-menu-toggle-label{
        display:none;
    }

    body[data-public-app][data-website-template="modern"] .public-menu-toggle{
        width:42px;
        padding:0;
        border-radius:50%;
    }
}


/* === MODERN EMPTY STATES v1 === */

/*
 * Unified empty / coming-soon states for Modern.
 * Keeps text readable on dark and light placeholder cards.
 */

body[data-public-app][data-website-template="modern"] .modern-portal-empty,
body[data-public-app][data-website-template="modern"] .empty,
body[data-public-app][data-website-template="modern"] .compact-empty{
    margin:0;
    padding:28px 30px;
    border:1px dashed #c7d3df;
    border-radius:20px;
    background:#f8fafc;
    color:#66778a;
    box-shadow:none;
}

body[data-public-app][data-website-template="modern"] .modern-portal-empty h2,
body[data-public-app][data-website-template="modern"] .modern-portal-empty h3,
body[data-public-app][data-website-template="modern"] .modern-portal-empty strong,
body[data-public-app][data-website-template="modern"] .empty h2,
body[data-public-app][data-website-template="modern"] .empty h3,
body[data-public-app][data-website-template="modern"] .empty strong,
body[data-public-app][data-website-template="modern"] .compact-empty h2,
body[data-public-app][data-website-template="modern"] .compact-empty h3,
body[data-public-app][data-website-template="modern"] .compact-empty strong{
    margin-top:0;
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .modern-portal-empty p,
body[data-public-app][data-website-template="modern"] .modern-portal-empty span,
body[data-public-app][data-website-template="modern"] .modern-portal-empty small,
body[data-public-app][data-website-template="modern"] .empty p,
body[data-public-app][data-website-template="modern"] .empty span,
body[data-public-app][data-website-template="modern"] .empty small,
body[data-public-app][data-website-template="modern"] .compact-empty p,
body[data-public-app][data-website-template="modern"] .compact-empty span,
body[data-public-app][data-website-template="modern"] .compact-empty small{
    color:#66778a;
}

/* Dark empty cards used by some public modules */

body[data-public-app][data-website-template="modern"] .card.dark .empty,
body[data-public-app][data-website-template="modern"] .panel.dark .empty,
body[data-public-app][data-website-template="modern"] .empty.dark,
body[data-public-app][data-website-template="modern"] .compact-empty.dark{
    border-color:rgba(255,255,255,.14);
    background:#2d3a4d;
    color:#d9e3ef;
}

body[data-public-app][data-website-template="modern"] .card.dark .empty h2,
body[data-public-app][data-website-template="modern"] .card.dark .empty h3,
body[data-public-app][data-website-template="modern"] .card.dark .empty strong,
body[data-public-app][data-website-template="modern"] .panel.dark .empty h2,
body[data-public-app][data-website-template="modern"] .panel.dark .empty h3,
body[data-public-app][data-website-template="modern"] .panel.dark .empty strong,
body[data-public-app][data-website-template="modern"] .empty.dark h2,
body[data-public-app][data-website-template="modern"] .empty.dark h3,
body[data-public-app][data-website-template="modern"] .empty.dark strong{
    color:#fff;
}

body[data-public-app][data-website-template="modern"] .card.dark .empty p,
body[data-public-app][data-website-template="modern"] .card.dark .empty span,
body[data-public-app][data-website-template="modern"] .panel.dark .empty p,
body[data-public-app][data-website-template="modern"] .panel.dark .empty span,
body[data-public-app][data-website-template="modern"] .empty.dark p,
body[data-public-app][data-website-template="modern"] .empty.dark span{
    color:#c4d0dd;
}


/* === MODERN EMPTY STATE FIX v2 === */

/* Public archive empty states, e.g. News / Events / Shows */

body[data-public-app][data-website-template="modern"] .empty-state{
    padding:28px 30px;
    border:1px solid #d4dde7;
    border-radius:20px;
    background:#ffffff;
    color:var(--modern-muted);
    box-shadow:0 10px 28px rgba(24,45,67,.06);
}

body[data-public-app][data-website-template="modern"] .empty-state h1,
body[data-public-app][data-website-template="modern"] .empty-state h2,
body[data-public-app][data-website-template="modern"] .empty-state h3,
body[data-public-app][data-website-template="modern"] .empty-state strong{
    color:var(--modern-ink);
}

body[data-public-app][data-website-template="modern"] .empty-state p,
body[data-public-app][data-website-template="modern"] .empty-state span,
body[data-public-app][data-website-template="modern"] .empty-state small{
    color:var(--modern-muted);
}


/* === MODERN HOME MODULE CARDS v2 === */

/*
 * Restore the large homepage module cards.
 * The smaller content cards inside remain unchanged.
 */

body[data-public-app][data-website-template="modern"] .modern-timeline-section,
body[data-public-app][data-website-template="modern"] .modern-shows-section,
body[data-public-app][data-website-template="modern"] .modern-recent-section,
body[data-public-app][data-website-template="modern"] .modern-news-section{
    padding:30px 32px;
    border:1px solid var(--modern-line);
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 10px 30px rgba(24,45,67,.06);
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading{
    margin-bottom:24px;
}

/* Empty state should sit naturally inside its module card */

body[data-public-app][data-website-template="modern"] .modern-shows-section .modern-portal-empty,
body[data-public-app][data-website-template="modern"] .modern-news-section .modern-portal-empty{
    background:#f8fafc;
}

/* Mobile */

@media (max-width:680px){
    body[data-public-app][data-website-template="modern"] .modern-timeline-section,
    body[data-public-app][data-website-template="modern"] .modern-shows-section,
    body[data-public-app][data-website-template="modern"] .modern-recent-section,
    body[data-public-app][data-website-template="modern"] .modern-news-section{
        padding:22px 18px;
        border-radius:18px;
    }
}


/* === MODERN HOME COMPACT CARDS v3 === */

/* Compact module containers */

body[data-public-app][data-website-template="modern"] .modern-timeline-section,
body[data-public-app][data-website-template="modern"] .modern-shows-section,
body[data-public-app][data-website-template="modern"] .modern-recent-section,
body[data-public-app][data-website-template="modern"] .modern-news-section{
    padding:20px 22px;
    border-radius:18px;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading{
    margin-bottom:16px;
}

body[data-public-app][data-website-template="modern"] .modern-wide-heading h2{
    font-size:clamp(1.55rem,2.2vw,2.15rem);
}

/* This Hour */

body[data-public-app][data-website-template="modern"] .modern-timeline li{
    min-height:128px;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li::before{
    height:54px;
    flex-basis:54px;
    font-size:1.45rem;
}

body[data-public-app][data-website-template="modern"] .modern-timeline li > div{
    padding:12px 14px 14px;
}

/* Recently Played */

body[data-public-app][data-website-template="modern"] .modern-recent-list li{
    min-height:122px;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li::before{
    height:50px;
    flex-basis:50px;
    font-size:1.35rem;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li > span{
    padding:11px 14px 2px;
    font-size:.92rem;
}

body[data-public-app][data-website-template="modern"] .modern-recent-list li > time{
    padding:2px 14px 11px;
}

/* Latest Shows */

body[data-public-app][data-website-template="modern"] .modern-show-tile{
    min-height:175px;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile-art{
    min-height:92px;
}

body[data-public-app][data-website-template="modern"] .modern-show-tile > div:last-child{
    padding:14px 16px;
}

/* Music News */

body[data-public-app][data-website-template="modern"] .modern-news-card img{
    aspect-ratio:2.15/1;
}

body[data-public-app][data-website-template="modern"] .modern-news-card > div{
    padding:15px 16px;
}

/* Bring homepage sections slightly closer together */

body[data-public-app][data-website-template="modern"] .modern-wide-section,
body[data-public-app][data-website-template="modern"] .modern-shows-section,
body[data-public-app][data-website-template="modern"] .modern-recent-section,
body[data-public-app][data-website-template="modern"] .modern-news-section{
    margin-top:30px;
}



/* === MODERN LIVE OVERVIEW v1 === */

body[data-public-app][data-website-template="modern"] .modern-live-overview{
    width:min(1240px,100%);
    margin:28px auto 0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

body[data-public-app][data-website-template="modern"] .modern-live-card{
    min-width:0;
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    grid-template-rows:auto 1fr;
    gap:0 16px;
    padding:16px;
    border:1px solid var(--modern-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(24,45,67,.06);
}

body[data-public-app][data-website-template="modern"] .modern-live-card-label{
    grid-column:1/-1;
    margin:0 0 12px;
    color:var(--modern-blue);
    font-size:.7rem;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"] .modern-live-card-media{
    width:82px;
    height:82px;
    overflow:hidden;
    border-radius:14px;
    background:linear-gradient(135deg,#153a62,#4f87c6);
}

body[data-public-app][data-website-template="modern"] .modern-live-card-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"] .modern-live-art-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:1.8rem;
    font-weight:800;
}

body[data-public-app][data-website-template="modern"] .modern-live-card-copy{
    min-width:0;
    align-self:center;
    display:grid;
    gap:5px;
}

body[data-public-app][data-website-template="modern"] .modern-live-card-copy strong{
    overflow:hidden;
    color:var(--modern-ink);
    font-size:1rem;
    line-height:1.3;
    text-overflow:ellipsis;
}

body[data-public-app][data-website-template="modern"] .modern-live-card-copy span{
    overflow:hidden;
    color:var(--modern-muted);
    font-size:.86rem;
    line-height:1.35;
    text-overflow:ellipsis;
}

body[data-public-app][data-website-template="modern"] .modern-live-card-show .modern-live-card-media{
    background:linear-gradient(135deg,#6542b3,#1b78ba);
}

/* Listen Again is an archive/podcast section, not a show directory */

body[data-public-app][data-website-template="modern"] .modern-shows-section .modern-show-tile{
    min-height:138px;
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    align-items:center;
}

body[data-public-app][data-website-template="modern"] .modern-shows-section .modern-show-tile-art{
    min-height:72px;
    height:72px;
    margin-left:14px;
    border-radius:12px;
    background:rgba(255,255,255,.12);
    font-size:1.6rem;
}

body[data-public-app][data-website-template="modern"] .modern-shows-section .modern-show-tile > div:last-child{
    padding:16px;
    background:none;
}

@media (max-width:900px){
    body[data-public-app][data-website-template="modern"] .modern-live-overview{
        grid-template-columns:1fr;
    }

    body[data-public-app][data-website-template="modern"] .modern-live-card{
        grid-template-columns:72px minmax(0,1fr);
    }

    body[data-public-app][data-website-template="modern"] .modern-live-card-media{
        width:72px;
        height:72px;
    }
}


/* Current presenter in station hero */
body[data-public-app][data-website-template="modern"] .modern-hero-content{
    position:relative;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-panel{
    position:absolute;
    right:32px;
    top:50%;
    transform:translateY(-50%);
    width:min(360px,34%);
    padding:18px 20px;
    border-radius:18px;
    background:rgba(5,15,28,.72);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-kicker{
    display:block;
    margin-bottom:12px;
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    opacity:.75;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-list{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card img,
body[data-public-app][data-website-template="modern"] .modern-hero-presenter-placeholder{
    width:76px;
    height:76px;
    border-radius:50%;
    object-fit:cover;
    flex:0 0 76px;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-placeholder{
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.14);
    font-size:1.6rem;
    font-weight:700;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card strong,
body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card span{
    display:block;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card strong{
    font-size:1.05rem;
}

body[data-public-app][data-website-template="modern"] .modern-hero-presenter-card span{
    margin-top:3px;
    font-size:.88rem;
    opacity:.76;
}

@media (max-width:900px){
    body[data-public-app][data-website-template="modern"] .modern-hero-presenter-panel{
        position:static;
        width:auto;
        transform:none;
        margin-top:18px;
    }
}

/* === MODERN HERO PRESENTER PANEL FINAL v1 === */

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-panel{
    position:relative;
    width:560px;
    max-width:100%;
    margin-top:28px;
    padding:0;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.16);
    border-radius:28px;
    background:rgba(5,16,30,.86);
    box-shadow:0 22px 52px rgba(0,0,0,.30);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-kicker{
    position:absolute;
    z-index:3;
    top:34px;
    left:330px;
    right:24px;
    margin:0;
    color:rgba(255,255,255,.66);
    font-size:.72rem;
    font-weight:900;
    line-height:1.35;
    letter-spacing:.12em;
    text-transform:uppercase;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-list{
    display:block;
    margin:0;
    padding:0;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card{
    display:grid !important;
    grid-template-columns:300px minmax(0,1fr) !important;
    align-items:center !important;
    width:100% !important;
    min-height:400px !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:hidden !important;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card > img{
    width:300px !important;
    height:400px !important;
    min-width:300px !important;
    min-height:400px !important;
    max-width:300px !important;
    max-height:400px !important;
    aspect-ratio:3 / 4 !important;
    object-fit:cover !important;
    object-position:center top !important;
    display:block !important;
    border-radius:0 !important;
    margin:0 !important;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card > div{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
    min-width:0;
    min-height:400px;
    padding:74px 28px 30px !important;
    gap:10px !important;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card strong{
    display:block;
    margin:0;
    color:#fff;
    font-size:1.65rem !important;
    font-weight:900;
    line-height:1.1;
    overflow-wrap:normal;
    word-break:normal;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card span{
    display:block;
    margin:0;
    color:rgba(255,255,255,.78);
    font-size:1.05rem !important;
    line-height:1.45;
    overflow-wrap:normal;
    word-break:normal;
}

/* Kill old experimental presenter overrides */
body[data-public-app][data-website-template="modern"]
.modern-portal-hero [data-station-live-presenter] .station-live-presenter-photo{
    max-width:none;
}

@media (max-width:900px){
    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-panel{
        width:470px;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card{
        grid-template-columns:240px minmax(0,1fr) !important;
        min-height:320px !important;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card > img{
        width:240px !important;
        height:320px !important;
        min-width:240px !important;
        min-height:320px !important;
        max-width:240px !important;
        max-height:320px !important;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card > div{
        min-height:320px;
        padding:68px 22px 24px !important;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-kicker{
        left:266px;
        top:28px;
    }
}

@media (max-width:620px){
    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-panel{
        width:100%;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card{
        grid-template-columns:1fr !important;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card > img{
        width:100% !important;
        height:auto !important;
        min-width:0 !important;
        min-height:0 !important;
        max-width:none !important;
        max-height:none !important;
        aspect-ratio:4 / 3 !important;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-kicker{
        position:static;
        display:block;
        padding:18px 20px 0;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card > div{
        min-height:0;
        padding:20px !important;
    }
}

/* === MODERN HERO PRESENTER POSITION v1 === */

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-panel{
    position:absolute !important;
    right:70px !important;
    left:auto !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
}

@media (max-width:1200px){
    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-panel{
        right:40px !important;
    }
}

@media (max-width:900px){
    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-panel{
        position:relative !important;
        right:auto !important;
        top:auto !important;
        transform:none !important;
        margin-top:28px !important;
    }
}

/* === MODERN HERO POLISH + NOW ART v1 === */

/* Presenter typography — subtle broadcast glow */

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-kicker{
    color:#9bd2ff !important;
    border-left:3px solid #3ca9ff;
    padding-left:11px;
    text-shadow:
        0 0 12px rgba(55,157,255,.28);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card strong{
    color:#ffffff !important;
    font-size:1.8rem !important;
    font-weight:900 !important;
    letter-spacing:.01em;
    text-shadow:
        0 2px 3px rgba(0,0,0,.45),
        0 0 18px rgba(66,166,255,.24);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card span{
    color:#d4e7f8 !important;
    font-size:1.04rem !important;
    text-shadow:0 1px 5px rgba(0,0,0,.35);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-panel{
    background:
        linear-gradient(
            135deg,
            rgba(8,24,43,.94),
            rgba(9,19,34,.90)
        ) !important;
}


/* Hero Now Playing artwork */

body[data-public-app][data-website-template="modern"]
.modern-hero-now-row{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-art{
    width:88px;
    height:88px;
    min-width:88px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:
        0 10px 26px rgba(0,0,0,.25),
        0 0 18px rgba(50,150,255,.10);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-art img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-art > span{
    color:rgba(255,255,255,.72);
    font-size:1.7rem;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy strong{
    color:#fff;
    font-size:1.22rem;
    line-height:1.2;
    text-shadow:0 2px 8px rgba(0,0,0,.38);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy span{
    color:rgba(255,255,255,.78);
    font-size:.96rem;
}

@media(max-width:700px){
    body[data-public-app][data-website-template="modern"]
    .modern-hero-now-art{
        width:68px;
        height:68px;
        min-width:68px;
        border-radius:14px;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-presenter-card strong{
        font-size:1.45rem !important;
    }
}

/* === MODERN PRESENTER TYPOGRAPHY v2 === */

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-kicker{
    display:inline-flex !important;
    align-items:center;
    width:max-content;
    padding:7px 11px !important;
    border:1px solid rgba(83,177,255,.42) !important;
    border-radius:999px;
    background:rgba(20,116,205,.16) !important;
    color:#9ed7ff !important;
    font-size:.72rem !important;
    font-weight:900 !important;
    letter-spacing:.14em !important;
    text-transform:uppercase;
    text-shadow:
        0 0 8px rgba(61,169,255,.55),
        0 0 18px rgba(61,169,255,.22) !important;
    box-shadow:
        inset 0 0 14px rgba(42,150,255,.08),
        0 0 16px rgba(42,150,255,.08);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card strong{
    display:block !important;
    margin:0 !important;
    font-size:1.9rem !important;
    font-weight:950 !important;
    line-height:1.05 !important;
    letter-spacing:.015em !important;

    color:#ffffff !important;

    text-shadow:
        0 2px 3px rgba(0,0,0,.55),
        0 0 8px rgba(88,180,255,.58),
        0 0 20px rgba(39,139,255,.28) !important;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card strong::after{
    content:"";
    display:block;
    width:46px;
    height:3px;
    margin-top:10px;
    border-radius:999px;
    background:linear-gradient(
        90deg,
        #67c4ff,
        rgba(103,196,255,0)
    );
    box-shadow:0 0 10px rgba(75,174,255,.42);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-presenter-card > div > span{
    display:block !important;
    margin-top:2px !important;
    color:#bcdcf4 !important;
    font-size:1.08rem !important;
    font-weight:600 !important;
    line-height:1.4 !important;
    letter-spacing:.015em;
    text-shadow:
        0 1px 3px rgba(0,0,0,.55),
        0 0 10px rgba(77,166,235,.16) !important;
}

/* === MODERN HERO TITLE + PLAYER LAYOUT v2 === */

/* ---------------------------------------------------------
   SHOW TITLE
   Clean broadcast depth — no glow line
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"]
.modern-hero-show h1{
    color:#ffffff !important;

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 58%,
        #e8edf5 100%
    );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:none !important;

    filter:
        drop-shadow(0 3px 1px rgba(0,0,0,.34))
        drop-shadow(0 8px 14px rgba(0,0,0,.24));
}

/* Remove previous decorative line completely */
body[data-public-app][data-website-template="modern"]
.modern-hero-show h1::after{
    content:none !important;
    display:none !important;
}


/* ---------------------------------------------------------
   NOW PLAYING
   Play button | Album cover | Song / Artist
   --------------------------------------------------------- */

body[data-public-app][data-website-template="modern"]
.modern-hero-livebar{
    gap:18px;
    align-items:center;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-trackline{
    min-width:0 !important;

    display:grid !important;
    grid-template-columns:88px minmax(180px,1fr);
    grid-template-rows:auto auto auto;

    column-gap:16px;
    row-gap:4px;

    align-items:center;
}

/* NOW PLAYING label above title/artist */
body[data-public-app][data-website-template="modern"]
.modern-hero-track-label{
    grid-column:2;
    grid-row:1;

    margin:0;
}

/*
 * The live row already contains:
 *   artwork
 *   title/artist copy
 *
 * display:contents lets those become grid children
 * of .modern-hero-trackline.
 */
body[data-public-app][data-website-template="modern"]
.modern-hero-now-row{
    display:contents !important;
}

/* Album cover directly after Play button */
body[data-public-app][data-website-template="modern"]
.modern-hero-now-art{
    grid-column:1;
    grid-row:1 / 4;

    width:88px !important;
    height:88px !important;
    min-width:88px !important;

    margin:0 !important;

    border-radius:16px;
    overflow:hidden;

    box-shadow:
        0 10px 24px rgba(0,0,0,.28),
        0 0 0 1px rgba(255,255,255,.14);
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-art img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

/* Song + artist */
body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy{
    grid-column:2;
    grid-row:2;

    display:flex;
    flex-direction:column;
    gap:3px;

    min-width:0;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy strong{
    font-size:1.18rem;
    line-height:1.2;
    color:#fff;
}

body[data-public-app][data-website-template="modern"]
.modern-hero-now-copy span{
    font-size:.96rem;
    color:rgba(255,255,255,.78);
}

/* Ready to listen / status */
body[data-public-app][data-website-template="modern"]
.modern-hero-trackline .player-status{
    grid-column:2;
    grid-row:3;

    margin:0;
}


/* Mobile */
@media(max-width:620px){

    body[data-public-app][data-website-template="modern"]
    .modern-hero-trackline{
        grid-template-columns:68px minmax(140px,1fr);
        column-gap:12px;
    }

    body[data-public-app][data-website-template="modern"]
    .modern-hero-now-art{
        width:68px !important;
        height:68px !important;
        min-width:68px !important;
        border-radius:13px;
    }
}

/* === MODERN HERO SHOW TITLE EFFECT v3 === */

body[data-public-app][data-website-template="modern"]
.modern-hero-show h1{
    color:#fff !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 40%,
            #e9f2fb 72%,
            #bfd2e5 100%
        ) !important;

    -webkit-background-clip:text !important;
    background-clip:text !important;
    -webkit-text-fill-color:transparent !important;

    -webkit-text-stroke:1px rgba(28,62,95,.42);

    letter-spacing:-.045em;

    text-shadow:none !important;

    filter:
        drop-shadow(0 2px 0 rgba(255,255,255,.18))
        drop-shadow(0 3px 0 rgba(32,64,94,.72))
        drop-shadow(0 6px 0 rgba(18,43,68,.34))
        drop-shadow(0 10px 16px rgba(0,0,0,.34))
        drop-shadow(0 0 14px rgba(85,174,255,.14));
}

body[data-public-app][data-website-template="modern"]
.modern-hero-show h1::after{
    content:none !important;
    display:none !important;
}

