/*
|--------------------------------------------------------------------------
| Hide theme / Elementor headers
|--------------------------------------------------------------------------
*/

header#site-header,
#masthead,
.site-header,
header.elementor-header,
.elementor-location-header {
    display: none !important;
}


/*
|--------------------------------------------------------------------------
| Main header
|--------------------------------------------------------------------------
*/

.sensovet-custom-header-4b650241 {
    width: 100%;

    background-color: #ffffff;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);

    border-bottom:
        1px solid #f1f1f1;

    position: sticky;
    top: 0;

    z-index: 100000;

    padding: 10px 0;
}


body.admin-bar
.sensovet-custom-header-4b650241 {
    top:
        var(
            --wp-admin--admin-bar--height,
            32px
        );
}


@media screen and (max-width: 782px) {

    body.admin-bar
    .sensovet-custom-header-4b650241 {
        top: 46px;
    }

}


.header-container-4b650241 {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;
}


/*
|--------------------------------------------------------------------------
| Logo
|--------------------------------------------------------------------------
*/

.logo-area-4b650241 {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}


.logo-area-4b650241 a {
    display: block;
}


.custom-logo-4b650241 {
    max-height: 55px;

    width: auto;

    display: block;
}


/*
|--------------------------------------------------------------------------
| Desktop navigation
|--------------------------------------------------------------------------
*/

.nav-menu-area-4b650241 {
    flex-grow: 1;

    display: flex;

    justify-content: center;
}


.custom-menu-list-4b650241 {
    list-style: none;

    margin: 0;

    padding: 0;

    display: flex;

    gap: 15px;

    align-items: center;

    flex-wrap: wrap;
}


.custom-menu-list-4b650241 li {
    margin: 0;

    padding: 0;
}


.custom-menu-list-4b650241 li a {
    text-decoration: none;

    font-size: 13.5px;

    font-weight: 700;

    color: #1a1a1a;

    transition:
        color 0.2s ease;

    padding: 8px 4px;

    display: block;
}


.custom-menu-list-4b650241 li a:hover,
.custom-menu-list-4b650241
li.current-menu-item > a {
    color: #0073aa;
}


/*
|--------------------------------------------------------------------------
| TranslatePress - desktop
|--------------------------------------------------------------------------
*/

.custom-menu-list-4b650241
li.trp-language-switcher-container {
    display: flex;

    align-items: center;
}


.custom-menu-list-4b650241
li.trp-language-switcher-container a {
    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 5px;
}


/*
|--------------------------------------------------------------------------
| Phone button
|--------------------------------------------------------------------------
*/

.actions-area-4b650241 {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;
}


.phone-button-4b650241 {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border:
        2px solid #0091cd;

    border-radius: 25px;

    padding: 8px 18px;

    color: #0091cd;

    font-weight: 700;

    font-size: 14px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.phone-button-4b650241:hover {
    background-color: #0091cd;

    color: #ffffff;

    transform: translateY(-1px);
}


.phone-icon-4b650241 {
    color: currentColor;

    flex-shrink: 0;
}


.phone-label-mobile-4b650241 {
    display: none;
}


/*
|--------------------------------------------------------------------------
| Mobile-only elements hidden on desktop
|--------------------------------------------------------------------------
*/

.mobile-language-area-4b650241,
.mobile-menu-toggle-4b650241,
.mobile-menu-panel-4b650241,
.mobile-menu-overlay-4b650241 {
    display: none;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {


    /*
    |--------------------------------------------------------------------------
    | Header row
    |--------------------------------------------------------------------------
    */

    .sensovet-custom-header-4b650241 {
        padding: 8px 0;

        box-shadow:
            0 2px 10px rgba(0, 0, 0, 0.07);
    }


    .header-container-4b650241 {
        width: 100%;

        max-width: none;

        padding:
            0 10px;

        display: flex;

        flex-direction: row;

        flex-wrap: nowrap;

        align-items: center;

        justify-content: space-between;

        gap: 7px;
    }


    /*
    |--------------------------------------------------------------------------
    | Logo - mobile
    |--------------------------------------------------------------------------
    */

    .logo-area-4b650241 {
        flex:
            1 1 auto;

        min-width: 0;
    }


    .custom-logo-4b650241 {
        width: 84px;

        max-width: 84px;

        max-height: 48px;

        object-fit: contain;
    }


    /*
    |--------------------------------------------------------------------------
    | Hide desktop navigation
    |--------------------------------------------------------------------------
    */

    .nav-menu-area-4b650241 {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Phone - mobile
    |--------------------------------------------------------------------------
    */

    .actions-area-4b650241 {
        display: flex;

        width: auto;

        flex:
            0 0 auto;
    }


    .phone-button-4b650241 {
        height: 44px;

        padding:
            0 13px;

        gap: 7px;

        border-width: 2px;

        border-radius: 14px;

        font-size: 14px;

        line-height: 1;

        box-sizing: border-box;
    }


    .phone-button-4b650241:hover {
        transform: none;
    }


    .phone-button-4b650241 svg {
        width: 17px;

        height: 17px;
    }


    .phone-label-desktop-4b650241 {
        display: none;
    }


    .phone-label-mobile-4b650241 {
        display: inline;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile language switcher
    |--------------------------------------------------------------------------
    */

    .mobile-language-area-4b650241 {
        display: flex;

        align-items: center;

        flex:
            0 0 auto;
    }


    .mobile-language-menu-4b650241 {
        list-style: none;

        padding: 0;

        margin: 0;

        display: flex;

        align-items: center;
    }


    /*
     * Hide everything except TranslatePress.
     */

    .mobile-language-menu-4b650241 > li {
        display: none;
    }


    .mobile-language-menu-4b650241
    > li.trp-language-switcher-container {
        display: flex;

        align-items: center;
    }


    .mobile-language-menu-4b650241
    li.trp-language-switcher-container a {
        min-height: 44px;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 5px;

        padding:
            0 7px;

        border-radius: 12px;

        color: #1a1a1a;

        font-size: 14px;

        line-height: 1;

        font-weight: 600;

        text-decoration: none;

        white-space: nowrap;
    }


    /*
    |--------------------------------------------------------------------------
    | Hamburger / X button
    |--------------------------------------------------------------------------
    |
    | Explicit reset is intentional here because WordPress themes may apply
    | their own default button background/border before interaction.
    |--------------------------------------------------------------------------
    */

    button.mobile-menu-toggle-4b650241 {
        width: 44px !important;

        height: 44px !important;

        min-width: 0 !important;

        min-height: 0 !important;

        flex:
            0 0 44px;

        display: flex !important;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 5px;

        padding: 0 !important;

        margin: 0 !important;

        appearance: none !important;

        -webkit-appearance: none !important;

        border:
            1px solid rgba(20, 33, 42, 0.10) !important;

        border-radius:
            14px !important;

        background:
            transparent !important;

        background-color:
            transparent !important;

        background-image:
            none !important;

        box-shadow:
            none !important;

        outline:
            none !important;

        color:
            #14212a !important;

        font:
            inherit;

        line-height:
            1;

        cursor:
            pointer;

        box-sizing:
            border-box;

        transition:
            border-color 0.2s ease,
            background-color 0.2s ease;
    }


    button.mobile-menu-toggle-4b650241:hover,
    button.mobile-menu-toggle-4b650241:focus,
    button.mobile-menu-toggle-4b650241:focus-visible,
    button.mobile-menu-toggle-4b650241:active {
        border-color:
            rgba(20, 33, 42, 0.16) !important;

        background:
            transparent !important;

        background-color:
            transparent !important;

        background-image:
            none !important;

        box-shadow:
            none !important;

        outline:
            none !important;

        color:
            #14212a !important;
    }


    button.mobile-menu-toggle-4b650241 span {
        width: 20px;

        height: 2px;

        min-height: 2px;

        display: block;

        flex:
            0 0 2px;

        margin: 0;

        padding: 0;

        background:
            #14212a !important;

        background-color:
            #14212a !important;

        border: 0;

        border-radius:
            4px;

        transform-origin:
            center;

        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }


    /*
     * Hamburger -> X
     */

    button.mobile-menu-toggle-4b650241.is-open
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    button.mobile-menu-toggle-4b650241.is-open
    span:nth-child(2) {
        opacity: 0;
    }


    button.mobile-menu-toggle-4b650241.is-open
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /*
    |--------------------------------------------------------------------------
    | Page overlay
    |--------------------------------------------------------------------------
    */

    .mobile-menu-overlay-4b650241 {
        display: block;

        position: fixed;

        inset:
            var(
                --sensovet-mobile-header-bottom,
                80px
            )
            0
            0
            0;

        z-index: 99990;

        background:
            rgba(4, 17, 25, 0.38);

        backdrop-filter:
            blur(3px);

        -webkit-backdrop-filter:
            blur(3px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    .mobile-menu-overlay-4b650241.is-open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile menu panel
    |--------------------------------------------------------------------------
    */

    .mobile-menu-panel-4b650241 {
        display: block;

        position: fixed;

        top:
            calc(
                var(
                    --sensovet-mobile-header-bottom,
                    80px
                )
                + 14px
            );

        left: 14px;

        right: 14px;

        z-index: 99995;

        max-height:
            calc(
                100dvh
                -
                var(
                    --sensovet-mobile-header-bottom,
                    80px
                )
                -
                28px
            );

        overflow-y: auto;

        overscroll-behavior:
            contain;

        padding:
            26px
            24px
            30px;

        box-sizing:
            border-box;

        background:
            #ffffff;

        border-radius:
            38px;

        box-shadow:
            0
            20px
            50px
            rgba(0, 0, 0, 0.16);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translateY(-12px)
            scale(0.985);

        transform-origin:
            top center;

        transition:
            opacity 0.24s ease,
            visibility 0.24s ease,
            transform 0.24s ease;
    }


    .mobile-menu-panel-4b650241.is-open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateY(0)
            scale(1);
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile menu links
    |--------------------------------------------------------------------------
    */

    .mobile-menu-list-4b650241 {
        list-style: none;

        margin: 0;

        padding: 0;

        display: flex;

        flex-direction: column;

        gap: 0;
    }


    .mobile-menu-list-4b650241 li {
        margin: 0;

        padding: 0;
    }


    /*
     * Language selector already lives in the header.
     */

    .mobile-menu-list-4b650241
    li.trp-language-switcher-container {
        display: none;
    }


    .mobile-menu-list-4b650241 li a {
        display: block;

        padding:
            15px
            24px;

        margin:
            2px 0;

        border-radius:
            14px;

        color:
            #071722;

        font-size:
            20px;

        line-height:
            1.3;

        font-weight:
            500;

        text-decoration:
            none;

        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }


    .mobile-menu-list-4b650241 li a:hover,
    .mobile-menu-list-4b650241
    li.current-menu-item > a {
        background:
            #f4f7f8;

        color:
            #0091cd;
    }


    /*
    |--------------------------------------------------------------------------
    | Prevent background scrolling while menu is open
    |--------------------------------------------------------------------------
    */

    body.sensovet-mobile-menu-open {
        overflow: hidden;
    }

}


/*
|--------------------------------------------------------------------------
| Very narrow phones
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .header-container-4b650241 {
        padding:
            0 7px;

        gap: 5px;
    }


    .custom-logo-4b650241 {
        width: 72px;

        max-width: 72px;
    }


    .phone-button-4b650241 {
        padding:
            0 10px;

        font-size:
            13px;
    }


    .phone-button-4b650241 svg {
        width: 15px;

        height: 15px;
    }


    .mobile-language-menu-4b650241
    li.trp-language-switcher-container a {
        padding:
            0 4px;

        font-size:
            13px;
    }


    button.mobile-menu-toggle-4b650241 {
        width: 42px !important;

        height: 42px !important;

        flex-basis:
            42px;
    }


    .mobile-menu-panel-4b650241 {
        left: 10px;

        right: 10px;

        border-radius:
            32px;

        padding:
            22px
            18px
            26px;
    }


    .mobile-menu-list-4b650241 li a {
        font-size:
            19px;

        padding:
            14px
            20px;
    }

}