/* Shared introductory panel tokens, scoped to existing verified hero structures. */
body:is(.cwe100,.cwe113-contact) {
 --cwe121-width:min(90vw,1600px);
 --cwe121-font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
@media(max-width:899px){body:is(.cwe100,.cwe113-contact){--cwe121-width:calc(100vw - 32px);}}
body.cwe100 .wp-site-blocks > :is(.wp-block-group,main):has(.sc952-layout,.sc-blog-welcome,.wp-block-post-content) {
 width:var(--cwe121-width)!important;max-width:none!important;margin-inline:auto!important;
 margin-block-start:0!important;padding-inline:0!important;padding-block-start:0!important;box-sizing:border-box;
}
body.cwe100 .sc-blog-listing {width:var(--cwe121-width)!important;margin-inline:auto!important;}
body.cwe100 .sc952-layout :is(.sc-service,.sc-home-hero,main.wrap,.services > .wrap):has(.cwe108-hero,.hero) {
 max-width:none!important;width:100%!important;padding-inline:0!important;padding-block-start:0!important;margin-block-start:0!important;box-sizing:border-box;
}
body.cwe100.home.page-id-13 .sc952-layout .sc-home-hero .hero,
body.cwe100:not(.home) .wp-site-blocks .cwe108-hero,
body.cwe113-contact .sc952-layout .sc-service > .pagehead {
 box-sizing:border-box!important;background:#f5f8fa!important;border:1px solid #e2e8f0!important;border-radius:22px!important;
 padding:clamp(16px,1.8vw,28px)!important;margin-block:20px 24px!important;
}
/* Widen only the contact introduction, not the hosted form or its ancestors. */
body.cwe113-contact .sc952-layout .sc-service > .pagehead {
 width:var(--cwe121-width)!important;max-width:none!important;position:relative;left:50%;transform:translateX(-50%);margin-inline:0!important;
}
body.cwe100.home.page-id-13 .sc-home-hero #hero-title,
body.cwe100:not(.home) .wp-site-blocks .cwe108-hero h1,
body.cwe113-contact .sc952-layout .sc-service > .pagehead h1 {
 font-family:var(--cwe121-font)!important;font-size:clamp(32px,3vw,48px)!important;font-weight:700!important;line-height:1.18!important;color:#202124!important;text-align:left!important;letter-spacing:normal!important;
}
body.cwe100.home.page-id-13 .sc-home-hero .hero-intro p,
body.cwe100:not(.home) .wp-site-blocks .cwe108-hero p,
body.cwe113-contact .sc952-layout .sc-service > .pagehead p {
 font-family:var(--cwe121-font)!important;font-size:clamp(17px,1.3vw,20px)!important;font-weight:400!important;line-height:1.65!important;color:#343a40!important;text-align:left!important;letter-spacing:normal!important;
}
body.cwe100:not(.home) .wp-site-blocks .cwe108-hero:not(.cwe108-split) h1,
body.cwe113-contact .sc952-layout .sc-service > .pagehead h1 {margin:0 0 12px!important;}

/* V1.2.2: align visible contact information panels only. Keep hosted form and ancestors unchanged. */
body.cwe113-contact .sc952-layout .sc-service > :is(.pagehead,section.contact) {
 width:var(--cwe121-width)!important;max-width:none!important;box-sizing:border-box!important;
 position:relative;left:50%;transform:translateX(-50%);margin-inline:0!important;
 background:#f5f8fa!important;border:1px solid #e2e8f0!important;border-radius:22px!important;
 padding:clamp(16px,1.8vw,28px)!important;margin-block:0 24px!important;
}
body.cwe113-contact .sc952-layout .sc-service > .pagehead {margin-block-start:20px!important;}
body.cwe113-contact .sc952-layout .sc-service > :is(.pagehead,section.contact) > .container {
 width:100%!important;max-width:none!important;padding:0!important;margin:0!important;box-sizing:border-box;
}
body.cwe113-contact .sc952-layout .sc-service > section.contact > .container > p {
 font-family:var(--cwe121-font)!important;font-size:clamp(17px,1.3vw,20px)!important;line-height:1.65!important;color:#343a40!important;
}
body.cwe113-contact .sc952-layout .entry-content > .cwe122-enquiry {
 width:var(--cwe121-width)!important;max-width:none!important;box-sizing:border-box!important;
 position:relative;left:50%;transform:translateX(-50%);margin:24px 0!important;
 background:#f5f8fa;border:1px solid #e2e8f0;border-radius:22px;padding:clamp(16px,1.8vw,28px);
 font-family:var(--cwe121-font);color:#343a40;text-align:left;
}
body.cwe113-contact .cwe122-enquiry > h2 {font-family:var(--cwe121-font)!important;font-size:clamp(24px,2vw,32px)!important;line-height:1.25!important;color:#202124!important;margin:0 0 12px!important;}
body.cwe113-contact .cwe122-enquiry > p {font-size:clamp(17px,1.3vw,20px)!important;line-height:1.65!important;max-width:none!important;margin:0!important;}

/* V1.2.3: shared end-of-page panels and footer align with main content. */
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part {
 width:100%!important;max-width:none!important;padding-inline:0!important;margin-inline:auto!important;box-sizing:border-box;
}
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part > :is(.sc-shared-cta,.sc-shared-locations,#site-footer) {
 width:var(--cwe121-width)!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box!important;
}
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part > :is(.sc-shared-cta,.sc-shared-locations) {
 background:#f5f8fa!important;border:1px solid #e2e8f0!important;border-radius:22px!important;padding:clamp(16px,1.8vw,28px)!important;margin-block:24px!important;
}
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part > .sc-shared-locations > .wrap,
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part > #site-footer > :is(.container,.footer-legal) {
 width:100%!important;max-width:none!important;padding-inline:0!important;margin-inline:0!important;box-sizing:border-box;min-width:0;
}
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part > #site-footer {
 padding:28px 0 20px!important;border-top:1px solid #e2e8f0!important;
}
body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part .sc-shared-locations .about-two-col > * {min-width:0;}
@media(max-width:899px){
 body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part .sc-shared-locations .about-two-col,
 body:is(.cwe100,.cwe113-contact) .wp-site-blocks > footer.wp-block-template-part #site-footer > .container {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
}

/* V1.2.4: compact footer, legal links below brand and back-to-top below contact. */
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer > .container {
 grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.05fr)!important;
 gap:clamp(20px,3vw,48px)!important;align-items:start!important;
}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-brand > .footer-legal {
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;
 border:0!important;padding:0!important;margin:24px 0 0!important;width:100%!important;max-width:none!important;
 font-size:14px!important;line-height:1.5!important;
}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-legal .links {
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;
}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-legal a {padding:0!important;margin:0!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .copyright {margin:0!important;overflow-wrap:anywhere;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer :is(.footer-nav,.footer-contact) h3 {margin:0 0 12px!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-nav ul {margin:0!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-nav li {margin:0 0 8px!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-contact > .to-top {display:table!important;position:static!important;margin:16px 0 0 auto!important;}
@media(max-width:899px){
 body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer > .container {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
 body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-contact > .to-top {margin-left:0!important;}
}

@media(max-width:899px){
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer > .footer-legal {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;margin:24px 0 0!important;padding:16px 0 0!important;border-top:1px solid #e2e8f0!important;font-size:14px!important;line-height:1.5!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer > .footer-legal .links {flex-direction:row!important;flex-wrap:wrap!important;gap:12px!important;}
body:is(.cwe100,.cwe113-contact) #site-footer.cwe124-footer .footer-nav ul {gap:0!important;}
}
