/* 1.9.33 — Shared record layout for Film, Art Project, Exhibition and Workshop.
 * One structure, one set of tokens:
 *   head (title + facts) → lead image → split text sections → wide media
 *   → split lists → action panel → more cards.
 * Loaded after film.css, content.css and photography.css. Site Design
 * overrides (body.mf-design-active …) stay stronger on purpose. */

.mfv-body .mf-rec{
  --mf-rec-ink:#252620;--mf-rec-text:#40443c;--mf-rec-muted:#6c7067;
  --mf-rec-rule:#d9d9d0;--mf-rec-panel:#eaece3;
  --mf-rec-serif:Georgia,"Times New Roman",serif;
  --mf-rec-sans:Arial,"Helvetica Neue",sans-serif;
  --mf-rec-body:17px;--mf-rec-gap:64px;--mf-rec-space:78px;
  max-width:1240px;margin:0 auto;padding:0 0 72px;
  font:400 var(--mf-rec-body)/1.75 var(--mf-rec-sans);color:var(--mf-rec-ink);
  overflow-wrap:anywhere;text-align:start;
}
/* The page shell gives the record the full width; the record sets its own edges.
 * Doubled class beats older per-type wrappers (e.g. Art Project's .mf-photo-site width:100%). */
body.mfv-body .mfv-main .mf-rec.mf-rec{width:calc(100% - 112px);max-width:1240px;margin-inline:auto}
body.mfv-body .mfv-main:has(>.mf-rec){max-width:none;width:100%;padding:0}
#mansour-film-page #film-content>.mf-rec{width:calc(100% - 112px);max-width:max(1240px,var(--mfv-max,1240px))}
.mfv-body .mf-rec figure{margin:0}
.mfv-body .mf-rec :is(h1,h2,h3){color:var(--mf-rec-ink)}
.mfv-body .mf-rec a{color:inherit}

/* 1 — Head */
.mfv-body .mf-rec .mf-rec-head{position:relative;padding:32px 0 0;border-bottom:1px solid var(--mf-rec-rule)}
.mfv-body .mf-rec .mf-rec-back{display:inline-block;font:400 13px/1.5 var(--mf-rec-sans);color:var(--mf-rec-muted);text-decoration:none}
.mfv-body .mf-rec .mf-rec-back:hover{color:var(--mf-rec-ink);text-decoration:underline;text-underline-offset:4px}
.mfv-body .mf-rec .mf-rec-head-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);column-gap:64px;align-items:end;padding:64px 0 64px}
.mfv-body .mf-rec .mf-rec-head-inner--solo{grid-template-columns:minmax(0,1fr)}
.mfv-body .mf-rec .mf-rec-titles{min-width:0}
.mfv-body .mf-rec .mf-rec-eyebrow{margin:0;font:600 11px/1.5 var(--mf-rec-sans);letter-spacing:.19em;text-transform:uppercase;color:var(--mf-rec-muted)}
.mfv-body .mf-rec .mf-rec-title{margin:14px 0 0;max-width:none;font:400 78px/1.04 var(--mf-rec-serif);letter-spacing:-.05em;text-wrap:balance;text-transform:none;color:var(--mf-rec-ink)}
.mfv-body .mf-rec .mf-rec-subtitle{margin:20px 0 0;max-width:720px;font:400 21px/1.5 var(--mf-rec-serif);letter-spacing:-.01em;color:var(--mf-rec-muted)}
.mfv-body .mf-rec .mf-rec-facts{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;border:0;min-width:0}
.mfv-body .mf-rec .mf-rec-facts>div{min-width:0}
.mfv-body .mf-rec :is(.mf-rec-facts,.mf-rec-aside-facts) dt{margin:0 0 3px;font:600 10px/1.4 var(--mf-rec-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--mf-rec-muted)}
.mfv-body .mf-rec :is(.mf-rec-facts,.mf-rec-aside-facts) dd{margin:0;font:400 14px/1.55 var(--mf-rec-sans);color:var(--mf-rec-ink)}
.mfv-body .mf-rec .mf-rec-facts a,.mfv-body .mf-rec .mf-rec-aside-facts a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.mfv-body .mf-rec .mf-rec-facts-note{color:var(--mf-rec-muted);font-size:13px}
/* Optional background image behind the head (Art Project "Hero background"). */
.mfv-body .mf-rec .mf-rec-head--image{padding:32px 40px 0;border:0;color:#fff;background:#202421;isolation:isolate;overflow:hidden}
.mfv-body .mf-rec .mf-rec-head-backdrop{position:absolute;inset:0;z-index:-1}
.mfv-body .mf-rec .mf-rec-head-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.72))}
.mfv-body .mf-rec .mf-rec-head-bg{display:block;width:100%;height:100%;object-fit:cover}
.mfv-body .mf-rec .mf-rec-head--image :is(.mf-rec-title,.mf-rec-back,.mf-rec-eyebrow,.mf-rec-subtitle,dt,dd,.mf-rec-facts-note){color:#fff}
.mfv-body .mf-rec .mf-rec-head--image :is(.mf-rec-eyebrow,.mf-rec-subtitle,dt,.mf-rec-facts-note,.mf-rec-back){color:rgba(255,255,255,.8)}

/* 2 — Lead image */
.mfv-body .mf-rec .mf-rec-lead{margin:40px 0 0}
.mfv-body .mf-rec .mf-rec-lead figure{position:relative;margin:0}
.mfv-body .mf-rec .mf-rec-lead a{display:block}
.mfv-body .mf-rec .mf-rec-lead img{display:block;width:100%;height:auto;max-height:92vh;object-fit:contain;margin-inline:auto}
.mfv-body .mf-rec .mf-rec-lead:not(.mf-rec-lead--bleed) img{width:auto;max-width:100%}
/* Film: the still runs the full window width under the head. */
.mfv-body .mf-rec .mf-rec-lead--bleed{width:100vw;max-width:none;margin-inline:calc(50% - 50vw);height:auto;min-height:0;max-height:none;background:#202421;overflow:hidden}
.mfv-body .mf-rec .mf-rec-lead--bleed img{width:100%;height:min(70vh,52vw);max-height:none;min-height:240px;object-fit:cover;object-position:var(--mfv-hero-position,50% 50%)}
.mfv-body.mfv-hero-natural .mf-rec .mf-rec-lead--bleed img{height:auto;max-height:86vh;object-fit:contain}
.mfv-body .mf-rec .mf-rec-lead .mf-rental-badge,.mfv-body .mf-rec .mf-rec-lead [class*="badge"]{position:absolute}

/* Sections share one rhythm: a rule, then the heading. */
.mfv-body .mf-rec .mf-rec-sec,.mfv-body .mf-rec>.mfs-section,.mfv-body .mf-rec>.mf-rec-gallery>.mfs-section,.mfv-body .mf-rec>.mfv-layout-wrap>.mfs-section{
  margin:var(--mf-rec-space) 0 0;padding:32px 0 0;border-top:1px solid var(--mf-rec-rule);border-bottom:0;min-width:0;max-width:none;background:none;
}
.mfv-body .mf-rec .mf-rec-lead+.mf-rec-sec,.mfv-body .mf-rec .mf-rec-lead+.mfv-layout-wrap>.mf-rec-sec{margin-top:var(--mf-rec-space)}
.mfv-body .mf-rec .mf-rec-h,.mfv-body .mf-rec>.mfs-section>h2,.mfv-body .mf-rec>.mf-rec-gallery>.mfs-section>h2,.mfv-body .mf-rec>.mfv-layout-wrap>.mfs-section>h2{
  margin:0 0 28px;padding:0;font:400 36px/1.2 var(--mf-rec-serif);letter-spacing:-.035em;text-transform:none;text-align:start;color:var(--mf-rec-ink);
}
/* 3–4, 6 — Split: heading left (35%), text right (65%). */
.mfv-body .mf-rec .mf-rec-split{display:grid;grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:var(--mf-rec-gap);align-items:start}
.mfv-body .mf-rec .mf-rec-split:not(:has(>.mf-rec-body)){grid-template-columns:minmax(0,1fr)}
.mfv-body .mf-rec .mf-rec-split>*{min-width:0}
.mfv-body .mf-rec .mf-rec-split .mf-rec-h{margin-bottom:22px}
.mfv-body .mf-rec .mf-rec-prose{max-width:740px;font:400 var(--mf-rec-body)/1.8 var(--mf-rec-sans);color:var(--mf-rec-text)}
.mfv-body .mf-rec .mf-rec-prose p{margin:0 0 1em;font:inherit;color:inherit}
.mfv-body .mf-rec .mf-rec-prose>:last-child,.mfv-body .mf-rec .mf-rec-prose p:last-child{margin-bottom:0}
.mfv-body .mf-rec .mf-rec-prose a{text-decoration:underline;text-underline-offset:3px}
.mfv-body .mf-rec .mf-rec-lede{margin:0 0 1.2em;font:400 23px/1.45 var(--mf-rec-serif);letter-spacing:-.01em;color:var(--mf-rec-ink)}
.mfv-body .mf-rec .mf-rec-lede p{margin:0 0 .6em}
.mfv-body .mf-rec .mf-rec-aside-note h3,.mfv-body .mf-rec .mf-rec-group h3{margin:0 0 6px;font:600 10px/1.4 var(--mf-rec-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--mf-rec-muted)}
.mfv-body .mf-rec .mf-rec-aside-note p{margin:0 0 4px;font:400 14px/1.6 var(--mf-rec-sans);color:var(--mf-rec-text)}
.mfv-body .mf-rec .mf-rec-aside-facts{display:flex;flex-direction:column;gap:14px;margin:0;padding:0}
/* Film prose uses the same reading type as every other record (film.css set Georgia on mobile). */
#mansour-film-page #film-content .mf-rec .mf-rec-prose{font:400 var(--mf-rec-body)/1.8 var(--mf-rec-sans);color:var(--mf-rec-text)}
/* Film director's statement photo sits under its heading. */
.mfv-body .mf-rec #statement .mfv-statement-photo{width:100%;max-width:420px;margin-top:6px}
.mfv-body .mf-rec #statement .mfv-statement-sized{width:min(100%,420px,calc(60vh * var(--mfv-statement-ratio)))}

/* 6 — Lists (festivals, credits, links, related records). */
.mfv-body .mf-rec .mf-rec-list{list-style:none;margin:0;padding:0;max-width:740px}
.mfv-body .mf-rec .mf-rec-list>li{margin:0;padding:12px 0;border-bottom:1px solid var(--mf-rec-rule);font:400 15px/1.55 var(--mf-rec-sans);color:var(--mf-rec-ink)}
.mfv-body .mf-rec .mf-rec-list>li:first-child{padding-top:0}
.mfv-body .mf-rec .mf-rec-list a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.mfv-body .mf-rec .mf-rec-list>li>a+a,.mfv-body .mf-rec .mf-rec-list-meta+a,.mfv-body .mf-rec .mf-rec-list-name+a{margin-inline-start:8px;font-size:13px}
.mfv-body .mf-rec .mf-rec-list-meta,.mfv-body .mf-rec .mf-rec-list .mfv-caption{color:var(--mf-rec-muted)}
.mfv-body .mf-rec .mf-rec-list .mfv-record-title{font:400 15px/1.55 var(--mf-rec-sans)}
.mfv-body .mf-rec .mf-rec-list .mfv-caption{margin:2px 0 0;font-size:13px;line-height:1.5}
.mfv-body .mf-rec .mf-rec-groups{display:grid;gap:28px}

/* 5 — Wide media sections keep their own grids; only spacing and headings are shared. */
.mfv-body .mf-rec .mf-rec-wide>.mf-rec-h{margin-bottom:28px}
.mfv-body .mf-rec .mfv-layout-wrap{width:auto;max-width:none;margin-inline:0;padding:0}
.mfv-body .mf-rec .mfv-layout-wrap:empty{display:none}
.mfv-body .mf-rec .mf-rec-editorial{margin-top:var(--mf-rec-space)}
.mfv-body .mf-rec .mf-exhibition-video-section h2{margin:0 0 28px}

/* 7 — Action panel (watch, prints, visit, registration). */
.mfv-body .mf-rec .mf-rec-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:48px;padding:40px;border:0;background:var(--mf-rec-panel);scroll-margin-top:24px}
.mfv-body .mf-rec .mf-rec-panel .mf-rec-h{margin:0 0 16px;font-size:34px}
.mfv-body .mf-rec .mf-rec-panel p,.mfv-body .mf-rec .mf-rec-panel address{margin:0 0 8px;font:400 15px/1.65 var(--mf-rec-sans);font-style:normal;color:var(--mf-rec-text)}
.mfv-body .mf-rec .mf-rec-panel a:not(.mfs-button):not(.mf-rec-button){text-decoration:underline;text-underline-offset:3px}
.mfv-body .mf-rec .mf-rec-panel .mf-rec-aside-facts{margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--mf-rec-rule)}
.mfv-body .mf-rec .mf-rec-panel-action .mf-rec-aside-facts{margin:0 0 16px;padding:0;border:0}
.mfv-body .mf-rec .mf-rec-panel .mf-rec-list{margin:0 0 18px}
.mfv-body .mf-rec .mf-rec-button,.mfv-body .mf-rec .mf-rec-panel .mfs-button{display:inline-block;padding:13px 20px;border:1px solid var(--mf-rec-ink);background:var(--mf-rec-ink);color:#fff;font:400 15px/1.4 var(--mf-rec-sans);text-decoration:none}
.mfv-body .mf-rec .mf-rec-button:hover,.mfv-body .mf-rec .mf-rec-panel .mfs-button:hover{background:#3b3d34;text-decoration:none}

/* 8 — More records. */
.mfv-body .mf-rec .mf-rec-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.mfv-body .mf-rec .mf-rec-cards article{min-width:0}
.mfv-body .mf-rec .mf-rec-cards a{display:block;text-decoration:none}
.mfv-body .mf-rec .mf-rec-card-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#dfe1d8}
.mfv-body .mf-rec .mf-rec-card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--mf-rec-card-focus,50% 50%);transition:transform .4s ease}
.mfv-body .mf-rec .mf-rec-cards a:hover img{transform:scale(1.03)}
.mfv-body .mf-rec .mf-rec-cards h3,.mfv-body .mf-rec .mf-rec-cards .mfv-related-title{margin:12px 0 0;font:400 19px/1.3 var(--mf-rec-serif);letter-spacing:-.015em}
.mfv-body .mf-rec .mf-rec-cards a:hover h3{text-decoration:underline;text-underline-offset:4px}
/* Film keeps its own card ratio option for More films. */
.mfv-body .mf-rec .mfv-related.mf-rec-cards img{aspect-ratio:var(--mfv-more-films-ratio,3/4);object-fit:var(--mfv-more-films-fit,cover);height:auto}

/* Shared components inside a record, aligned to the same rhythm. */
.mfv-body .mf-rec .mfs-selected-cards .mfs-card{background:transparent;border:0;box-shadow:none}

@media(max-width:1100px){
  .mfv-body .mf-rec{--mf-rec-gap:42px}
  body.mfv-body .mfv-main .mf-rec.mf-rec,#mansour-film-page #film-content>.mf-rec{width:calc(100% - 88px)}
  .mfv-body .mf-rec .mf-rec-head-inner{column-gap:42px;padding:56px 0}
  .mfv-body .mf-rec .mf-rec-title{font-size:62px}
  .mfv-body .mf-rec .mf-rec-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .mfv-body .mf-rec{--mf-rec-body:16px;--mf-rec-gap:20px;--mf-rec-space:52px}
  body.mfv-body .mfv-main .mf-rec.mf-rec,#mansour-film-page #film-content>.mf-rec{width:calc(100% - 40px)}
  .mfv-body .mf-rec .mf-rec-head{padding-top:22px}
  .mfv-body .mf-rec .mf-rec-head--image{padding:22px 20px 0}
  .mfv-body .mf-rec .mf-rec-head-inner{grid-template-columns:minmax(0,1fr);row-gap:26px;padding:40px 0 34px}
  .mfv-body .mf-rec .mf-rec-title{font-size:42px;letter-spacing:-.04em}
  .mfv-body .mf-rec .mf-rec-subtitle{font-size:18px;margin-top:14px}
  .mfv-body .mf-rec .mf-rec-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
  .mfv-body .mf-rec .mf-rec-lead{margin-top:24px}
  .mfv-body .mf-rec .mf-rec-lead--bleed img{height:auto;min-height:0;aspect-ratio:16/10}
  .mfv-body .mf-rec .mf-rec-sec,.mfv-body .mf-rec>.mfs-section,.mfv-body .mf-rec>.mf-rec-gallery>.mfs-section,.mfv-body .mf-rec>.mfv-layout-wrap>.mfs-section{padding-top:24px}
  .mfv-body .mf-rec .mf-rec-h,.mfv-body .mf-rec>.mfs-section>h2,.mfv-body .mf-rec>.mf-rec-gallery>.mfs-section>h2,.mfv-body .mf-rec>.mfv-layout-wrap>.mfs-section>h2{font-size:29px;margin-bottom:18px}
  .mfv-body .mf-rec .mf-rec-split{grid-template-columns:minmax(0,1fr)}
  .mfv-body .mf-rec .mf-rec-split .mf-rec-h{margin-bottom:0}
  .mfv-body .mf-rec .mf-rec-aside>.mf-rec-h:not(:last-child){margin-bottom:16px}
  .mfv-body .mf-rec .mf-rec-lede{font-size:20px}
  .mfv-body .mf-rec .mf-rec-panel{grid-template-columns:minmax(0,1fr);gap:22px;padding:24px 20px}
  .mfv-body .mf-rec .mf-rec-panel .mf-rec-h{font-size:28px}
  .mfv-body .mf-rec .mf-rec-cards{gap:22px 14px}
  .mfv-body .mf-rec .mf-rec-cards h3,.mfv-body .mf-rec .mf-rec-cards .mfv-related-title{font-size:16px}
}
