/* Scope to the header, including the translated Elementor template. */
#masthead {
    position: relative;
    z-index: 100;
    background: #087873;
}

/* Keep the English homepage hero in its original 1200px content grid,
 * whether Elementor renders the section boxed or full-width. */
body.page-id-1156 .elementor-element.elementor-element-5a59682 {
    --min-height: clamp(640px, calc(100svh - 130px), 900px);
    --padding-left: max(24px, calc((100% - 1200px) / 2));
    --padding-right: max(24px, calc((100% - 1200px) / 2));
    --padding-top: 64px;
    --padding-bottom: 64px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.page-id-1156 .elementor-element.elementor-element-9815680 {
    --width: 720px;
    max-width: 100%;
}

@media (max-width: 767px) {
    body.page-id-1156 .elementor-element.elementor-element-5a59682 {
        --min-height: calc(100svh - 70px);
        --padding-left: 20px;
        --padding-right: 20px;
        --padding-top: 48px;
        --padding-bottom: 48px;
    }

    body.page-id-1156 .elementor-element.elementor-element-9815680 {
        --padding-left: 0px;
        --padding-right: 0px;
    }

    body.page-id-1156 .elementor-element.elementor-element-5a59682::before {
        background-image: linear-gradient(90deg, rgb(0 30 29 / 75%), rgb(0 30 29 / 35%));
    }

    body.page-id-1156 .elementor-element.elementor-element-630a400 {
        --flex-wrap: wrap;
    }
}

#masthead .elementor > .e-con {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 24px !important;
    min-height: 0 !important;
    background: #087873 !important;
    transition: none !important;
}

#masthead .e-con-inner {
    max-width: 1400px;
    gap: 10px;
    padding: 0;
}

#masthead .elementor-widget-image {
    width: 200px !important;
    max-width: 100% !important;
    flex: 0 0 auto;
}

#masthead .elementor-widget-image img {
    display: block;
    width: 200px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

#masthead .elementor-widget-navigation-menu {
    min-width: 0;
    width: 100%;
}

#masthead .elementor-widget-navigation-menu > .elementor-widget-container {
    margin: 0 !important;
}

#masthead .menu-item a.hfe-menu-item,
#masthead .menu-item a.hfe-sub-menu-item {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    transition: color 0.15s;
}

#masthead .menu-item a.hfe-menu-item {
    padding: 10px 12px;
}

#masthead .sub-menu,
#masthead nav.hfe-dropdown,
#masthead nav.hfe-dropdown-expandible {
    background: #087873 !important;
    border: 0 !important;
}

#masthead .menu-item,
#masthead .hfe-has-submenu-container {
    border: 0 !important;
}

#masthead .sub-menu {
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgb(0 40 38 / 14%);
}

#masthead .menu-item a:hover,
#masthead .menu-item a:focus-visible {
    background: transparent !important;
    color: #c4eee6 !important;
    text-decoration: underline;
}

#masthead a:focus-visible {
    outline: none;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#masthead a:focus-visible img {
    opacity: 0.7;
}

#masthead .hfe-nav-menu__toggle:focus-visible {
    outline: none;
    box-shadow: inset 0 -2px #c4eee6;
}

#masthead .hfe-nav-menu__toggle {
    color: #fff !important;
}

#masthead .hfe-nav-menu__toggle svg {
    fill: #fff !important;
}

@media (max-width: 767px) {
    #masthead .elementor > .e-con {
        padding: 12px 20px !important;
    }

    #masthead .e-con-inner {
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: center;
    }

    #masthead .elementor-widget-navigation-menu {
        width: auto;
    }

    #masthead .elementor-widget-image,
    #masthead .elementor-widget-image img {
        width: 170px !important;
    }
}
