#custom-menu-11 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px clamp(12px, 2vw, 32px);
    background: #fff;
    box-shadow: 0 4px 24px rgb(18 26 42 / 12%);
    font: 400 14px/1.4 Gilroy, sans-serif;
    color: #121a2a;
}

/* Keep the header shadow and dropdowns above Tilda's Zero Blocks. */
#t-header #custom-menu-11:not(.sticky) {
    position: relative;
    z-index: 1002;
}

#custom-menu-11.sticky {
    position: fixed;
    inset: var(--wp-admin--admin-bar--height, 0px) 0 auto;
    z-index: 1002;
}

#custom-menu-11 .menu-logo { flex: none; }
#custom-menu-11 .ch-logo { display: block; width: clamp(80px, 9vw, 120px); height: auto; }
#custom-menu-11 ul { margin: 0; padding: 0; list-style: none; }
#custom-menu-11 li { position: relative; margin: 0; padding: 0; }
#custom-menu-11 .menu-wp-ul { display: flex; flex-wrap: wrap; justify-content: center; }
#custom-menu-11 .menu-item { display: flex; align-items: center; }
#custom-menu-11 .menu-item > a {
    display: block;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#custom-menu-11 .submenu {
    display: none;
    position: absolute;
    inset: 100% auto auto 0;
    z-index: 2;
    box-sizing: border-box;
    width: min(240px, calc(100vw - 24px));
    padding: 4px;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(18 26 42 / 16%);
}

#custom-menu-11 .submenu > li > a { flex: 1; }
#custom-menu-11 .submenu .submenu { inset: -5px auto auto 100%; }
#custom-menu-11 .submenu.align-right { inset-inline: auto 0; }
#custom-menu-11 .submenu .submenu.align-right { inset-inline: auto 100%; }
#custom-menu-11 .is-open { z-index: 1; }
#custom-menu-11 .is-open > .submenu,
#custom-menu-11:not(.menu-ready) .menu-item:is(:hover, :focus-within) > .submenu { display: block; }

#custom-menu-11 button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

#custom-menu-11 .lidery-submenu-button { display: none; }
#custom-menu-11.menu-ready .lidery-submenu-button {
    display: grid;
    place-items: center;
    min-width: 32px;
    min-height: 40px;
}
#custom-menu-11 [aria-expanded="true"] > span { transform: rotate(180deg); }
#custom-menu-11 :is(a, button):focus-visible { outline: 2px solid #3768a4; outline-offset: -2px; }
#custom-menu-11 .menu-item > :is(a, button):hover { background: #f1f5fa; }
#custom-menu-11 .callback { padding: 10px 14px; background: #3768a4; color: #fff; text-decoration: none; }
#custom-menu-11 .burger-button,
#custom-menu-11 .close-icon,
#custom-menu-11 .menu-mask,
#custom-menu-11 .btn-callback-mobile { display: none; }

@media (max-width: 960px) {
    #custom-menu-11 .burger-button { display: block; width: 44px; height: 44px; font-size: 24px; }
    #custom-menu-11 .burger-button.active { position: fixed; top: 12px; right: 12px; z-index: 1003; }
    #custom-menu-11 .burger-button.active .burger-icon { display: none; }
    #custom-menu-11 .burger-button.active .close-icon { display: inline; }
    #custom-menu-11 .menu-mask.active { display: block; position: fixed; inset: 0; background: rgb(0 0 0 / 45%); z-index: 1000; }
    #custom-menu-11 .menu-wp {
        display: none;
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1002;
        box-sizing: border-box;
        width: min(340px, 100vw);
        padding: 64px 16px 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
    }
    #custom-menu-11 .menu-wp-ul,
    #custom-menu-11 .menu-wp.active { display: block; }
    #custom-menu-11 .menu-item { flex-wrap: wrap; }
    #custom-menu-11 .menu-item > a { flex: 1; min-height: 44px; box-sizing: border-box; }
    #custom-menu-11.menu-ready .lidery-submenu-button { min-width: 44px; min-height: 44px; }
    #custom-menu-11 .submenu {
        position: static;
        flex-basis: 100%;
        width: 100%;
        padding-inline-start: 12px;
        border: 0;
        box-shadow: none;
    }
    #custom-menu-11:not(.menu-ready) .submenu { display: block; }
    #custom-menu-11 .btn-callback-mobile { display: inline-block; margin-top: 16px; }
    #custom-menu-11 .btn-callback-desktop { display: none; }
}
