.fr-hero-wrap{
  position:relative;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow:hidden;
  background:#12212b;
  aspect-ratio:16 / 9;
  min-height:72vh;
  contain:layout style;
}
.fr-hero{
  position:absolute;
  inset:0;
  width:100%;
  min-height:100%;
  height:100%;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:72px 6% 48px;
  color:#fff;
  background:#12212b;
  box-sizing:border-box;
}
.fr-hero-poster{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  z-index:0!important;
}
.fr-hero video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  z-index:0!important;
  transform:none!important;
}
.fr-hero .fr-shade{
  position:absolute;inset:0;
  background:rgba(18,33,43,.28);
  z-index:1;pointer-events:none;
}
.fr-hero .fr-copy{position:relative;z-index:2;max-width:36rem;}
.fr-hero h1{color:#fff!important;font-size:clamp(28px,6vw,48px);margin:0 0 12px;line-height:1.15;}
.fr-hero p{color:#fff!important;margin:0;}
body.home #main-content .container,
body.page-id-12 #main-content .container{width:100%;max-width:100%;padding:0;}
.fr-hero-wrap ~ .fr-hero-wrap{display:none!important;}
#main-content .et_pb_module.et_pb_code,
#main-content .et_pb_code_inner,
#main-content .fr-hero{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;}

/* Mobile sticky bar (from mu-plugin, not Divi) */
#fr-mobilebar{display:none}
@media (max-width:980px){
  #fr-mobilebar{
    display:flex;position:fixed;z-index:2147483000;left:0;right:0;bottom:0;width:100%;
    box-sizing:border-box;background:#12212b;padding:10px;gap:8px;
  }
  #fr-mobilebar a{
    flex:1;text-align:center;padding:12px 5px;background:#BA1C22;color:#fff;
    text-decoration:none;font-weight:bold;font-size:12px;line-height:1.2;
  }
  #fr-mobilebar a:nth-child(2){background:#ece7df;color:#12212b}
  body.home, body.page-id-12{padding-bottom:84px!important}
}

@media (max-width:767px){
  .fr-hero-wrap{
    aspect-ratio:auto;
    min-height:calc(100dvh - 72px)!important;
    min-height:calc(100svh - 72px)!important;
  }
  .fr-hero{
    min-height:100%!important;
    height:100%!important;
    padding:88px 5% 28px;justify-content:flex-end;
  }
  .fr-hero video{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:35% center!important;
    transform:none!important;
  }
  body.home #main-header,
  body.home .et-l--header,
  body.page-id-12 #main-header{
    background:transparent!important;box-shadow:none!important;
  }
  .fr-hero-wrap{margin-top:-72px;}
}

/* FR SEO: hide Divi duplicate page H1 when content provides one */
body.page-id-12 h1.main_title.entry-title,
body.page-id-22 h1.main_title.entry-title,
body.page-id-20 h1.main_title.entry-title,
body.page-id-18 h1.main_title.entry-title,
body.page-id-24 h1.main_title.entry-title,
body.page-id-65 h1.main_title.entry-title,
body.page-id-67 h1.main_title.entry-title,
body.page-id-69 h1.main_title.entry-title,
body.page-id-71 h1.main_title.entry-title,
body.page-id-73 h1.main_title.entry-title{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
