/* ========================================
   CHANGEMAKER PR - Homepage motion (pairs with /motion.js)
   The "On Air" scene replaces the media grid only when the script runs;
   without it, or with reduced motion, the normal grid stays.
   ======================================== */

.media-gallery.is-onair { padding: 0; background: var(--color-navy); }
.media-gallery.is-onair .media-gallery-container { display: none; }

.onair {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    background: var(--color-navy);
    color: #fff;
    overflow: hidden;
}

.onair-inner {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6.5rem 2rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.onair-copy .section-label { color: var(--color-gold); margin-bottom: 0.75rem; }
.onair-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 clamp(1.5rem, 5vh, 3.5rem);
}

/* All entries share one grid cell, so the block is as tall as the tallest one */
.onair-slot { display: grid; overflow: hidden; }
.onair-entry { grid-area: 1 / 1; display: flex; flex-direction: column; }
.onair-outlet {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.6rem;
}
.onair-client {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    padding-bottom: 0.12em;
}

.onair-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: clamp(1.5rem, 5vh, 3.5rem);
}
.onair-count {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}
.onair-count b { color: #fff; font-weight: 600; }
.onair-bar { flex: 1; max-width: 260px; height: 2px; background: rgba(255, 255, 255, 0.18); }
.onair-bar i { display: block; height: 100%; background: var(--color-gold); transform-origin: left center; transform: scaleX(0); }

.onair-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: calc(100svh - 11rem);
    justify-self: end;
    overflow: hidden;
    border-radius: 16px;
    background: #1d2738;
}
.onair-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.onair-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--color-navy);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.onair-tag i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }

@media (max-width: 900px) {
    .onair-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-content: center;
        gap: 1.75rem;
        padding: 5.5rem 1.25rem 2rem;
    }
    .onair-copy h2 { margin-bottom: 1.25rem; }
    .onair-client { font-size: clamp(2rem, 9vw, 3.2rem); }
    .onair-meta { margin-top: 1.25rem; }
    .onair-screen { max-height: 42svh; justify-self: stretch; }
}
