/* KOVA service photo corrections — cache-safe add-on v2 */
body.kova-home .framed-photo-card .service-photo-window{
  --photo-window-height:250px;
  position:absolute!important;
  top:20px!important;
  left:20px!important;
  right:20px!important;
  height:var(--photo-window-height)!important;
  display:block!important;
  overflow:hidden!important;
  container-type:inline-size!important;
  z-index:0!important;
}
body.kova-home .framed-photo-card .service-photo-window .service-photo{
  top:0!important;
  left:0!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  transform:none!important;
}
body.kova-home .framed-photo-card .service-photo-window.is-rotated-cw .service-photo,
body.kova-home .framed-photo-card summary:hover .service-photo-window.is-rotated-cw .service-photo{
  top:50%!important;
  left:50%!important;
  width:var(--photo-window-height)!important;
  height:100cqw!important;
  transform:translate(-50%,-50%) rotate(90deg)!important;
  object-position:center!important;
}
body.kova-home .framed-photo-card .service-photo-window.is-rotated-ccw .service-photo,
body.kova-home .framed-photo-card summary:hover .service-photo-window.is-rotated-ccw .service-photo{
  top:50%!important;
  left:50%!important;
  width:var(--photo-window-height)!important;
  height:100cqw!important;
  transform:translate(-50%,-50%) rotate(-90deg)!important;
  object-position:center!important;
}
@media(max-width:680px){
  body.kova-home .framed-photo-card .service-photo-window{
    --photo-window-height:240px;
    top:16px!important;
    left:16px!important;
    right:16px!important;
  }
}

/* Unique premium colours for the second service row. */
body.kova-home .service-card.kova-taupe{
  background:#c8b8a6!important;
  color:#090909!important;
}
body.kova-home .service-card.kova-burgundy{
  background:#643146!important;
  color:#fff!important;
}
body.kova-home .service-card.kova-slate{
  background:#b7c2cf!important;
  color:#090909!important;
}
