/* Apple 风格重置 & 字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1d1c1f;
    line-height: 1.4;
    letter-spacing: -0.01em;
    padding: 2rem 1.5rem;
}

/* 主容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 2.5rem 2rem 2.8rem;
    transition: all 0.2s ease;
}


/* 头部区域 */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e9e9ed;
}

.lab-name {
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(115deg, #1c2f48, #2c4e6e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
}

.eng-sub {
    font-size: 1rem;
    font-weight: 400;
    color: #6e6e73;
    margin-top: 0.3rem;
    letter-spacing: 0.2px;
}

.tagline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 0.4rem;
}
.pill {
    background: #f2f2f5;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c4e6e;
}

/* 学术指导委员会 */
.supervisors-area {
    background: #fafafc;
    /*background: #fefefe;*/
    border-radius: 26px;
    padding: 1.5rem 1.8rem;
    margin: 1.2rem 0 2rem 0;
    border: 0.5px solid #ededf0;
}
.sec-title {
    font-size: 1.2rem;
    font-weight: 590;
    color: #1d1c1f;
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.supervisor-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
}
.supervisor-badge {
    background: white;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 490;
    /*color: #2c4e6e;*/
    border: 0.5px solid #e2e2e6;
    transition: 0.1s;
}
.supervisor-badge:hover {
    background: #f2f2f5;
}
.group-leader-note {
    font-size: 0.85rem;
    color: #4b6f8f;
    background: #ecf3fa;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    display: inline-block;
}
.text-container {
    color: black; /* 父元素设置文字颜色 */
}
a {
    color: inherit; /* 继承父元素的颜色 */
    text-decoration: none; /* 去掉下划线（可选） */
}

/* 新闻板块 */
.news-section {
    /*background: #f0f7ff;*/
    background: #fafafc;
    border-radius: 26px;
    padding: 1.5rem 1.8rem;
    margin: 1rem 0 2rem 0;
    /*border: 0.5px solid #e2ecf9;*/
    border: 0.5px solid #ededf0;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.news-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dce5f0;
}
.news-item:last-child {
    border-bottom: none;
}
.news-date {
    font-weight: 590;
    background: #ffffffc9;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    /*color: #1c5a7a;*/
    color: #b8002a;
    white-space: nowrap;
    height: fit-content;
}
.news-content {
    flex: 1;
    font-size: 0.92rem;
    color: #1d1c1f;
    line-height: 1.45;
}

/* 三方向网格卡片 */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
    margin: 2rem 0 2rem;
}

.card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 0.5px solid #e9e9ed;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 32px -12px rgba(0, 0, 0, 0.12);
    border-color: #d2d2d7;
}

.card-header {
    padding: 1.6rem 1.6rem 1rem;
    border-bottom: 1px solid #f0f0f2;
    background: #fefefe;
}

.direction-name {
    font-size: 1.7rem;
    font-weight: 590;
    letter-spacing: -0.3px;
    color: #1d1c1f;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advisor-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.6rem 0 0.2rem;
}
.advisor-tag {
    /*background: #eef3fc;*/
    background: #f2f2f5;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    /*color: #1c5a7a;*/
}

.research-desc {
    font-size: 0.85rem;
    color: #515154;
    margin: 0.8rem 0 0.4rem;
    line-height: 1.4;
    border-left: 2px solid #d9e2ef;
    padding-left: 0.7rem;
}


.member-count {
    font-size: 0.75rem;
    color: #6e6e73;
    margin-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #efeff1;
    padding-top: 0.7rem;
}

.students-list {
    padding: 0.8rem 1.4rem 1.4rem;
    background: #ffffff;
}

.student-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f2f2f5;
    font-size: 0.92rem;
}
.student-name {
    font-weight: 480;
    color: #1d1c1f;
}
.student-grade {
    font-size: 0.7rem;
    background: #f2f2f5;
    padding: 0.2rem 0.65rem;
    border-radius: 30px;
    color: #3a3a3e;
    font-weight: 500;
}
.phd-icon {
    background: #e8eef4;
    color: #1f4970;
}


/* 毕业生板块 */
/*.alumni-section {
    background: #fefaf5;
    border-radius: 26px;
    padding: 1.5rem 1.8rem;
    margin: 2rem 0 1.5rem;
    border: 0.5px solid #f0e7dc;
}
.alumni-title {
    font-size: 1.2rem;
    font-weight: 590;
    color: #1d1c1f;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.alumni-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin-top: 0.5rem;
}
.alumni-name {
    background: #ffffff;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 470;
    color: #5e3a1c;
    border: 0.5px solid #e2dcd4;
    transition: 0.1s;
}
.alumni-name:hover {
    background: #f7f2ea;
}
.alumni-note {
    font-size: 0.75rem;
    color: #a07c56;
    margin-top: 0.9rem;
}*/
/* 毕业生板块 */
        .alumni-section {
            background: #fefaf5;
            border-radius: 26px;
            padding: 1.5rem 1.8rem;
            margin: 2rem 0 1.5rem;
            border: 0.5px solid #f0e7dc;
        }
        .alumni-title {
            font-size: 1.2rem;
            font-weight: 590;
            margin-bottom: 1rem;
        }
        .alumni-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.85rem;
        }
        .alumni-table th, .alumni-table td {
            text-align: left;
            padding: 0.7rem 0.5rem;
            border-bottom: 1px solid #e8e0d6;
            vertical-align: middle;
        }
        .alumni-table th {
            font-weight: 590;
            color: #5e3a1c;
        }
        .alumni-table a {
            text-decoration: none;
            color: #2c6e9e;
            margin-right: 0.5rem;
        }
        .alumni-table a:hover {
            text-decoration: underline;
        }

.footer-stats {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #8e8e93;
    border-top: 1px solid #ececf0;
    padding-top: 1.5rem;
}

@media (max-width: 760px) {
    body {
        padding: 1rem;
    }
    .container {
        padding: 1.5rem;
    }
    .lab-name {
        font-size: 1.8rem;
    }
    .direction-name {
        font-size: 1.4rem;
    }
    .news-item {
        flex-direction: column;
        gap: 0.4rem;
    }
}