/* Fright Guild Core 3.1.9 — focused mobile navigation tap-target correction. */

/*
 * Astra already owns the submenu state, icon rotation, accessibility state,
 * and animation.  The live Fright Guild header responds correctly when the
 * arrow itself is tapped, so do not duplicate that logic.  Instead, on the
 * mobile breakpoint only, stretch Astra's existing .ast-menu-toggle button
 * horizontally across the same parent row.  The label remains visually
 * unchanged underneath it, while the full row activates the same native
 * button the arrow uses.
 */
@media (max-width: 921px) {
    .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children,
    .ast-builder-menu-mobile .main-header-bar-navigation .menu-item-has-children {
        position: relative !important;
    }

    .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .menu-link,
    .ast-builder-menu-mobile .main-header-bar-navigation .menu-item-has-children > .menu-link {
        position: relative !important;
        z-index: 1 !important;
    }

    .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle,
    .ast-builder-menu-mobile .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 20px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: inherit !important;
        text-align: right !important;
        cursor: pointer !important;
        z-index: 20 !important;
    }

    .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle svg,
    .ast-builder-menu-mobile .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle svg {
        pointer-events: none !important;
    }
}
