/* ============================================================
   FILM BLOCK — shared component
   Used by /podcast/ (featured film band) and /podcast/episode-NNN/ (hero).
   Built once, imported in both places. Reuses existing color tokens
   (:root defined per page) and existing fonts (Playfair Display, Inter).
   No new fonts, no new colors.
   ------------------------------------------------------------
   The documentary "slate" is a custom element <film-slate> that takes
   four props (location, date, venue, runtime). Future city installments
   change only those four attribute values.
   ============================================================ */

.film-block {
  background: var(--green-black);
  color: var(--off-white);
  padding: 100px 56px;
}
/* When the block is used as a page hero (episode page), clear the fixed nav. */
.film-block.is-hero { padding-top: 140px; padding-bottom: 88px; }

.film-inner { max-width: 1040px; margin: 0 auto; }

.film-eyebrow { color: var(--gold); margin-bottom: 24px; }

.film-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--off-white);
  margin-bottom: 24px;
}

.film-dek {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--cream-body-dark);
  max-width: 760px;
  margin-bottom: 40px;
}

/* ---- Documentary slate (custom element) ---- */
film-slate { display: block; margin: 0 0 44px; }
.film-slate-rule {
  display: block;
  width: 100%;
  max-width: 760px;
  height: 2px;
  background: var(--fuschia);
  margin-bottom: 16px;
}
.film-slate-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase; /* small-caps treatment, matches site meta rows */
  font-weight: 600;
  color: var(--cream-body-dark);
  opacity: 0.72;
}

/* ---- Video: click-to-load facade (no live iframe on load) ---- */
.film-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  margin-bottom: 36px;
}
.film-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: #000;
  cursor: pointer;
  display: block;
}
.film-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--fuschia);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.film-play::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 26px solid var(--off-white);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}
.film-facade:hover .film-play { transform: translate(-50%, -50%) scale(1.06); }
.film-facade:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.film-embed { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Links below the video ---- */
.film-links { margin-bottom: 28px; }
.film-link-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--green-black);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  min-height: 52px;
  transition: background 0.25s, transform 0.2s;
}
.film-link-primary:hover { background: var(--mint-text); transform: translateY(-2px); }
.film-secondary-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.film-link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cream-body-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  min-height: 48px;
  transition: border-color 0.2s, color 0.2s;
}
.film-link-secondary:hover { border-color: var(--mint-text); color: var(--mint-text); }

.film-credit {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-body-dark);
  opacity: 0.6;
  font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .film-block { padding: 80px 24px; }
  .film-block.is-hero { padding-top: 110px; padding-bottom: 64px; }
}
@media (max-width: 540px) {
  .film-block { padding: 64px 20px; }
  .film-block.is-hero { padding-top: 100px; }
  .film-play { width: 68px; height: 68px; }
  .film-play::before { border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; }
  .film-link-primary { width: 100%; }
  .film-secondary-row { flex-direction: column; }
  .film-link-secondary { width: 100%; }
}

/* ---- Motion preference: no hover scaling ---- */
@media (prefers-reduced-motion: reduce) {
  .film-play,
  .film-facade:hover .film-play { transition: none !important; transform: translate(-50%, -50%) !important; }
  .film-link-primary:hover { transform: none !important; }
}
