header .bogo-language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
header .bogo-language-switcher li { margin: 0; padding: 0; }
header .bogo-language-switcher a {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--theme-palette-color-8, #fff);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
header .bogo-language-switcher { gap: 4px; padding-block: 4px; }
header .bogo-language-switcher .current a,
header .bogo-language-switcher a:hover {
    color: var(--theme-palette-color-8, #fff);
    background: transparent;
}
header .bogo-language-switcher a::before {
    content: "";
    position: absolute;
    inset: 6px 0;
    border-radius: 5px;
    z-index: -1;
    pointer-events: none;
}
header .bogo-language-switcher .current a::before,
header .bogo-language-switcher a:hover::before {
    background: rgb(255 255 255 / 22%);
}
header .bogo-language-switcher a:focus-visible,
#offcanvas a:focus-visible,
#offcanvas button:focus-visible {
    outline: 2px solid var(--theme-palette-color-4);
    outline-offset: 3px;
}
@media (max-width: 999px) {
    #offcanvas .ct-panel-actions {
        position: absolute;
        top: 16px !important;
        right: 18px !important;
        bottom: auto !important;
        left: auto !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0;
        z-index: 3;
    }
    #offcanvas .ct-toggle-close {
        margin: 0 !important;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--theme-palette-color-6);
        color: var(--theme-palette-color-4);
    }
    #offcanvas .ct-panel-content[data-device="mobile"] {
        justify-content: flex-start;
        padding: 28px 20px calc(32px + env(safe-area-inset-bottom)) !important;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    #offcanvas .ct-panel-content-inner {
        padding: 0 !important;
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
        align-items: stretch;
        justify-content: flex-start;
        gap: 24px;
    }
    #offcanvas [data-id="offcanvas-logo"] {
        align-self: flex-start;
        width: 160px !important;
        max-width: calc(100% - 64px);
        margin: 0 !important;
    }
    #offcanvas [data-id="offcanvas-logo"] img { width: 100%; height: auto; }
    #offcanvas .ct-language-switcher {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 4px;
        margin: 0;
        border-radius: 10px;
        background: var(--theme-palette-color-6);
    }
    #offcanvas .ct-language-switcher a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 7px;
        padding: 8px 12px;
        font-family: var(--theme-font-family);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.3;
        text-transform: none;
        color: var(--theme-palette-color-4);
    }
    #offcanvas .ct-language-switcher a[aria-current="page"] {
        background: var(--theme-palette-color-2);
        color: var(--theme-palette-color-8);
    }
    #offcanvas .alfi-mobile-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 10px;
        background: var(--theme-palette-color-2);
        color: var(--theme-palette-color-8);
        font-weight: 700;
        text-decoration: none;
    }
    #offcanvas .alfi-mobile-contact:hover { background: var(--theme-palette-color-2); }
    #offcanvas .ct-language-switcher a:hover:not([aria-current="page"]) { background: var(--theme-palette-color-2); }
    #offcanvas .mobile-menu { width: 100%; margin: 0; }
    #offcanvas .mobile-menu > ul { display: grid; gap: 8px; }
    #offcanvas .mobile-menu > ul > li {
        margin: 0;
        padding: 0;
        border-radius: 10px;
        box-shadow: none;
        background: var(--theme-palette-color-6);
    }
    #offcanvas .mobile-menu .ct-menu-link { min-height: 48px; padding: 12px 16px; font-size: 19px; line-height: 1.3; }
    #offcanvas .ct-toggle-dropdown-mobile { min-width: 48px; min-height: 48px; margin: 0; }
    #offcanvas .mobile-menu .sub-menu { padding-inline: 12px; }
    #offcanvas .mobile-menu .sub-menu .entry-content { padding: 0; margin: 0; }
    #offcanvas .mobile-menu .menu-headline { padding: 8px 0; margin: 0 !important; }
    #offcanvas .mobile-menu .menu-headline > .ct-menu-link:empty { display: none; }
    #offcanvas .mobile-menu .sub-menu .ct-menu-link { font-size: 17px; }
    #offcanvas .mobile-menu .wp-block-columns { display: block; margin: 0; }
    #offcanvas .mobile-menu .wp-block-column { margin: 0; }
    #offcanvas .mobile-menu .wp-block-getwid-banner { margin: 0 0 6px; }
    #offcanvas .mobile-menu .wp-block-getwid-banner__image { display: none; }
    #offcanvas .mobile-menu .wp-block-getwid-banner__wrapper { min-height: 0; border-radius: 6px; background: var(--theme-palette-color-8); }
    #offcanvas .mobile-menu .wp-block-getwid-banner__caption {
        position: relative;
        min-height: 44px !important;
        padding: 12px;
        background: transparent;
        color: var(--theme-palette-color-4) !important;
    }
    #offcanvas .mobile-menu .wp-block-getwid-banner__caption::before,
    #offcanvas .mobile-menu .wp-block-getwid-banner__caption::after { display: none; }
    #offcanvas .mobile-menu .wp-block-getwid-banner__caption-wrapper { text-align: left; width: 100%; }
    #offcanvas .mobile-menu .wp-block-getwid-banner__title { color: var(--theme-palette-color-4) !important; font-family: var(--theme-font-family, "Open Sans", sans-serif) !important; font-size: 14px !important; font-weight: 600; line-height: 1.5 !important; text-transform: none; }
}
