/* NadirFilm v3.0.79 — Shared geometry for editorial curation pages.
   Applies to all existing and future selections using nf-curation-story.php.
   Keep individual art, backdrop, typography, film links and effects untouched.
   The dedicated Marvel watch-order guide has a different template and is excluded. */

/* All selection skins use the same two-row header dimensions; each keeps its
   own background colors, N emblem, search/profile styles and navigation. */
@media (min-width:761px) {
  body.nf-cur-skin .nf2-header-main {min-height:72px!important;}
  body.nf-cur-skin .nf2-header-discover {min-height:36px!important;}
}
@media (max-width:760px) {
  body.nf-cur-skin .nf2-header-main {min-height:65px!important;}
}

/* Shared rhythm from the site header to the hero, including the breadcrumb. */
@media (min-width:901px) {
  body .nf-curation { padding-top:34px!important; }
  body .nf-curation .nf-curation-back {
    min-height:18px; margin:10px 0 28px!important;
  }
}
@media (min-width:761px) and (max-width:900px) {
  body .nf-curation { padding-top:18px!important; }
  body .nf-curation .nf-curation-back {
    min-height:18px; margin:7px 0 18px!important;
  }
}

/* Unify the photographic opening's geometry, not its decoration.
   A single height prevents changing the selection from jumping the film list. */
@media (min-width:901px) {
  body .nf-curation .nf-curation-hero,
  body.nf-cur-skin--outsiders .nf-curation--outsiders .nf-curation-hero,
  body.nf-cur-skin--slasher-restored .nf-curation--slasher-restored .nf-curation-hero {
    box-sizing:border-box;
    height:clamp(570px,46vw,640px)!important;
    min-height:0!important;
    max-height:none!important;
  }
}
@media (min-width:761px) and (max-width:900px) {
  body .nf-curation .nf-curation-hero {
    box-sizing:border-box;
    height:550px!important;
    min-height:0!important;
  }
}

/* The first row's heading gets a matching baseline across collections.
   Existing overlines, serif/sans titles, accent bars and fine textures remain. */
body .nf-curation .nf-curation-section-title {
  min-height:127px;
  box-sizing:border-box;
}
body .nf-curation .nf-curation-section-title > div {min-width:0;}

/* Reality now has the same visible film-list heading as other collections. */
body.nf-cur-skin--neon .nf-curation--neon .nf-curation-section-title {
  display:flex!important;
  visibility:visible!important;
}

/* Mobile: common cover floor, with natural growth for accessibility and long
   titles. Never crop prose or interfere with 'Devamını oku' on expansion. */
@media (max-width:760px) {
  body .nf-curation {padding-top:18px!important;}
  body .nf-curation .nf-curation-back {min-height:18px;margin:7px 0 18px!important;}
  body .nf-curation .nf-curation-hero,
  body.nf-cur-skin--outsiders .nf-curation--outsiders .nf-curation-hero,
  body.nf-cur-skin--slasher-restored .nf-curation--slasher-restored .nf-curation-hero {
    box-sizing:border-box;
    min-height:570px!important;
    height:auto!important;
    max-height:none!important;
  }
  body .nf-curation .nf-curation-section-title {min-height:0;}
}
