/* ------------------------------------- */
/* 团队成员页面样式                    */
/* ------------------------------------- */

/* 全屏页面设置 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
    padding-bottom: 5vh;
    padding-left: 3.5vw;
    padding-right: 4.2vw !important;/*logo 2.7*/
    margin-top: 120px;
    box-sizing: border-box;
}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* 团队介绍标题区域样式 */
.awards-title {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    box-sizing: border-box;
    font-weight: 500;
    color: #333;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

.awards-title-content {
    max-width: 100%;
}

.awards-title-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.awards-title-content p {
    margin: 0 0 1rem 0;
    color: #333;
    line-height: 1.8rem;
    font-size: 1.1rem;
    text-align: justify;
}

/* Teams区域样式 */
.teams-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.teams-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    flex: 0 0 calc(25% - 0.75rem); /* 每行4个，减去gap的影响 */
    max-width: calc(25% - 0.75rem);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 为每个案例项目添加不同的延迟时间，创造依次出现的效果 */
.team-member:nth-child(1) { transition-delay: 0.1s; }
.team-member:nth-child(2) { transition-delay: 0.2s; }
.team-member:nth-child(3) { transition-delay: 0.3s; }
.team-member:nth-child(4) { transition-delay: 0.4s; }
.team-member:nth-child(5) { transition-delay: 0.5s; }
.team-member:nth-child(6) { transition-delay: 0.6s; }
.team-member:nth-child(7) { transition-delay: 0.7s; }
.team-member:nth-child(8) { transition-delay: 0.8s; }
.team-member:nth-child(9) { transition-delay: 0.9s; }
.team-member:nth-child(10) { transition-delay: 1.0s; }
.team-member:nth-child(11) { transition-delay: 1.1s; }
.team-member:nth-child(12) { transition-delay: 1.2s; }
.team-member:nth-child(13) { transition-delay: 1.3s; }
.team-member:nth-child(14) { transition-delay: 1.4s; }
.team-member:nth-child(15) { transition-delay: 1.5s; }
.team-member:nth-child(16) { transition-delay: 1.6s; }
.team-member:nth-child(17) { transition-delay: 1.7s; }
.team-member:nth-child(18) { transition-delay: 1.8s; }
.team-member:nth-child(19) { transition-delay: 1.9s; }
.team-member:nth-child(20) { transition-delay: 2.0s; }
.team-member:nth-child(21) { transition-delay: 2.1s; }
.team-member:nth-child(22) { transition-delay: 2.2s; }
.team-member:nth-child(23) { transition-delay: 2.3s; }
.team-member:nth-child(24) { transition-delay: 2.4s; }
.team-member:nth-child(25) { transition-delay: 2.5s; }
.team-member:nth-child(26) { transition-delay: 2.6s; }
.team-member:nth-child(27) { transition-delay: 2.7s; }
.team-member:nth-child(28) { transition-delay: 2.8s; }
.team-member:nth-child(29) { transition-delay: 2.9s; }
.team-member:nth-child(30) { transition-delay: 3.0s; }



.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.member-img,
.member-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.member-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(30px);
}

.team-member:hover .member-img-hover {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover .member-img {
    opacity: 0;
    transform: translateY(-30px);
}

/* 链接样式 */
.member-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.member-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 团队成员详细页面样式 */
.team-detail-section {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.team-detail-container {
    width: 100%;
    height: auto;
    max-width: none;
    background: white;
    border: 3px solid #f16129; /* 橙色边框 */
    padding: 3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.team-info {
    flex: 1;
    padding: 0;
    background: white;
}

.team-header {
    margin-bottom: 2.5rem;
}

.team-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-title {
    font-size: 1.3rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.team-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-content {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

.team-contact {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-link:hover {
    background: #f16129;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 97, 41, 0.3);
}

.team-photo {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 0;
}

.member-detail-img {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .team-detail-container {
        max-width: 95%;
        padding: 2.5rem;
        gap: 2.5rem;
    }
    
    .member-detail-img {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 991px) {
    .team-detail-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .team-info {
        order: 1;
    }
    
    .team-photo {
        order: 2;
    }
    
    .member-detail-img {
        width: 280px;
        height: 350px;
    }
    
    .team-name {
        font-size: 2.4rem;
    }
    
    .team-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    /* case区域手机版样式 - 每行两个，直接显示 */
    .team-member {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        margin-bottom: 1rem;
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    
    /* 手机版移除所有动画延迟 */
    .team-member:nth-child(n) { transition-delay: 0s; }
    
    .teams-grid {
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .team-detail-section {
        padding: 0;
        margin: 0;
        height: auto;
        min-height: auto;
        position: relative;
    }
    
    .team-detail-container {
        padding: 0;
        gap: 0;
        flex-direction: column;
        text-align: center;
        height: auto;
        position: relative;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .team-info {
        order: 2;
        padding: 1rem;
        margin: 0;
        background: white;
        width: 100%;
        box-sizing: border-box;
    }
    
    .team-photo {
        order: 1;
        padding: 0;
        margin: 0;
        margin-top: 20px;
        width: 100%;
        position: relative;
    }
    
    .member-detail-img {
        width: 100%;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        display: block;
    }
    
    .team-name {
        font-size: 2rem;
        margin: 0 0 0.5rem 0;
        
    margin-top: 15px;
    }
    
    .team-title {
        font-size: 1.1rem;
        margin: 0 0 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin: 0 0 0.5rem 0;
    }
    
    .section-content {
        font-size: 1rem;
        margin: 0 0 1.5rem 0;
    }
    
    .team-section {
        margin-bottom: 1.5rem;
    }
    
    .team-contact {
        margin-top: 1.5rem;
        justify-content: center;
    }
}


