/* XFANS V3.8 — visual regression correction
   Scope: restore approved real-photo treatment for the five business areas
   and protect the full HOME hero ball/XFANS mark from viewport cropping.
   No copy, navigation, roster, project data or page architecture changes. */

/* HOME hero: use the panorama across the full hero width so the ball and its XFANS mark remain visible. */
.home .hero-image{
  left:0!important;
  right:auto!important;
  width:100%!important;
  height:551px!important;
  object-fit:cover!important;
  object-position:right center!important;
}
.home .hero:after{
  inset:74px 0 0 0!important;
  background:linear-gradient(90deg,
    rgba(10,39,66,.99) 0%,
    rgba(10,39,66,.96) 28%,
    rgba(10,39,66,.70) 43%,
    rgba(10,39,66,.24) 63%,
    rgba(10,39,66,.04) 78%,
    transparent 100%)!important;
}

/* Five business areas: no blurred duplicate photograph, no tiny centered source image. */
.blended-photo{
  background:#08233c!important;
  overflow:hidden!important;
}
.blended-photo .photo-blur{
  display:none!important;
}
.blended-photo:after{
  display:none!important;
}
.blended-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#08233c!important;
  transform:none!important;
  filter:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

/* HOME business-area cards use the same real-photo assets without destructive crop. */
.v31-service-media{
  background:#08233c!important;
}
.v31-service-media img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#08233c!important;
  transform:none!important;
  filter:none!important;
}
.v31-service-card:hover .v31-service-media img{
  transform:none!important;
}

@media(max-width:980px){
  .home .hero-image{
    width:100%!important;
    object-position:82% center!important;
  }
  .home .hero:after{
    inset:68px 0 0 0!important;
    background:linear-gradient(90deg,rgba(10,39,66,.98),rgba(10,39,66,.82) 58%,rgba(10,39,66,.30))!important;
  }
}
