/* MovieFlow 4.9.1: scoped UI for classic themes, block themes and page builders.
   No global h1, section, image, font or sidebar rules. No JavaScript required. */
.mff-ui {
  --mff-bg:#f5f7fa; --mff-card:#ffffff; --mff-card-border:#dfe5ee;
  --mff-ink:#172337; --mff-muted:#65748a; --mff-navy:#151f31;
  --mff-navy2:#26364d; --mff-yellow:#ffca4d; --mff-yellow-hover:#ffdc83;
  --mff-provider-bg:#f8fafc; --mff-blue:#29476c;
  width:100%;max-width:none;margin:0 auto 30px;padding:0;
  color:var(--mff-ink);font:400 15px/1.62 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  overflow-wrap:anywhere;container-type:inline-size;
}
.mff-ui[data-mff-skin="neutral"] {
  --mff-navy:#253b55;--mff-navy2:#315474;--mff-yellow:#e9effb;
  --mff-yellow-hover:#d8e5fb;--mff-blue:#24517f;
}
.mff-ui,.mff-ui *,.mff-ui *::before,.mff-ui *::after {box-sizing:border-box}
.mff-ui :is(h1,h2,h3,p,figure,ul){margin-block-start:0}
.mff-ui a {text-decoration:none}
.mff-ui a:focus-visible,.mff-ui summary:focus-visible {outline:3px solid #eaa72f;outline-offset:3px}
.mff-ui :is(h1,h2,h3){font-family:inherit;letter-spacing:-.025em;color:inherit;line-height:1.2}
.mff-ui :is(.mff-film-hero,.mff-editorial-background,.mff-watch-section,.mff-availability-note,.mff-authorized-links){margin:0 0 22px}
.mff-ui :is(.mff-editorial-background,.mff-watch-section,.mff-availability-note,.mff-authorized-links){background:var(--mff-card);border:1px solid var(--mff-card-border);border-radius:14px;padding:24px}
.mff-ui .mff-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}
.mff-ui .mff-section-head h2,.mff-ui .mff-editorial-background h2,.mff-ui .mff-availability-note h2,.mff-ui .mff-authorized-links h2,.mff-ui .mff-related-movies h2 {font-size:clamp(20px,2.2vw,24px);font-weight:760;margin:0 0 10px;line-height:1.23}
.mff-ui .mff-section-meta{font-size:12px;color:#75839a;white-space:nowrap;line-height:1.5;padding-top:5px}

/* Cinema hero: readable, portrait poster, no stretching of source images. */
.mff-ui .mff-film-hero{
  position:relative;isolation:isolate;overflow:hidden;display:grid;
  grid-template-columns:minmax(125px,174px) minmax(0,1fr);align-items:center;gap:30px;
  padding:32px 36px;background:linear-gradient(113deg,#121b2c 0%,var(--mff-navy) 46%,var(--mff-navy2) 100%);
  color:#fff;border-radius:18px;min-height:282px;
  box-shadow:0 12px 28px rgb(22 35 51 / 10%);
}
.mff-ui .mff-film-hero::after{content:"";pointer-events:none;position:absolute;z-index:-1;
  right:-10%;top:-110%;width:50%;aspect-ratio:1;border-radius:50%;border:50px solid rgb(255 255 255 / 3%)}
.mff-ui .mff-film-art{width:100%;min-width:0;align-self:center}
.mff-ui .mff-hero-poster,.mff-ui .mff-poster-fallback {display:block;width:100%;max-width:174px;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:9px;background:#273246;box-shadow:0 12px 22px rgb(0 0 0 / 24%)}
.mff-ui .mff-poster-fallback{display:grid;place-items:center;color:#c6ced9;font-weight:750;font-size:12px;letter-spacing:.2em}
.mff-ui .mff-film-summary{min-width:0;position:relative;z-index:1}
.mff-ui .mff-film-eyebrow{font-weight:760;color:var(--mff-yellow);font-size:11px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;margin:0 0 10px}
.mff-ui .mff-hero-title{color:#fff!important;font-weight:780;font-size:clamp(24px,3.2vw,43px);letter-spacing:-.04em;line-height:1.12;margin:0 0 12px}
.mff-ui .mff-hero-title span{font-weight:450;color:#aebccd;white-space:nowrap}
.mff-ui .mff-film-facts{color:#b9c5d4;font-size:14px;margin:0 0 16px}
.mff-ui .mff-film-facts span{display:inline-block;padding:0 8px;color:#7b8da6}
.mff-ui .mff-film-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.mff-ui .mff-film-chips span{display:inline-flex;align-items:center;font-size:12px;line-height:1.25;padding:6px 12px;
  border:1px solid #43516a;border-radius:20px;color:#e3e9f2;background:rgb(255 255 255 / 3%)}
.mff-ui .mff-film-director{font-size:14px;line-height:1.5;color:#bfcbd9;margin:0 0 17px}
.mff-ui .mff-film-director strong{font-weight:760;color:#fff}
.mff-ui a.mff-film-jump,.mff-ui a.mff-film-jump:visited{
  display:inline-flex;align-items:center;gap:22px;min-height:44px;border-radius:7px;background:var(--mff-yellow);
  color:#192336!important;font-weight:760;font-size:14px;padding:10px 18px;text-decoration:none;box-shadow:none;
}
.mff-ui a.mff-film-jump:hover{background:var(--mff-yellow-hover);color:#172337!important}
.mff-ui a.mff-film-jump span{font-size:22px;line-height:1}

/* Story content and accessible native Read full story. */
.mff-ui .mff-editorial-background p,.mff-ui .mff-editorial-background .mff-story-full>p {
  color:#53647b!important;font-size:15px!important;line-height:1.73!important;
  max-width:none;width:100%;margin:0 0 13px!important;font-weight:400!important;letter-spacing:normal!important;
}
.mff-ui .mff-editorial-background .mff-story-readmore {padding:0;border:0;margin:0;background:transparent}
.mff-ui .mff-story-readmore>summary{display:block;list-style:none;cursor:pointer;padding:0;border:0;background:transparent;color:var(--mff-ink)}
.mff-ui .mff-story-readmore>summary::-webkit-details-marker{display:none}
.mff-ui .mff-story-teaser{display:block;color:#53647b;font-size:15px;line-height:1.75;max-width:none;width:100%;margin:0 0 8px}
.mff-ui .mff-story-control{display:inline-flex;align-items:center;gap:7px;padding:4px 0;background:transparent;
  color:var(--mff-blue);font-size:14px;line-height:1.45;font-weight:760;border:0;border-radius:0}
.mff-ui .mff-story-control:hover{text-decoration:underline}
.mff-ui .mff-story-close-label{display:none}
.mff-ui .mff-story-readmore[open] .mff-story-open-label,.mff-ui .mff-story-readmore[open] .mff-story-teaser{display:none}
.mff-ui .mff-story-readmore[open] .mff-story-close-label{display:inline}
.mff-ui .mff-story-readmore[open] .mff-story-control span[aria-hidden]{display:inline-block;transform:rotate(180deg)}
.mff-ui .mff-story-full{margin-top:15px}

/* Compact provider disclosures; one provider per native details element. */
.mff-ui .mff-watch-disclosure{font-size:13px;line-height:1.55;color:var(--mff-muted);margin:0}
.mff-ui .mff-watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mff-ui .mff-watch-provider{border:1px solid var(--mff-card-border);border-radius:11px;overflow:hidden;background:var(--mff-provider-bg);min-width:0;margin:0}
.mff-ui .mff-provider-summary{display:flex;align-items:center;min-height:71px;gap:12px;cursor:pointer;padding:11px 12px;list-style:none;border:0;color:var(--mff-ink)}
.mff-ui .mff-provider-summary::-webkit-details-marker{display:none}
.mff-ui .mff-provider-avatar{width:39px;height:39px;flex:none;display:grid;place-items:center;border-radius:9px;background:#e8edf4;
  color:#354d69;font-size:17px;font-weight:800;text-transform:uppercase}
.mff-ui .mff-provider-identity{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.25;gap:5px}
.mff-ui .mff-provider-identity strong{font-size:14px;color:var(--mff-ink);font-weight:760;text-transform:capitalize;overflow-wrap:anywhere}
.mff-ui .mff-provider-identity small{font-size:12px;color:var(--mff-muted)}
.mff-ui .mff-provider-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:35px;
  font-size:12px;line-height:1.4;font-weight:700;padding:7px 10px;border:1px solid #d7e1ec;background:#fff;border-radius:7px;color:var(--mff-blue)}
.mff-ui .mff-provider-action span{font-size:18px;line-height:.7}
.mff-ui .mff-watch-provider[open]>.mff-provider-summary .mff-provider-action span{transform:rotate(180deg)}
.mff-ui .mff-watch-provider[open]{background:#fff}
.mff-ui .mff-provider-panel{padding:0 12px 14px;border-top:1px solid #e8edf3}
.mff-ui a.mff-watch-button,.mff-ui a.mff-watch-button:visited{display:flex;align-items:center;justify-content:space-between;gap:12px;
  border-radius:7px;min-height:39px;margin:9px 0 0;padding:8px 10px;background:#eff4fa;color:#2c4b70!important;
  font-size:13px;font-weight:650;text-decoration:none}
.mff-ui a.mff-watch-button:hover{background:#e2edf9;color:#1d3e61!important}
.mff-ui a.mff-watch-pinned{background:#fff3d2;border:1px solid #eed894}
.mff-ui a.mff-watch-embed{background:#e8f5ff;border:1px solid #b7d9fa;color:#145487!important}
.mff-ui a.mff-watch-embed:hover{background:#d6ebff;color:#103e6b!important}
.mff-ui .mff-watch-more{margin:10px 0 0}
.mff-ui .mff-watch-more>summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--mff-blue);padding:6px 0}
.mff-ui .mff-watch-extra{max-height:230px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px}
.mff-ui .mff-watch-footnote{margin:14px 0 0;color:#8290a4;font-size:11px;line-height:1.55}
.mff-ui .mff-watch-unavailable p{color:var(--mff-muted);margin:0}

/* Related movies are filtered to other MovieFlow imports, never unrelated blog posts. */
.mff-ui .mff-related-movies{margin:25px 0 18px}
.mff-ui .mff-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mff-ui a.mff-related-item,.mff-ui a.mff-related-item:visited{display:flex;align-items:center;gap:10px;min-width:0;min-height:81px;
  padding:9px 10px;background:#fff;border:1px solid var(--mff-card-border);border-radius:11px;color:var(--mff-ink)!important;text-decoration:none}
.mff-ui a.mff-related-item:hover{border-color:#a7b8ce;box-shadow:0 4px 16px rgb(22 35 51 / 7%)}
.mff-ui .mff-related-art{display:grid;place-items:center;flex:0 0 45px;width:45px;height:61px;overflow:hidden;background:#e6edf5;color:#7990aa;border-radius:6px}
.mff-ui .mff-related-art img{width:100%;height:100%;object-fit:cover;display:block;margin:0}
.mff-ui .mff-related-placeholder{font-size:22px}
.mff-ui .mff-related-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.mff-ui .mff-related-copy strong{font-size:12px;font-weight:740;line-height:1.38;overflow-wrap:anywhere}
.mff-ui .mff-related-copy small{color:#7d8ba1;font-size:11px;font-weight:450}
.mff-ui .mff-related-arrow{flex:none;font-size:21px;color:#8294ab}
.mff-ui .mff-attribution{border-top:1px solid #e1e7ef;padding-top:16px;margin:20px 0 0;color:#7d8ba0;font-size:11px;line-height:1.6}
.mff-ui .mff-attribution a,.mff-ui .mff-attribution a:visited{color:#57728f;text-decoration:underline}

/* Conservative host-theme adapters, scoped to known MovieFlow single posts only. */
body.mff-modern-movie :is(.post-thumbnail,.entry-thumbnail,.featured-image-container,.wp-block-post-featured-image):empty {
  display:none!important;margin:0!important;padding:0!important;min-height:0!important;height:0!important;
}
body.mff-title-in-card :is(main article .entry-header>.entry-title,main article .post-header>.entry-title,main article h1.wp-block-post-title,
  main article header>.single-post-title,main article header>.post-title){display:none!important}
body.mff-title-in-card :is(main article .entry-header,main article .post-header):has(>.entry-title){min-height:0!important;padding-top:0!important;padding-bottom:0!important}

/* Container queries adapt to the actual theme content area, not screen width. */
@container (max-width:750px) {
  .mff-ui .mff-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mff-ui .mff-film-hero{padding:24px;gap:20px;grid-template-columns:minmax(105px,142px) minmax(0,1fr);min-height:230px}
  .mff-ui .mff-hero-title{font-size:clamp(21px,4.1vw,31px)}
}
@container (max-width:560px){
  .mff-ui .mff-watch-grid{grid-template-columns:minmax(0,1fr)}
  .mff-ui .mff-film-hero{padding:16px;gap:14px;grid-template-columns:100px minmax(0,1fr);min-height:0}
  .mff-ui .mff-hero-title{font-size:clamp(18px,4.5vw,24px)}
  .mff-ui .mff-film-facts{font-size:12px;margin-bottom:9px}
  .mff-ui .mff-film-chips{gap:5px;margin-bottom:10px}
  .mff-ui .mff-film-chips span{font-size:11px;padding:4px 7px}
  .mff-ui .mff-film-director{font-size:12px;margin-bottom:10px}
  .mff-ui .mff-film-eyebrow{font-size:10px;margin-bottom:8px}
  .mff-ui a.mff-film-jump{font-size:12px;gap:8px;padding:8px 10px;min-height:38px}
  .mff-ui :is(.mff-editorial-background,.mff-watch-section,.mff-availability-note,.mff-authorized-links){padding:18px}
  .mff-ui .mff-section-head{flex-wrap:wrap;gap:0}
}
@container (max-width:390px){
  .mff-ui .mff-related-grid{grid-template-columns:minmax(0,1fr)}
  .mff-ui .mff-film-hero{grid-template-columns:82px minmax(0,1fr);gap:10px}
  .mff-ui .mff-film-hero .mff-hero-poster{max-width:82px}
  .mff-ui .mff-film-chips span:nth-child(n+3){display:none}
  .mff-ui .mff-provider-action{padding:6px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.mff-ui *{scroll-behavior:auto!important;transition:none!important}}

/* v4.9.1 — use all of the existing content column and avoid an empty poster column. */
.mff-ui .mff-film-hero--text-only {grid-template-columns:minmax(0,1fr);min-height:0;padding:34px clamp(20px,4vw,46px)}
.mff-ui .mff-film-hero--text-only .mff-film-summary {width:100%;max-width:none}
.mff-ui .mff-editorial-background,.mff-ui .mff-story-readmore,.mff-ui .mff-story-full {width:100%;max-width:none}
@container (max-width:540px) { .mff-ui .mff-film-hero--text-only {grid-template-columns:minmax(0,1fr)} }

/* v4.9.6 classic movie FAQ: isolated, keyboard-friendly, responsive. */
.mff-ui .mff-movie-faq{margin:26px 0 22px;padding:20px 24px;border:1px solid #dce5ef;border-radius:16px;background:#fff;color:#172538}
.mff-ui .mff-movie-faq h2{font-size:clamp(19px,2vw,25px);line-height:1.3;margin:0 0 16px}
.mff-ui .mff-faq-row{border-top:1px solid #e5ebf3;padding:0}
.mff-ui .mff-faq-row>summary{padding:14px 2px;cursor:pointer;font-size:15px;font-weight:700;line-height:1.5;list-style:none;display:flex;justify-content:space-between;gap:12px}
.mff-ui .mff-faq-row>summary::-webkit-details-marker{display:none}
.mff-ui .mff-faq-row>summary:after{content:'+';color:#58718c;font-weight:500;font-size:20px}
.mff-ui .mff-faq-row[open]>summary:after{content:'−'}
.mff-ui .mff-faq-row p{font-size:14px;line-height:1.75;color:#52647b;margin:0 0 16px;max-width:none}
@container(max-width:560px){.mff-ui .mff-movie-faq{padding:16px}.mff-ui .mff-faq-row>summary{font-size:14px}}

/* MovieFlow 4.9.10: independently visible movie-specific option, even if source links are hidden. */
.mff-ui .mff-watch-option2{border:1px solid #b7d9fa;border-radius:11px;background:#f0f8ff;padding:12px;display:flex;flex-direction:column;gap:12px;min-width:0}
.mff-ui .mff-watch-option2-label{display:flex;flex-direction:column;gap:3px;color:#145487}
.mff-ui .mff-watch-option2-label strong{font-size:14px}
.mff-ui .mff-watch-option2-label small{font-size:12px;opacity:.8}
.mff-ui .mff-watch-option2 a.mff-watch-button{margin:0}

/* Option 2 lookup is a status, not an unverified playable video. */
.mff-ui .mff-watch-pending{background:transparent;border-color:var(--mff-border,#d6dce5)}
.mff-ui .mff-watch-pending .mff-watch-option2-label{color:var(--mff-muted,#556171)}
.mff-ui .mff-watch-pending a{font-size:13px;text-decoration:underline}
