/* EBDA mobile navigation refinement — Astra retains menu and link ownership. */
@media(max-width:921px){
#masthead #ast-mobile-site-navigation{padding:14px 16px 20px!important;background:#f7f9fc!important;scroll-padding:14px;overscroll-behavior:contain}
#masthead #ast-hf-mobile-menu{gap:6px!important}
#masthead #ast-hf-mobile-menu>.menu-item{border:1px solid #e4eaf2!important;border-radius:10px!important;box-shadow:none!important;min-height:52px!important}
#masthead #ast-hf-mobile-menu>.menu-item>.menu-link{display:flex!important;align-items:center!important;min-height:52px!important;padding:10px 64px 10px 15px!important;font-size:15px!important;line-height:1.4!important;border:0!important;border-radius:10px!important}
#masthead #ast-hf-mobile-menu>.menu-item:not(.menu-item-has-children)>.menu-link{padding-right:15px!important}
#masthead #ast-hf-mobile-menu .menu-item-has-children>.ast-menu-toggle{display:flex!important;align-items:center!important;justify-content:center!important;top:4px!important;right:5px!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid #e0e7ef!important;background:#f2f6fa!important;border-radius:8px!important;transform:none!important}
#masthead #ast-hf-mobile-menu .menu-link>.dropdown-menu-toggle{display:none!important}
#masthead #ast-hf-mobile-menu>.ast-submenu-expanded{background:#fff!important;padding-bottom:6px!important}
#masthead #ast-hf-mobile-menu .sub-menu{background:#eef3f8!important;width:calc(100% - 16px)!important;margin:0 8px!important;padding:5px!important;border:0!important;border-radius:7px!important;box-shadow:none!important}
#masthead #ast-hf-mobile-menu .sub-menu .menu-link{display:flex!important;align-items:center!important;min-height:46px!important;padding:10px 13px!important;font-size:14px!important;line-height:1.45!important;color:#294564!important;border:0!important;background:transparent!important}
#masthead #ast-hf-mobile-menu .sub-menu .menu-link .ast-icon{display:none!important}
#masthead #ast-hf-mobile-menu .sub-menu .menu-link:focus-visible,#masthead #ast-hf-mobile-menu .sub-menu .menu-link:hover{background:#e0eaf4!important;color:#092b51!important;box-shadow:none!important}
#masthead #ast-hf-mobile-menu a:focus-visible,#masthead #ast-hf-mobile-menu button:focus-visible,#masthead #ast-mobile-header .main-header-menu-toggle:focus-visible{outline:2px solid #d49a2d!important;outline-offset:-3px!important}
#masthead #ast-hf-mobile-menu>.current-menu-item>.menu-link{box-shadow:inset 3px 0 #d49a2d!important}
#masthead #ast-mobile-header .ast-header-button-1{padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important}
#masthead #ast-mobile-header .ast-custom-button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;box-shadow:none!important}
body.ast-main-header-nav-open{overflow:hidden!important;overscroll-behavior:none}
}
@media(max-width:921px) and (prefers-reduced-motion:reduce){#masthead .ast-mobile-header-content,#masthead #ast-hf-mobile-menu *{animation:none!important;transition:none!important}}
/* Astra's additional navigation wrapper must shrink with the viewport. */
@media(max-width:921px){
body.ast-main-header-nav-open #masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
body.ast-main-header-nav-open #masthead #ast-mobile-site-navigation{flex:1 1 auto!important;min-height:0!important}
}

/* One surface per expanded menu; delicate chevron with a full touch target. */
@media(max-width:921px){
#masthead #ast-hf-mobile-menu>.menu-item.ast-submenu-expanded,
#masthead #ast-hf-mobile-menu>.menu-item.ast-submenu-expanded>.menu-link,
#masthead #ast-hf-mobile-menu>.menu-item.ast-submenu-expanded>.menu-link:hover,
#masthead #ast-hf-mobile-menu>.menu-item.ast-submenu-expanded>.menu-link:focus-visible{background:#f0f4f8!important;box-shadow:none!important}
#masthead #ast-hf-mobile-menu>.ast-submenu-expanded{border-color:#dce5ee!important}
#masthead #ast-hf-mobile-menu .sub-menu{background:transparent!important;border-radius:0!important;margin:0 12px!important;width:calc(100% - 24px)!important;padding:4px 0 6px!important;border-top:1px solid #dce5ee!important}
#masthead #ast-hf-mobile-menu .sub-menu li,#masthead #ast-hf-mobile-menu .sub-menu .menu-link{background:transparent!important;box-shadow:none!important}
#masthead #ast-hf-mobile-menu .sub-menu .menu-link:hover,#masthead #ast-hf-mobile-menu .sub-menu .menu-link:focus-visible{background:transparent!important;color:#0765ad!important}
#masthead #ast-hf-mobile-menu .menu-item-has-children>.ast-menu-toggle,
#masthead #ast-hf-mobile-menu .menu-item-has-children>.ast-menu-toggle:hover,
#masthead #ast-hf-mobile-menu .menu-item-has-children>.ast-menu-toggle[aria-expanded=true]{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
#masthead #ast-hf-mobile-menu .ast-menu-toggle .ast-icon{display:none!important}
#masthead #ast-hf-mobile-menu .ast-menu-toggle:after{content:'';display:block;width:8px;height:8px;border-right:1.5px solid #47617b;border-bottom:1.5px solid #47617b;transform:translateY(-2px) rotate(45deg)}
#masthead #ast-hf-mobile-menu .ast-menu-toggle[aria-expanded=true]:after{transform:translateY(2px) rotate(225deg)}
#masthead #ast-mobile-header .ast-header-button-1 .ast-builder-button-wrap,
#masthead #ast-mobile-header .ast-header-button-1 .ast-custom-button-link,
#masthead #ast-mobile-header .ast-header-button-1 .ast-custom-button{width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important}
}

/* A single top-level indicator: expanded section takes precedence over current page. */
@media(max-width:921px){
#masthead #ast-hf-mobile-menu>.menu-item,
#masthead #ast-hf-mobile-menu>.menu-item>.menu-link{box-shadow:none!important}
#masthead #ast-hf-mobile-menu:not(:has(>.ast-submenu-expanded))>.current-menu-item>.menu-link,
#masthead #ast-hf-mobile-menu:not(:has(>.ast-submenu-expanded)):not(:has(>.current-menu-item))>.current-menu-ancestor>.menu-link{box-shadow:inset 3px 0 #d49a2d!important}
#masthead #ast-hf-mobile-menu>.ast-submenu-expanded>.menu-link{box-shadow:inset 3px 0 #d49a2d!important}
}

/* A single top-level indicator: expanded section takes precedence over current page. */
@media(max-width:921px){
#masthead #ast-hf-mobile-menu>.menu-item,
#masthead #ast-hf-mobile-menu>.menu-item>.menu-link{box-shadow:none!important}
#masthead #ast-hf-mobile-menu:not(:has(>.ast-submenu-expanded))>.current-menu-item>.menu-link,
#masthead #ast-hf-mobile-menu:not(:has(>.ast-submenu-expanded)):not(:has(>.current-menu-item))>.current-menu-ancestor>.menu-link{box-shadow:inset 3px 0 #d49a2d!important}
#masthead #ast-hf-mobile-menu>.menu-item.ast-submenu-expanded>.menu-link{box-shadow:inset 3px 0 #d49a2d!important}
}
