/* Target the specific Astra hook container for the hbd_menu layout, excluding hbd_menu_allpages */
.ast-custom-html-hook-71:not(.hbd_menu_allpages),
.astra-advanced-hook-71:not(.hbd_menu_allpages),
/* Adding explicit hbd_menu class selector to increase specificity if the element has it */
.hbd_menu {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: transparent !important;
}

/* Ensure the body doesn't push down */
body {
    padding-top: 0 !important;
}

/* Fallback for Astra header, assuming we want it only for hbd_menu context */
header.site-header.hbd_menu,
#ast-desktop-header.hbd_menu {
    background-color: transparent !important;
    position: absolute !important;
    width: 100% !important;
    top: 0;
    left: 0;
    z-index: 9998 !important;
    border: none !important;
}
