/* ── Only Small Actors · style.css ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #1a1a1a;
  --text:       #222;
  --muted:      #6a6a6a;
  --faint:      #9a9a9a;
  --rule:       #e6e6e6;
  --rule-strong:#111;
  --bg:         #ffffff;
  --bg-alt:     #f7f7f7;
  --bg-tint:    #fafafa;
  --brand:      #e40521;  /* editorial red */
  --brand-ink:  #b30016;
  --brand-dim:  rgba(228,5,33,0.08);

  --display: 'Barlow Condensed', 'Oswald', sans-serif;
  --serif:   'Libre Caslon Text', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;

  --max: 1280px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Defensive: prevent horizontal scroll from full-bleed sections */
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   UTILITY BAR (top black strip)
   ============================================================ */
.util-bar {
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.util-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.util-left { opacity: 0.9; }
.util-right { display: flex; gap: 20px; opacity: 0.85; }
.util-inner a { transition: color 0.15s; }
.util-inner a:hover { color: var(--brand); }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0 18px;
  background: var(--bg);
}
.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.mast-left {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mast-left strong { color: var(--ink); font-weight: 700; }

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-transform: none;
}
.wordmark .red-dot {
  display: inline-block;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='6' y='40' width='88' height='56' fill='%23e40521' rx='2'/><line x1='16' y1='60' x2='84' y2='60' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><line x1='16' y1='76' x2='84' y2='76' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><g transform='rotate(-12 50 25)'><rect x='6' y='14' width='88' height='22' fill='%23e40521' rx='2'/><polygon points='14,14 26,14 36,36 24,36' fill='%23ffffff'/><polygon points='40,14 52,14 62,36 50,36' fill='%23ffffff'/><polygon points='66,14 78,14 86,36 74,36' fill='%23ffffff'/></g></svg>") center / contain no-repeat;
  margin: 0 4px 4px 4px;
  flex-shrink: 0;
}

.mast-right {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
}
.tip-btn {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.15s;
}
.tip-btn:hover { background: var(--ink); color: #fff; }

/* ============================================================
   PRIMARY NAV (sticky category tabs)
   ============================================================ */
.primary-nav {
  border-bottom: 3px solid var(--ink);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-inner a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  white-space: nowrap;
  transition: all 0.15s;
}
.nav-inner a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.nav-inner a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.nav-admin { color: var(--brand) !important; }
.nav-search-btn {
  background: none;
  border: none;
  color: var(--ink);
  padding: 14px 16px;
  font-size: 18px;
  margin-left: auto;
  transition: color 0.15s;
}
.nav-search-btn:hover { color: var(--brand); }

/* ============================================================
   READ-NEXT STRIP
   ============================================================ */
.read-next {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-size: 13px;
}
.read-next-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.read-label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border-right: 1px solid var(--rule);
  padding-right: 14px;
  flex-shrink: 0;
}
.read-next a {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.3;
}
.read-next a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
  position: relative;
}
.search-input {
  width: 100%;
  background: var(--bg);
  border: none;
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  padding: 14px 0;
  outline: none;
}
.search-input::placeholder { color: var(--faint); }
.search-close {
  position: absolute;
  top: 14px; right: 28px;
  background: none; border: none;
  color: var(--muted);
  font-size: 20px;
  transition: color 0.15s;
}
.search-close:hover { color: var(--brand); }
.search-results {
  margin-top: 8px;
  background: var(--bg);
  max-height: 60vh;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.15s;
}
.search-result-item:hover { padding-left: 8px; }
.search-result-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.search-result-sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ============================================================
   SECTION HEADER (shared across pages)
   ============================================================ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink);
}
.section-header h2,
.section-header .section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.section-more {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}
.section-more:hover { color: var(--brand); }

/* ============================================================
   MAIN CONTAINER
   ============================================================ */
.main-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 48px;
}

/* ============================================================
   HOMEPAGE: HERO GRID — cover story + sidebar
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.cover-story { display: block; min-width: 0; }
.cover-story .eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brand);
}
.cover-photo {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
  margin-bottom: 20px;
}
.cover-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.5s ease;
}
.cover-story:hover .cover-photo img { transform: scale(1.02); }
.portrait-disclosure {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.72);
  padding: 7px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.cover-story h1.headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color 0.15s;
}
.cover-story:hover h1.headline { color: var(--brand-ink); }
.cover-story .dek {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 56ch;
}
.cover-story .screen-time-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.sti-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
  line-height: 1;
}
.sti-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.byline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.byline strong { color: var(--ink); font-weight: 600; }

/* HERO SIDEBAR */
.hero-sidebar { display: flex; flex-direction: column; gap: 22px; }
.side-story {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.side-story:last-child { border-bottom: none; padding-bottom: 0; }
.side-thumb {
  width: 120px;
  height: 90px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}
.side-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.4s ease;
}
.side-story:hover .side-thumb img { transform: scale(1.04); }
.side-tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
  display: inline-block;
}
.side-story h3.headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.15s;
}
.side-story:hover h3.headline { color: var(--brand-ink); }
.side-meta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   CATEGORY ROW: 1 lead + N list items
   ============================================================ */
.section-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.lead-story { display: block; }
.lead-photo {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 14px;
  position: relative;
}
.lead-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.5s ease;
}
.lead-story:hover .lead-photo img { transform: scale(1.02); }
.lead-tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  display: inline-block;
}
.lead-story h3.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.lead-story:hover h3.headline { color: var(--brand-ink); }
.lead-story .dek {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 10px;
}

/* list of secondary stories */
.list-stories { display: flex; flex-direction: column; }
.list-story {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.list-story:first-child { padding-top: 0; }
.list-story:last-child { border-bottom: none; }
.list-thumb {
  width: 110px;
  height: 80px;
  overflow: hidden;
  background: #1a1a1a;
}
.list-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.4s;
}
.list-story:hover .list-thumb img { transform: scale(1.04); }
.list-tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-block;
  margin-bottom: 4px;
}
.list-story h4.headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.15s;
}
.list-story:hover h4.headline { color: var(--brand-ink); }
.list-meta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

/* ============================================================
   SHOW ROW (small cards for films/shows)
   ============================================================ */
.show-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.show-card {
  display: block;
  border: 1px solid var(--rule);
  padding: 18px 18px 16px;
  background: var(--bg);
  transition: border-color 0.15s, transform 0.2s;
}
.show-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.show-card .show-type {
  font-family: var(--display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.show-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}
.show-count {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   ROLL CALL (portrait grid)
   ============================================================ */
.roll-call { margin: 56px 0 8px; }
.roll-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 20px;
}
.roll-card { display: block; }
.roll-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
  filter: grayscale(0.1);
  transition: filter 0.25s;
}
.roll-card:hover .roll-photo { filter: grayscale(0); }
.roll-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.4s ease;
}
.roll-card:hover .roll-photo img { transform: scale(1.04); }
.roll-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.roll-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ad-leaderboard {
  text-align: center;
  padding: 28px 0 8px;
  margin-bottom: 8px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ad-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.ad-placeholder {
  display: inline-block;
  width: 728px;
  max-width: 100%;
  height: 90px;
  background: var(--bg-alt);
  border: 1px dashed var(--rule);
  line-height: 90px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #bbb;
  padding: 48px 0 32px;
  margin-top: 64px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { }
.footer-brand .wordmark {
  color: #fff;
  justify-content: flex-start;
  font-size: 38px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-family: var(--serif);
  color: #999;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer h5 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #bbb; font-size: 14px; transition: color 0.15s; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: #777;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section-row { grid-template-columns: 1fr; gap: 28px; }
  .cover-story h1.headline { font-size: 42px; }
  .show-row { grid-template-columns: repeat(2, 1fr); }
  .roll-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .util-inner { padding: 8px 16px; gap: 10px; }
  .util-left { display: none; }
  .masthead-inner { grid-template-columns: 1fr; text-align: center; gap: 8px; padding: 0 16px; }
  .mast-left, .mast-right { display: none; }
  .wordmark { font-size: 38px; }
  .wordmark .red-dot { width: 18px; height: 18px; margin: 0 4px 4px 4px; }
  .nav-inner { padding: 0 16px; }
  .nav-inner a { font-size: 13px; padding: 12px 10px; }
  .read-next-inner { padding: 0 16px; }
  .main-content { padding: 20px 16px 32px; }
  .cover-story h1.headline { font-size: 32px; }
  .lead-story h3.headline { font-size: 22px; }
  .show-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .roll-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; padding: 0 16px; }
  .footer-bottom { padding: 20px 16px 0; }
}
/* ─────────────────────────────────────────────────────────────────────
   ADDITIONS for style.css
   Append to the bottom of /assets/css/style.css.
   ───────────────────────────────────────────────────────────────────── */

/* ─── Filmography card with poster thumbnail ────────────────────── */

.show-card-with-poster {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 14px;
}

.show-card-with-poster .show-poster {
  flex-shrink: 0;
  width: 64px;
  aspect-ratio: 2 / 3;
  background: var(--bg-tint, #f4f1ec);
  border: 1px solid var(--rule, #e6e6e6);
  overflow: hidden;
  position: relative;
}

.show-card-with-poster .show-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.show-card-with-poster .show-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.35;
  filter: grayscale(1);
}

.show-card-with-poster .show-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.show-card-with-poster .show-type    { margin-bottom: 6px; }
.show-card-with-poster .show-name    { margin-bottom: 4px; }
.show-card-with-poster .show-count   { margin: 0; }

/* ─── Hero sidebar story typography ─────────────────────────────── */

/* Restructured sidebar story: name as compact display headline,
   lede as serif italic dek (matches cover story rhythm at sidebar scale) */

.side-story .side-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 6px 0;
  transition: color 0.15s;
}

.side-story:hover .side-name {
  color: var(--brand-ink, var(--brand));
}

.side-story .side-dek {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  /* Limit to 3 lines to keep cards equal height */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Same pattern for list-story (Freshly Discovered list items) */
.list-story .list-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 6px 0;
  transition: color 0.15s;
}

.list-story:hover .list-name {
  color: var(--brand-ink, var(--brand));
}

.list-story .list-dek {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-story .list-readtime {
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ─── Browse page: shows-list view (when ?type=film or ?type=tv) ─── */

.browse-shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.browse-show-card {
  display: flex;
  flex-direction: column;
  background: var(--bg, #fff);
  border: 1px solid var(--rule, #e6e6e6);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.2s;
}

.browse-show-card:hover {
  border-color: var(--ink, #0a0a0a);
  transform: translateY(-2px);
}

.browse-show-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--bg-tint, #f4f1ec);
  overflow: hidden;
  position: relative;
}

.browse-show-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.browse-show-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  opacity: 0.3;
  filter: grayscale(1);
}

.browse-show-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.browse-show-meta {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand, #e40521);
}

.browse-show-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  color: var(--ink, #0a0a0a);
}

.browse-show-count {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 12px;
  color: var(--muted, #6a6a6a);
  margin-top: 4px;
}

/* ─── Clapboard utility class (bullets, accents, markers) ─── */
/* Use as: <span class="osa-clap"></span> for an inline red clapboard mark */
.osa-clap {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='6' y='40' width='88' height='56' fill='%23e40521' rx='2'/><line x1='16' y1='60' x2='84' y2='60' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><line x1='16' y1='76' x2='84' y2='76' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><g transform='rotate(-12 50 25)'><rect x='6' y='14' width='88' height='22' fill='%23e40521' rx='2'/><polygon points='14,14 26,14 36,36 24,36' fill='%23ffffff'/><polygon points='40,14 52,14 62,36 50,36' fill='%23ffffff'/><polygon points='66,14 78,14 86,36 74,36' fill='%23ffffff'/></g></svg>") center / contain no-repeat;
  flex-shrink: 0;
}

/* Use as a list marker — replace default bullets in any <ul class="osa-clap-list"> */
.osa-clap-list {
  list-style: none;
  padding-left: 0;
}
.osa-clap-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}
.osa-clap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='6' y='40' width='88' height='56' fill='%23e40521' rx='2'/><line x1='16' y1='60' x2='84' y2='60' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><line x1='16' y1='76' x2='84' y2='76' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.35'/><g transform='rotate(-12 50 25)'><rect x='6' y='14' width='88' height='22' fill='%23e40521' rx='2'/><polygon points='14,14 26,14 36,36 24,36' fill='%23ffffff'/><polygon points='40,14 52,14 62,36 50,36' fill='%23ffffff'/><polygon points='66,14 78,14 86,36 74,36' fill='%23ffffff'/></g></svg>") center / contain no-repeat;
}

/* ─── "Where to Watch" button (show.php hero) ─── */

.watch-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 20px;
  background: var(--ink, #0a0a0a);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink, #0a0a0a);
  transition: background 0.15s, border-color 0.15s;
}

.watch-btn:hover {
  background: var(--brand, #e40521);
  border-color: var(--brand, #e40521);
}

.watch-btn .watch-btn-label {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-btn .watch-btn-source {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

/* ─── Filmography full-bleed dark band ─── */
/* Breaks out of the main-content max-width using full-viewport-width trick.
   Uses calc() to handle scrollbar width properly. */
.filmography-band {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 20px 0 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  /* Prevent any sub-pixel overflow horizontally */
  max-width: 100vw;
}

.filmography-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Zero out the default .show-row margins inside the dark band — band has its own padding */
.filmography-band .show-row {
  margin-bottom: 0;
}

/* Tighter section-header inside the dark band */
.filmography-band .section-header {
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

/* Light variant of section-header for use on dark backgrounds */
.section-header-light h2,
.section-header-light .section-title {
  color: #fff;
}

.section-header-light::after {
  background: rgba(255, 255, 255, 0.22);
}

.section-more-group {
  display: flex;
  gap: 18px;
  align-items: center;
}

.section-header-light .section-more {
  color: rgba(255, 255, 255, 0.7);
}
.section-header-light .section-more:hover {
  color: var(--brand, #e40521);
}

/* ── Dark band card variant: poster-first vertical layout ── */
/* Override the horizontal show-card-with-poster layout when card is also .show-card-dark */
.show-card-dark.show-card-with-poster {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  transition: transform 0.2s;
}

.show-card-dark.show-card-with-poster:hover {
  border: none;
  transform: translateY(-3px);
}

/* Big posters: full width of card, 2:3 aspect, but capped so they stay tasteful */
.show-card-dark.show-card-with-poster .show-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 200px;
  /* When max-height kicks in, also cap the width proportionally so the aspect ratio holds */
  max-width: 133px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
  /* Subtle shadow to lift posters off the black */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.show-card-dark.show-card-with-poster:hover .show-poster {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.show-card-dark.show-card-with-poster .show-poster-placeholder {
  font-size: 64px;
  opacity: 0.25;
}

.show-card-dark.show-card-with-poster .show-card-body {
  padding: 0;
  display: block;
  text-align: center;
  max-width: 133px;
  margin-left: auto;
  margin-right: auto;
}

.show-card-dark.show-card-with-poster .show-type {
  font-size: 10px;
  margin-bottom: 4px;
}

.show-card-dark.show-card-with-poster .show-name {
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}

.show-card-dark.show-card-with-poster .show-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin: 0;
}

/* Mobile: 2 columns instead of 4 */
@media (max-width: 700px) {
  .filmography-band { padding: 28px 0 32px; margin-top: 32px; margin-bottom: 32px; }
  .filmography-inner { padding: 0 16px; }
  .section-more-group { flex-direction: column; align-items: flex-end; gap: 8px; }
  .filmography-band .show-row { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .show-card-dark.show-card-with-poster .show-name { font-size: 15px; }
}

/* ─── Scene case-file callout (sidebar block) ─── */

.scene-file {
  background: #fafafa;
  border: 1px solid var(--rule, #e6e6e6);
  border-top: 4px solid var(--ink, #0a0a0a);
  padding: 18px 20px 20px;
  margin: 20px 0;
}

.scene-file-header {
  border-bottom: 1px solid var(--rule, #e6e6e6);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.scene-file-eyebrow {
  display: block;
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand, #e40521);
  margin-bottom: 4px;
}

.scene-file-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, #0a0a0a);
  margin: 0;
}

.scene-file-still {
  margin: 0 -20px 14px;
  background: #000;
}

.scene-file-still img {
  width: 100%;
  height: auto;
  display: block;
}

.scene-file-still figcaption {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 11px;
  color: var(--muted, #6a6a6a);
  letter-spacing: 0.02em;
  padding: 8px 20px 0;
  background: #fafafa;
}

.scene-file-body {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text, #1a1a1a);
  margin-bottom: 14px;
}

.scene-file-meta {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--rule, #e6e6e6);
}

.scene-file-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
}

.scene-file-row dt {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #6a6a6a);
  margin: 0;
  padding-top: 2px;
}

.scene-file-row dd {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 13px;
  color: var(--ink, #0a0a0a);
  margin: 0;
}

/* ─── Connections / Cross-Reference block ─── */

.connections-block {
  background: var(--bg, #fff);
  border: 1px solid var(--rule, #e6e6e6);
  border-top: 4px solid var(--brand, #e40521);
  padding: 18px 20px 10px;
  margin: 20px 0;
}

.connections-header {
  border-bottom: 1px solid var(--rule, #e6e6e6);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.connections-eyebrow {
  display: block;
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand, #e40521);
  margin-bottom: 4px;
}

.connections-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, #0a0a0a);
  margin: 0;
}

.connections-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.connection-item {
  border-bottom: 1px solid var(--rule, #e6e6e6);
}
.connection-item:last-child {
  border-bottom: none;
}

.connection-link {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.connection-link:hover {
  opacity: 0.7;
}

.connection-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: 50% 22%;
  background: #1a1a1a;
}

.connection-thumb-empty {
  background: var(--bg-tint, #f4f1ec);
}

.connection-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.connection-name {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink, #0a0a0a);
}

.connection-show {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand, #e40521);
}

.connection-reason {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted, #6a6a6a);
  margin-top: 2px;
}

/* ─── Wikilinks (inline cross-profile references in body text) ─── */
.wikilink {
  color: var(--ink, #0a0a0a);
  border-bottom: 1px solid rgba(228, 5, 33, 0.4);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.wikilink:hover {
  color: var(--brand, #e40521);
  border-bottom-color: var(--brand, #e40521);
}

/* ─── Site-of-the-incident map (inside scene-file) ─── */

.scene-file-map {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule, #e6e6e6);
}

.scene-file-map-label {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #6a6a6a);
  margin-bottom: 8px;
}

.incident-map {
  width: 100%;
  height: 200px;
  background: #f4f1ec;
  border: 1px solid var(--rule, #e6e6e6);
  /* Leaflet sometimes needs explicit positioning context */
  position: relative;
  z-index: 0;
}

.scene-file-map-attribution {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 10px;
  color: var(--muted, #6a6a6a);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.scene-file-map-attribution a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
}

/* ─── Audio player ("Listen to this profile") ─── */

.profile-audio {
  margin-top: 16px;
  max-width: 480px;
}

.profile-audio-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: var(--ink, #0a0a0a);
  color: #fff;
  border: 1px solid var(--ink, #0a0a0a);
  cursor: pointer;
  text-align: left;
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s, border-color 0.15s;
}

.profile-audio-btn:hover {
  background: var(--brand, #e40521);
  border-color: var(--brand, #e40521);
}

.profile-audio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  flex-shrink: 0;
}

.profile-audio-icon-pause { display: none; }
.profile-audio.is-playing .profile-audio-icon-play { display: none; }
.profile-audio.is-playing .profile-audio-icon-pause { display: inline-flex; }

.profile-audio-label {
  flex: 1;
}

.profile-audio-time {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.profile-audio-sep {
  margin: 0 4px;
  opacity: 0.5;
}

.profile-audio-track {
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
}

.profile-audio-progress {
  height: 100%;
  width: 0%;
  background: var(--brand, #e40521);
  transition: width 0.1s linear;
}
