:root {
  --md-text-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-code-font: ui-monospace, monospace;
}
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #122d37;
  --md-default-fg-color: #f1eadc;
  --md-default-fg-color--light: #b4c5c6;
  --md-default-fg-color--lighter: #91a9ac;
  --md-primary-fg-color: #0e242c;
  --md-primary-bg-color: #f1eadc;
  --md-accent-fg-color: #72c5bf;
  --md-typeset-a-color: #e0c48f;
  --md-footer-bg-color: #0e242c;
  --md-footer-bg-color--dark: #0b1d23;
}
.md-header { border-bottom: 1px solid #c6a56855; box-shadow: none; }
.md-banner { background: #253e45; color: #d0dcdc; font-size: .72rem; }
.md-typeset { font-size: .85rem; line-height: 1.75; }
.md-typeset h1, .md-typeset h2 { font-family: Georgia, "Times New Roman", serif; color: #f1eadc; letter-spacing: -.02em; }
.md-typeset h1 { font-size: 2.35rem; line-height: 1.15; margin-bottom: .8em; }
.md-typeset h2 { font-size: 1.55rem; margin-top: 1.8em; }
.md-typeset .kicker { color: #d9ba7e; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1rem; }
.md-typeset .lead { font-size: 1.1rem; line-height: 1.6; color: #dbe4e1; max-width: 44rem; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; padding: 1.8rem 0 2.4rem; border-bottom: 1px solid #c6a56866; }
.hero h1 { margin-top: 0; }
.hero img { width: 100%; border-radius: 3px; }
.md-typeset .button { display: inline-block; padding: .6rem 1rem; border: 1px solid #c6a568; color: #f1eadc; border-radius: 2px; font-size: .8rem; font-weight: 600; }
.md-typeset .button:hover { background: #c6a568; color: #102832; }
.episode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.8rem; margin: 1.5rem 0; }
.episode-card { border-bottom: 1px solid #c6a56855; padding-bottom: 1rem; }
.episode-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; display: block; }
.md-typeset .episode-card h3 { margin: .8rem 0 .25rem; font-size: 1rem; }
.episode-card p { color: #b4c5c6; margin: .3rem 0; }
.md-typeset .episode-card .kicker { margin-top: .8rem; font-size: .65rem; }
.episode-poster { width: 100%; max-width: 46rem; border-radius: 3px; }
.md-typeset .viewing-note { border-left: 2px solid #c6a568; padding: .3rem 1rem; color: #b4c5c6; font-size: .75rem; margin: 1.4rem 0; }
.md-typeset .footnote { font-size: .75rem; }
.md-typeset .footnote hr { border-color: #c6a56866; }
.md-typeset a:focus-visible, button:focus-visible { outline: 3px solid #72c5bf; outline-offset: 4px; }
@media(min-width:76.25em) { .md-content { max-width: 60rem; } }
@media(max-width:60em) { .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: .5rem; } .hero img { max-width: 38rem; } }
@media(max-width:38em) { .episode-grid { grid-template-columns: 1fr; } .md-typeset h1 { font-size: 1.9rem; } .md-typeset { font-size: .85rem; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Episode 04 editorial pilot: video link and annotated research sources. */
.md-typeset .article-breadcrumb { color: #b4c5c6; font-size: .72rem; margin: 0 0 1.4rem; }
.md-typeset .film-preview { margin: 1.6rem 0 .6rem; width: 100%; }
.film-preview__link { position: relative; display: block; overflow: hidden; border: 1px solid #c6a56866; border-radius: 3px; isolation: isolate; }
.film-preview__link img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; }
.film-preview__play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 4rem; height: 4rem; padding-left: .12rem; background: #102832ee; color: #f1eadc; border: 1px solid #e0c48f; border-radius: 50%; font-size: 1.5rem; box-shadow: 0 2px 18px #0008; }
.film-preview__link:hover .film-preview__play { background: #c6a568; color: #102832; }
.film-preview__label { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: .4rem; padding: .55rem .8rem; background: #0b1d23f5; color: #f1eadc; font-size: .75rem; font-weight: 600; }
.film-preview__label span { color: #c8d5d2; font-weight: 400; }
.md-typeset .film-preview figcaption { color: #b4c5c6; font-size: .7rem; margin-top: .5rem; max-width: none; }
.md-typeset .film-title-link { font-size: .75rem; }
.film-title-link span { color: #b4c5c6; }
.md-typeset .source-marker { white-space: nowrap; font-size: .75em; vertical-align: super; font-weight: 700; }
.source-section { margin-top: 2.2rem; }
.md-typeset .source-card { padding: 1.2rem 1.3rem; margin: 1rem 0; border: 1px solid #c6a56855; border-left: 3px solid #c6a568; border-radius: 2px; background: #173640; scroll-margin-top: 6rem; }
.md-typeset .source-card__meta { margin: 0 0 .4rem; color: #b4c5c6; font-size: .7rem; line-height: 1.6; }
.md-typeset .source-card h3 { margin: 0 0 .65rem; font-size: .98rem; line-height: 1.5; }
.md-typeset .source-card p:last-child { margin-bottom: 0; }
@media(max-width:38em) { .film-preview__play { width: 3rem; height: 3rem; font-size: 1.15rem; } .film-preview__label { font-size: .7rem; flex-wrap: wrap; } .md-typeset .source-card { padding: 1rem; } }

/* Quiet article/film dates beneath the YouTube link. */
.md-typeset .episode-publication { margin: -.4rem 0 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid #c6a56855; color: #b4c5c6; font-size: .75rem; }
.episode-publication dl { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin: 0; }
.episode-publication dl > div { display: flex; flex-wrap: wrap; gap: 0 .3rem; }
.episode-publication dl > div + div::before { content: "|"; margin-right: .3rem; }
.md-typeset .episode-publication dt, .md-typeset .episode-publication dd { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: 400; }
.episode-publication dt::after { content: ":"; }
@media(max-width:38em) { .episode-publication dl { flex-direction: column; } .episode-publication dl > div + div::before { display: none; } }
