/* Header Styles */

.ws-header {
    --header-height: 8.0rem;
    --inline-padding: 3.2rem;
    --vertical-padding: 1.6rem;

    height: var(--header-height);
}

.ws-header-main {
    width: 100%;
    position: fixed;
    z-index: 100;
    background-color: white;
    border-bottom: solid .1rem var(--sporsora-secondary-color);
}

.ws-header .ws-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 var(--inline-padding);
    white-space: nowrap;
}

.ws-header-left {
    flex: 1;
}

.ws-header-menu {
    flex: 2;
    gap: min(50vw - 650px, 96px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ws-header-menu .menu {
    display: flex;
    gap: .4rem;
    list-style-type: none;
}

.ws-header-menu .menu .menu-item a {
    padding: .8rem 1.2rem;
    border-radius: .6rem;
    color: var(--sporsora-quinary-color);
    font-size: 1.6rem;
    font-weight: 600;
    transition: color 0.2s, background-color 0.2s;
}

.ws-header-menu .menu .menu-item.current-menu-item a {
    color: var(--sporsora-primary-color);
    background-color: var(--sporsora-primary-bg-color);
}

.ws-header-menu .menu .menu-item:not(.current-menu-item) a:hover {
    color: var(--sporsora-text-color);
    background-color: rgba(0, 0, 0, 0.06);
}

.ws-header-right {
    display: flex;
    gap: 1.2rem;
}

.ws-header-right .ws-header-member-space-btn {
    color: var(--sporsora-text-color);
    font-size: 1.4rem;
    font-weight: 550;
    padding: .8rem 1.2rem;
    border-radius: .6rem;
    transition: color 0.2s, background-color 0.2s;
}

.ws-header-right .ws-header-member-space-btn:hover {
    color: white;
    background-color: var(--sporsora-primary-color);
}

.ws-header-right .ws-header-contact-btn {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
}

.ws-header-right .ws-header-contact-btn:hover {
    background-color: var(--sporsora-senary-color);
}

.ws-header-menu-mobile-toggle {
    display: none;
}

@media (min-width: 1001px) {
    .ws-header-menu {
        display: flex !important;
    }
}

@media (max-width: 1000px) {
    .ws-header-main {
        border-bottom: none;
    }
    
    .ws-header-container {
        border-bottom: solid .1rem var(--sporsora-secondary-color);
    }

    .ws-header-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        padding: var(--vertical-padding) var(--inline-padding);
        background-color: white;
    }

    .ws-header-menu-container {
        width: 100%;
    }

    
    .ws-header-menu ul {
        flex-direction: column;
        padding-bottom: var(--vertical-padding);
    }

    .ws-header-menu-container ul a {
        display: block;
        text-align: left;
        width: 100%;
    }

    .ws-header-right {
        flex-direction: column;
        width: 100%;
        border-top: solid .1rem var(--sporsora-secondary-color);
        padding-top: var(--vertical-padding);
    }

    .ws-header-member-space-btn {
        border: solid .1rem var(--sporsora-secondary-color);
    }

    .ws-header-menu-mobile-toggle {
        display: block;
        cursor: pointer;
    }

    .ws-header-menu-mobile-toggle.closed .close-icon,
    .ws-header-menu-mobile-toggle.opened .burger-icon {
        display: none;
    }
}