/* The drawer lives directly under body so a filtered header cannot clip it. */
#mobileNavOverlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 10010;
    overflow: hidden;
    overscroll-behavior: none;
    opacity: 1;
    visibility: visible;
    transition: none;
    background: rgba(15, 35, 52, 0.48);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
#mobileNavOverlay[hidden] {
    display: none !important;
}
#mobileNavOverlay .mobile-nav-content-2025 {
    box-sizing: border-box;
    width: min(360px, calc(100% - 32px));
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: none;
    transition: none;
}
#mobileNavOverlay .mobile-nav-header-2025 {
    gap: 16px;
    padding: max(16px, env(safe-area-inset-top, 0px)) 20px 16px;
    min-height: 76px;
    box-sizing: border-box;
}
#mobileNavOverlay .mobile-logo-2025 {
    flex: 1 1 auto;
    min-width: 0;
}
#mobileNavOverlay .mobile-logo-2025 a {
    display: block;
    max-width: 180px;
}
#mobileNavOverlay .mobile-logo-2025 img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}
#mobileNavOverlay .mobile-close-2025 {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 24px;
}
#mobileNavOverlay .mobile-navigation-2025 {
    padding: 0;
}
#mobileNavOverlay .mobile-menu-2025 a {
    box-sizing: border-box;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
#mobileNavOverlay .mobile-menu-2025 .sub-menu {
    display: block;
    position: static;
    width: auto;
    margin: 0 12px 8px;
    padding: 0;
    list-style: none;
    box-shadow: none;
}
#mobileNavOverlay .mobile-menu-2025 .sub-menu a {
    padding-left: 24px;
}
#mobileNavOverlay .mobile-contact-2025 {
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
#mobileNavOverlay :focus-visible {
    outline: 3px solid #2c6aa0;
    outline-offset: -3px;
}
body.sertcenter-panel-open {
    position: fixed;
    top: var(--sertcenter-scroll-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

/* Legacy .show utilities and a 10px root font must not shrink the form dialog. */
#consultation-modal.show:not([hidden]) {
    display: flex !important;
}
#consultation-modal .consultation-modal {
    width: min(100%, 520px);
    font-size: 16px;
}
#consultation-modal .consultation-modal-header h3 {
    font-size: 20px;
}
#consultation-modal .consultation-modal-close {
    font-size: 28px;
}
.sertcenter-cf7 .form_title {
    font-size: 18px;
}
.sertcenter-cf7 .form_agreement {
    font-size: 14px;
}
