/* Episode list (generated into index.html by ../build-episodes.py from episodes.json). */
.episodes { grid-column: 1 / -1; }
.episodes h2 { font-size: clamp(30px, 3vw, 42px); }
.ep-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.ep { height: 100%; display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--r);
  box-shadow: 0 0 0 3px var(--ink), 0 8px 0 var(--ink); overflow: hidden; transition: transform .12s ease; }
.ep:hover { transform: translateY(-3px); }
.ep:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.ep img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--ink); background: var(--orange); }
.ep-n { margin: 18px 22px 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--teal); }
.ep-title { margin: 0 22px 8px; font-family: var(--head); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; }
.ep-log { margin: 0 22px 16px; font-size: 16px; }
.ep-watch { margin: auto 22px 22px; font-weight: 800; color: var(--teal); }
.ep-new { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: var(--ink); letter-spacing: .06em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .ep { transition: none; } .ep:hover { transform: none; } }
