/* Keep the existing HLSEC logo and navigation visible in both scroll directions. */
body.wp-child-theme-hlsec-framework #masthead.site-header {
  position: fixed !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: #fff !important;
}
/* The theme already measures the header on load/resize into this variable. */
body.wp-child-theme-hlsec-framework .site-content {
  padding-top: var(--hl-header-height, 86px) !important;
}
/* Preserve access to every mobile menu entry in a short viewport. */
body.wp-child-theme-hlsec-framework #masthead .ast-mobile-header-content {
  max-height: calc(100vh - 90px - var(--wp-admin--admin-bar--height, 0px));
  max-height: calc(100dvh - 90px - var(--wp-admin--admin-bar--height, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
