/*--------------------------------------------------------------
Podcast landing page (/podcast/) and the Resources podcast teaser.
Concept: two lanes of one road. The hero splits the shows with a
dashed center line; each show then gets its own lane below.
--------------------------------------------------------------*/

.eli-pod,
.eli-pod-teaser {
    --pod-navy: #20376A;
    --pod-deep: #13294A;
    --pod-cyan: #38C3F2;
    --pod-ink: #001319;
    --pod-muted: #4A5A75;
    --pod-line: #DFE5EE;
    --pod-tint: #EEF6FD;
    --pod-radius: 16px;
}

body.eli-podcast-page { overflow-x: clip; }

.eli-pod { padding-top: 16px !important; font-family: var(--body-font); color: var(--pod-ink); }
.eli-pod .site-main { padding: 0; }

.eli-pod-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.eli-pod h1, .eli-pod h2, .eli-pod h3, .eli-pod p { margin: 0; }

.eli-pod-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pod-cyan);
}

/* Buttons: the site's 25px uppercase button, in two weights */
.eli-pod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 30px;
    border-radius: 25px;
    border: 2px solid transparent;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.eli-pod-btn--solid { background: var(--pod-navy); color: #fff !important; }
.eli-pod-btn--solid:hover { background: var(--pod-cyan); color: var(--pod-ink) !important; }
.eli-pod-btn--line { border-color: var(--pod-navy); color: var(--pod-navy) !important; }
.eli-pod-btn--line:hover { background: var(--pod-navy); color: #fff !important; }

.eli-pod a:focus-visible,
.eli-pod-teaser a:focus-visible {
    outline: 3px solid var(--pod-cyan) !important;
    outline-offset: 3px;
}

/*------------------------------ Hero ------------------------------*/

.eli-pod-hero { padding: 0 20px; }

.eli-pod-hero__panel {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--pod-navy);
    padding: clamp(56px, 8vw, 112px) clamp(24px, 7vw, 112px) clamp(32px, 5vw, 64px);
    color: #fff;
}
/* The site's corner topography, mirrored into the top right so the type sits on clean navy */
.eli-pod-hero__panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(58%, 720px);
    aspect-ratio: 1;
    background: var(--topo) no-repeat left top / 100% auto;
    transform: scaleX(-1);
    pointer-events: none;
}

.eli-pod-hero__intro { position: relative; max-width: 920px; }

.eli-pod-hero__title {
    margin-top: 18px !important;
    font-size: clamp(40px, 5.8vw, 80px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: #fff !important;
    text-wrap: balance;
}
.eli-pod-hero__title em { font-style: normal; color: var(--pod-cyan) !important; }

.eli-pod-hero__lede {
    margin-top: 24px !important;
    max-width: 580px;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
}

/* The road: two lanes and a dashed center line */
.eli-pod-lanes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: clamp(48px, 7vw, 96px);
    padding: 12px;
    border-radius: 20px;
    background: #1A305A;
    box-shadow: 0 20px 50px rgba(0, 19, 25, .28);
}
.eli-pod-lanes::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 50%;
    width: 4px;
    margin-left: -2px;
    border-radius: 2px;
    background: repeating-linear-gradient(to bottom, var(--pod-cyan) 0 26px, transparent 26px 48px);
}

.eli-pod-lane {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border-radius: var(--pod-radius);
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color .25s ease;
}
.eli-pod-lane:hover { background: rgba(255, 255, 255, .06); }

.eli-pod-lane__art {
    width: 104px;
    height: 104px;
    border-radius: 14px !important;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 19, 25, .35);
}
.eli-pod-lane__text { display: grid; gap: 6px; min-width: 0; }
.eli-pod-lane__name { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.1; }
.eli-pod-lane__summary { font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.eli-pod-lane__latest {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .92);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eli-pod-lane__latest span {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pod-cyan);
}
.eli-pod-lane__go {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 18px;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.eli-pod-lane:hover .eli-pod-lane__go {
    background: var(--pod-cyan);
    border-color: var(--pod-cyan);
    color: var(--pod-ink);
    transform: translateY(3px);
}

/*------------------------------ Show lanes ------------------------------*/

.eli-pod-show {
    position: relative;
    scroll-margin-top: 80px;
    padding: clamp(72px, 9vw, 128px) 0;
    background: #fff;
}
.eli-pod-show--dark {
    margin-top: clamp(16px, 3vw, 40px);
    background: var(--pod-deep) var(--topo) no-repeat right bottom / auto 90%;
    color: #fff;
}

.eli-pod-show__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.eli-pod-show__head {
    position: relative;
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-areas:
        "id about"
        "id actions";
    column-gap: clamp(32px, 5vw, 80px);
    row-gap: 24px;
    align-items: end;
}

.eli-pod-show__num {
    position: absolute;
    top: -.42em;
    left: -.04em;
    font-size: clamp(140px, 17vw, 240px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--pod-tint);
    pointer-events: none;
    user-select: none;
}
.eli-pod-show--dark .eli-pod-show__num { color: rgba(255, 255, 255, .05); }

.eli-pod-show__id {
    position: relative;
    grid-area: id;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding-top: clamp(48px, 7vw, 96px);
}
.eli-pod-show__art {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 14px !important;
    object-fit: cover;
    box-shadow: var(--blue-box-shadow);
}
.eli-pod-show__name {
    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--pod-navy) !important;
    text-wrap: balance;
}
.eli-pod-show__hosts {
    margin-top: 10px !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--pod-muted);
}
.eli-pod-show__about {
    position: relative;
    grid-area: about;
    font-size: 17px;
    line-height: 1.6;
    color: var(--pod-muted);
}
.eli-pod-show__actions {
    position: relative;
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.eli-pod-show--dark .eli-pod-show__name { color: #fff !important; }
.eli-pod-show--dark .eli-pod-show__hosts,
.eli-pod-show--dark .eli-pod-show__about { color: rgba(255, 255, 255, .78); }
.eli-pod-show--dark .eli-pod-btn--solid { background: var(--pod-cyan); color: var(--pod-ink) !important; }
.eli-pod-show--dark .eli-pod-btn--solid:hover { background: #fff; }
.eli-pod-show--dark .eli-pod-btn--line { border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.eli-pod-show--dark .eli-pod-btn--line:hover { background: #fff; border-color: #fff; color: var(--pod-navy) !important; }

/* Player: featured stage + episode list */
.eli-pod-player {
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-areas: "stage list";
    column-gap: clamp(32px, 5vw, 80px);
    row-gap: 40px;
    align-items: start;
    margin-top: clamp(40px, 5vw, 64px);
}
.eli-pod-show--dark .eli-pod-player { grid-template-areas: "list stage"; grid-template-columns: 5fr 7fr; }

.eli-pod-stage {
    grid-area: stage;
    position: sticky;
    top: 100px;
    margin: 0;
}
.eli-pod-stage__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--pod-radius);
    background: var(--pod-ink);
    box-shadow: var(--blue-box-shadow);
}
.eli-pod-show--dark .eli-pod-stage__frame { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.eli-pod-stage__frame iframe,
.eli-pod-stage__poster,
.eli-pod-stage__poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.eli-pod-stage__poster img {
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.eli-pod-stage__poster:hover img { transform: scale(1.03); }

.eli-pod-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    background: var(--pod-navy);
    color: #fff;
    box-shadow: 0 0 0 4px var(--pod-cyan), 0 12px 32px rgba(0, 19, 25, .45);
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.eli-pod-play svg { margin-left: 4px; }
.eli-pod-stage__poster:hover .eli-pod-play {
    background: var(--pod-cyan);
    color: var(--pod-ink);
    box-shadow: 0 0 0 4px #fff, 0 12px 32px rgba(0, 19, 25, .45);
    transform: scale(1.06);
}

.eli-pod-stage__caption { display: grid; gap: 6px; margin-top: 20px; }
.eli-pod-stage__now {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pod-muted);
}
.eli-pod-stage__title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pod-navy);
}
.eli-pod-show--dark .eli-pod-stage__now { color: var(--pod-cyan); }
.eli-pod-show--dark .eli-pod-stage__title { color: #fff; }

/* Episode meta: label + date */
.eli-pod-stage__meta,
.eli-pod-ep__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 14px;
    color: var(--pod-muted);
}
.eli-pod-ep__label { font-weight: 600; }
.eli-pod-show--dark .eli-pod-stage__meta,
.eli-pod-show--dark .eli-pod-ep__meta { color: rgba(255, 255, 255, .66); }

.eli-pod-list { grid-area: list; min-width: 0; }
.eli-pod-list__heading {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pod-line);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pod-muted) !important;
}
.eli-pod-show--dark .eli-pod-list__heading { border-color: rgba(255, 255, 255, .14); color: var(--pod-cyan) !important; }

.eli-pod-list__items { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; }
.eli-pod-list__items li { margin: 0; padding: 0; }

.eli-pod-ep {
    position: relative;
    display: grid;
    grid-template-columns: 132px 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px;
    margin: 0 -12px;
    border-radius: 12px;
    color: var(--pod-ink) !important;
    text-decoration: none !important;
    transition: background-color .2s ease;
}
.eli-pod-ep:hover { background: #F5F6F8; }
.eli-pod-ep[aria-current] { background: var(--pod-tint); }
.eli-pod-ep[aria-current]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 2px;
    background: var(--pod-cyan);
}

.eli-pod-ep__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pod-line);
}
.eli-pod-ep__thumb img { width: 100%; height: 100%; object-fit: cover; }
.eli-pod-ep__text { display: grid; gap: 6px; min-width: 0; }
.eli-pod-ep__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pod-navy);
}
.eli-pod-ep__meta { font-size: 13px; }

.eli-pod-show--dark .eli-pod-ep { color: #fff !important; }
.eli-pod-show--dark .eli-pod-ep:hover { background: rgba(255, 255, 255, .06); }
.eli-pod-show--dark .eli-pod-ep[aria-current] { background: rgba(56, 195, 242, .14); }
.eli-pod-show--dark .eli-pod-ep__title { color: #fff; }

.eli-pod-list__more {
    display: inline-flex;
    gap: 8px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pod-navy) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--pod-cyan) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 6px;
}
.eli-pod-list__more span { transition: transform .2s ease; }
.eli-pod-list__more:hover span { transform: translateX(4px); }
.eli-pod-show--dark .eli-pod-list__more { color: #fff !important; }

.eli-pod-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 32px;
    border-radius: var(--pod-radius);
    background: #F5F6F8;
}
.eli-pod-show--dark .eli-pod-empty { background: rgba(255, 255, 255, .06); }

/*------------------------------ Follow ------------------------------*/

.eli-pod-follow {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px 48px;
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 112px) 0 clamp(96px, 10vw, 140px);
}
.eli-pod-follow__title {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--pod-navy) !important;
}
.eli-pod-follow__text { margin-top: 10px !important; font-size: 17px; color: var(--pod-muted); }
.eli-pod-follow__title,
.eli-pod-follow__text { grid-column: 1; }
.eli-pod-follow__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.eli-pod-follow__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border: 1px solid var(--pod-line);
    border-radius: var(--pod-radius);
    font-size: 16px;
    font-weight: 700;
    color: var(--pod-navy) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.eli-pod-follow__link svg { color: var(--pod-cyan); }
.eli-pod-follow__link:hover { border-color: var(--pod-cyan); box-shadow: var(--blue-box-shadow); }

/*------------------------------ Resources teaser ------------------------------*/

.eli-pod-teaser { text-align: left; }
.eli-pod-teaser__shows { display: grid; gap: 16px; }
.eli-pod-teaser__show {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: var(--pod-radius);
    background: #fff;
    box-shadow: 0 1px 0 var(--pod-line), 0 8px 24px rgba(0, 19, 25, .06);
    color: var(--pod-ink) !important;
    text-decoration: none !important;
    transition: box-shadow .25s ease, transform .25s ease;
}
.eli-pod-teaser__show:hover { box-shadow: var(--blue-box-shadow); transform: translateY(-2px); }
.eli-pod-teaser__art { width: 96px; height: 96px; border-radius: 12px !important; object-fit: cover; }
.eli-pod-teaser__text { display: grid; gap: 4px; min-width: 0; }
.eli-pod-teaser__name { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--pod-navy); }
.eli-pod-teaser__summary { font-size: 15px; line-height: 1.4; color: var(--pod-muted); }
.eli-pod-teaser__latest {
    margin-top: 4px;
    font-size: 13px;
    color: var(--pod-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eli-pod-teaser__go { font-size: 20px; color: var(--pod-navy); }
.eli-pod-teaser__all { margin: 28px 0 0 !important; text-align: center; }

/*------------------------------ Responsive ------------------------------*/

@media (max-width: 1000px) {
    .eli-pod-show__head {
        grid-template-columns: 1fr;
        grid-template-areas: "id" "about" "actions";
    }
    .eli-pod-show__about { max-width: 640px; }
    .eli-pod-player,
    .eli-pod-show--dark .eli-pod-player {
        grid-template-columns: 1fr;
        grid-template-areas: "stage" "list";
    }
    .eli-pod-stage { position: relative; top: auto; }
}

@media (max-width: 800px) {
    .eli-pod-show--dark { background-size: 55% auto; }
    .eli-pod-lanes { grid-template-columns: 1fr; gap: 28px; padding: 8px; }
    .eli-pod-lanes::before {
        top: 50%;
        bottom: auto;
        left: 24px;
        right: 24px;
        width: auto;
        height: 4px;
        margin: -2px 0 0;
        background: repeating-linear-gradient(to right, var(--pod-cyan) 0 26px, transparent 26px 48px);
    }
    .eli-pod-lane { grid-template-columns: 72px 1fr auto; gap: 16px; padding: 16px; }
    .eli-pod-lane__art { width: 72px; height: 72px; border-radius: 12px; }
    .eli-pod-lane__summary { font-size: 15px; }
    .eli-pod-follow { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
    .eli-pod-follow__actions { grid-column: 1; grid-row: auto; }
}

@media (max-width: 560px) {
    .eli-pod-hero { padding: 0 10px; }
    .eli-pod-hero__panel { border-radius: 20px; }
    .eli-pod-hero__panel::before { width: 90%; opacity: .55; }
    .eli-pod-lane__go { display: none; }
    .eli-pod-lane { grid-template-columns: 64px 1fr; }
    .eli-pod-lane__art { width: 64px; height: 64px; }
    .eli-pod-show__id { flex-direction: column; align-items: flex-start; gap: 18px; }
    .eli-pod-show__art { width: 72px; height: 72px; }
    .eli-pod-ep { grid-template-columns: 112px 1fr; gap: 14px; }
    .eli-pod-ep__title { font-size: 15px; }
    .eli-pod-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
    .eli-pod-follow__link { width: 100%; }
    .eli-pod-teaser__show { grid-template-columns: 72px 1fr; padding: 16px; gap: 16px; }
    .eli-pod-teaser__art { width: 72px; height: 72px; }
    .eli-pod-teaser__go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .eli-pod *,
    .eli-pod-teaser * { transition: none !important; }
}
