/* ===== Baby Hair footer: compact accordion + tight, even rhythm on mobile ===== */

@media (max-width:767px){

/* ---- outer frame: one calm gutter, no dead space top or bottom ---- */
footer.wd-footer .container.main-footer{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}
footer.wd-footer [data-id="2787f1d"]{padding-top:28px !important;padding-bottom:0 !important}
footer.wd-footer [data-id="a882f9a"]{padding-left:18px !important;padding-right:18px !important}
footer.wd-footer .elementor-widget:not(:last-child){margin-bottom:0}
footer.wd-footer .elementor-widget-text-editor p{margin:0}
footer.wd-footer .elementor-widget-spacer .elementor-spacer-inner{height:12px !important}

/* ---- brand block: small logo, short gaps ---- */
footer.wd-footer [data-id="cbfea99"],footer.wd-footer .e-con:has(>.bh-fold),footer.wd-footer .bh-fold-wrap{gap:0 !important;row-gap:0 !important;column-gap:0 !important;--gap:0px;--row-gap:0px;--column-gap:0px}
footer.wd-footer [data-id="6b59e3e"]{margin-bottom:22px}
footer.wd-footer [data-id="6b59e3e"]>.elementor-widget-spacer:first-child{display:none !important}
footer.wd-footer [data-id="187a1f0"] img{display:block;width:128px;max-width:100%;height:auto}
footer.wd-footer [data-id="d7be5b1"]{max-width:30em}

/* ---- accordion rows ---- */
footer.wd-footer .bh-fold{border-bottom:1px solid rgba(255,255,255,.16);gap:0 !important;row-gap:0 !important;padding-top:0 !important;padding-bottom:0 !important;--gap:0px;--row-gap:0px}
footer.wd-footer .e-con:not(.bh-fold)+.bh-fold{border-top:1px solid rgba(255,255,255,.16)}
footer.wd-footer .bh-fold>.elementor-widget-heading{position:relative;cursor:pointer;margin:0 !important;padding:15px 40px 15px 0;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
footer.wd-footer .bh-fold>.elementor-widget-heading .elementor-heading-title{margin:0}
footer.wd-footer .bh-fold>.elementor-widget-heading:focus-visible{outline:2px solid currentColor;outline-offset:2px}
footer.wd-footer .bh-fold>.elementor-widget-heading::after{content:'';position:absolute;right:4px;top:50%;width:12px;height:12px;margin-top:-6px;background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 100% no-repeat;transition:transform .3s ease,background-size .3s ease}
footer.wd-footer .bh-fold.is-open>.elementor-widget-heading::after{background-size:100% 1.5px,1.5px 0;transform:rotate(180deg)}
footer.wd-footer .bh-fold>.elementor-widget-spacer{display:none !important}
footer.wd-footer .bh-fold>.elementor-widget-nav-menu,footer.wd-footer .bh-fold>.elementor-widget-icon-list{max-height:0;overflow:hidden;visibility:hidden;opacity:0;margin:0 !important;padding-bottom:0;transition:max-height .35s ease,opacity .25s ease,padding .35s ease,visibility 0s linear .35s}
footer.wd-footer .bh-fold.is-open>.elementor-widget-nav-menu,footer.wd-footer .bh-fold.is-open>.elementor-widget-icon-list{max-height:700px;visibility:visible;opacity:1;padding-bottom:10px;transition:max-height .35s ease,opacity .25s ease .05s,padding .35s ease,visibility 0s}
footer.wd-footer .bh-fold .elementor-nav-menu--main .elementor-item{padding-top:7px !important;padding-bottom:7px !important}

/* ---- ecosystem band ---- */
footer.wd-footer [data-id="e67fe56"]{margin-top:0 !important;padding-top:22px !important;padding-bottom:22px !important;gap:14px !important;row-gap:14px !important;--gap:14px;--row-gap:14px}
footer.wd-footer [data-id="8161ed0"] .elementor-widget-spacer .elementor-spacer-inner{height:8px !important}

/* ---- affiliations strip ---- */
footer.wd-footer [data-id="e9a3d24"]{padding-top:20px !important;padding-bottom:20px !important;gap:14px !important;row-gap:14px !important;--gap:14px;--row-gap:14px}
footer.wd-footer [data-id="0b86bd7"]{padding-left:10px !important}
footer.wd-footer [data-id="6a5d890"]{padding-top:0 !important;padding-bottom:0 !important;border-top-width:0 !important}
footer.wd-footer [data-id="9e65145"]{padding-left:0 !important;min-height:0 !important}
footer.wd-footer [data-id="7cc2a9f"]{border-left-width:0 !important;padding-left:0 !important}

/* ---- copyright bar ---- */
footer.wd-footer .wd-copyrights{padding-top:14px;padding-bottom:14px}
footer.wd-footer .wd-copyrights .wd-grid-g{row-gap:4px !important}
footer.wd-footer .wd-copyrights p{margin:0;font-size:11.5px;line-height:1.6}
}

@media (prefers-reduced-motion:reduce){footer.wd-footer .bh-fold>*,footer.wd-footer .bh-fold>.elementor-widget-heading::after{transition:none !important}}
