/* STAVI V13 focused Services and shared CTA fixes */
/* Always reserve image width in the two-column Services grid. */
body.services-page .detail-services .detail-list{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:28px!important;
 align-items:stretch!important;
}
body.services-page .detail-services .detail-row{
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 min-width:0!important;
 overflow:hidden!important;
}
body.services-page .detail-services .detail-row > .detail-art{
 display:block!important;
 position:relative!important;
 flex:0 0 320px!important;
 align-self:stretch!important;
 width:100%!important;
 min-width:100%!important;
 height:320px!important;
 min-height:320px!important;
 max-height:320px!important;
 order:-1!important;
 overflow:hidden!important;
 background:#091222!important;
 border-radius:0!important;
 padding:0!important;
 opacity:1!important;
 visibility:visible!important;
}
body.services-page .detail-services .detail-row > .detail-art > img.service-photo-v10{
 position:absolute!important;
 top:0!important;
 left:0!important;
 display:block!important;
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 min-height:0!important;
 object-fit:contain!important;
 object-position:center center!important;
 filter:none!important;
 opacity:1!important;
 visibility:visible!important;
 transform:none!important;
 transition:transform .35s ease!important;
}
body.services-page .detail-services .detail-row:hover > .detail-art > img.service-photo-v10{
 transform:scale(1.012)!important;
}
body.services-page .detail-services .detail-row > .detail-heading{
 width:100%!important;
 min-width:0!important;
 flex:1 1 auto!important;
}
/* Newly generated image, dedicated to the 'Your Next Chapter' brand CTA.
   Applied to every shared final-cta section, not just Services. */
body .final-cta .cta-pane,
body.services-page .final-cta .cta-pane,
body .final-cta .container.cta-pane {
 background-image:linear-gradient(90deg,rgba(4,8,20,.92) 0%,rgba(4,8,20,.77) 38%,rgba(4,8,20,.19) 78%,rgba(4,8,20,.06) 100%),url('assets/cta-brand-identity-v13.webp')!important;
 background-position:center center!important;
 background-size:cover!important;
 background-repeat:no-repeat!important;
 min-height:430px!important;
}
body .final-cta .cta-graphic{display:none!important}
@media(max-width:980px){
 body.services-page .detail-services .detail-list{grid-template-columns:1fr!important;}
 body.services-page .detail-services .detail-row>.detail-art{flex-basis:350px!important;height:350px!important;min-height:350px!important;max-height:350px!important;}
}
@media(max-width:600px){
 body.services-page .detail-services .detail-row>.detail-art{flex-basis:250px!important;height:250px!important;min-height:250px!important;max-height:250px!important;}
 body .final-cta .cta-pane{background-position:65% center!important;background-image:linear-gradient(0deg,rgba(4,8,20,.96),rgba(4,8,20,.70) 49%,rgba(4,8,20,.12)),url('assets/cta-brand-identity-v13.webp')!important;}
}
