/* Seven trade_2026_v1 pages share this header. Fixed slots prevent active text
   weight and page-specific styles from moving the navigation horizontally. */
#header .site-header-inner {
    display: flex;
    align-items: center;
    width: 1184px;
    max-width: calc(100% - 32px);
    height: 49px;
    margin: 0 auto;
}

#header .site-header-inner::before {
    left: 196px;
}

#header .epjob-header-slogan {
    flex: 0 0 280px;
    height: 49px;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 49px;
    white-space: nowrap;
}

#header .site-header-inner .nav {
    flex: 0 0 288px;
    float: none;
    margin: 0;
}

#header .site-header-inner .nav ul {
    display: flex;
    height: 49px;
}

#header .site-header-inner .nav li {
    flex: 0 0 64px;
    width: 64px;
    margin: 0;
}

#header .site-header-inner .nav li:last-child {
    flex-basis: 88px;
    width: 88px;
}

#header .site-header-inner .nav li > a {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
}

#header .site-header-inner .nav li.cur > a,
#header .site-header-inner .nav li.cur > a:hover {
    color: #fff !important;
}

#header .site-header-inner .nav li.cur > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 28px;
    height: 3px;
    background-color: #fff;
    transform: translateX(-50%);
}

#header .site-header-inner .user-nav {
    flex: 1 1 auto;
    float: none;
    min-width: 0;
    margin: 0 0 0 auto;
    text-align: right;
}

#header .site-header-inner .user-nav .btns {
    white-space: nowrap;
}

#header .header-login-btn[hidden],
#header .header-account[hidden] {
    display: none !important;
}

#header .header-account {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 49px;
    vertical-align: top;
    margin-left: 12px;
}

#header .header-account > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 34px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: normal;
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
}

#header .header-account > a:hover {
    color: #fff;
}

#header .header-account .header-account-profile {
    gap: 6px;
}

#header .header-account-profile:hover,
#header .header-account-profile:focus-visible {
    background: #5e667e;
}

#header .header-account-name {
    max-width: 84px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#header .header-account-avatar {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

#header .user-nav .nav-resume-box li.resume-box-boss > a::before,
#header .user-nav .nav-resume-box li.resume-box-geek > a::before {
    width: 80px;
    height: 60px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#header .user-nav .nav-resume-box li.resume-box-boss > a::before {
    background-image: url("../../_assets/header-recruit.png");
}

#header .user-nav .nav-resume-box li.resume-box-geek > a::before {
    background-image: url("../../_assets/header-job-seeker.png");
}

#header .header-login-desc .login-desc-list .login-desc-icon.desc-icon-chat {
    background: url("../../_assets/header-login-job-seeker.svg") center / 26px 26px no-repeat;
}

#header .header-login-desc .login-desc-list .login-desc-icon.desc-icon-info {
    background: url("../../_assets/header-login-recruit.svg") center / 26px 26px no-repeat;
}

@media (max-width: 1120px) {
    #header .site-header-inner {
        max-width: calc(100% - 20px);
    }

    #header .epjob-header-slogan {
        flex-basis: 220px;
        font-size: 13px;
    }

    #header .user-nav .btns > .epjob-header-tel {
        margin-left: 10px;
        padding-left: 10px;
    }
}
