* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

ul {
    list-style: none;
}

a{
    text-decoration: none;
}

body{
    background-color: #FFFFFF;
}

.bg-section{
    padding: 3rem 1.5rem;
}
.bg-blackcolor{
    background-color: #F0F4F6;
}
.bg-green{
    background-color: #00838f;
    padding: 2rem;
}
.bg-green:hover{
    background-color: #00545c;
}
.container {
    max-width: 1304px;
    height: 100%;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}

@media (max-width: 1337px) {
    .container {
        max-width: 1200px;
    }
}
.flex-box{
    display: flex;
}
.flex-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 顶部导航栏样式 */
.header-nav {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header-nav-container {
    margin: 0 auto;
    padding-top: 2.5rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* 功能菜单样式 */
.header-nav .feature-menu {
    display: flex;
    align-items: center;
    min-height: 6.25rem;
}
.header-nav .logo {
    text-decoration: none;
    align-items: center;
    display: flex;
    min-height: 6.25rem;
    margin-right: 1rem;
}
.header-nav .logo-img{
    max-height: 75px;
    max-width: 200px;
    height: auto;
    width: auto;
}
.header-nav .nav-item{
    margin: 0 0.75rem;
    min-height: 6.25rem;
    position: relative;
    box-sizing: border-box;
    align-items: center;
    display: flex;
}
.header-nav .nav-item:hover .feature-link{
    color: #CA2126;
    border-color: #CA2126;
}
.header-nav .feature-link {
    border-bottom: 5px solid #fff;
    align-items: center;
    display: flex;
    color: #0A0A0A;
    margin: 0;
    padding-right: 25px;
    position: relative;
    font-size: 15px;
    font-weight: 600;
    min-height: calc(6.25rem - 5px) ;
    line-height: calc(6.25rem - 5px);
}
.header-nav .feature-link::after {
    border: 1px solid #484848;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: 0.5em;
    pointer-events: none;
    position: absolute;
    transform: translateX(7px) rotate(-45deg);
    transform-origin: center;
    width: 0.5em;
    margin-top: -0.375em;
    right: 1.125em;
    top: 50%;
}
.header-nav .nav-item:hover .feature-link::after{
    border-color: #CA2126;
}
/* .header-nav .feature-link::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 9px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: url('../imgs/nav-right.png') center center no-repeat;
    background-size: 16px 9px;
} */
.header-nav #login-register{
    position: relative;
    padding-right: 15px;
}
.header-nav #login-register::after{
    border: none;
}
.header-nav .nav-dropdown{
    box-shadow: 2px 4px 16px 0 rgba(0, 0, 0, 0.25);
    border-top: 1px solid #6b4370;
    background-color: white;
    display: none;
    font-size: 0.875rem;
    left: 0;
    min-width: 100%;
    position: absolute;
    top: 100%;
    border-radius: 0;
    z-index: 1020;
}
.header-nav .nav-dropdown .sub-link{
    text-decoration: none;
    color: #0A0A0A;
    display: block;
    font-size: 18px;
    letter-spacing: 0;
    margin: 20px 15px 30px 15px;
    padding-right: 3rem;
    font-weight: normal;
    white-space: nowrap;
}
.header-nav .nav-dropdown:hover .sub-link{
    color: #484848;
}
.header-nav .nav-dropdown .sub-link:hover{
    color: #0A0A0A;
}
/* 搜索框样式 */
.header-nav .search-box {
    width: 200px;
    margin: 0 ;
    background: url('../../imgs/v2/chatpage-search.png') left 10px center no-repeat;
    background-size: 19px 22px;
}
.header-nav .search-input {
    width: 100%;
    line-height: 36px;
    padding: 2px 10px 2px 42px;
    border:  none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

/* 底部样式 */
.footer-container{
    background-color: #323232;
    padding: 40px 0;
}
.footer-box{
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0;
}
.footer-card{
    position: relative;
    flex: none;
    width: 20%;
    padding: 0 0.75rem 2rem 0.75rem;
}
.footer-card:first-child{
    padding-left: 0;
}
.footer-card:last-child{
    padding-right: 0;
}
.footer-title{
    color: #fff;
    padding:0.5rem 0 1.5rem;
}
.footer-card h3{
    font-size: 18px;
    color: #fff ;
    line-height: 20px;
    margin-bottom: 10px;
}
.footer-card a, .footer-card p{
    font-size: 18px;
    line-height: 25px;
    padding-right: 12px;
    color: #b7b7b7 !important;
    text-decoration: none;
    display: block;
    margin-top: 15px;
}
.bottom-span span{
    font-size: 16px;
    padding-right: 12px;
    line-height: 20px !important;
    color: #b7b7b7;
}
.bottom-line{
    width: 100%;
    height: 1px;
    background-color: #484848;
    margin: 2rem 0;
}
.bottom-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bottom-copyright-left p {
    color: #b7b7b7;
    font-size: 12px;
    padding-right: 12px;
    line-height: 20px !important;
    display: inline-block;
}
.bottom-copyright-left p img{
    padding-left: 16px;
    padding-right: 32px;
    vertical-align: middle;
    height: auto;
    max-width: 100%;
}
.bottom-copyright-right{
    display: inline-block;
    font-size: 12px;
    color: #b7b7b7;
    line-height: 25px !important;
    text-align: center;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .search-box {
        margin: 0 20px;
    }
}
@media (max-width: 992px) {
    .header-nav-container {
        flex-wrap: wrap;
    }
    .search-box {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
    }
    .feature-menu {
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .header-nav-container {
        flex-direction: column;
        align-items: stretch;
    }
    .logo,
    .feature-menu,
    .user-area {
        justify-content: center;
        margin-bottom: 10px;
    }
    .search-box {
        margin-top: 10px;
    }
}
@media (max-width: 1337px) {
    .header-nav-container {
        max-width: 1200px;
    }
    .header-nav .user-info-pop{
        transform: translateX(0);
    }
}

/* 新增个人信息弹窗样式 */
.header-nav .user-info-pop{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1001;
    transform: translate(60% , 100%);
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    display: none;
    min-width: 220px;
    border: 1px solid #999;
}
.header-nav .user-info-pop .user-info-header-box{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    background: url('../../imgs/user-info-headerbg.png') center center no-repeat;
    background-size: 100% 100%;
    padding: 2vh 1vw;
}
.header-nav .user-info-pop .user-info-header-box .user-info-header-img{
    width: 44px;
    height: 44px;
    border-radius: 50px;
}
.header-nav .user-info-pop .user-info-header-box h4{
    margin-left: 10px;
    margin-bottom: 6px;
}
.header-nav .user-info-pop .user-info-header-box p{
    font-size: 12px;
    display: block;
    text-wrap: nowrap;
    margin-left: 10px;
}
.header-nav .user-info-pop .user-info-pop-userinfo{
    line-height: 5vh;
    padding-left: 2vw;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    position: relative;
}
.header-nav .user-info-pop .user-info-pop-userinfo a{
    text-decoration: none;
    color: #000;
}
.header-nav .user-info-pop .user-info-pop-myapply a{
    text-decoration: none;
    color: #000;
}
.header-nav .user-info-pop .user-info-pop-userinfo::before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(10px,-50%);
    background: url('../../imgs/user-info-userinfo.png') center center no-repeat;
    background-size: 20px 20px;
}
.header-nav .user-info-pop .user-info-pop-myapply{
    line-height: 5vh;
    padding-left: 2vw;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    position: relative;
}
.header-nav .user-info-pop .user-info-pop-myapply::before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(10px,-50%);
    background: url('../../imgs/user-info-apply.png') center center no-repeat;
    background-size: 20px 20px;
}
.header-nav .user-info-pop .user-info-pop-outlogin{
    line-height: 5vh;
    background-color: #fff;
    color: red;
    cursor: pointer;
    border-top: 4px solid #eeeeee;
    position: relative;
    text-align: center;
}
.header-nav .user-info-pop .user-info-pop-outlogin::before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(0,-50%);
    background: url('../../imgs/user-info-exit.png') center center no-repeat;
    background-size: 20px 20px;
}