/* BHA V10: based on actual V5 section tagging + V8 selectors.
   The original Keynote header, Joomla modules, and js_slideshow remain authoritative. */
body.bha-v5-home { overflow-x:clip; }
body.bha-v5-home #sp-main-body .sppb-section,
body.bha-v5-home #sp-main-body .sppb-container,
body.bha-v5-home #sp-main-body .sppb-row { box-sizing:border-box; }
body.bha-v5-home #sp-main-body img { max-width:100%; }
/* Desktop: original 3-card layout, natural height; keep slideshow in its own row. */
@media (min-width:1101px) {
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important; }
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col { grid-column:auto!important;display:block!important;width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;padding:20px!important;height:auto!important; }
 body.bha-v5-home .bha-v5-hero { padding-bottom:26px!important; }
}
/* Tablet: two cards, third full-width. */
@media (min-width:768px) and (max-width:1100px) {
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important; }
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col { grid-column:auto!important;width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important; }
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col:nth-child(3) { grid-column:1/-1!important;display:block!important; }
}
/* Phone: one complete, readable card per row. Applies after V8's 2-column rule. */
@media (max-width:767px) {
 html { -webkit-text-size-adjust:100%; }
 body.bha-v5-home #sp-main-body { overflow-x:clip; }
 body.bha-v5-home #sp-main-body .sppb-container { width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important; }
 body.bha-v5-home #sp-main-body .sppb-section { max-width:100%; }
 body.bha-v5-home .bha-v5-hero { padding:18px 0 18px!important;height:auto!important;min-height:0!important;overflow:visible!important; }
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;grid-auto-rows:auto!important;width:100%!important;margin:0!important;align-items:stretch!important; }
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col,
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col:nth-child(3) {
   display:flex!important;flex-direction:column!important;grid-column:1/-1!important;grid-row:auto!important;
   grid-template-columns:none!important;gap:10px!important;align-items:stretch!important;
   width:100%!important;min-width:0!important;max-width:100%!important;flex:0 0 100%!important;
   box-sizing:border-box!important;height:auto!important;min-height:0!important;
   margin:0!important;padding:20px 18px 22px!important;overflow:visible!important;
   border-radius:16px!important;
 }
 body.bha-v5-home .bha-v5-hero-col .sppb-addon-wrapper,
 body.bha-v5-home .bha-v5-hero-col .sppb-addon,
 body.bha-v5-home .bha-v5-hero-col .sppb-addon-content { width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important; }
 body.bha-v5-home .bha-v5-hero-col .sppb-addon-title,
 body.bha-v5-home .bha-v5-hero-col h2,
 body.bha-v5-home .bha-v5-hero-col h3 { font-size:clamp(20px,5.3vw,25px)!important;line-height:1.25!important;margin:4px 0 12px!important;overflow-wrap:break-word!important; }
 body.bha-v5-home .bha-v5-hero-col p { font-size:15px!important;line-height:1.55!important;overflow-wrap:break-word!important; }
 body.bha-v5-home .bha-v5-hero-col img { display:block!important;max-height:none!important;width:100%!important;height:auto!important;object-fit:contain!important; }
 body.bha-v5-home .bha-v5-hero-col:nth-child(1) img {max-height:260px!important;object-fit:cover!important;aspect-ratio:16/10;}
 body.bha-v5-home .bha-v5-hero-col:nth-child(2) img {max-height:240px!important;object-fit:contain!important;}
 body.bha-v5-home .bha-v5-hero-col .sppb-btn,
 body.bha-v5-home .bha-v5-hero-col .sppb-btn-primary { font-size:14px!important;min-height:42px!important;padding:10px 16px!important; }
 body.bha-v5-home .bha-v5-hero-col .sppb-btn-group { display:flex!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important; }
 body.bha-v5-home .bha-v5-hero-col iframe { display:block!important;width:100%!important;height:auto!important;min-height:175px!important;aspect-ratio:16/9!important; }
 /* Native slideshow: preserve existing background layers, avoid hero overlap. */
 body.bha-v5-home .bha-v5-slideshow { clear:both!important;position:relative!important;z-index:1!important;margin:0!important;padding:14px 0 26px!important; }
 body.bha-v5-home #sppb-addon-wrapper-1697806227163 { margin-top:0!important;position:relative!important;top:auto!important;transform:none!important; }
 body.bha-v5-home .bha-v5-slideshow .sp-slider { border-radius:14px!important;overflow:hidden!important; }
 /* Gallery modules: two gallery images across where the module supports grid/list items. */
 body.bha-v5-home .bha-v5-gallery { padding:14px 0!important; }
 body.bha-v5-home .bha-v5-gallery .sppb-addon-module { padding:14px!important;margin-bottom:14px!important; }
 body.bha-v5-home .bha-v5-gallery .sppb-addon-title {font-size:20px!important;line-height:1.25!important;}
 body.bha-v5-home .bha-v5-gallery .sppb-addon-module img {height:auto!important;max-width:100%!important;}
 /* Featured Articles: heading/links first, plaque photo next. */
 body.bha-v5-home .bha-v5-articles { padding:22px 0!important; }
 body.bha-v5-home .bha-v5-articles .sppb-container>.sppb-row {display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:20px!important;margin:0!important;}
 body.bha-v5-home .bha-v5-articles .sppb-container>.sppb-row>[class*="sppb-col"],
 body.bha-v5-home .bha-v5-articles .sppb-container>.sppb-row>.row-column {width:100%!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;padding:0!important;margin:0!important;}
 body.bha-v5-home .bha-v5-articles .sppb-container>.sppb-row>:nth-child(2) {order:1!important;}
 body.bha-v5-home .bha-v5-articles .sppb-container>.sppb-row>:first-child {order:2!important;}
 body.bha-v5-home .bha-v5-articles .sppb-addon-title {font-size:25px!important;line-height:1.25!important;}
 body.bha-v5-home .bha-v5-articles li a {font-size:15px!important;line-height:1.55!important;}
 body.bha-v5-home .bha-v5-articles img {height:auto!important;max-width:100%!important;}
 /* Welcome: prevent hidden video column due to old responsive rules. */
 body.bha-v5-home .bha-v5-welcome { padding:18px 0!important;height:auto!important;min-height:0!important;overflow:visible!important; }
 body.bha-v5-home .bha-v5-welcome .sppb-row {display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:16px!important;align-items:stretch!important;margin:0!important;}
 body.bha-v5-home .bha-v5-welcome .sppb-row>[class*="sppb-col"] {display:block!important;order:initial!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;}
 body.bha-v5-home .bha-v5-welcome .sppb-addon-title {font-size:24px!important;line-height:1.3!important;}
 body.bha-v5-home .bha-v5-welcome iframe {display:block!important;width:100%!important;height:auto!important;min-height:180px!important;aspect-ratio:16/9!important;border-radius:12px!important;}
 /* Mission: remove tiny two-column squeezed typography. */
 body.bha-v5-home .bha-v5-mission .sppb-addon-title {font-size:23px!important;}
 body.bha-v5-home .bha-v5-mission p,body.bha-v5-home .bha-v5-mission li {font-size:15px!important;line-height:1.65!important;}
 /* Footer: show full original information on narrow screens instead of 3 microscopic buttons. */
 body.bha-v8-ready #sp-bottom {padding:22px 0 30px!important;}
 body.bha-v8-ready #sp-bottom .bha-v8-mobile-bar {display:none!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels,
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels:not(.bha-v6-panel-open) {display:block!important;max-width:100%!important;padding:12px 18px!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels .row {display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels .row>[class*="col-"] {border-right:0!important;border-bottom:1px solid rgba(255,255,255,.3)!important;width:100%!important;max-width:100%!important;padding:0 0 15px!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels .row>[class*="col-"]:last-child {border:0!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels .sp-module-title,
 body.bha-v8-ready #sp-bottom .bha-v8-contact h3 {font-size:18px!important;}
 body.bha-v8-ready #sp-bottom .bha-v6-footer-panels a {font-size:15px!important;}
 body.bha-v8-ready #sp-bottom .bha-v8-contact {padding:0!important;}
 body.bha-v8-ready #sp-footer .sp-copyright {font-size:12px!important;line-height:1.5!important;}
 /* Logo: proportional, at readable phone size. */
 body.bha-v6-ready #sp-header #sp-logo .logo,
 body.bha-v6-ready #sp-header #sp-logo .logo a {width:78px!important;height:70px!important;max-width:100%!important;}
 body.bha-v6-ready #sp-header #sp-logo img {width:auto!important;height:auto!important;max-width:78px!important;max-height:70px!important;object-fit:contain!important;}
}
@media (max-width:380px){
 body.bha-v5-home #sp-main-body .sppb-container {padding-left:12px!important;padding-right:12px!important;}
 body.bha-v5-home .bha-v5-hero .bha-v5-hero-row>.bha-v5-hero-col {padding:16px 14px 20px!important;}
}
