/* Native Cover provides the layout and overlay; the poster is the default state. */
.wp-block-cover.is-style-neverno-film {
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--wp--custom--radius--outer, 50px);
  background-color: var(--wp--preset--color--ink, #191919);
}
.wp-block-cover.is-style-neverno-film > .nvrn-film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.wp-block-cover.is-style-neverno-film[data-neverno-film] > video.wp-block-cover__video-background {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.wp-block-cover.is-style-neverno-film[data-neverno-film-state="playing"] > video.wp-block-cover__video-background {
  opacity: 1;
}
.wp-block-cover.is-style-neverno-film[data-neverno-film-state="playing"] > .nvrn-film-poster {
  opacity: 0;
}
.wp-block-cover.is-style-neverno-film > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
/* Existing art-directed backgrounds remain native Covers: replace their media
   through the Cover toolbar/List View without rebuilding the hero or card. */
.wp-block-cover.is-style-neverno-film.nvrn-hero-media,
.wp-block-cover.is-style-neverno-film.nvrn-case-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  isolation: auto;
  pointer-events: none;
}
.wp-block-cover.is-style-neverno-film.nvrn-hero-media { z-index: -3; }
.wp-block-cover.is-style-neverno-film.nvrn-case-media { z-index: -2; }
.wp-block-cover.nvrn-hero-media > img.wp-block-cover__image-background {
  position: absolute;
  width: 121.126%;
  max-width: none;
  height: 145.635%;
  left: -12.101%;
  top: -40.423%;
  object-fit: cover;
}
/* Uploaded project assets already contain their intended crop/composition. */
.nvrn-case .nvrn-case-media img,
.nvrn-case .wp-block-cover.nvrn-case-media > img.wp-block-cover__image-background {
 position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%;
 object-fit: cover; transform: none; mix-blend-mode: normal;
}
.nvrn-case:hover .nvrn-case-media, .nvrn-case:focus-within .nvrn-case-media { transform: none; }
/* New films and their chosen poster use a clean native Cover crop, rather than
   inheriting the rotations authored for the Figma still-image placeholders. */
.wp-block-cover.is-style-neverno-film[data-neverno-film].nvrn-hero-media > :is(video.wp-block-cover__video-background, img.nvrn-film-poster),
.wp-block-cover.is-style-neverno-film[data-neverno-film].nvrn-case-media > :is(video.wp-block-cover__video-background, img.nvrn-film-poster) {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: none;
  mix-blend-mode: normal;
}
.editor-styles-wrapper .wp-block-cover.is-style-neverno-film.nvrn-hero-media,
.editor-styles-wrapper .wp-block-cover.is-style-neverno-film.nvrn-case-media {
  z-index: 0;
  pointer-events: auto;
}
@media (max-width: 781px) {
  .wp-block-cover.nvrn-hero-media > img.wp-block-cover__image-background {
    width: 170%;
    height: 100%;
    left: -46%;
    top: 0;
  }
}
@media (max-width: 600px) {
  .wp-block-cover.is-style-neverno-film {
    border-radius: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-cover.is-style-neverno-film[data-neverno-film] > video.wp-block-cover__video-background {
    opacity: 0;
  }
  .wp-block-cover.is-style-neverno-film > .nvrn-film-poster {
    opacity: 1 !important;
  }
}
