/* RC92.3: shared design tokens for native Gutenberg content and Heritage PHP templates. */
:root{--hbm-page:#fff;--hbm-font-body:Arial,Helvetica,sans-serif;--hbm-font-heading:Arial,Helvetica,sans-serif}
body.hbm-site,.editor-styles-wrapper{font-family:var(--hbm-font-body);color:var(--hbm-ink);background-color:var(--hbm-page)}
body.hbm-site :is(h1,h2,h3,h4,h5,h6),.editor-styles-wrapper :is(h1,h2,h3,h4,h5,h6){font-family:var(--hbm-font-heading)}
/* Theme elements and blocks follow the same typography. */
.hbm-site :is(.hbm-btn,.hbm-nav-quote,.hbm-home-heading h2,.hbm-home-hero h1),
.editor-styles-wrapper :is(.wp-block-heading,.wp-block-button__link){font-family:var(--hbm-font-heading)}
.hbm-site .wp-block-group,.editor-styles-wrapper .wp-block-group{box-sizing:border-box;min-width:0}
.hbm-site :is(.wp-block-image img,.wp-block-cover img),.editor-styles-wrapper :is(.wp-block-image img,.wp-block-cover img){max-width:100%;height:auto}
.hbm-site .wp-block-buttons,.editor-styles-wrapper .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.hbm-site .wp-block-button__link,.editor-styles-wrapper .wp-block-button__link{background:var(--hbm-yellow);color:var(--hbm-ink);border-radius:4px;padding:12px 20px;font-weight:800;text-decoration:none}
.hbm-site .is-style-outline .wp-block-button__link,.editor-styles-wrapper .is-style-outline .wp-block-button__link{background:transparent;border:2px solid var(--hbm-blue);color:var(--hbm-blue)}
.hbm-site .wp-block-button__link:focus-visible{outline:3px solid var(--hbm-blue);outline-offset:3px}
/* Consistent, reusable card pattern on current/future pages. */
.hbm-site .hbm-editorial-cards,.editor-styles-wrapper .hbm-editorial-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:none}
.hbm-site .hbm-editorial-cards>.wp-block-group,.editor-styles-wrapper .hbm-editorial-cards>.wp-block-group{background:var(--hbm-soft);border:1px solid var(--hbm-border);border-radius:9px;padding:23px;min-width:0;margin:0}
.hbm-site .hbm-editorial-cards :is(h3,h4),.editor-styles-wrapper .hbm-editorial-cards :is(h3,h4){color:var(--hbm-navy);margin:0 0 8px;font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.25}
.hbm-site .hbm-editorial-cards p,.editor-styles-wrapper .hbm-editorial-cards p{margin:0;color:var(--hbm-ink);font-size:clamp(.94rem,1.2vw,1.04rem);line-height:1.55}
/* The previously imported RC92 Homepage has four paragraphs, not nested cards. Style
   them without rewriting any stored WordPress blocks or hard-coding their text. */
.hbm-site .hbm-rc919-slot--trust,.editor-styles-wrapper .hbm-edit-trust{max-width:none;width:100%;margin:0 auto;padding:48px max(20px,calc((100vw - 1360px)/2)) 56px}
.hbm-site .hbm-rc919-slot--trust>.wp-block-group,.editor-styles-wrapper .hbm-edit-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.hbm-site .hbm-rc919-slot--trust .wp-block-heading,.editor-styles-wrapper .hbm-edit-trust>.wp-block-heading{grid-column:1/-1;color:var(--hbm-navy);font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.14;margin:0 0 12px}
.hbm-site .hbm-rc919-slot--trust>.wp-block-group>p,.editor-styles-wrapper .hbm-edit-trust>p{background:var(--hbm-soft);border:1px solid var(--hbm-border);border-radius:9px;margin:0;padding:24px;min-width:0;font-size:clamp(.95rem,1.15vw,1.08rem);line-height:1.55;color:var(--hbm-ink)}
/* Generic editorial blocks inherit readable rhythms without requiring page-specific PHP. */
.hbm-native-editorial :is(.wp-block-columns,.wp-block-group),.hbm-native-contact-intro :is(.wp-block-columns,.wp-block-group){max-width:100%}
.hbm-native-editorial .wp-block-columns,.editor-styles-wrapper .wp-block-columns{gap:clamp(16px,3vw,30px)}
.hbm-native-editorial :is(h2,h3),.hbm-native-contact-intro :is(h2,h3){color:var(--hbm-navy)}
@media(max-width:1000px){.hbm-site .hbm-editorial-cards,.editor-styles-wrapper .hbm-editorial-cards,.hbm-site .hbm-rc919-slot--trust>.wp-block-group,.editor-styles-wrapper .hbm-edit-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hbm-site .hbm-editorial-cards,.editor-styles-wrapper .hbm-editorial-cards,.hbm-site .hbm-rc919-slot--trust>.wp-block-group,.editor-styles-wrapper .hbm-edit-trust{grid-template-columns:minmax(0,1fr)}.hbm-site .hbm-rc919-slot--trust,.editor-styles-wrapper .hbm-edit-trust{padding:28px 20px 36px}.hbm-site .hbm-rc919-slot--trust>.wp-block-group>p,.editor-styles-wrapper .hbm-edit-trust>p{padding:18px}}
/* RC92.4: Shared native editorial presentation across informational pages. */
.hbm-site .hbm-editorial-cards--two,.editor-styles-wrapper .hbm-editorial-cards--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.hbm-site .hbm-page-body .wp-block-group,.hbm-site .hbm-contact-native-editorial .wp-block-group{max-width:100%}
.hbm-site .hbm-page-body :is(p,li),.hbm-site .hbm-contact-native-editorial :is(p,li){line-height:1.65;overflow-wrap:break-word}
.hbm-site .hbm-page-body .wp-block-image img,.hbm-site .hbm-contact-native-editorial .wp-block-image img{max-width:100%;height:auto}
.hbm-site .hbm-native-story,.editor-styles-wrapper .hbm-native-story{padding:clamp(18px,3vw,32px);background:var(--hbm-soft);border:1px solid var(--hbm-border,#d8e2e7);border-radius:10px}
.hbm-site .hbm-contact-native-editorial{margin:0 0 20px;max-width:76ch}
.hbm-site .hbm-contact-native-editorial .wp-block-heading{color:var(--hbm-navy);font-family:var(--hbm-font-heading)}
@media(max-width:620px){.hbm-site .hbm-editorial-cards--two,.editor-styles-wrapper .hbm-editorial-cards--two{grid-template-columns:minmax(0,1fr)}}

/* RC92.6: About Us editable content. One shared style for published page and Gutenberg.
   Imagery is saved as WordPress Media Library attachments, never faux business photos. */
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2{width:100%;max-width:1200px;margin-inline:auto;display:grid;gap:clamp(24px,4vw,52px);font-family:var(--hbm-font-body)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 :is(h2,h3){font-family:var(--hbm-font-heading);color:var(--hbm-navy);line-height:1.18}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 h2{font-size:clamp(1.65rem,3vw,2.5rem);margin:0 0 16px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 h3{font-size:clamp(1.2rem,2vw,1.55rem);margin:0 0 10px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 p{font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.65;margin:0 0 15px;color:var(--hbm-ink)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 :is(.wp-block-columns,.wp-block-group){min-width:0;max-width:100%}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-columns{gap:clamp(16px,3vw,32px);align-items:center;margin-block:0}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-column{min-width:0}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-image{margin:0;overflow:hidden;border-radius:12px;height:100%;background:var(--hbm-soft,#f5f7f8)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-image img{display:block;width:100%;height:100%;min-height:220px;max-height:430px;object-fit:cover}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-buttons{margin-top:16px;gap:12px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-kicker p{letter-spacing:.14em;font-weight:800;text-transform:uppercase;color:var(--hbm-blue);font-size:.78rem;margin:0}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-hero{border-radius:14px;background:var(--hbm-soft,#f5f7f8);padding:clamp(18px,3vw,34px);border:1px solid var(--hbm-border,#dce5ea)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-hero .wp-block-image{min-height:320px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-feature{border-radius:12px;border:1px solid var(--hbm-border,#dce5ea);background:var(--hbm-soft,#f5f7f8);padding:clamp(12px,2vw,18px)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-feature .hbm-about-feature-copy{padding:clamp(8px,2vw,22px)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-photo-pair .wp-block-image img{max-height:280px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-benefits>.wp-block-group{background:var(--hbm-soft,#f5f7f8);border:1px solid var(--hbm-border,#dce5ea);border-radius:10px;padding:clamp(15px,2vw,22px)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-benefits p{font-size:1rem}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-cta{background:var(--hbm-navy);color:#fff;border-radius:14px;padding:clamp(23px,4vw,46px)}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-cta :is(h2,p){color:#fff}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-cta .is-style-outline .wp-block-button__link{border-color:#fff;color:#fff}
:is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-button__link{min-height:46px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:850px){:is(.hbm-site,.editor-styles-wrapper) .hbm-about-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2{gap:24px}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-columns{display:flex;flex-direction:column;gap:14px;align-items:stretch}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-column{width:100%;flex-basis:auto!important}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-v2 .wp-block-image img{min-height:180px;max-height:290px}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-benefits{grid-template-columns:minmax(0,1fr)}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-cta .wp-block-buttons{display:grid}
 :is(.hbm-site,.editor-styles-wrapper) .hbm-about-cta .wp-block-button,.hbm-about-cta .wp-block-button__link{width:100%}
}
