/* Sky Sat V27 – show complete service/location photographs in subpage heroes.
   Header, navigation, logo, page body and footer are intentionally untouched. */
.ss-subhero-grid .ss-subhero-visual{
  isolation:isolate!important;
  background:#10274b!important;
}
.ss-subhero-grid .ss-subhero-visual::after{
  content:""!important;
  position:absolute!important;
  inset:-22px!important;
  z-index:0!important;
  background-image:var(--ss-subhero-image,none)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  filter:blur(18px) brightness(.60) saturate(.82)!important;
  opacity:.72!important;
  transform:scale(1.06)!important;
  pointer-events:none!important;
}
.ss-subhero-grid .ss-subhero-visual>img{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:right center!important;
  padding:8px 18px!important;
  box-sizing:border-box!important;
  background:transparent!important;
}
.ss-subhero-grid .ss-subhero-visual::before{
  z-index:2!important;
  pointer-events:none!important;
}
/* The original panoramic photo used on location pages is allowed to span the
   whole hero. Its full aspect ratio is preserved instead of zoom-cropping it
   into the right-hand half of the banner. */
@media (min-width:761px){
  .ss-subhero-grid .ss-subhero-visual.ss-subhero-visual--wide{
    left:0!important;
    right:0!important;
    width:100%!important;
  }
  .ss-subhero-grid .ss-subhero-visual.ss-subhero-visual--wide>img{
    object-position:center center!important;
    padding:0!important;
  }
  .ss-subhero-grid .ss-subhero-visual.ss-subhero-visual--wide::before{
    width:66%!important;
    background:linear-gradient(90deg,#071b3a 0%,rgba(7,27,58,.88) 22%,rgba(7,27,58,.54) 52%,rgba(7,27,58,.12) 84%,rgba(7,27,58,0) 100%)!important;
  }
  .ss-subhero-grid .ss-subhero-visual.ss-subhero-visual--wide::after{
    opacity:.20!important;
    filter:blur(13px) brightness(.48)!important;
  }
}
@media (max-width:760px){
  .ss-subhero-grid .ss-subhero-visual>img{
    object-position:center center!important;
    padding:6px 12px!important;
  }
  .ss-subhero-grid .ss-subhero-visual.ss-subhero-visual--wide>img{
    padding:0!important;
  }
}
