/* Abu Namous v2.2.0 — hero image must fill the visual frame edge-to-edge. */
body.home .anm-home-main .anm-hero-slider .anm-hero-visual{
  position:relative !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#123f58 !important;
}

body.home .anm-home-main .anm-hero-slider .anm-hero-visual > picture{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
}

body.home .anm-home-main .anm-hero-slider .anm-hero-visual > img,
body.home .anm-home-main .anm-hero-slider .anm-hero-visual > picture > img,
body.home .anm-home-main .anm-hero-slider .anm-hero-visual > .wp-post-image{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  max-width:none !important;
  min-height:100% !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

body.home .anm-home-main .anm-hero-slider .anm-hero-visual .anm-hero-float{
  position:absolute !important;
  z-index:5 !important;
}

/* Keep the frame height stable while the image itself always fills it. */
@media (min-width:921px){
  body.home .anm-home-main .anm-hero-slider .anm-hero-visual{
    height:430px !important;
    min-height:430px !important;
  }
}

@media (max-width:920px){
  body.home .anm-home-main .anm-hero-slider .anm-hero-visual{
    height:320px !important;
    min-height:320px !important;
  }
}

@media (max-width:640px){
  body.home .anm-home-main .anm-hero-slider .anm-hero-visual{
    height:250px !important;
    min-height:250px !important;
  }
}
