/***
 * episode.css — styles for single episode pages.
 * Extracted from site/templates/episode.php heredoc (Sprint 12 Batch C).
 ***/

.folge-wrap { padding-top: 5.5rem; }
.back-bar { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-light); text-decoration: none; transition: color .15s, gap .15s; }
.back-link:hover { color: var(--brand); gap: .7rem; }
.back-link svg { width: 14px; height: 14px; }
.folge-hero { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.folge-hero-grid { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.folge-cover { width: 320px; height: 320px; position: relative; overflow: hidden; border-radius: 4px; border: 1px solid var(--rule); flex: 0 0 auto; }
.folge-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.folge-cover.is-empty { background: var(--brand-soft); }
.folge-info { min-width: 0; }
.folge-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; margin-bottom: 1rem; }
.folge-meta-row .num { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--brand); }
.folge-meta-row .sep { color: var(--rule); }
.folge-meta-row time { font-size: .82rem; color: var(--text-light); }
.folge-info h1 { font-size: 2.6rem; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 1.5rem; }
.folge-lead { font-size: 1.18rem; line-height: 1.5; color: var(--text-mid); max-width: 52ch; margin: 0 0 2rem; }
.folge-player { margin: 0 0 1rem; max-width: 560px; }
.folge-player .podcaster-html5-player audio,
.folge-player audio { width: 100%; }
.player-foot { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .82rem; color: var(--text-light); }
.player-foot .k { color: var(--text-light); }
.player-foot .v { color: var(--text-mid); margin-left: .35rem; }
.folge-section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.folge-section:last-of-type { border-bottom: none; }
.folge-section h2 { font-size: 1.55rem; margin: 0 0 1.5rem; padding-top: 10px; }
.section-eyebrow { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--text-light); margin-bottom: .6rem; display: block; }
.shownotes { line-height: 1.6; }
.shownotes h1, .shownotes h2, .shownotes h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--text); margin: 1.8rem 0 .6rem; max-width: 64ch; }
.shownotes > :first-child { margin-top: 0; }
.shownotes p { font-size: 1rem; line-height: 1.6; color: var(--text); margin: 0 0 1.1rem; max-width: 64ch; }
.shownotes ul { margin: 1rem 0 1.4rem; padding-left: 1.2rem; max-width: 64ch; }
.shownotes li { font-size: 1rem; line-height: 1.55; margin-bottom: .45rem; }
.shownotes a { color: var(--text); border-bottom: 1px solid var(--brand); padding-bottom: 1px; }
.shownotes a:hover { color: var(--brand); text-decoration: none; }
.chapters { border-top: 1px solid var(--rule); max-width: 760px; }
.chapter { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.chapter .ch-time { font-size: .82rem; color: var(--text-light); font-feature-settings: "tnum" 1; }
.chapter .ch-title { font-size: 1rem; color: var(--text); }
.contributors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; max-width: 720px; }
.contributor { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.contributor .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600; flex: 0 0 auto; }
.contributor .name { font-size: .98rem; font-weight: 600; color: var(--text); margin: 0 0 .2rem; }
.contributor .role { font-size: .82rem; color: var(--text-light); margin: 0; }
@media (max-width: 820px) {
  .folge-hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .folge-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .contributors { grid-template-columns: 1fr; }
  .folge-info h1 { font-size: 2rem; }
}
