/* AURA 8.6.6 — selected-template HMO presentation.
   No content, images or Gutenberg block markup changed.
   Locked pages remain excluded by PHP: home, projects, about, insights. */

/* Developers and other templates whose main output starts with post-content/patterns rather than aura-new-service-page. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page){margin:0!important;padding:0!important;background:#fff!important;color:#15354c!important}

/* Treat the first substantial editable content section as an HMO-style opening section without replacing it. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content{margin:0!important;padding:0!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child{position:relative!important;min-height:720px!important;margin:0!important;display:flex!important;align-items:center!important;overflow:hidden!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child:after{content:""!important;position:absolute!important;inset:0!important;z-index:2!important;background:linear-gradient(90deg,rgba(2,12,20,.90) 0%,rgba(3,16,27,.72) 30%,rgba(3,16,27,.34) 52%,rgba(3,16,27,.08) 72%,transparent 88%)!important;pointer-events:none!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child>.wp-block-cover__inner-container{position:relative!important;z-index:3!important;width:min(1600px,calc(100% - 80px))!important;margin:auto!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child :where(h1,h2,h3,p){color:#fff!important}

/* Existing editable content groups get the same generous HMO page rhythm. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-group:not(.alignfull),
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-columns:not(.alignfull),
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-media-text:not(.alignfull){width:min(1600px,calc(100% - 96px))!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-group{padding-top:clamp(78px,7vw,112px)!important;padding-bottom:clamp(78px,7vw,112px)!important}

/* Pattern output used by Developers and planning/developer templates. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-group,
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-columns,
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-media-text{box-sizing:border-box!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-group:not(.alignfull):not(.aura-content-710){width:min(1600px,calc(100% - 96px))!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-group.alignfull:not(.aura-dark-service):not(.aura-visual-story){padding-top:clamp(78px,7vw,112px)!important;padding-bottom:clamp(78px,7vw,112px)!important}

/* HMO typography for existing headings only; wording remains untouched. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) :where(h1,h2,h3){font-weight:500!important;letter-spacing:-.045em!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) :where(h1){font-size:clamp(54px,6vw,100px)!important;line-height:.92!important;letter-spacing:-.06em!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) :where(h2){font-size:clamp(44px,4.8vw,82px)!important;line-height:.94!important;letter-spacing:-.055em!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) :where(h3){font-size:clamp(27px,2.4vw,40px)!important;line-height:1.03!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) :where(p){line-height:1.65!important}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) .aura-eyebrow{color:#c8a86b!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.19em!important}

/* Preserve editor-selected colours/backgrounds. */
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) .has-background{background-color:var(--wp--preset--color--background,inherit)}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) .has-text-color{color:var(--wp--style--color--text,inherit)}
body.aura-hmo-look-page #aura-main:not(.aura-new-service-page) .wp-block-button__link{border-radius:0!important}

@media(max-width:900px){
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child{min-height:600px!important}
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-cover:first-child>.wp-block-cover__inner-container{width:calc(100% - 40px)!important}
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-group:not(.alignfull),
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-columns:not(.alignfull),
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-post-content>.wp-block-media-text:not(.alignfull),
 body.aura-hmo-look-page #aura-main:not(.aura-new-service-page)>.wp-block-group:not(.alignfull):not(.aura-content-710){width:calc(100% - 40px)!important}
}
