/**
 * Header CSS - Extracted from Shari via Computed Styles
 */

/* ============================================
   HEADER CONTAINER
   ============================================ */

#flex-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    background-color: transparent;
    color: rgb(0, 0, 0);
    font-family: Arimo, "Arimo Fallback", sans-serif;
    font-size: 18px;
    font-weight: 400;
    z-index: 13;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#flex-header.scrolled {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#flex-header.scrolled .unifiednav__item {
    color: rgb(51, 51, 51) !important;
}

#flex-header.scrolled .hamburgerButton svg {
    fill: rgb(51, 51, 51);
}

#flex-header section.flex-element.section {
    display: block;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

/* ============================================
   GRID LAYOUT
   ============================================ */

#flex-header .header-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 93px !important;
    gap: 20px !important;
}

/* ============================================
   HEADER GROUPS
   ============================================ */

#flex-header .header-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

#flex-header .header-group-logo {
    flex: 0 0 auto;
}

#flex-header .header-group-nav {
    flex: 1;
    justify-content: center;
}

#flex-header .header-group-right {
    flex: 0 0 auto;
    gap: 15px;
}

/* ============================================
   LOGO WIDGET
   ============================================ */

#flex-header .imageWidget {
    display: block;
    position: relative;
    width: 187px;
    height: auto;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

#flex-header .imageWidget a {
    display: block;
}

#flex-header .imageWidget img {
    display: inline-block;
    width: 187px;
    height: auto;
    max-width: 100%;
    padding: 0;
    margin: 0;
    border: none;
}

#flex-header .imageWidget img.logo-on-scroll {
    display: none;
}

#flex-header.scrolled .imageWidget img:first-of-type {
    display: none;
}

#flex-header.scrolled .imageWidget img.logo-on-scroll {
    display: inline-block;
}

/* ============================================
   NAVIGATION
   ============================================ */

#flex-header .main-navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

#flex-header .unifiednav__container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 16px;
}

#flex-header .unifiednav__item-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
}

#flex-header .unifiednav__item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    margin: 0;
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-family: Arimo, "Arimo Fallback", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

#flex-header .unifiednav__item:hover {
    text-decoration: underline;
}

#flex-header .unifiednav__item.dmNavItemSelected {
    text-decoration: underline;
}

#flex-header .nav-item-text {
    display: block;
    font-size: 16px;
    color: inherit;
}

#flex-header .icon-angle-down {
    display: none;
}

/* ============================================
   LOGIN BUTTON
   ============================================ */

#flex-header .dmButtonLink {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 219px;
    height: 41px;
    padding: 0;
    margin: 0;
    background-color: rgb(3, 139, 255);
    color: rgb(255, 255, 255);
    font-family: Arimo, "Arimo Fallback", sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#flex-header .dmButtonLink:hover {
    background-color: rgb(0, 102, 204);
}

#flex-header .dmButtonLink .iconBg {
    display: none;
}

#flex-header .dmButtonLink .text {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 400;
    padding: 10px 7px;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

#flex-header .multilingualWidget {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

#flex-header .multilingualWidget .desktopMultilingual {
    position: relative;
}

#flex-header .multilingualWidget .current-language a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

#flex-header .multilingualWidget .current-language img {
    width: 32px;
    height: auto;
    border-radius: 2px;
}

#flex-header .multilingualWidget .current-language .name,
#flex-header .multilingualWidget .current-language .short-label {
    display: none;
}

#flex-header .multilingualWidget .other-languages {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 5px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

#flex-header .multilingualWidget:hover .other-languages {
    display: block;
}

#flex-header .multilingualWidget .other-languages a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: rgb(51, 51, 51);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

#flex-header .multilingualWidget .other-languages a:hover {
    background-color: rgb(245, 245, 245);
}

#flex-header .multilingualWidget .other-languages img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

#flex-header .multilingualWidget .other-languages .name {
    font-size: 14px;
    color: rgb(51, 51, 51);
}

#flex-header .multilingualWidget .other-languages .short-label {
    display: none;
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */

#flex-header .hamburgerButton {
    display: none;
    padding: 8px;
    margin: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#flex-header .hamburgerButton svg {
    width: 28px;
    height: 28px;
    fill: rgb(255, 255, 255);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    #flex-header .header-grid {
        padding: 0 40px !important;
    }

    #flex-header .unifiednav__item {
        padding: 0 12px;
        font-size: 14px;
    }

    #flex-header .dmButtonLink {
        width: auto;
        padding: 0 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #flex-header .header-group-nav {
        display: none !important;
    }

    #flex-header .dmButtonLink {
        display: none !important;
    }

    #flex-header .hamburgerButton {
        display: block !important;
    }

    #flex-header .imageWidget {
        width: 150px;
    }

    #flex-header .imageWidget img {
        width: 150px;
    }
}
