/* A transformed ancestor (including will-change:transform) confines fixed menus
   to the header. Release that containing block while WordPress opens its modal. */
html.has-modal-open .wp-site-blocks > header.wp-block-template-part {
    transform: none !important;
    will-change: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
    z-index: 100001 !important;
}
html.has-modal-open .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    box-sizing: border-box;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}
