/* About Us support for legacy v1 and editorial v2.1 */
/* Zora Homes — About page pattern. Scoped: does not change homepage */
.zha-page{--zha-red:#c8102e;--zha-ink:#202329;--zha-ivory:#f4f1ec;color:var(--zha-ink);margin:0!important}
.zha-page *{box-sizing:border-box}.zha-page .zha-wrap{width:min(100%,1260px)!important;max-width:1260px!important;padding:0 28px;margin-left:auto!important;margin-right:auto!important}.zha-page .zha-section{padding:90px 0!important;margin:0!important}
.zha-page .zha-eyebrow{color:var(--zha-red);font-size:12px;font-weight:800;letter-spacing:.12em;margin:0 0 16px!important}
.zha-page h1,.zha-page h2,.zha-page h3{color:var(--zha-ink);font-weight:800;letter-spacing:-.035em;line-height:1.08}.zha-page h2 span,.zha-page h1 span{color:var(--zha-red)}
.zha-page h2{font-size:clamp(2rem,3.8vw,3.65rem)!important;margin:0 0 24px!important}.zha-page h3{font-size:1.38rem!important}.zha-page p{line-height:1.65}.zha-page .zha-columns{gap:clamp(30px,5vw,90px);align-items:center}
.zha-page .zha-hero{min-height:570px;display:flex;align-items:center;padding:90px 0!important;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.83) 34%,rgba(255,255,255,.06) 78%), url('assets/architecture.jpg') center 52%/cover no-repeat!important}
.zha-page .zha-hero h1{font-size:clamp(3rem,5.4vw,5.8rem)!important;max-width:820px;margin:0 0 25px!important}.zha-page .zha-hero-copy{font-size:clamp(1.05rem,1.5vw,1.3rem);max-width:530px}
.zha-page .zha-intro{background:#fff}.zha-page .zha-story-image img,.zha-page .zha-process-image img{height:460px;width:100%;object-fit:cover;display:block}.zha-page figcaption{font-size:12px;color:#687078;margin-top:8px}
.zha-page .zha-values{background:var(--zha-ivory)}.zha-page .zha-value-grid{gap:22px;margin-top:32px}.zha-page .zha-value-card{padding:34px 28px!important;background:#fff;height:100%;min-height:240px;border-top:4px solid var(--zha-red)}.zha-page .zha-card-number{font-weight:800;color:var(--zha-red);font-size:13px}.zha-page .zha-value-card p:last-child{margin-bottom:0}.zha-page .zha-process{background:#fff}
.zha-page .zha-btn .wp-block-button__link{background:var(--zha-red);color:white;border-radius:4px;padding:15px 24px;font-weight:700}.zha-page .zha-cta{background:var(--zha-red);color:#fff;padding:44px 0!important}.zha-page .zha-cta h2,.zha-page .zha-cta p{color:#fff!important}.zha-page .zha-cta h2{font-size:clamp(1.7rem,2.5vw,2.7rem)!important;margin:0 0 6px!important}.zha-page .zha-btn-light .wp-block-button__link{background:#fff;color:var(--zha-red);font-weight:800;border-radius:4px;padding:15px 26px}
@media(max-width:781px){.zha-page .zha-wrap{padding:0 20px}.zha-page .zha-section{padding:55px 0!important}.zha-page .zha-hero{min-height:490px;padding:65px 0!important;background-position:center}.zha-page .zha-hero h1{font-size:clamp(2.6rem,9vw,4.5rem)!important}.zha-page .zha-story-image img,.zha-page .zha-process-image img{height:290px}.zha-page .zha-value-card{min-height:0}.zha-page .zha-cta .wp-block-buttons{justify-content:flex-start!important}}
@media(max-width:480px){.zha-page .zha-hero{background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.56)),url('assets/architecture.jpg') center/cover no-repeat!important;min-height:470px}.zha-page .zha-hero h1{font-size:clamp(2.45rem,10vw,3.5rem)!important}.zha-page .zha-wrap{padding:0 18px}}


/* v1.1: escape narrow constrained Post Content container while remaining scoped to About */
.zha-page.wp-block-group {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #ffffff !important;
  padding: 0 !important;
  overflow: clip;
}
.zha-page > .wp-block-group {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.zha-page .zha-wrap.wp-block-group {
  width: min(100% - 48px, 1260px) !important;
  max-width: 1260px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
.zha-page .zha-hero {background-position: center center !important;}
/* Page-template wrappers often restrict page post-content width. */
:where(.wp-block-post-content):has(> .zha-page) {
  max-width: none !important;
  width: 100% !important;
}
/* For Zora's standard Page template: suppress duplicated post title banner on About only */
body:has(.zha-page) .wp-block-post-title {display:none !important;}
body:has(.zha-page) .wp-block-post-title:empty {display:none !important;}
@media(max-width:781px){.zha-page .zha-wrap.wp-block-group{width:calc(100% - 40px)!important}}
@media(max-width:480px){.zha-page .zha-wrap.wp-block-group{width:calc(100% - 32px)!important}}

/* Zora Homes About: scoped exclusively to editorial v2 blocks */
.zha2-page{--z2red:#c8102e;--z2dark:#202329;--z2ivory:#f5f3ef;color:var(--z2dark);width:100vw!important;max-width:none!important;margin:0 calc(50% - 50vw)!important;padding:0!important;background:#fff;overflow:clip}
.zha2-page *{box-sizing:border-box}
.zha2-page .zha2-container{width:min(100% - 64px,1180px)!important;max-width:1180px!important;margin-inline:auto!important;padding:0!important}
.zha2-page .zha2-section{padding:88px 0!important;margin:0!important;max-width:none!important;width:100%!important}
.zha2-page .zha2-kicker{font-size:12px;letter-spacing:.15em;font-weight:800;color:var(--z2red);margin:0 0 18px!important}
.zha2-page h1,.zha2-page h2,.zha2-page h3{font-family:inherit;color:var(--z2dark);line-height:1.1;letter-spacing:-.035em}
.zha2-page h2{font-size:clamp(2.15rem,3.8vw,3.65rem);margin:0 0 23px!important;max-width:690px}
.zha2-page h3{font-size:1.5rem;margin:0 0 14px!important}
.zha2-page p{line-height:1.7}
.zha2-page .zha2-banner{background:linear-gradient(90deg,rgba(25,31,35,.90),rgba(25,31,35,.65) 54%,rgba(25,31,35,.18)),url('assets/architecture.jpg') center 48%/cover no-repeat;min-height:330px;padding:80px 0!important;display:flex;align-items:center;width:100%!important;max-width:none!important;margin:0!important}
.zha2-page .zha2-banner h1{color:#fff;font-size:clamp(2.75rem,5vw,5rem);margin:0 0 14px!important}.zha2-page .zha2-banner h1 span{color:#ed5364}
.zha2-page .zha2-banner .zha2-kicker{color:#ff9aa5}.zha2-page .zha2-banner .zha2-lead{color:#f7f7f7;font-size:clamp(1.05rem,1.5vw,1.3rem);margin:0!important;max-width:540px}
.zha2-page .zha2-split{gap:clamp(24px,5vw,82px);align-items:center}
.zha2-page .zha2-story{background:#fff}.zha2-page .zha2-philosophy{background:var(--z2ivory)}
.zha2-page .zha2-photo img{display:block;width:100%;height:445px;object-fit:cover}.zha2-page .zha2-photo-architect img{height:410px}
.zha2-page figcaption{font-size:12px;color:#69717a;margin-top:8px}
.zha2-page .zha2-values{background:#fff}.zha2-page .zha2-muted{color:#6c7276;margin:0 0 36px!important;font-size:14px}
.zha2-page .zha2-values-grid{gap:38px;border-top:1px solid #dfddda;padding-top:30px}
.zha2-page .zha2-values-grid .wp-block-column{border-left:3px solid var(--z2red);padding-left:22px}
.zha2-page .zha2-number{font-size:12px;color:var(--z2red);font-weight:800;letter-spacing:.08em}
.zha2-page .zha2-team{background:#f8f8f7}.zha2-page .zha2-team-placeholder{height:350px;background:#e4e1db;border:1px dashed #b3aca1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px!important}
.zha2-page .zha2-team-placeholder p{margin:0!important;color:#68655e;font-size:13px;letter-spacing:.04em}.zha2-page .zha2-team-placeholder .zha2-placeholder-mark{font-size:62px;color:#a09a90;font-weight:800;line-height:1.2}
.zha2-page .zha2-closing{background:var(--z2dark);color:#fff;padding:44px 0!important;max-width:none!important;width:100%!important;margin:0!important}
.zha2-page .zha2-closing h2,.zha2-page .zha2-closing p{color:#fff!important}.zha2-page .zha2-closing h2{font-size:clamp(1.5rem,2.4vw,2.6rem);margin:0 0 8px!important}
.zha2-page .zha2-button .wp-block-button__link{border-radius:3px;background:var(--z2red);color:#fff;padding:16px 25px;font-weight:750}
/* prevent theme post content constraint and duplicated page heading on this layout only */
body:has(.zha2-page) .wp-block-post-title{display:none!important}
:where(.wp-block-post-content):has(> .zha2-page){max-width:none!important;width:100%!important}
@media(max-width:781px){.zha2-page .zha2-container{width:calc(100% - 40px)!important}.zha2-page .zha2-section{padding:55px 0!important}.zha2-page .zha2-banner{min-height:275px;padding:60px 0!important}.zha2-page .zha2-photo img,.zha2-page .zha2-photo-architect img{height:320px}.zha2-page .zha2-team-placeholder{height:285px}.zha2-page .zha2-values-grid{gap:20px}.zha2-page .zha2-closing .wp-block-buttons{justify-content:flex-start!important}}
@media(max-width:480px){.zha2-page .zha2-container{width:calc(100% - 32px)!important}.zha2-page .zha2-banner{background:linear-gradient(90deg,rgba(25,31,35,.91),rgba(25,31,35,.62)),url('assets/architecture.jpg') center/cover no-repeat}.zha2-page .zha2-banner h1{font-size:2.65rem}.zha2-page .zha2-values-grid .wp-block-column{padding-left:16px}}


/* v2.1 compatibility: these two classes identify the actual inserted patterns. */
body:has(.zha-page) .wp-block-post-content, body:has(.zha2-page) .wp-block-post-content,
.editor-styles-wrapper:has(.zha-page) .wp-block-post-content,
.editor-styles-wrapper:has(.zha2-page) .wp-block-post-content {
  background: #fff !important; max-width: none !important; width: 100% !important;
}
.zha-page, .zha2-page { background:#fff !important; color:#202329 !important; }
.zha-page .zha-intro, .zha-page .zha-process,
.zha2-page .zha2-story, .zha2-page .zha2-values {background:#fff !important;}
.zha-page .zha-values,.zha2-page .zha2-philosophy {background:#f5f3ef !important;}
.zha-page :is(h1,h2,h3,p), .zha2-page :is(h1,h2,h3,p) {color:#202329;}
.zha-page .zha-hero :is(h1,h2,h3,p) {color:#202329;}
.zha-page .zha-cta :is(h1,h2,h3,p),.zha2-page .zha2-banner :is(h1,h2,h3,p),.zha2-page .zha2-closing :is(h1,h2,h3,p) { color:#fff !important; }
.zha-page .zha-eyebrow,.zha2-page .zha2-kicker,.zha2-page .zha2-number {color:#c8102e !important;}
.zha2-page .zha2-banner .zha2-kicker {color:#ff9aa5!important;}
.zha-page .zha-value-card {background:#fff !important;}
.zha-page .zha-wrap,.zha2-page .zha2-container {margin-inline:auto!important;}
/* Editorial v2 must stay wide even if theme uses constrained layout. */
.zha2-page.wp-block-group {width:100vw!important;max-width:none!important;margin:0 calc(50% - 50vw)!important;padding:0!important;}
.zha2-page > .wp-block-group {max-width:none!important;margin-inline:0!important;}
@media(max-width:781px){.zha-page,.zha2-page{overflow:hidden;}}
