﻿.team-cont {
    padding: 280px 0 50px;
}


/* 主容器 */
.team-container {
    text-align: center;
}

/* 标题样式 */
.section-title {
    font-size: 100px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #fff;
}

/* 成员网格 */
.team-grid {
    width:100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-bottom: 50px;
    margin-bottom:60px;
    position:relative;
    overflow:hidden;
}
    .team-grid .mySwiper {
        width: 100%;
    }
    .team-grid:nth-child(4) .swiper-wrapper {
        justify-content: center;
    }
    .team-grid:nth-child(4) .swiper-pagination {
        opacity:0;
    }
.team-grid .swiper-pagination-bullet {
    width: 25px;
    height: 8px;
    border-radius: 20px;
    background: linear-gradient(to left, #1e4b93, #b60808);
}
/* 成员卡片 */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    padding:0 10px;
}

/* 圆形头像 */
.avatar-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    border: 5px solid transparent;
    margin:6px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* 高亮头像边框（用于 Eddy Wu） */
.team-member:hover .avatar-wrapper.highlight {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

/* 成员姓名与职位 */
.member-name {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-top: 20px;
}

.member-title {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-top: 5px;
}




/* ------------- 弹出层 ---------- */
.teamshw{
    display: none;
}
.team-popup{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: rgba(19, 24, 33, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.team-pop-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 70px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.pop-head-close{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}
.pop-head-close i{
    font-size: 22px;
    font-weight: 600;
}

.team-pop-cnt{
    display: flex;
    justify-content: center;
    padding: 90px 0;
}

.team-pop-ctleft{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.team-pop-ctleimg{
    width: 64%;
    text-align: center;
}
.ctleimg{
    width: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
}

.team-pop-ctright{
    width:50%;
}

.ctright{
    width: 64%;
}
.ctright h3{
    font-size: 36px;
    color: #fff;
}
.ctright h6{
    font-size: 20px;
    color: #fff;
    padding: 15px 0;
}
.ctright p{
    font-size: 18px;
    color: #a1bfea;
    line-height: 30px;
    padding-top: 10px;
}



@media only screen and (max-width: 1540px) {
    .team-cont {
        padding: 220px 0 40px;
    }

    .team-grid {
        gap: 25px;
        padding-bottom: 40px;
        margin-bottom: 50px;
    }
    
    .team-member {
        width: calc((100% - 75px) / 4); /* 4个成员，3个间隙 */
        min-width: 200px;
    }
    .section-title {
        font-size: 84px;
        margin-bottom: 50px;
    }
    .avatar-wrapper {
        width: 180px;
        height: 180px;
        border: 4px solid transparent;
    }
    
    .member-name {
        font-size: 20px;
        margin-top: 15px;
    }
    .member-title {
        font-size: 16px;
        margin-top: 3px;
    }








    .team-pop-head{
        padding: 25px 50px;
    }
    
    .pop-head-close{
        gap: 4px;
        font-size: 16px;
    }
    .pop-head-close i{
        font-size: 20px;
    }
    
    .team-pop-cnt{
        padding: 70px 0;
    }
    
    .ctleimg{
        width: 200px;
        height: 200px;
    }
  
    .ctright h3{
        font-size: 32px;
    }
    .ctright h6{
        font-size: 16px;
        padding: 12px 0;
    }
    .ctright p{
        font-size: 14px;
        line-height: 26px;
        padding-top: 8px;
    }



}

@media only screen and (max-width: 1440px) {

    .team-cont {
        padding: 160px 0 30px;
    }


    .section-title {
        font-size: 70px;
        margin-bottom: 40px;
    }

    .team-grid {
        gap: 20px;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    
    .team-member {
        width: calc((100% - 60px) / 4); /* 4个成员，3个间隙 */
        min-width: 180px;
    }

    .avatar-wrapper {
        width: 150px;
        height: 150px;
        border: 3px solid transparent;
    }
    .member-name {
        font-size: 18px;
        margin-top: 10px;
    }

    .member-title {
        font-size: 14px;
        margin-top: 2px;
    }






    .team-pop-head {
        padding: 20px 40px;
    }
    .pop-head-close{
        gap: 3px;
        font-size: 14px;
    }
    .pop-head-close i{
        font-size: 18px;
    }
    
    .team-pop-cnt{
        padding: 50px 0;
    }
    
    .ctleimg{
        width: 160px;
        height: 160px;
    }
  
    .ctright h3{
        font-size: 26px;
    }
    .ctright h6{
        font-size: 14px;
        padding: 10px 0;
    }
    .ctright p{
        font-size: 12px;
        line-height: 22px;
        padding-top: 6px;
    }






}

@media only screen and (max-width: 769px) {

    .team-cont {
        padding: 1rem .1rem .3rem;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: .4rem;
    }

    .team-grid:nth-child(4) .swiper-wrapper {
        justify-content: flex-start;
    }

    .team-grid {
        /*        gap: .4rem;*/
        padding-bottom: .3rem;
        margin-bottom: .4rem;
        /*        flex-wrap: nowrap;
        overflow-x: auto;*/
    }
    .team-member {
        width: 100%; /* 4个成员，3个间隙 */
        min-width: 100%;
        flex-shrink: 0;
        padding: 0 .1rem .4rem;
    }

    .avatar-wrapper {
        width: 120px;
        height: 120px;
        border: 3px solid transparent;
    }






    .team-pop-head {
        padding: .2rem .4rem;
    }

    .team-pop-cnt {
        padding: .5rem .1rem;
    }
    .team-pop-cnt{
        flex-direction: column;
    }

    .team-pop-ctleft {
        width: 100%;
        justify-content: center;
    }

    .team-pop-ctright {
        width: 100%;
        padding-top: 20px;
    }
    .ctright {
        width: 100%;
    }
    .ctright h3 {
        font-size: 28px;
    }
    .ctright h6 {
        font-size: 16px;
    }
    .ctright p {
        font-size: 14px;
    }




}