/* WEE-HEADER-V1 */

body {
    padding-top: 104px !important;
}

.wee-site-header,
.wee-site-header * {
    box-sizing: border-box;
}

.wee-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 5000;
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    border-bottom: 1px solid rgba(226,232,240,.85);
    font-family: Inter, Arial, sans-serif;
}

.wee-header-content {
    width: min(1320px, calc(100% - 24px));
    min-height: 104px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 118px minmax(0,1fr) max-content;
    align-items: center;
    gap: clamp(.45rem,1vw,1rem);
}

.wee-header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wee-header-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wee-header-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 8px 16px rgba(37,99,235,.22));
}

.wee-header-links {
    list-style: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(.15rem,1.45vw,1.35rem);
    width: fit-content;
    max-width: 100%;
    margin: 0 auto !important;
    padding: .32rem !important;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 999px;
    background: linear-gradient(135deg,#2563eb,#38bdf8);
    box-shadow: 0 10px 24px rgba(37,99,235,.22);
}

.wee-header-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.wee-header-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 clamp(.52rem,.72vw,.82rem);
    border-radius: 999px;
    font-size: clamp(.64rem,.68vw,.74rem);
    font-weight: 900;
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .035em;
    white-space: nowrap;
    transition: .22s ease;
}

.wee-header-links a:hover {
    color: #1e3a8a !important;
    background: #dbeafe;
}

.wee-header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.45rem,.8vw,.7rem);
    min-width: max-content;
}

.wee-account,
.wee-header-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 clamp(.72rem,.9vw,1rem);
    border-radius: 999px;
    border: 1px solid #fff;
    font-size: clamp(.68rem,.72vw,.78rem);
    font-weight: 900;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg,#2563eb,#38bdf8);
    box-shadow: 0 10px 24px rgba(37,99,235,.22);
    white-space: nowrap;
    cursor: pointer;
}

.wee-header-logout {
    display: none;
    background: linear-gradient(135deg,#fb7185,#e11d48);
}

.wee-header-flag {
    display: inline-flex;
}

.wee-header-flag img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.wee-hamburger {
    display: none;
    position: absolute;
    top: 28px;
    left: 20px;
    z-index: 5003;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.18);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.wee-hamburger span {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #1e3a8a;
    transition: .25s ease;
}

.wee-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.wee-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.wee-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.wee-mobile-menu {
    display: none;
}

@media (max-width:1120px) {
    body {
        padding-top: 82px !important;
    }

    .wee-header-content {
        min-height: 82px;
        display: flex;
        justify-content: center;
        width: min(1200px,calc(100% - 32px));
    }

    .wee-header-logo {
        justify-content: center;
    }

    .wee-header-logo img {
        width: 70px;
        height: 70px;
    }

    .wee-header-content > .wee-header-links,
    .wee-header-content > .wee-header-icons {
        display: none;
    }

    .wee-hamburger {
        display: flex;
        top: 19px;
    }

    .wee-mobile-menu {
        display: none;
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5001;
        padding: 18px 1rem 2rem;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        overflow-y: auto;
    }

    .wee-site-header.active .wee-mobile-menu {
        display: block;
    }

    .wee-mobile-menu .wee-header-links {
        display: grid;
        width: min(520px,100%);
        margin: 0 auto !important;
        padding: 1rem !important;
        gap: .45rem;
        border-radius: 24px;
    }

    .wee-mobile-menu .wee-header-links a {
        width: 100%;
        min-height: 52px;
        font-size: .9rem;
    }

    .wee-mobile-menu .wee-header-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: min(520px,100%);
        min-width: 0;
        margin: 1rem auto 0;
    }
}

@media (max-width:460px) {
    body {
        padding-top: 76px !important;
    }

    .wee-header-content {
        min-height: 76px;
    }

    .wee-header-logo img {
        width: 62px;
        height: 62px;
    }

    .wee-hamburger {
        top: 16px;
        left: 14px;
    }

    .wee-mobile-menu {
        top: 76px;
    }
}
