/* A homepage-only enhancement: the existing Divi content remains the source of truth. */
body.home #page-container .bm-hero {
  isolation:isolate;
  overflow:hidden;
  padding-bottom:116px;
  background:#050505 url('./bm-hero-desktop-poster-v2.webp') center/cover no-repeat;
}
body.home #page-container .bm-hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.48) 0%,rgba(0,0,0,.76) 29%,rgba(0,0,0,.79) 70%,rgba(0,0,0,.84) 90%,#000 100%);
}
body.home #page-container .bm-hero .bm-orbit {display:none;}
body.home #page-container .bm-hero .bm-hero-inner {z-index:1;}
body.home #page-container .bm-hero .bm-hero-inner h1,
body.home #page-container .bm-hero .bm-hero-inner p {text-shadow:0 2px 28px rgba(0,0,0,.35);}
body.home #page-container .bm-hero .bm-discover {color:#eee!important;}
body.home #page-container .bm-hero-film {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:-1;
  pointer-events:none;
  opacity:0;
  transition:opacity .6s ease;
}
body.home #page-container .bm-hero-film.has-frame {opacity:1;}
body.home #page-container .bm-hero-film-controls {
  position:absolute;
  z-index:2;
  bottom:24px;
  left:20px;
  right:20px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px 22px;
  color:#eee;
  font-family:inherit;
  font-weight:600;
  font-size:12px;
  line-height:1.5;
}
body.home #page-container .bm-hero-film-caption {
  font-size:11px;
  line-height:1.5;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.home #page-container button.bm-hero-film-toggle {
  appearance:none;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:10px 17px;
  margin:0;
  background:rgba(0,0,0,.78)!important;
  color:#fff!important;
  border:1px solid #b7b7b7!important;
  border-radius:9px;
  font-family:inherit;
  font-weight:700;
  font-size:12px;
  line-height:1.4;
  cursor:pointer;
  transition:border-color .2s,background-color .2s;
}
body.home #page-container button.bm-hero-film-toggle:hover {border-color:#ff00ff!important;background:#1b071b!important;}
body.home #page-container button.bm-hero-film-toggle:focus-visible {outline:3px solid #ff00ff;outline-offset:4px;}
body.home #page-container .bm-hero-film-icon {width:12px;height:14px;display:block;position:relative;flex-shrink:0;}
body.home #page-container .bm-hero-film-icon::before {content:"";position:absolute;left:1px;top:1px;border-left:10px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;}
body.home #page-container .bm-hero-film-toggle.is-playing .bm-hero-film-icon::before {border:0;border-left:3px solid currentColor;border-right:3px solid currentColor;width:9px;height:12px;}
@media(max-width:767px) {
  body.home #page-container .bm-hero {background-image:url('./bm-hero-mobile-poster-v2.webp');padding-bottom:124px;}
  body.home #page-container .bm-hero-film-controls {gap:8px 16px;bottom:20px;}
  body.home #page-container .bm-hero-film-caption {max-width:165px;font-size:10px;letter-spacing:.055em;}
}
@media(prefers-reduced-motion:reduce) {
  body.home #page-container .bm-hero-film,
  body.home #page-container button.bm-hero-film-toggle {transition:none;}
}
