/* ============================================
   team.css - 团队页专属样式
   ============================================ */

/* 页面内容区域（用于主要人物介绍） */
.team-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* --- 主要人物介绍模块 --- */
.profile-section {
    width: 100%;
    background-color: #ffffff;
}

/* --- 上半部分：照片 + 文字信息 --- */
.profile-top {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 50px;
}

.profile-photo {
    flex: 0 0 350px;
}

.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.profile-info {
    flex: 1;
    padding-top: 10px;
}

.profile-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.profile-title {
    margin-bottom: 40px;
}

.profile-title p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.profile-education h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.edu-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #333333;
}

.edu-table tr {
    line-height: 1.8;
}

.edu-table td {
    padding: 0;
    vertical-align: top;
}

.edu-table td:first-child {
    width: 110px;
    white-space: nowrap;
    padding-right: 20px;
}

.edu-table td:nth-child(2) {
    padding-right: 20px;
}

.edu-table td:last-child {
    white-space: nowrap;
}

.profile-bio {
    width: 100%;
}

.profile-bio p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
    text-align: justify;
    margin: 0;
}

/* ============================================
   博士后模块 (Postdoctoral Fellows)
   ============================================ */

/* 通栏背景：100% 全屏宽度 */
.postdoc-section {
    width: 100%;
    background-color: #f3f3f3;
    padding: 70px 40px;
}

/* 内容容器：限制宽度并居中 */
.postdoc-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #555555;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.postdoc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.postdoc-card {
    background-color: #dbe9f6;
    padding: 30px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    border-radius: 2px;
}

.postdoc-photo {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background-color: #ffffff;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.postdoc-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.postdoc-info {
    width: 100%;
}

.postdoc-info h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.postdoc-info p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 4px 0;
}

/* ============================================
   手机端响应式
   ============================================ */
@media screen and (max-width: 768px) {
    .team-content {
        padding: 30px 20px;
    }

    .profile-top {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .profile-photo {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .profile-info {
        padding-top: 0;
    }

    .profile-name {
        font-size: 1.6rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .profile-title {
        margin-bottom: 30px;
    }

    .profile-title p {
        font-size: 1rem;
        text-align: center;
    }

    .profile-education h3 {
        font-size: 0.95rem;
        text-align: center;
    }

    .edu-table {
        font-size: 0.9rem;
    }

    .edu-table td {
        display: block;
        padding: 0;
        margin-bottom: 2px;
    }

    .edu-table td:first-child {
        width: auto;
        padding-right: 0;
        font-weight: 600;
    }

    .edu-table td:nth-child(2) {
        padding-right: 0;
    }

    .edu-table td:last-child {
        white-space: normal;
        color: #555555;
        margin-bottom: 12px;
    }

    .profile-bio p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    /* 博士后模块手机端 */
    .postdoc-section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .postdoc-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .postdoc-card {
        padding: 20px;
    }

    .postdoc-photo {
        height: 250px;
    }

    .postdoc-info h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .postdoc-info p {
        font-size: 0.9rem;
    }
}
/* ============================================
   Alumni 模块
   ============================================ */

/* 通栏背景：100% 全屏宽度 */
.alumni-section {
    width: 100%;
    background-color: #e6e6e6;
    padding: 60px 40px;
}

/* 内容容器：限制宽度并居中 */
.alumni-inner {
    max-width: 1600px;
    margin: 0 auto;
}

/* 大标题 ALUMNI */
.alumni-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #073763;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

/* 每个分区（博士后 / 研究生） */
.alumni-category {
    margin-bottom: 30px;
    padding-bottom: 20px; /* 让下划线和文字之间有呼吸感 */
    border-bottom: 1px solid #45818e; /* 整个 DIV 下方横线 */
}

.alumni-category:last-child {
    margin-bottom: 0;
    /* 如果最后一条也想加线，去掉这行即可；否则加 border-bottom: none; */
    border-bottom: 1px solid #45818e;
}

/* 分区标题 */
.category-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d39e00; /* 金黄色 */
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    /* 这里不再加 border-bottom */
}

/* 成员条目 */
.alumni-list p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    padding-bottom: 8px; /* 给下划线留点间距 */
    margin: 0 0 10px 0;
    border-bottom: 1px solid #c0c0c0; /* 文字区域下方横线（浅灰） */
}

/* 最后一条成员条目去掉下划线，避免和 DIV 的线重叠 */
.alumni-list p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}