/* 团队成员页面样式 */

/* 页面标题区域 */
.people-hero {
    background-color: #ffffff;
    padding: 60px 0;
    height: 200px;
    display: flex;
    align-items: center;
    position: relative;
}

.people-hero::before {
    display: none;
}

.people-hero .container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.people-hero .page-title {
    font-size: 2.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

/* 团队成员卡片 */
.people-section {
    padding: var(--spacing-xxl) 0;
    background-color: #f9fafb;
}

.people-section .section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.people-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.people-card {
    background-color: white;
    border-radius: 8px;
    padding: 0;
    padding-bottom: var(--spacing-md);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.people-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.people-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    border: none;
}

.people-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.people-card:hover .people-image img {
    transform: scale(1.08);
}

.people-info {
    padding: 0 var(--spacing-md);
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.people-info h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-dark);
    font-weight: 600;
}

.people-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.people-research {
    color: var(--text-medium);
    font-size: 0.75rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.35;
    height: calc(1.35em * 2);
    overflow: hidden;
}

.people-links {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: auto;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.people-links a {
    color: var(--secondary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 3px 6px;
    border-radius: 4px;
}

.people-links a:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.people-links a i {
    margin-right: 3px;
}

.people-bio {
    color: var(--text-medium);
    font-size: 0.7rem;
    line-height: 1.3;
    padding: 0 var(--spacing-xs);
    height: calc(1.3em * 4.5);
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .people-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .people-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .people-hero {
        padding: 60px 0;
        height: 250px;
    }
    
    .people-hero .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .people-grid {
        grid-template-columns: 1fr;
    }
}

/* 添加动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.people-card {
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
} 