/* Inner-page work photos behind text; preserve the whole original image. */
.wp-content .wf-work-image{display:block!important;width:100%!important;height:auto!important;max-height:650px!important;object-fit:contain!important;object-position:center top!important;aspect-ratio:auto!important;transform:none!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image){position:relative!important;isolation:isolate!important;display:flex!important;align-items:center!important;min-height:650px!important;padding:72px 0!important;overflow:hidden!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-photo{position:absolute!important;inset:0 0 0 auto!important;width:68%!important;height:100%!important;z-index:-1!important;overflow:hidden!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-photo>.wf-work-image{height:100%!important;max-height:none!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-photo:after{content:""!important;display:block!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,var(--brand-navy),transparent 75%),linear-gradient(0deg,var(--brand-navy),transparent 45%)!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-inner{position:relative!important;z-index:1!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image) h1{max-width:680px!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image){position:relative!important;isolation:isolate!important;display:flex!important;align-items:center!important;min-height:620px!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image)>.wf-work-image{position:absolute!important;inset:0 0 0 auto!important;width:62%!important;height:100%!important;max-height:none!important;z-index:-2!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image):after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--brand-navy) 15%,transparent 85%),linear-gradient(0deg,var(--brand-navy),transparent 65%);}
.wp-content .seo-hero-grid:has(>.wf-work-image)>div{width:56%;}
@media(max-width:780px){
.wp-content .hero:has(>.hero-photo>.wf-work-image){min-height:850px!important;align-items:flex-end!important;padding:380px 0 36px!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-photo{width:100%!important;}
.wp-content .hero:has(>.hero-photo>.wf-work-image)>.hero-photo:after{background:linear-gradient(0deg,var(--brand-navy) 5%,oklch(21.9058% .040835 245.2551/.85) 35%,transparent 75%)!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image){min-height:820px!important;padding-top:370px!important;align-items:flex-end!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image)>.wf-work-image{width:100%!important;}
.wp-content .seo-hero-grid:has(>.wf-work-image)>div{width:100%;}
.wp-content .seo-hero-grid:has(>.wf-work-image):after{background:linear-gradient(0deg,var(--brand-navy) 5%,oklch(21.9058% .040835 245.2551/.85) 40%,transparent 80%);}
}
