/* Podcast episode pages */

/* Hero: copy left, video right */
.ep-hero { padding-top: clamp(130px, 14vw, 180px); padding-bottom: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.ep-hero__glow { position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(197,165,90,.20), rgba(197,165,90,0) 66%); pointer-events: none; }
.ep-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.ep-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 200; line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 22px; max-width: 18ch; }
.ep-hero .lede { max-width: 58ch; }
.ep-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 18px; }
.ep-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.ep-people { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.ep-person { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border: 1px solid var(--border); border-radius: 100px; background: var(--card); }
.ep-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.ep-person .ini { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--muted-bg); color: var(--gold-deep); font-weight: 600; font-size: .9rem; }
.ep-person b { display: block; font-size: .88rem; font-weight: 600; line-height: 1.2; }
.ep-person small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.ep-listen { margin-top: 28px; }

.ep-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--dark-2); box-shadow: 0 40px 80px -40px rgba(20,17,11,.55), 0 0 0 1px rgba(197,165,90,.35); }
.ep-video::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 46%; height: 60%; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 18px 0 0; pointer-events: none; z-index: 3; opacity: .7; }
.ep-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.ep-video__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out), filter .4s var(--ease); }
.ep-video__btn:hover img { transform: scale(1.03); filter: brightness(.92); }
.ep-video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.ep-video__btn:hover .ep-video__play { transform: scale(1.08); }
.ep-video__play svg { width: 28px; height: 28px; margin-left: 4px; }
.ep-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-video__cap { margin-top: 14px; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ep-video__cap a { color: var(--gold-text); font-weight: 500; }

/* Takeaways: sticky side + numbered editorial list */
.ep-take { background: var(--muted-bg); }
.ep-take__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.ep-take__side { position: sticky; top: 110px; }
.ep-take__side .h-lg { font-size: clamp(2rem, 4vw, 3.4rem); margin: 16px 0 20px; }
.ep-take__who { font-size: .98rem; color: var(--ink-soft); border-left: 2px solid var(--gold); padding-left: 16px; margin-top: 8px; max-width: 40ch; }
.ep-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ep-topics span { font-size: .76rem; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg); color: var(--ink-soft); }
.ep-take__list { counter-reset: tk; list-style: none; margin: 0; padding: 0; }
.ep-take__list li { counter-increment: tk; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--border); }
.ep-take__list li:first-child { border-top: 0; padding-top: 4px; }
.ep-take__list li::before { content: counter(tk, decimal-leading-zero); font-size: 2.2rem; font-weight: 200; color: var(--gold-deep); line-height: 1; letter-spacing: -.04em; }
.ep-take__list h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.ep-take__list p { color: var(--ink-soft); font-size: 1rem; line-height: 1.62; }

/* Timestamp jump links */
.ep-ts { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--gold-text); letter-spacing: .02em; }
.ep-ts svg { width: 12px; height: 12px; }
.ep-ts:hover { color: var(--ink); }

/* Data table on a dark band */
.ep-data .h-lg { font-size: clamp(2rem, 4vw, 3.4rem); }
.ep-table-wrap { margin-top: clamp(28px, 4vw, 44px); overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(229,207,160,.22); }
.ep-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.ep-table th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; padding: 18px 22px; background: rgba(255,255,255,.04); }
.ep-table td { padding: 20px 22px; border-top: 1px solid rgba(229,207,160,.16); color: rgba(255,255,255,.86); vertical-align: top; line-height: 1.5; }
.ep-table td:last-child { color: #fff; font-weight: 500; }
.ep-table tr:hover td { background: rgba(197,165,90,.06); }

/* Pull quote tweaks */
.ep-quote blockquote { font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 200; line-height: 1.12; letter-spacing: -.02em; color: #fff; max-width: 24ch; margin: 18px auto 26px; }
.ep-quote cite { font-style: normal; color: rgba(255,255,255,.66); font-size: .9rem; }
.ep-quote cite a { color: var(--gold-soft); }

/* Chapters timeline */
.ep-ch__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.ep-ch__list { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.ep-ch__list::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), var(--border)); }
.ep-ch__list li { position: relative; }
.ep-ch__list li::before { content: ""; position: absolute; left: -26px; top: 19px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.ep-ch__list a { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; padding: 12px 10px; border-radius: 10px; transition: background .25s var(--ease); }
.ep-ch__list a:hover { background: rgba(197,165,90,.08); }
.ep-ch__list time { font-variant-numeric: tabular-nums; font-size: .84rem; font-weight: 600; color: var(--gold-text); }
.ep-ch__list span { font-size: 1rem; color: var(--ink); }

/* Second quote inline (light) */
.ep-aside-quote { margin-top: clamp(30px, 4vw, 44px); padding: 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.ep-aside-quote p { font-size: 1.15rem; line-height: 1.45; color: var(--ink); font-weight: 300; }
.ep-aside-quote small { display: block; margin-top: 12px; color: var(--muted); font-size: .82rem; }

/* Tool callout */
.ep-tool { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 18px; background: var(--dark-2); color: #fff; position: relative; overflow: hidden; }
.ep-tool::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(197,165,90,.28), rgba(197,165,90,0) 68%); pointer-events: none; }
.ep-tool__ic { width: 64px; height: 64px; border-radius: 16px; border: 1px solid rgba(229,207,160,.4); display: flex; align-items: center; justify-content: center; color: var(--gold-soft); }
.ep-tool__ic svg { width: 28px; height: 28px; }
.ep-tool .eyebrow { color: var(--gold-soft); }
.ep-tool .eyebrow::before { background: var(--gold-soft); }
.ep-tool h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 300; margin: 10px 0 8px; color: #fff; }
.ep-tool p { color: rgba(255,255,255,.74); max-width: 52ch; }
.ep-tool .btn { position: relative; z-index: 1; white-space: nowrap; }

/* Mentioned in this episode */
.ep-mentions { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.ep-mentions h3 { grid-column: 1 / -1; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.ep-mentions a, .ep-mentions span { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--ink); }
.ep-mentions a:hover { color: var(--gold-deep); }
.ep-mentions i { font-style: normal; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; flex: none; width: 64px; }

/* FAQ (same pattern as mastermind) */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.06rem; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fq-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.faq summary .fq-ic svg { width: 15px; height: 15px; }
.faq details[open] summary .fq-ic { transform: rotate(45deg); border-color: var(--gold); color: var(--gold-deep); }
.faq details > p { color: var(--muted); font-size: .98rem; line-height: 1.62; padding: 0 44px 26px 0; margin: -4px 0 0; }

/* Transcript */
.ep-tx { background: var(--muted-bg); }
.ep-tx__box { max-width: 860px; margin-inline: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--card); overflow: hidden; }
.ep-tx__box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 26px 30px; }
.ep-tx__box > summary::-webkit-details-marker { display: none; }
.ep-tx__box > summary b { font-size: 1.1rem; font-weight: 600; }
.ep-tx__box > summary small { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; font-weight: 400; }
.ep-tx__box > summary .fq-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.ep-tx__box > summary .fq-ic svg { width: 15px; height: 15px; }
.ep-tx__box[open] > summary .fq-ic { transform: rotate(45deg); border-color: var(--gold); color: var(--gold-deep); }
.ep-tx__body { padding: 4px 30px 30px; max-height: 70vh; overflow-y: auto; border-top: 1px solid var(--border); }
.ep-tx__body p { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; font-size: .95rem; line-height: 1.65; color: var(--ink-soft); }
.ep-tx__body p a { font-variant-numeric: tabular-nums; font-size: .78rem; font-weight: 600; color: var(--gold-text); padding-top: 3px; }

/* Related episodes scroller */
.ep-rel__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 22px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ep-rel__card { scroll-snap-align: start; display: block; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--border); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ep-rel__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(20,17,11,.35); }
.ep-rel__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ep-rel__card div { padding: 18px 20px 22px; }
.ep-rel__card small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.ep-rel__card h3 { font-size: 1.02rem; font-weight: 500; line-height: 1.35; margin-top: 8px; }

@media (max-width: 960px) {
  .ep-hero__grid, .ep-take__grid, .ep-ch__grid { grid-template-columns: 1fr; }
  .ep-take__side { position: static; }
  .ep-tool { grid-template-columns: 1fr; }
  .ep-mentions { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ep-table-wrap { border: 0; overflow: visible; }
  .ep-table { min-width: 0; }
  .ep-table thead { display: none; }
  .ep-table, .ep-table tbody, .ep-table tr, .ep-table td { display: block; width: 100%; }
  .ep-table tr { border: 1px solid rgba(229,207,160,.22); border-radius: 14px; padding: 6px 18px; margin-bottom: 14px; }
  .ep-table td { border-top: 0; padding: 12px 0; border-bottom: 1px solid rgba(229,207,160,.12); }
  .ep-table td:last-child { border-bottom: 0; }
  .ep-table td::before { content: attr(data-label); display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 5px; }
  .ep-table tr:hover td { background: none; }
}
@media (max-width: 600px) {
  .ep-take__list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .ep-take__list li::before { font-size: 1.6rem; }
  .ep-tx__body { padding: 4px 18px 22px; }
  .ep-tx__body p { grid-template-columns: 1fr; gap: 2px; }
  .ep-tx__box > summary { padding: 22px 20px; }
  .ep-video::before { display: none; }
  .ep-ch__list a { grid-template-columns: 60px 1fr; }
}
