/* AURA 8.6.4 — HMO visual language for unlocked pages only.
   Content, images and Gutenberg block structure are untouched.
   Explicitly excluded: home, projects, about, insights. */

body.aura-hmo-look-page{background:#fff;color:#15354c}
body.aura-hmo-look-page #aura-main{background:#fff}

/* Keep existing Gutenberg blocks fully editable: these are presentation defaults,
   and explicit block colour/background choices remain able to override them. */
body.aura-hmo-look-page #aura-main :where(.wp-block-group,.wp-block-cover,.wp-block-columns,.wp-block-media-text){box-sizing:border-box}
body.aura-hmo-look-page #aura-main :where(h1,h2,h3){color:#153a55;font-weight:500;letter-spacing:-.045em}
body.aura-hmo-look-page #aura-main :where(h1){font-size:clamp(54px,6vw,100px);line-height:.92;letter-spacing:-.06em}
body.aura-hmo-look-page #aura-main :where(h2){font-size:clamp(42px,4.7vw,78px);line-height:.94;letter-spacing:-.055em}
body.aura-hmo-look-page #aura-main :where(h3){font-size:clamp(27px,2.5vw,42px);line-height:1.02}
body.aura-hmo-look-page #aura-main :where(p){line-height:1.65}

/* Existing full-width Covers inherit the approved HMO hero treatment without changing their image/content. */
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child{min-height:680px;display:flex;align-items:center;margin:0;overflow:hidden}
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,12,20,.88) 0%,rgba(3,16,27,.68) 31%,rgba(3,16,27,.30) 53%,rgba(3,16,27,.06) 74%,transparent 90%);pointer-events:none}
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child>.wp-block-cover__inner-container{position:relative;z-index:2;width:min(1600px,calc(100% - 80px));margin:auto}
body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child :where(h1,h2,h3,p){color:#fff}

/* HMO-style rhythm for existing sections. No new wrappers or reordered blocks. */
body.aura-hmo-look-page #aura-main>:where(.wp-block-group,.wp-block-columns,.wp-block-media-text):not(.alignfull){width:min(1600px,calc(100% - 96px));max-width:1600px;margin-left:auto;margin-right:auto}
body.aura-hmo-look-page #aura-main>.wp-block-group:not(.has-background):not(.aura-hmo-preview-layout){padding-top:clamp(72px,7vw,112px);padding-bottom:clamp(72px,7vw,112px)}
body.aura-hmo-look-page #aura-main>.wp-block-group.has-background{padding-top:clamp(72px,7vw,112px);padding-bottom:clamp(72px,7vw,112px)}
body.aura-hmo-look-page #aura-main :where(.wp-block-columns){gap:clamp(28px,4vw,64px)}
body.aura-hmo-look-page #aura-main :where(.wp-block-image img){display:block;width:100%;height:auto}
body.aura-hmo-look-page #aura-main :where(.wp-block-button__link){border-radius:0}

/* Respect colours selected by editors in Gutenberg. */
body.aura-hmo-look-page #aura-main .has-background :where(h1,h2,h3,p,a){color:inherit}
body.aura-hmo-look-page #aura-main :where(.has-text-color){color:var(--wp--style--color--text,inherit)}

@media(max-width:900px){
 body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child{min-height:600px}
 body.aura-hmo-look-page #aura-main>.wp-block-cover:first-child>.wp-block-cover__inner-container{width:calc(100% - 40px)}
 body.aura-hmo-look-page #aura-main>:where(.wp-block-group,.wp-block-columns,.wp-block-media-text):not(.alignfull){width:calc(100% - 40px)}
 body.aura-hmo-look-page #aura-main :where(h1){font-size:clamp(48px,13vw,72px)}
 body.aura-hmo-look-page #aura-main :where(h2){font-size:clamp(38px,10vw,58px)}
}
