/* The podcast collection uses the shared site palette and the established audio player. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 Inter, system-ui, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.035em; }
img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.podcasts-page .hero { padding-top: 64px; padding-bottom: 66px; }
.podcasts-page .hero h1 { font-size: clamp(48px, 5.8vw, 80px); }
.podcasts-page .hero-intro { font-size: 27px; line-height: 1.4; letter-spacing: -.035em; }
.podcasts-page .hero-description { max-width: 450px; }
.podcasts-page .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
.podcasts-page .collection-facts { gap: 12px 23px; flex-wrap: wrap; }
.podcasts-page .collection-facts > span:last-child { flex-basis: 100%; }
.podcast-feature .feature-top { margin-bottom: 20px; }
.featured-art { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; margin-bottom: 23px; background: #0f172a; }
.featured-art img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.podcasts-page .podcast-feature h2 { font-size: clamp(25px, 2.3vw, 32px); }
.podcasts-page .podcast-feature > p { margin-top: 12px; line-height: 1.7; font-size: 12px; }
.podcasts-page .podcast-feature figcaption { margin-top: 21px; padding-top: 17px; }
.feature-listen { display: flex; align-items: center; gap: 13px; width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; font-size: 13px; font-weight: 600; }
.listen-circle { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); color: white; font-size: 13px; padding-left: 2px; }
.feature-listen small { display: block; margin-top: 2px; color: var(--text-muted); font-weight: 400; font-size: 10px; }
.listen-arrow { margin-left: auto; color: var(--blue); font-size: 24px; }
.feature-listen:hover .listen-circle { box-shadow: 0 0 0 5px var(--wash); }
.episode-collection { border-top: 1px solid var(--border); }
.podcasts-page .collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 39px 0 24px; }
.collection-heading h2 { margin-top: 10px; font-size: 30px; }
.collection-heading > p { font-size: 12px; color: var(--text-muted); }
.episode-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.episode-directory a { display: flex; align-items: center; gap: 12px; padding: 17px 20px; font-size: 12px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.episode-directory a:nth-child(3n) { border-right: 0; }
.episode-directory a:nth-child(n+4) { border-bottom: 0; }
.episode-directory a > span:first-child { color: var(--purple); font-size: 10px; font-variant-numeric: tabular-nums; }
.episode-directory a:hover { background: var(--wash); text-decoration: none; color: var(--blue); }
.episode-directory a:focus-visible { outline-offset: -4px; }
.chapter-arrow { margin-left: auto; color: var(--text-muted); }
.listening-guide { display: flex; align-items: center; gap: 15px; padding: 23px 0 26px; }
.listening-guide p { color: var(--text-muted); font-size: 11px; max-width: 680px; line-height: 1.8; }
.listening-guide strong { color: var(--text); font-weight: 500; }
.guide-icon { color: var(--green); font-size: 24px; }
.guide-label { margin-left: auto; color: var(--text-muted); white-space: nowrap; font-size: 9px; letter-spacing: .1em; }
.episode { --episode-accent: var(--blue); border-top: 1px solid var(--border); padding: 42px 0 48px; scroll-margin-top: 25px; }
.episode:nth-of-type(3n+2) { --episode-accent: var(--purple); }
.episode:nth-of-type(3n) { --episode-accent: var(--green); }
.episode-header { display: flex; gap: 22px; align-items: center; margin-bottom: 25px; }
.episode-number { color: var(--episode-accent); font-size: 50px; letter-spacing: -.075em; font-weight: 500; line-height: 1; opacity: .75; }
.episode-header .eyebrow { color: var(--episode-accent); font-size: 9px; }
.episode-header h2 { font-size: clamp(22px, 2.15vw, 29px); margin-top: 8px; }
.episode-header > div { min-width: 0; }
.episode-duration { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 11px; font-variant-numeric: tabular-nums; margin-left: auto; white-space: nowrap; }
.episode-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); gap: 38px; align-items: start; }
.episode-context, .episode-listening { min-width: 0; }
.episode-listening { container-type: inline-size; }
.episode-art { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-card); }
.episode-art img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #0f172a; }
.episode-art > span { display: flex; justify-content: space-between; padding: 9px 13px; font-size: 10px; font-weight: 500; color: var(--text-muted); }
.episode-art:hover { text-decoration: none; border-color: var(--episode-accent); }
.episode-art:hover > span { color: var(--episode-accent); }
.episode-description { font-size: 12px; line-height: 1.9; color: var(--text-muted); margin-top: 20px; }
.listening-notes { margin-top: 20px; padding-left: 15px; border-left: 2px solid var(--episode-accent); }
.listening-notes h3 { font-size: 11px; font-weight: 600; letter-spacing: 0; }
.listening-notes ul { padding: 0; margin: 10px 0 0; list-style: none; }
.listening-notes li { position: relative; padding: 0 0 7px 13px; font-size: 11px; line-height: 1.6; color: var(--text-muted); }
.listening-notes li:before { content: '·'; position: absolute; left: 0; color: var(--episode-accent); }
/* Artwork lives beside the player on this page; retain all established player controls. */
.podcast-player.episode-player { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "playback" "chapters" "actions" "transcript" "status"; padding: 24px; margin-top: 0; border-radius: 14px; }
.episode-player .podcast-heading { padding-bottom: 8px; }
.episode-player .podcast-heading h3 { font-size: 20px; font-weight: 600; margin: 6px 0; letter-spacing: -.025em; }
.episode-player .podcast-chapters { margin-top: 8px; }
.episode-player .podcast-chapters button { min-height: 40px; }
.episode-player .podcast-transcript-actions { border-top: 1px solid var(--pod-border); padding-top: 18px; margin-top: 12px; }
.episode-player .podcast-action-link, .episode-player .podcast-transcript-toggle { min-height: 42px; padding: 9px 12px; }
.episode-player .podcast-action-link svg { flex-shrink: 0; }
.episode-player .podcast-passages { margin-top: 12px; }
.episode-player:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.listening-close { text-align: center; padding: 46px 24px; margin: 0 0 55px; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(ellipse at top, var(--wash), transparent 80%); }
.listening-close h2 { margin-top: 12px; font-size: 28px; }
.listening-close > p:not(.eyebrow) { font-size: 13px; color: var(--text-muted); margin: 15px auto 24px; max-width: 500px; }
.podcasts-footer { padding-block: 32px 40px; border-top: 1px solid var(--border); text-align: center; }
.footer-brand { color: var(--text); font-size: 14px; font-weight: 600; }
.podcasts-footer p { margin-top: 5px; font-size: 11px; color: var(--text-muted); }
.podcasts-footer > div { display: flex; justify-content: center; gap: 20px; margin-top: 17px; font-size: 11px; }
@media (max-width: 1100px) {
  .episode-grid { gap: 25px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
  .podcast-player.episode-player { padding: 20px; }
  .guide-label { display: none; }
  .episode-directory a { padding: 15px; font-size: 11px; }
}
@media (max-width: 850px) {
  .podcasts-page .hero { padding-top: 40px; }
  .podcasts-page .hero-copy { max-width: 600px; }
  .podcasts-page .hero h1 { font-size: 64px; }
  .podcasts-page .hero-description { max-width: 570px; }
  .podcasts-page .collection-facts > span:last-child { flex-basis: auto; }
  .podcasts-page .podcast-feature { max-width: 100%; }
  .podcasts-page .collection-heading { display: block; }
  .collection-heading > p { margin-top: 14px; }
  .episode-grid { grid-template-columns: 1fr; gap: 26px; }
  .episode-context { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; align-items: start; }
  .episode-art { grid-row: span 2; }
  .episode-description { margin-top: 0; }
  .listening-notes { margin-top: 15px; }
  .episode-header { gap: 18px; }
  .episode-duration { align-self: flex-start; margin-top: 5px; }
  .episode-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .episode-directory a:nth-child(n) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .episode-directory a:nth-child(2n) { border-right: 0; }
  .episode-directory a:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .podcasts-page .hero { padding-top: 32px; padding-bottom: 38px; }
  .podcasts-page .hero h1 { font-size: 53px; }
  .podcasts-page .hero-intro { font-size: 23px; }
  .podcasts-page .hero-actions { gap: 12px; }
  .podcasts-page .hero .reassurance { font-size: 10px; }
  .podcasts-page .podcast-feature { padding: 20px 18px; }
  .podcasts-page .podcast-feature h2 { font-size: 25px; }
  .podcast-feature .tiny-tag { font-size: 9px; }
  .podcasts-page .collection-heading { padding-top: 30px; }
  .collection-heading h2 { font-size: 27px; }
  .episode-directory { grid-template-columns: 1fr; }
  .episode-directory a:nth-child(n) { padding: 13px 15px; border-right: 0; border-bottom: 1px solid var(--border); font-size: 12px; }
  .episode-directory a:last-child { border-bottom: 0; }
  .listening-guide { align-items: flex-start; padding-block: 20px 24px; }
  .episode { padding-block: 30px 35px; }
  .episode-header { gap: 13px; flex-wrap: wrap; margin-bottom: 20px; }
  .episode-number { font-size: 38px; align-self: flex-start; margin-top: 3px; }
  .episode-header > div { flex: 1; }
  .episode-header .eyebrow { font-size: 8px; }
  .episode-header h2 { font-size: 23px; line-height: 1.25; }
  .episode-duration { display: none; } /* Duration is also visible in every player's timeline. */
  .episode-context { display: block; }
  .episode-description { margin-top: 18px; font-size: 13px; }
  .listening-notes li { font-size: 12px; }
  .podcast-player.episode-player { padding: 18px 14px; }
  .episode-player .podcast-heading h3 { font-size: 20px; }
  .episode-player .podcast-transcript-actions { gap: 8px; }
  .episode-player .podcast-action-link, .episode-player .podcast-transcript-toggle { font-size: 11px; }
  .listening-close { padding: 32px 20px; margin-bottom: 35px; }
  .listening-close h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
