:root {
    --page-max: 1440px;
    --gap-fluid: clamp(12px, 2.2vw, 24px);
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 58%;
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 24px;
}

.header-bar {
    height: 7vh;
    background: #142120;
}

header {
    position: sticky;
    background: white;
    padding: 1rem 2rem;
    height: 70px;
}

.header-inner {
    display: grid;
    grid-template-columns:1fr auto 1fr ;
    column-gap: var(--gap-fluid);
    align-items: center;
    width: min(100%, var(--page-max));
    margin: 0;
    padding: 0 20.25px 0 20.25px;
    justify-self: center;
}

.logo {
    display: flex;
    width: 208px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: none;
}

.brand-icon {
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.brand-icon-text {
    color: #142120;
    font-family: Inter;
    font-size: 22.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; /* 160% */
    letter-spacing: 0.45px;
}

.session-expired-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef3c7;
    border-bottom: 1px solid #f59e0b;
    color: #92400e;
    font-family: Inter, sans-serif;
    font-size: 15px;
    padding: 14px 24px;
    justify-content: center;
    text-transform: none;
}

.session-expired-banner svg {
    flex-shrink: 0;
}

.head-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #142120;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 32.4px */
    text-transform: capitalize;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}
    nav ul {
        display: flex;
        list-style: none;
        gap: 24px;
        padding: 0;
    }

    nav a {
        text-decoration: none;
        font-weight: 500;
        padding: 0 26px 0 26px;
    }



.search-login {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-self: end;
    position: relative;
    z-index: 1;
}

    .search-login input[type="text"] {
        outline: none;
    }

    .search-login .search {
        border-radius: 4px;
        border: none;
        height: 44px;
        padding: 11.5px 27px 11px 40px; /* more left padding for icon space */
        flex-shrink: 0;
        margin-right: 21px;
        background: #f4f4f4 url('/assets/images/Search.svg') no-repeat 12px center;
        background-size: 18px; /* size the icon */
        font-size: 14px;
        color: #333;
        width: clamp(160px, 22vw, 258px);
    }




.login-btn {
    background: #35605A;
    color: #fff;
    border: none;
    padding: 0rem 1.5rem;
    border-radius: 4px;
    height: 44px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

    .login-btn:active,
    .login-btn:hover {
        opacity: 0.45;
    }

.employer-btn {
    display: flex;
    height: 40px;
    padding: var(--Spacing-0, 0) 20px;
    justify-content: center;
    align-items: center;
    gap: var(--Spacing-2, 8px);
    border-radius: 4px;
    color: var(--Grays-500, #454C53);

/* Inter/Medium/sm : 14px */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    /* background: #6B46C1;
    color: #fff;
    /* border: none; */
    padding: 0rem 1.5rem;
    /* border-radius: 4px; */
    /* height: 44px; */
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    pointer-events: auto; */
}

    .employer-btn:active,
    .employer-btn:hover {
        opacity: 0.45;
    }

    .employer-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

@media (max-width: 1440px) {
    nav ul {
        gap: 8px;
    }
}

    @media (max-width: 1400px) {
        :root {
            --page-max: 1000px;
        }

        .search-login .search {
            width: clamp(180px, 22vw, 200px);
        }

        .login-btn {
            /*        height: 40px;*/
            padding: 0 .9rem;
        }

        header {
            /*        height: 64px;*/
            padding: .75rem 0;
        }

        nav ul {
            gap: 8px;
        }
    }

@media (max-width: 1200px) {
    .search-login .search {
        width: clamp(180px, 22vw, 200px);
    }

    .login-btn {
        padding: 0 .5rem;
    }

    header {
        padding: .5rem 0;
    }

    nav ul {
        gap: 8px;
    }
}

    @media (max-width: 1150px) {
        .header-inner {
            grid-template-columns: 1fr;
            grid-template-areas:
                "logo"
                "nav"
                "actions";
            row-gap: 15px;
            padding: 0 16px;
            justify-items: center;
        }

        .search-login {
            justify-self: center;
        }
    }