/* Minimal styles for the six new preview works only. Do not change shared site or work-list CSS. */

.work-poster.is-pending{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:.75rem;
  letter-spacing:.02em;
  text-align:center;
  padding:.75rem;
}

.project-synopsis{
  margin-top:1.25rem;
  max-width:40rem;
  color:var(--muted);
  font-size:.875rem;
  line-height:1.5;
}

/* 854: shared .player is a 16:9 box and .player iframe is position:absolute;
   inset:0; height:100%. That fill rule must not apply inside the Instagram
   player, or the official iframe cannot give the container height.
   458 rematch: height:auto on the IG iframe overrode the official height
   attribute and the used height fell back to the ~150px iframe default
   (measured 693×152 — header plus a thin video strip, controls cropped).
   Do not set height on the IG iframe. The official attribute / inline style
   from embed.js must apply. Shared fill is scoped with
   .player:not(.player-instagram) iframe in site.css so height:100% does not
   return here. YouTube pages keep the original fill. */
.player.player-instagram{
  aspect-ratio:auto;
  height:auto;
  overflow:visible;
  background:#000;
}

.player.player-instagram iframe{
  position:static;
  inset:auto;
  width:100%;
  max-width:100%;
  border:0;
  display:block;
}

.instagram-embed-frame{
  width:100%;
  max-width:100%;
}

.instagram-embed-frame .instagram-media{
  margin:0 auto !important;
  max-width:100% !important;
  min-width:0 !important;
  background:#000 !important;
}


/* BFI series pager: Mursee-style title + 01/03 sync on one stage.
   Keep Ice Cube Geist Mono / muted gray type. Do not borrow giant homepage type. */
.series-pager{margin-top:.75rem}
.series-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.35rem .6rem;
  margin:0;
  font-size:.875rem;
  letter-spacing:.02em;
  color:var(--ink);
}
.series-head [data-series-title]{font-size:.875rem;font-weight:400}
.series-head [data-series-index],
.series-dot{color:var(--muted);font-size:.75rem}
.series-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem;
  margin-top:.75rem;
}
.series-controls button{
  color:var(--muted);
  font-size:.75rem;
  letter-spacing:.02em;
  min-height:44px;
  min-width:44px;
  padding:0 .85rem;
  border:1px solid var(--line);
  background:transparent;
}
.series-controls button:hover{color:var(--ink);border-color:var(--ink)}
.series-controls button[aria-current="true"]{color:var(--ink);border-color:var(--ink)}
.series-controls button:disabled,
.series-controls button[aria-disabled="true"]{color:var(--muted);opacity:.45;cursor:not-allowed}
.series-live{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}

/* r13: selected film source cover; no player or light styling changes. */
[data-series-pager] .series-cover{width:64px;height:40px;object-fit:contain;align-self:center;flex:none}
[data-series-pager] [data-series-title]{overflow-wrap:anywhere;min-width:0}
