/* Coherent BHA inner-page masthead system. Complements the full-bleed Products index. */
.bha-inner-page .bha-wp-content>.bha-page-hero-block{background:#1c2023!important;color:#fff!important;border-left:6px solid #FFC845!important;border-bottom:0!important;min-height:235px;max-width:1140px;padding:54px 56px 53px!important;margin:0 auto 51px;position:relative;overflow:hidden;isolation:isolate}
.bha-inner-page .bha-wp-content>.bha-page-hero-block:before{content:"";position:absolute;right:-120px;top:-110px;width:480px;height:490px;background:var(--bha-crest-art) center center/contain no-repeat;opacity:.065;filter:invert(1);pointer-events:none;z-index:0}
.bha-inner-page .bha-wp-content>.bha-page-hero-block>.wp-block-group__inner-container{position:relative;z-index:2}
.bha-inner-page .bha-wp-content>.bha-page-hero-block p:first-child{font:700 11px/1.5 Montserrat,Arial,sans-serif;color:#FFC845!important;text-transform:uppercase;letter-spacing:.14em;margin:0 0 18px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block h1{font:900 clamp(39px,4.5vw,63px)/1.03 Roboto,Arial,sans-serif!important;color:#fff!important;text-transform:uppercase;letter-spacing:-.035em;margin:0 0 19px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block p:not(:first-child){font:400 15px/1.75 Montserrat,Arial,sans-serif;color:#e0e5e7!important;max-width:830px;margin:0 0 13px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block .wp-block-buttons{margin-top:24px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block .wp-block-button__link{background:#FFC845!important;color:#14191b!important;border:0!important;min-height:46px;font:900 12px/1.4 Roboto,Arial,sans-serif!important;padding:15px 22px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block a:focus-visible,.bha-inner-page .bha-wp-content .wp-block-button__link:focus-visible{outline:3px solid #FFC845;outline-offset:4px}
.bha-inner-page .bha-wp-content>.bha-page-hero-block .wp-block-button__link:focus-visible{outline-color:#fff}
.bha-wp-content .bha-page-hero-block + .bha-buy-grid,.bha-wp-content .bha-page-hero-block + .bha-contact-grid{margin-top:0}
@media(max-width:800px){.bha-inner-page .bha-wp-content>.bha-page-hero-block{padding:40px 36px 38px!important;min-height:0}}
@media(max-width:600px){.bha-inner-page .bha-wp-content>.bha-page-hero-block{padding:32px 23px 32px!important;margin-bottom:32px}.bha-inner-page .bha-wp-content>.bha-page-hero-block h1{font-size:39px!important}.bha-inner-page .bha-wp-content>.bha-page-hero-block p:not(:first-child){font-size:13px!important}}
/* Legacy six family pages share the same dark/photo masthead as the five new families. */
.bha-family-article .bha-wp-content>.bha-family-hero{background:#1c2023!important;border-left:6px solid #FFC845!important;border-bottom:0!important;min-height:340px!important;padding:49px 48px!important;margin:0 auto 53px!important;color:#fff!important}
.bha-family-article .bha-wp-content>.bha-family-hero h1{font:900 clamp(39px,4.5vw,63px)/1.03 Roboto,Arial,sans-serif!important;text-transform:uppercase;color:#fff!important;letter-spacing:-.035em;margin:0 0 20px!important}
.bha-family-article .bha-wp-content>.bha-family-hero p{color:#e1e5e7!important;font:400 14px/1.75 Montserrat,Arial,sans-serif!important}
.bha-family-article .bha-wp-content>.bha-family-hero p:first-child,.bha-family-article .bha-wp-content>.bha-family-hero p:first-child strong{color:#FFC845!important;font:700 11px/1.5 Montserrat,Arial,sans-serif!important;letter-spacing:.13em}
.bha-family-article .bha-wp-content>.bha-family-hero .bha-family-photo-figure{background:#fff;border-left:4px solid #FFC845;top:-20px;height:calc(100% + 40px)}
.bha-family-article .bha-wp-content>.bha-family-hero .bha-family-photo-figure .bha-family-real-image{mix-blend-mode:normal}
.bha-family-article.page-id-59 .bha-wp-content>.bha-family-hero .bha-family-photo-figure{top:-20px;right:0;height:calc(100% + 40px)}
@media(max-width:700px){
.bha-family-article .bha-wp-content>.bha-family-hero{padding:32px 23px 0!important;min-height:0!important;margin-bottom:37px!important}
.bha-family-article .bha-wp-content>.bha-family-hero h1{font-size:38px!important}
.bha-family-article .bha-wp-content>.bha-family-hero .bha-family-photo-figure{position:relative;top:auto;right:auto;width:calc(100% + 46px);height:238px;margin:27px -23px 0;background:#fff;border-left:0;border-top:4px solid #FFC845}
.bha-family-article.page-id-59 .bha-wp-content>.bha-family-hero .bha-family-photo-figure{top:auto;right:auto;width:calc(100% + 46px);height:238px;border-left:0}
}




/* Unified focus and tap-target quality in primary navigation and product links. */
.bha-desktop-nav>a,.bha-mobile-nav nav>a{display:inline-flex;align-items:center;min-height:44px}
.bha-desktop-nav>a:focus-visible,.bha-mobile-nav summary:focus-visible,.bha-mobile-nav nav>a:focus-visible,
.bha-footer a:focus-visible,.bha-home-product-index a:focus-visible{
  outline:3px solid #FFC845;outline-offset:3px;
}
.bha-mobile-nav summary{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:48px;cursor:pointer}
.bha-mobile-nav nav>a{display:flex;min-height:48px;padding:12px 15px}
.bha-footer-products a{min-height:27px}
@media (prefers-reduced-motion: reduce){
 .bha-directory-card,.bha-breadth-cards>a{transition:none!important;transform:none!important}
}

/* About BHA: useful market-specific journeys, rather than inert description cards. */
.page-id-29 .bha-about-for-item a.bha-about-path-link{
  display:inline-flex;align-items:center;min-height:39px;margin-top:12px;
  padding:7px 0;color:#222b2f;border-bottom:2px solid #c49c29;
  font:800 12px/1.4 Montserrat,Arial,sans-serif;text-decoration:none;
}
.page-id-29 .bha-about-for-item a.bha-about-path-link:hover{color:#795c14;border-bottom-color:#795c14}
.page-id-29 .bha-about-for-item a.bha-about-path-link:focus-visible{outline:3px solid #222b2f;outline-offset:3px}

/* P0 cohesion pass — shared rules only, after legacy theme styles. */
.bha-inner-page .bha-wp-content .bha-retailers-v2 .bha-retailer-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  justify-content:stretch!important;gap:14px!important;align-items:stretch;
}
.bha-inner-page .bha-wp-content .bha-retailer-grid>a.bha-retailer-tile{
  min-width:0!important;width:auto!important;min-height:172px!important;
  padding:19px 13px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:space-between!important;
  background:#fff!important;border:1px solid #d7dcde!important;text-align:center!important;
}
.bha-inner-page .bha-wp-content .bha-retailer-tile .bha-retailer-logo{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:72px!important;max-height:72px!important;width:100%!important;overflow:hidden!important;margin:0 0 12px!important;
}
.bha-inner-page .bha-wp-content .bha-retailer-tile .bha-retailer-logo img{
  display:block!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:62px!important;object-fit:contain!important;
}
.bha-inner-page .bha-wp-content .bha-retailer-tile strong{font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere}
.bha-inner-page .bha-wp-content .bha-retailer-tile .bha-retailer-visit{font-size:11px!important}
/* Protect copy from the right-hand image panel across all photo-led families. */
.bha-family-article .bha-wp-content>.bha-family-hero.bha-deep-hero.bha-with-photo{
  padding:48px calc(40% + 28px) 48px 48px!important;min-height:340px!important;
  overflow:hidden;isolation:isolate;
}
.bha-family-article .bha-wp-content>.bha-deep-hero.bha-with-photo>h1,
.bha-family-article .bha-wp-content>.bha-deep-hero.bha-with-photo>p{
  max-width:100%!important;overflow-wrap:break-word!important;
}
.bha-family-article .bha-wp-content>.bha-deep-hero.bha-with-photo>.bha-deep-hero-photo{
  width:36%!important;right:0;top:0;bottom:0;position:absolute;
}
/* About: reserve a genuine text column instead of laying the paragraph over a pale photograph. */
.page-id-29 .bha-wp-content>.bha-page-hero-block>.wp-block-group__inner-container{
  width:50%!important;max-width:50%!important;min-width:0!important;
}
.page-id-29 .bha-wp-content>.bha-page-hero-block>.wp-block-group__inner-container>h1,
.page-id-29 .bha-wp-content>.bha-page-hero-block>.wp-block-group__inner-container>p{
  max-width:100%!important;overflow-wrap:break-word;
}
.page-id-29 .bha-wp-content>.bha-page-hero-block:after{width:48%!important;background-position:center right!important}
@media(max-width:980px){
  .bha-inner-page .bha-wp-content .bha-retailers-v2 .bha-retailer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .page-id-29 .bha-wp-content>.bha-page-hero-block>.wp-block-group__inner-container{width:100%!important;max-width:100%!important}
  .page-id-29 .bha-wp-content>.bha-page-hero-block:after{
    display:block;content:"";position:relative;top:auto;right:auto;bottom:auto;
    width:calc(100% + 72px)!important;height:235px;margin:28px -36px -38px;
    background-image:var(--bha-trade-image,none)!important;background-size:cover!important;
    background-position:center!important;opacity:1!important;
  }
  .bha-family-article .bha-wp-content>.bha-family-hero.bha-deep-hero.bha-with-photo{
    padding:38px 28px 0!important;min-height:0!important;
  }
  .bha-family-article .bha-wp-content>.bha-deep-hero.bha-with-photo>.bha-deep-hero-photo{
    display:flex;position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;
    width:calc(100% + 56px)!important;height:260px!important;margin:30px -28px 0!important;
    border-left:0!important;border-top:4px solid #FFC845;
  }
}
@media(max-width:580px){
  .bha-inner-page .bha-wp-content .bha-retailers-v2 .bha-retailer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .bha-inner-page .bha-wp-content .bha-retailer-grid>a.bha-retailer-tile{min-height:152px!important;padding:14px 9px!important}
  .bha-inner-page .bha-wp-content .bha-retailer-tile .bha-retailer-logo{height:60px!important}
  .bha-inner-page .bha-wp-content .bha-retailer-tile .bha-retailer-logo img{max-height:51px!important}
  .page-id-29 .bha-wp-content>.bha-page-hero-block:after{width:calc(100% + 46px)!important;margin:24px -23px -32px;height:195px}
  .bha-family-article .bha-wp-content>.bha-family-hero.bha-deep-hero.bha-with-photo{padding:33px 23px 0!important}
  .bha-family-article .bha-wp-content>.bha-deep-hero.bha-with-photo>.bha-deep-hero-photo{
    width:calc(100% + 46px)!important;margin:24px -23px 0!important;height:230px!important
  }
}


/* P1: useful, readable family cards. Center the final incomplete row. */
.bha-directory-products .bha-directory-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:17px}
.bha-directory-products .bha-directory-grid>.bha-directory-card{
  flex:0 1 calc((100% - 34px)/3);min-width:0;
}
.bha-directory-products .bha-directory-photo{height:224px}
.bha-directory-products .bha-directory-card-copy h4{font-size:21px;line-height:1.2}
.bha-directory-products .bha-directory-card-copy>p{font-size:14px;line-height:1.7}
.bha-directory-products .bha-directory-card-link{font-size:12px}
/* Shared content and form readability: preserve brand fonts, avoid tiny helper text. */
.bha-inner-page .bha-wp-content .bha-deep-card>p:last-child{font-size:14px;line-height:1.7}
.bha-inner-page .bha-wp-content .bha-deep-table{font-size:14px}
.bha-inner-page .bha-wp-content .bha-deep-section-heading>p{font-size:13px}
.page-id-56 .bha-wp-content>.bha-two-col>.wp-block-group__inner-container{
  grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr)!important;gap:32px!important;
}
.page-id-56 .bha-distributor-form{max-width:100%;padding:36px 31px}
.page-id-56 .bha-distributor-form .wpforms-field-label{font-size:14px!important;line-height:1.5!important}
.page-id-56 .bha-distributor-form .wpforms-field input:not([type=checkbox]),
.page-id-56 .bha-distributor-form .wpforms-field select,
.page-id-56 .bha-distributor-form .wpforms-field textarea{
  font-size:15px!important;min-height:47px!important;
}
.page-id-56 .bha-distributor-form .wpforms-field-description{font-size:13px;line-height:1.65}
.page-id-56 .bha-distributor-form .wpforms-field-checkbox li{padding:4px 0}
.page-id-56 .bha-distributor-form .wpforms-field-checkbox label{font-size:14px;line-height:1.5}
.page-id-56 .bha-distributor-form .wpforms-field-checkbox input{width:20px;height:20px}
.bha-inner-page .bha-wp-content .bha-retailer-logo-text{
  font:900 clamp(15px,1.45vw,20px)/1.15 Roboto,Arial,sans-serif!important;
  text-transform:uppercase;color:#242b30;letter-spacing:-.02em;
  padding:8px;text-align:center;overflow-wrap:anywhere;
}
.bha-inner-page .bha-wp-content .bha-reseller-cta{
  display:flex;align-items:center;justify-content:space-between;gap:30px;
  margin:40px auto 50px;padding:28px 31px;background:#f0f2f2;border-left:5px solid #FFC845;
}
.bha-inner-page .bha-wp-content .bha-reseller-cta .bha-overline{
  color:#726129;font:700 11px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;
}
.bha-inner-page .bha-wp-content .bha-reseller-cta h2{
  color:#181d20;font:900 clamp(24px,2.9vw,34px)/1.15 Roboto,Arial,sans-serif;margin:9px 0 10px;
}
.bha-inner-page .bha-wp-content .bha-reseller-cta p:not(.bha-overline){font-size:14px;line-height:1.7;color:#454e55;margin:0;max-width:650px}
.bha-inner-page .bha-wp-content .bha-reseller-cta>a{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;
  padding:14px 19px;background:#1d2326;color:#fff;text-decoration:none;
  font:900 12px/1.35 Roboto,Arial,sans-serif;text-transform:uppercase;white-space:nowrap;
}
.bha-inner-page .bha-wp-content .bha-reseller-cta>a:focus-visible{outline:3px solid #141a1d;outline-offset:4px}
@media(max-width:1050px){
  .bha-directory-products .bha-directory-grid>.bha-directory-card{flex-basis:calc((100% - 17px)/2)}
  .page-id-56 .bha-wp-content>.bha-two-col>.wp-block-group__inner-container{gap:24px!important}
}
@media(max-width:850px){
  .page-id-56 .bha-wp-content>.bha-two-col>.wp-block-group__inner-container{grid-template-columns:1fr!important;gap:28px!important}
  .page-id-56 .bha-distributor-form{max-width:720px;margin:0 auto}
}
@media(max-width:620px){
  .bha-directory-products .bha-directory-grid>.bha-directory-card{flex-basis:100%}
  .bha-directory-products .bha-directory-photo{height:230px}
  .bha-inner-page .bha-wp-content .bha-reseller-cta{flex-direction:column;align-items:stretch;padding:24px 20px;gap:20px}
  .bha-inner-page .bha-wp-content .bha-reseller-cta>a{width:100%}
  .page-id-56 .bha-distributor-form{padding:29px 21px}
}

/* Authentic non-metal sanding application: About now balances the metal hero. */
.page-id-29 .bha-about-story-grid>.wp-block-group__inner-container::after{background-image:var(--bha-wood-sanding-photo,var(--bha-people-photo))!important;background-position:center 48%;filter:brightness(.93) saturate(.92)}


/* Direct distributor product-family links; the columns are only presentation. */
.bha-distributor-assortment .bha-direct-family-nav{margin:18px 0 22px}
.bha-distributor-assortment .bha-direct-family-nav ul{
  list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:20px;border-top:2px solid #d3d9da;
}
.bha-distributor-assortment .bha-direct-family-nav li{list-style:none;min-width:0;margin:0;border-bottom:1px solid #d6dcdd}
.bha-distributor-assortment .bha-direct-family-nav a{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;
  min-height:46px;text-decoration:none;color:#212a2f;font:700 12px/1.45 Montserrat,Arial,sans-serif;
}
.bha-distributor-assortment .bha-direct-family-nav a span{flex-shrink:0;color:#74601a}
.bha-distributor-assortment .bha-direct-family-nav a:hover{text-decoration:underline;text-decoration-color:#bd9427}
.bha-distributor-assortment .bha-direct-family-nav a:focus-visible{outline:3px solid #22292d;outline-offset:2px}
/* Form choices are the same actual product names as Home, Products and Footer. */
.page-id-56 #wpforms-81-field_9{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 15px}
.page-id-56 #wpforms-81-field_9 li{min-width:0;margin:0;padding:5px 0;display:flex;align-items:flex-start;gap:8px}
.page-id-56 #wpforms-81-field_9 li input{flex-shrink:0;margin-top:2px}
.page-id-56 #wpforms-81-field_9 li label{display:block;line-height:1.4;overflow-wrap:break-word}
/* No invented parent categories in the global footer. */
.bha-footer-main .bha-footer-product-columns>.bha-footer-product-column{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.bha-footer-main .bha-footer-product-columns>.bha-footer-product-column a{line-height:1.5;overflow-wrap:break-word}
@media(max-width:850px){
 .bha-distributor-assortment .bha-direct-family-nav ul{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .bha-distributor-assortment .bha-direct-family-nav ul{grid-template-columns:1fr}
 .page-id-56 #wpforms-81-field_9{grid-template-columns:1fr}
 .bha-footer-main .bha-footer-product-columns>.bha-footer-product-column{grid-column:auto!important}
}

/* Owner-approved sitewide taxonomy: Safety follows the full shared BHA product range.
 * General reminders only; no implied datasheets, SDS or machine-specific certification. */
.bha-wp-content>.bha-safety-grid>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.bha-wp-content .bha-safety-grid .bha-safety-card{min-width:0;min-height:0;display:flex;flex-direction:column;padding:27px 24px 24px;background:#f5f6f6;border:1px solid #dce0e0;border-top:5px solid #FFC845}
.bha-wp-content .bha-safety-grid .bha-safety-card h3{font:900 clamp(21px,2vw,26px)/1.15 Roboto,Arial,sans-serif;text-transform:uppercase;letter-spacing:-.02em;color:#161a1d;margin:13px 0 16px}
.bha-wp-content .bha-safety-grid .bha-safety-card>p:not(:first-child){font:400 12px/1.75 Montserrat,Arial,sans-serif;color:#4e565b;margin:0 0 17px}
.bha-wp-content .bha-safety-grid .bha-safety-card .bha-safety-family-links{list-style:none;padding:0;margin:auto 0 0;border-top:1px solid #cfd4d5}
.bha-wp-content .bha-safety-grid .bha-safety-family-links li{list-style:none;margin:0;padding:0;border-bottom:1px solid #d6dadb}
.bha-wp-content .bha-safety-grid .bha-safety-family-links li:last-child{border-bottom:0}
.bha-wp-content .bha-safety-grid .bha-safety-family-links a{display:flex;justify-content:space-between;gap:11px;align-items:center;min-height:44px;padding:8px 0;color:#212a2f;text-decoration:none;font:700 12px/1.35 Montserrat,Arial,sans-serif}
.bha-wp-content .bha-safety-grid .bha-safety-family-links a:hover{text-decoration:underline;text-decoration-color:#c0941e}
.bha-wp-content .bha-safety-grid .bha-safety-family-links a:focus-visible{outline:3px solid #171e22;outline-offset:2px}
@media(max-width:950px){.bha-wp-content>.bha-safety-grid>.wp-block-group__inner-container{grid-template-columns:repeat(2,minmax(0,1fr))}.bha-wp-content .bha-safety-grid .bha-safety-card:last-child{grid-column:1/-1}}
@media(max-width:650px){.bha-wp-content>.bha-safety-grid>.wp-block-group__inner-container{grid-template-columns:1fr}.bha-wp-content .bha-safety-grid .bha-safety-card:last-child{grid-column:auto}.bha-wp-content .bha-safety-grid .bha-safety-card{padding:24px 20px}.bha-wp-content .bha-safety-grid .bha-safety-card h3{font-size:23px}}
