/* ════════════════════════════════════════════════════════
   UAEFMA — media.css  |  Media sections (homepage)
   ════════════════════════════════════════════════════════ */

/* ── Phase 14: homepage media sections ── */
.media-section {
    padding: 1.75rem 0;
}
.media-section--podcasts {
    background: var(--deep-navy);
}
.media-section--videos {
    background: #0b2240;
}
.media-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(201,162,74,.3);
}
.media-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    border-inline-start: 4px solid var(--gold);
    padding-inline-start: 0.7rem;
}
.media-section-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .15s;
}
.media-section-more:hover { color: var(--gold); }

.media-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.media-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    transition: transform .2s, box-shadow .2s;
}
.media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.4);
}

.media-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0,0,0,.45);
}
.media-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.media-card:hover .media-card-thumb img { transform: scale(1.04); }

.media-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15);
    transition: background .2s;
}
.media-card:hover .media-card-play { background: rgba(0,0,0,.32); }

.media-card-body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.media-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-card-date {
    font-size: 0.72rem;
    color: rgba(255,255,255,.45);
    margin-top: auto;
}

/* ── Phase 15: featured video block ── */
.fv-block {
    background: #04172b;
    padding: 1.75rem 0;
}
.fv-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(201,162,74,.3);
}
.fv-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    border-inline-start: 4px solid var(--gold);
    padding-inline-start: 0.7rem;
}
.fv-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .15s;
}
.fv-more:hover { color: var(--gold); }

.fv-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: stretch;
}

.fv-featured {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(0,0,0,.5);
    min-height: 290px;
}
.fv-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.fv-featured:hover img { transform: scale(1.04); }

.fv-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(3,17,31,.2) 0%, transparent 30%),
        linear-gradient(to top, rgba(3,17,31,.95) 0%, rgba(3,17,31,.55) 45%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.fv-play-ring {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform .25s;
}
.fv-featured:hover .fv-play-ring { transform: scale(1.12); }
.fv-featured:hover .fv-play-ring svg circle { fill: rgba(201,162,74,.75); }

.fv-featured-body {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    z-index: 3;
}
.fv-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--deep-navy);
    background: var(--gold);
    padding: 0.18rem 0.55rem;
    border-radius: 2px;
    margin-bottom: 0.55rem;
}
.fv-featured-title {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--white);
    margin: 0 0 0.45rem;
    letter-spacing: -.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fv-date {
    font-size: 0.7rem;
    color: rgba(255,255,255,.5);
    display: block;
}

.fv-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: space-between;
}
.fv-stack-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 3px;
    background: rgba(255,255,255,.04);
    transition: background .18s;
    flex: 1;
}
.fv-stack-item:hover { background: rgba(255,255,255,.09); }

.fv-stack-thumb {
    position: relative;
    flex: 0 0 110px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(0,0,0,.4);
}
.fv-stack-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.fv-stack-item:hover .fv-stack-thumb img { transform: scale(1.05); }

.fv-stack-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15);
}
.fv-stack-body { flex: 1; min-width: 0; }
.fv-stack-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Phase 15: podcasts featured layout ── */
.pod-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pod-featured {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(0,0,0,.5);
    min-height: 280px;
}
.pod-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.pod-featured:hover img { transform: scale(1.04); }
.pod-featured:hover .fv-play-ring { transform: scale(1.12); }
.pod-featured:hover .fv-play-ring svg circle { fill: rgba(201,162,74,.75); }

.pod-featured-body {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    padding: 1.1rem 1.25rem 1.35rem;
    z-index: 3;
}
.pod-ep-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--deep-navy);
    background: var(--gold);
    padding: 0.18rem 0.55rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}
.pod-featured-title {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 800;
    line-height: 1.28;
    color: var(--white);
    margin: 0 0 0.4rem;
    letter-spacing: -.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-grid-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .media-section-grid { grid-template-columns: repeat(2, 1fr); }
    .fv-layout { grid-template-columns: 1fr; }
    .fv-stack { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
    .fv-stack-item { flex: 0 0 calc(50% - 0.375rem); }
    .pod-layout { grid-template-columns: 1fr; }
    .pod-grid-2 { flex-direction: row; }
}
@media (max-width: 768px) {
    .media-section-grid { grid-template-columns: 1fr; }
    .media-section { padding: 1.25rem 0; }
    .fv-block { padding: 1.25rem 0; }
    .fv-featured { min-height: 220px; }
    .fv-stack { flex-direction: column; }
    .fv-stack-item { flex: 1 1 100%; }
    .pod-grid-2 { flex-direction: column; }
}
@media (max-width: 480px) {
    .fv-featured { min-height: 190px; }
    .fv-featured-title { font-size: 1rem; }
}

/* ── Phase 17B: hard media compact ── */
.fv-featured {
    min-height: 290px !important;
    max-height: 360px !important;
    aspect-ratio: 16/9;
}
.fv-stack-thumb {
    flex: 0 0 120px !important;
    aspect-ratio: 16/9;
    background: #04172b !important;
}
.media-card-thumb {
    aspect-ratio: 16/9;
    background: #0b2240 !important;
}
.media-card-thumb img,
.fv-featured img,
.fv-stack-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── Phase 18: image visibility fix ── */

/* fv-featured: give img explicit z-index so it sits correctly in stacking order */
.fv-featured img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    z-index: 0 !important;
}

/* Lighten the overlay so the thumbnail is clearly visible in the upper portion */
.fv-overlay {
    background:
        linear-gradient(to bottom, rgba(3,17,31,.1) 0%, transparent 25%),
        linear-gradient(to top, rgba(3,17,31,.92) 0%, rgba(3,17,31,.5) 35%, transparent 65%) !important;
    z-index: 1 !important;
}

/* Podcast/video cards: ensure img is above the container background */
.media-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}
.media-card-play {
    z-index: 2 !important;
}

/* fv-stack thumbnail img */
.fv-stack-thumb img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    z-index: 0 !important;
}


/* ══════════════════════════════════════════════════════════════
   YOUTUBE MODAL PLAYER  (Phase 20)
   ══════════════════════════════════════════════════════════════ */

/* Lighter featured-video overlay — thumbnail clearly visible */
.fv-overlay {
    background:
        linear-gradient(to bottom, rgba(3,17,31,.05) 0%, transparent 20%),
        linear-gradient(to top,   rgba(3,17,31,.9) 0%, rgba(3,17,31,.35) 30%, transparent 55%) !important;
    z-index: 1 !important;
}

/* Active/playing card highlight */
.fv-featured.is-playing .fv-play-ring svg circle,
.fv-stack-item.is-playing .fv-stack-thumb::after { opacity: 1; }
.fv-stack-item.is-playing {
    background: rgba(201,162,74,.12) !important;
    border-inline-start: 3px solid var(--gold);
}

/* ── Modal base: opacity-based so CSS transitions work ── */
.yt-modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(3,17,31,.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}
.yt-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* ── PiP mode ── */
.yt-modal.is-pip {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
}
.yt-modal.is-pip .yt-modal-inner {
    pointer-events: all;
    width: 300px;
    max-width: 300px;
    position: fixed;
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,.75);
    cursor: pointer;
}
.yt-modal.is-pip .yt-modal-bar { display: none; }
.yt-modal.is-pip .yt-modal-close {
    top: 0.35rem;
    inset-inline-end: 0.4rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
}

/* ── Modal inner ── */
.yt-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #04172b;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.7);
    transform: scale(.96);
    transition: transform .25s ease;
}
.yt-modal.is-open .yt-modal-inner { transform: scale(1); }

/* ── Title bar ── */
.yt-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: rgba(0,0,0,.35);
    min-height: 0;
}
.yt-modal-title-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.yt-modal-controls {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* ── Buttons ── */
.yt-modal-close,
.yt-modal-pip {
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    flex-shrink: 0;
}
.yt-modal-close:hover { background: rgba(201,162,74,.7); }
.yt-modal-pip:hover   { background: rgba(255,255,255,.2); }

/* ── Video frame ── */
.yt-modal-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.yt-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ── Clickable cards ── */
[data-youtube-id] { cursor: pointer; user-select: none; }

/* ══════════════════════════════════════════════════════════════
   PODCAST INTERVIEW STYLE  (Phase 20)
   ══════════════════════════════════════════════════════════════ */
.media-section--podcasts { background: #071e36; }

/* Overide grid → use list for podcasts */
.media-section--podcasts .media-section-grid { display: none; }

.pod-list {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    overflow: hidden;
}
.pod-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    cursor: pointer;
    transition: background .18s;
    position: relative;
}
.pod-list-item:last-child { border-bottom: none; }
.pod-list-item:hover { background: rgba(255,255,255,.05); }
.pod-list-item.is-playing {
    background: rgba(201,162,74,.08);
    border-inline-start: 3px solid var(--gold);
}
.pod-list-item.is-playing .pod-ep-num { color: var(--gold); }

.pod-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #0b2240;
}
.pod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pod-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.38);
    transition: background .18s;
}
.pod-list-item:hover .pod-thumb-play { background: rgba(0,0,0,.55); }
.pod-list-item.is-playing .pod-thumb-play { background: rgba(201,162,74,.25); }

.pod-body { flex: 1; min-width: 0; }
.pod-ep-num {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    display: block;
    margin-bottom: 0.25rem;
}
.pod-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pod-date {
    font-size: 0.68rem;
    color: rgba(255,255,255,.38);
}

/* ── Responsive: podcast list ── */
@media (max-width: 768px) {
    .pod-thumb { flex: 0 0 64px; width: 64px; height: 64px; }
    .pod-title { font-size: 0.82rem; }
    .yt-modal.is-pip .yt-modal-inner { width: 240px; }
}
@media (max-width: 480px) {
    .yt-modal.is-pip .yt-modal-inner { width: 200px; }
}

/* ══════════════════════════════════════════════════════════════
   PHASE 21 — PREMIUM MEDIA POLISH
   ══════════════════════════════════════════════════════════════ */

/* 1. Clean overlay: bottom 50% only, zero top shading */
.fv-overlay {
    background: linear-gradient(
        to top,
        rgba(3,17,31,.85) 0%,
        rgba(3,17,31,.22) 30%,
        transparent 52%
    ) !important;
}

/* 2. Stack: scrollable, max 5 items visible, custom scrollbar */
.fv-stack {
    max-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,162,74,.4) transparent;
}
.fv-stack::-webkit-scrollbar { width: 4px; }
.fv-stack::-webkit-scrollbar-track { background: transparent; }
.fv-stack::-webkit-scrollbar-thumb {
    background: rgba(201,162,74,.35);
    border-radius: 4px;
}

/* 3. Stack item: hover scale on whole card */
.fv-stack-item {
    transition: background .18s, transform .18s !important;
}
.fv-stack-item:hover {
    transform: translateX(-2px);
    background: rgba(255,255,255,.08) !important;
}
.fv-stack-item.is-playing {
    background: rgba(201,162,74,.13) !important;
    border-inline-start: 3px solid var(--gold);
    transform: none;
}

/* 4. Modal blur 6px + tighter scale animation */
.yt-modal {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}
.yt-modal-inner {
    transition: transform .22s cubic-bezier(.22,.68,0,1.2), box-shadow .22s ease !important;
}
.yt-modal.is-open .yt-modal-inner {
    transform: scale(1) !important;
    box-shadow: 0 40px 100px rgba(0,0,0,.8) !important;
}

/* 5. PiP: exact 320×180 */
.yt-modal.is-pip .yt-modal-inner {
    width: 320px !important;
    max-width: 320px !important;
    bottom: 1.5rem !important;
    inset-inline-end: 1.5rem !important;
    transition: none !important;
}
.yt-modal.is-pip .yt-modal-inner:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,.85) !important;
}

/* 6. Podcast waveform */
.pod-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    margin-top: 0.4rem;
}
.pod-wave span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.18);
    transition: background .3s;
}
.pod-wave span:nth-child(1) { height: 55%; }
.pod-wave span:nth-child(2) { height: 100%; }
.pod-wave span:nth-child(3) { height: 40%; }
.pod-wave span:nth-child(4) { height: 80%; }
.pod-wave span:nth-child(5) { height: 60%; }
.pod-wave span:nth-child(6) { height: 35%; }
.pod-wave span:nth-child(7) { height: 90%; }

/* Animate waveform only when this episode is playing */
.pod-list-item.is-playing .pod-wave span {
    background: var(--gold);
    animation: podWave .6s ease-in-out infinite alternate;
}
.pod-list-item.is-playing .pod-wave span:nth-child(2) { animation-delay: .08s; }
.pod-list-item.is-playing .pod-wave span:nth-child(3) { animation-delay: .16s; }
.pod-list-item.is-playing .pod-wave span:nth-child(4) { animation-delay: .24s; }
.pod-list-item.is-playing .pod-wave span:nth-child(5) { animation-delay: .32s; }
.pod-list-item.is-playing .pod-wave span:nth-child(6) { animation-delay: .40s; }
.pod-list-item.is-playing .pod-wave span:nth-child(7) { animation-delay: .48s; }

@keyframes podWave {
    from { transform: scaleY(.4); opacity: .7; }
    to   { transform: scaleY(1);  opacity: 1;  }
}

/* 7. Podcast: richer hover + playing state */
.pod-list-item {
    transition: background .18s, border-color .18s, padding-inline-start .15s !important;
}
.pod-list-item:hover .pod-title { color: var(--gold); }
.pod-list-item.is-playing {
    padding-inline-start: 1.45rem !important;
}

/* 8. Featured video play ring — gold pulse on hover */
.fv-featured:hover .fv-play-ring svg circle {
    fill: rgba(201,162,74,.75) !important;
    transition: fill .2s;
}

/* 9. Responsive adjustments */
@media (max-width: 768px) {
    .fv-stack { max-height: none; overflow-y: visible; }
    .yt-modal.is-pip .yt-modal-inner { width: 240px !important; }
}
@media (max-width: 480px) {
    .yt-modal.is-pip .yt-modal-inner { width: 200px !important; }
}

/* ════════════════════════════════════════════════════════════════
   PHASE 23 — VIDEO + PODCAST PREMIUM UPGRADE
   ════════════════════════════════════════════════════════════════ */

/* ── 1. FEATURED VIDEO: taller, cinematic, bigger play ── */
.fv-block { padding: 1.75rem 0 !important; }

.fv-featured {
    min-height: 400px !important;
    border-radius: 4px !important;
}
@media (min-width: 1200px) { .fv-featured { min-height: 440px !important; } }

/* Cinematic overlay: bottom 60% only, deep */
.fv-overlay {
    background: linear-gradient(
        to top,
        rgba(3,17,31,.96) 0%,
        rgba(3,17,31,.6)  30%,
        rgba(3,17,31,.15) 55%,
        transparent       75%
    ) !important;
}

/* Play button: bigger + pulse animation */
@keyframes playPulse {
    0%   { box-shadow: 0 0 0 0   rgba(201,162,74,.5); }
    70%  { box-shadow: 0 0 0 18px rgba(201,162,74,0); }
    100% { box-shadow: 0 0 0 0   rgba(201,162,74,0); }
}
.fv-play-ring svg {
    width: 72px !important;
    height: 72px !important;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
    transition: transform .25s;
}
.fv-featured:hover .fv-play-ring svg {
    transform: scale(1.1);
    animation: playPulse 1.4s ease infinite;
}
.fv-featured:hover .fv-play-ring svg circle {
    fill: rgba(201,162,74,.82) !important;
}

/* Featured title: bolder */
.fv-featured-title {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
    -webkit-line-clamp: 3 !important;
}
.fv-featured-body { padding: 1.5rem 1.75rem 1.75rem !important; }

/* ── 2. VIDEO STACK: dividers + tighter ── */
.fv-stack {
    max-height: 440px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 4px !important;
    overflow-y: auto !important;
    background: rgba(0,0,0,.25) !important;
}
.fv-stack-item {
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    transition: background .15s !important;
}
.fv-stack-item:last-child { border-bottom: none !important; }
.fv-stack-item:hover { background: rgba(255,255,255,.07) !important; transform: none !important; }

.fv-stack-thumb {
    flex: 0 0 90px !important;
    height: 60px !important;
    border-radius: 3px !important;
    overflow: hidden;
    position: relative;
}
.fv-stack-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.fv-stack-item:hover .fv-stack-thumb img { transform: scale(1.06); }
.fv-stack-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    display: -webkit-box !important;
}

/* Stack play overlay */
.fv-stack-play svg {
    width: 28px !important;
    height: 28px !important;
}

/* Section layout: video 65%, stack 35% */
.fv-layout {
    grid-template-columns: 1fr 300px !important;
    gap: 1rem !important;
    align-items: stretch !important;
}
@media (min-width: 1300px) { .fv-layout { grid-template-columns: 1fr 320px !important; } }

/* ── 3. PODCAST SECTION: Netflix grid ── */
.media-section--podcasts { padding: 1.75rem 0 !important; }
.media-section--podcasts .container { padding: 0 var(--container-pad, 1.25rem); }

/* Override list → 2-column grid */
.pod-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.07) !important;
}
.pod-list-item {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    border-inline-end: 1px solid rgba(255,255,255,.07) !important;
    align-items: center !important;
    gap: 0.9rem !important;
    transition: background .18s, box-shadow .18s !important;
}
/* Right column items: no right border */
.pod-list-item:nth-child(2n) { border-inline-end: none !important; }
/* Bottom row: no bottom border */
.pod-list-item:nth-last-child(-n+2) { border-bottom: none !important; }

.pod-list-item:hover {
    background: rgba(255,255,255,.07) !important;
    box-shadow: inset 0 0 0 1px rgba(201,162,74,.18) !important;
}

/* Thumb: bigger, shadow on hover */
.pod-thumb {
    flex: 0 0 90px !important;
    width:  90px !important;
    height: 90px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.4) !important;
    transition: box-shadow .2s, transform .2s !important;
}
.pod-list-item:hover .pod-thumb {
    box-shadow: 0 6px 22px rgba(0,0,0,.55) !important;
    transform: scale(1.03) !important;
}
.pod-thumb img {
    transition: transform .3s !important;
}
.pod-list-item:hover .pod-thumb img { transform: scale(1.06) !important; }

/* Episode number */
.pod-ep-num {
    font-size: 0.58rem !important;
    letter-spacing: .12em !important;
}

/* Pod title: stronger */
.pod-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    -webkit-line-clamp: 2 !important;
}

/* Waveform animation  */
.pod-wave {
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 16px;
    margin-top: 0.45rem;
}
.pod-wave span {
    display: inline-block;
    width: 3px;
    border-radius: 2px;
    background: rgba(201,162,74,.45);
}
.pod-list-item.is-playing .pod-wave span { background: var(--gold); }

/* Responsive podcast grid */
@media (max-width: 768px) {
    .pod-list { grid-template-columns: 1fr !important; }
    .pod-list-item { border-inline-end: none !important; }
    .pod-list-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07) !important; }
    .pod-list-item:last-child { border-bottom: none !important; }
}

/* ── 4. VIDEO section header: gold on dark ── */
.fv-section-title {
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: .18em !important;
}

/* ── 5. Podcast section header ── */
.media-section-title {
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: .18em !important;
    color: var(--gold) !important;
}
.media-section--podcasts .media-section-hd {
    border-bottom-color: rgba(201,162,74,.25) !important;
    margin-bottom: 1rem !important;
}
