/* Preview navigation uses WordPress's native menu, keyboard handling and focus trap. */
.vvta-shared-header .wp-block-navigation__responsive-container-open {
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid currentColor;
    border-radius: 12px;
    font: inherit;
}
.vvta-shared-header .wp-block-navigation__responsive-container-open::after {
    content: "Menu";
    font-size: 14px;
    font-weight: 600;
}
.vvta-shared-header .wp-block-navigation button:focus-visible,
.vvta-shared-header .wp-block-navigation a:focus-visible {
    outline: 3px solid #087d2d;
    outline-offset: 4px;
}
.vvta-shared-header .wp-block-navigation__responsive-container.is-menu-open {
    box-sizing: border-box;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)) !important;
    background: #f4f8f6 !important;
    color: #092f46 !important;
    overflow-y: auto;
}
.vvta-shared-header .is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
}
.vvta-shared-header .is-menu-open .wp-block-navigation__responsive-container-close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #ccdcd5;
    border-radius: 50%;
    background: white;
    color: #092f46;
}
.vvta-shared-header .is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: stretch !important;
    padding-top: 80px !important;
    gap: 24px;
}
.vvta-shared-header .is-menu-open .wp-block-navigation__responsive-container-content::before {
    content: "Navigation";
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.025em;
}
.vvta-shared-header .is-menu-open .wp-block-navigation__container {
    align-items: stretch !important;
    width: 100%;
    gap: 10px !important;
}
.vvta-shared-header .is-menu-open .wp-block-navigation-item {
    width: 100%;
}
.vvta-shared-header .is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 56px;
    width: 100%;
    padding: 16px 20px !important;
    border: 1px solid #dce7e1;
    border-radius: 14px;
    background: white;
    color: #092f46 !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.vvta-shared-header .is-menu-open .wp-block-navigation-item__content:hover {
    background: #e8f3ed;
    border-color: #087d2d;
}
.vvta-shared-header .is-menu-open .vvta-nav-cta .wp-block-navigation-item__content {
    background: #087d2d;
    border-color: #087d2d;
    color: white !important;
    margin-top: 12px;
}
@media (max-width: 781px) {
    .vvta-shared-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }
    .vvta-shared-header .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }
}

/* Keep mobile preview pages within the viewport without blocking vertical scroll or zoom. */
@media (max-width: 781px) {
    html:has(.vvta-shared-header),
    body:has(.vvta-shared-header) {
        overflow-x: clip;
        overscroll-behavior-x: none;
    }
    .vvta-shared-header .wp-block-navigation__responsive-container.is-menu-open {
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }
}
