/* AURA 8.7.7 — robust HMO treatment independent of saved FSE template wrappers. */

/* The five service pages receive the HMO system from the body class, even when WordPress renders an older DB template. */
body.aura-hmo-look-page #aura-main{margin:0!important;padding:0!important;max-width:none!important;background:#fff!important}
body.aura-hmo-look-page #aura-main>.wp-block-post-content{margin:0!important;padding:0!important;max-width:none!important}

/* Any editable Cover used as the first page block gets the approved full-height left vignette. */
body.aura-hmo-look-page #aura-main>.wp-block-post-content>.wp-block-cover:first-child,
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child,
body.page-developers #aura-main .aura-developers-hero{position:relative!important;margin:0!important;padding-top:0!important;overflow:hidden!important}
body.aura-hmo-look-page #aura-main>.wp-block-post-content>.wp-block-cover:first-child:before,
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child:before,
body.page-developers #aura-main .aura-developers-hero:before{content:""!important;display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;background:linear-gradient(90deg,rgba(2,12,20,.94) 0%,rgba(3,16,27,.78) 30%,rgba(3,16,27,.38) 52%,rgba(3,16,27,.09) 72%,rgba(3,16,27,0) 88%)!important;z-index:2!important;pointer-events:none!important}
body.aura-hmo-look-page #aura-main>.wp-block-post-content>.wp-block-cover:first-child>.wp-block-cover__inner-container,
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child>.wp-block-cover__inner-container,
body.page-developers #aura-main .aura-developers-hero>.wp-block-cover__inner-container{position:relative!important;z-index:3!important}

/* Editable content groups — same cream / navy / editorial rhythm as HMO. */
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro){width:100%!important;max-width:none!important;margin:0!important;padding:clamp(90px,8vw,130px) max(48px,calc((100vw - 1600px)/2))!important;background:#f1eee7!important;box-sizing:border-box!important}
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro) h2{color:#153a55!important;font-size:clamp(54px,5.3vw,90px)!important;line-height:.92!important;letter-spacing:-.06em!important;font-weight:500!important}
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro) h3{color:#153a55!important}
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro) .wp-block-columns{gap:0!important;margin-top:60px!important;border-top:1px solid rgba(21,53,76,.18)!important;border-bottom:1px solid rgba(21,53,76,.18)!important}
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro) .wp-block-column{padding:38px 42px 44px 0!important}
body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro) .wp-block-column+.wp-block-column{padding-left:42px!important;border-left:1px solid rgba(21,53,76,.16)!important}
body.aura-hmo-look-page #aura-main :is(.aura-dark-service,.aura-hmo-dark,.aura-project-evidence){width:100%!important;max-width:none!important;margin:0!important;padding:clamp(90px,8vw,125px) max(48px,calc((100vw - 1600px)/2))!important;background:#071725!important;color:#fff!important;box-sizing:border-box!important}
body.aura-hmo-look-page #aura-main :is(.aura-dark-service,.aura-hmo-dark,.aura-project-evidence) :where(h1,h2,h3,h4,h5,h6,p,a){color:#fff!important}
body.aura-hmo-look-page #aura-main .aura-eyebrow{color:#c8a86b!important}
body.aura-hmo-look-page #aura-main :is(.aura-developer-enquiry,.aura-hmo-final){background:#e9e9e6!important}

@media(max-width:900px){body.aura-hmo-look-page #aura-main :is(.aura-content-710,.aura-service-intro,.aura-hmo-intro,.aura-dark-service,.aura-hmo-dark,.aura-project-evidence){padding-left:20px!important;padding-right:20px!important}body.aura-hmo-look-page #aura-main .wp-block-columns{display:block!important}body.aura-hmo-look-page #aura-main .wp-block-column{padding:30px 0!important;border-left:0!important}}
