/* V8: isolate layout from conflicting shared theme rules. */
.hb-header .hb-menu > li {margin:0; padding:0; position:relative; align-self:center;}
.hb-header .hb-menu li.menu-item-has-children > a::after,.hb-header .hb-menu li.menu-item-has-children > a::before,.hb-header .hb-menu li.menu-item-has-children::after,.hb-header .hb-menu li.menu-item-has-children::before{content:none!important;display:none!important}
.hb-header .hb-menu li.menu-item-has-children{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:3px!important}
.hb-header .hb-menu li.menu-item-has-children>a{display:inline-flex!important;align-items:center!important;min-height:36px;margin:0!important;padding-block:0!important;line-height:1.25!important;white-space:nowrap}
.hb-header .hb-menu .hb-sub-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;flex:0 0 24px!important;width:24px!important;height:32px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;line-height:1!important;font-size:15px!important;transform:none!important}
.hb-header .hb-menu .hb-sub-toggle::before,.hb-header .hb-menu .hb-sub-toggle::after{content:none!important;display:none!important}
.hb-header .hb-menu .sub-menu{top:100%;left:0;z-index:100;max-height:65vh;overflow-y:auto}
.hb-home .hb-videos .hb-shell{display:block!important;float:none!important}
.hb-home .hb-videos .hb-video-grid{width:100%!important;margin-inline:auto!important;float:none!important;grid-template-columns:repeat(4,minmax(0,1fr));}
.hb-home .hb-videos .hb-cta{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important;max-width:none!important;margin:32px auto 0!important;padding:0!important;float:none!important;clear:both!important;position:static!important;transform:none!important;box-sizing:border-box!important;}
.hb-home .hb-videos .hb-cta h3,.hb-home .hb-videos .hb-cta p{display:block!important;width:100%!important;max-width:760px!important;margin:0 auto 12px!important;text-align:center!important;float:none!important}
.hb-home .hb-videos .hb-cta>div,.hb-home .hb-local-copy .hb-local-actions{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;width:100%;margin:0 auto!important}
.hb-home .hb-section a.hb-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;width:auto!important;max-width:100%;padding:10px 20px!important;margin:0!important;line-height:1.3!important;border-radius:999px!important;color:#fff!important;text-align:center!important;white-space:normal!important;float:none!important;position:static!important;transform:none!important;box-sizing:border-box!important;text-decoration:none!important}
.hb-home .hb-section a.hb-btn-peach{background:#e99b78!important}.hb-home .hb-section a.hb-btn-green{background:#079e36!important}.hb-home .hb-section a.hb-btn-dark{background:#302620!important}
.hb-home .hb-section .hb-btn .hb-ui-icon{display:inline-flex!important;width:16px!important;height:16px!important;flex:0 0 16px!important;align-items:center;justify-content:center}.hb-home .hb-section .hb-btn .hb-ui-icon svg{width:16px!important;height:16px!important;fill:currentColor}
.hb-home .hb-treatment .hb-treatment-media{display:block!important;position:relative!important;width:100%!important;min-width:0;aspect-ratio:1/1!important;height:auto!important;background:#f5e0d4;overflow:hidden!important;border-radius:20px!important;align-self:center}
.hb-home .hb-treatment .hb-treatment-media img{display:block!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important;object-fit:cover!important;object-position:center!important;margin:0!important;border-radius:0!important}
.hb-home .hb-treatment .hb-treatment-media.hb-image-unavailable{display:none!important}.hb-home .hb-treatment-grid:has(.hb-image-unavailable){grid-template-columns:1fr!important;max-width:900px}
.hb-home .hb-treatment-media .hb-big-play{display:none!important}
@media(min-width:1001px){.hb-header .hb-menu{display:flex!important;align-items:center!important;flex-wrap:nowrap!important}.hb-header .hb-menu>li>a{display:inline-flex!important;align-items:center!important;min-height:36px;line-height:1.25!important}.hb-header .hb-menu .sub-menu .sub-menu{top:0;left:100%}}
@media(max-width:1000px){.hb-header .hb-menu li.menu-item-has-children{flex-wrap:wrap!important}.hb-header .hb-menu li.menu-item-has-children>a{flex:1}.hb-header .hb-menu .sub-menu{position:static!important;flex:0 0 100%;width:100%;max-height:none}.hb-header .hb-menu li.menu-item-has-children:not(.is-open)>.sub-menu{display:none!important}.hb-header .hb-menu li.is-open>.sub-menu{display:block!important}.hb-home .hb-videos .hb-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.hb-home .hb-videos .hb-cta>div{gap:8px}.hb-home .hb-section a.hb-btn{padding:10px 13px!important;font-size:12px!important}}
/* V9: keep video and dialog inside the visual viewport; override shared theme video rules. */
.hb-home #hb-video-modal {position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:12px!important;background:rgba(0,0,0,.76)!important;z-index:2147483000!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;transform:none!important;}
.hb-home #hb-video-modal:not(.is-open){display:none!important}
.hb-home #hb-video-modal.is-open{display:flex!important}
.hb-home #hb-video-modal .hb-video-dialog{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;box-sizing:border-box!important;width:min(calc(100vw - 24px), 480px)!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:100%!important;aspect-ratio:auto!important;padding:0!important;margin:0!important;background:#111!important;border-radius:12px!important;overflow:hidden!important;transform:none!important;}
.hb-home #hb-video-modal .hb-video-slot{display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 76px)!important;max-height:calc(100dvh - 76px)!important;aspect-ratio:auto!important;padding:0!important;margin:0!important;overflow:hidden!important;}
.hb-home #hb-video-modal .hb-video-slot::before,.hb-home #hb-video-modal .hb-video-slot::after,.hb-home #hb-video-modal .hb-video-dialog::before,.hb-home #hb-video-modal .hb-video-dialog::after{content:none!important;display:none!important}
.hb-home #hb-video-modal .hb-video-slot video{display:block!important;position:static!important;inset:auto!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 76px)!important;max-height:calc(100dvh - 76px)!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;background:#000!important;}
.hb-home #hb-video-modal .hb-video-close{display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;align-self:flex-end!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:0!important;margin:4px 4px 4px 0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#333!important;color:white!important;line-height:1!important;font-size:28px!important;cursor:pointer!important;transform:none!important;}
.hb-home.hb-video-playing{overflow:hidden!important}

/* Inner pages only: balanced mobile logo spacing. */
@media(max-width: 900px){
 body:not(.hb-home) #site-header .hb-header-inner{box-sizing:border-box;min-height:84px!important;height:auto!important;padding-top:10px!important;padding-bottom:10px!important;align-items:center!important}
 body:not(.hb-home) #site-header .hb-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin:0!important;padding:0!important;line-height:0!important}
 body:not(.hb-home) #site-header .hb-brand img{display:block!important;width:132px!important;height:64px!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important}
}
