/* 团队介绍部分样式 */
.team-section {
    position: relative;
    padding: 100px 0 0 0;
    background-color: #0a0a0a;
    color: #fff;
    overflow: hidden;
    width: 100%;
}

/* 标题样式 */
.team-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.team-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
}

.team-section-title .title-container {
    display: block;
    margin-bottom: 10px;
}

.team-section-title .english-title {
    display: inline;
    font-size: 1.8rem;
    color: #71a7d9;
    margin-right: 10px;
    font-weight: 500;
}

.team-section-title .english-subtitle {
    display: inline;
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.team-title {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* 团队网格布局 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 2px;
    width: 100%;
    max-width: 100%;
    background-color: #1a1a1a;
}

/* 团队成员样式 */
.team-member {
    position: relative;
    background-color: #222;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.team-member.empty-cell {
    background-color: #1a1a1a;
    padding: 0;
}

.team-member.empty-cell:hover {
    background-color: #1a1a1a;
}

.team-member:hover {
    background-color: #333;
}

.team-member:nth-child(odd) {
    background-color: #1e1e1e;
}

.team-member:hover:nth-child(odd) {
    background-color: #2a2a2a;
}

/* 不同样式的空白单元格 */
.team-member.empty-cell.dark-cell {
    background-color: #111;
}

.team-member.empty-cell.dark-cell:hover {
    background-color: #111;
}

.team-member.empty-cell.light-cell {
    background-color: #2d2d2d;
}

.team-member.empty-cell.light-cell:hover {
    background-color: #2d2d2d;
}

/* 成员头像基本样式 */
.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 0 rgba(113, 167, 217, 0.4);
    transition: box-shadow 0.4s ease;
}

.team-member:hover .member-photo::after {
    box-shadow: inset 0 0 0 4px rgba(113, 167, 217, 0.4);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-member:hover .member-img {
    filter: grayscale(0%);
}

/* 成员信息基本样式 */
.member-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 单元格类型的特殊样式 */
.team-member.photo-cell {
    padding: 20px 10px;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-member.photo-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(113, 167, 217, 0.1), transparent);
    z-index: -1;
    transition: height 0.4s ease;
}

.team-member.photo-cell:hover::before {
    height: 100%;
}

.team-member.info-cell {
    padding: 15px 20px;
    background-color: #1e1e1e;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-member.info-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(113, 167, 217, 0.6));
    transition: width 0.4s ease;
}

.team-member.info-cell:hover::after {
    width: 100%;
}

.team-member.photo-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #2a2a2a;
}

.team-member.info-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #262626;
}

/* 成员头像 */
.photo-cell .member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

/* 成员信息 */
.info-cell .member-info {
    padding: 10px 0;
}

.member-name {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-title {
    font-size: 1rem;
    color: #71a7d9;
    margin-bottom: 8px;
    font-weight: 500;
}

.member-specialty {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 12px;
}

.member-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
}

/* TEAM 大字母显示 */
.team-big-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    font-size: 8rem;
    font-weight: 900;
    color: #444;
    text-transform: uppercase;
    padding: 1rem;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-big-letter {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-section-title {
        font-size: 2rem;
    }
    
    .team-section-title .english-title {
        font-size: 1.4rem;
    }
    
    .team-section-title .english-subtitle {
        font-size: 0.9rem;
    }
    
    .team-big-letter {
        font-size: 6rem;
    }
    
    .team-section {
        padding: 60px 0 0 0;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-big-letter {
        font-size: 5rem;
        padding: 1rem;
        display: none;
    }
} 