:root {
    --primary-font: 'Source Sans Pro', Arial, sans-serif;
    --heading-font: 'Georgia', 'Times New Roman', serif;
    --primary-color: #2c3e50;
    --text-color: #405d7b;  /* 添加一个更浅的文本颜色 */
    --max-content-width: 900px;
    --standard-spacing: 2rem;
    --secondary-color: #3c4858;
    --standard-margin: 15px;
    --standard-font-size: 1.1em;
    --standard-line-height: 1.8;
}

/* 页面整体基础字体 */
body {
    font-family: var(--primary-font);
    line-height: 1.6;
    min-height: 100vh;  /* 确保body至少有一个视口高度 */
    overflow-y: auto;   /* 允许垂直滚动 */
}

/* 标题区域样式 */
.student-header {
    background: none;
    height: auto;
    margin-top: 56px;
    max-width: var(--max-content-width);
    margin: 56px auto 0;
    padding: 0;
}

.student-header h1 {
    font-family: var(--heading-font);
    font-size: 2.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.2em;
    text-align: left;
    margin-left: 15px;
    padding-left: 0;
    margin-top: 0;
}

/* 内容区域样式 */
.student-content {
    padding: 2rem 0;
    max-width: var(--max-content-width);
    margin: 0 auto;
    min-height: calc(100vh - 56px);  /* 确保内容区域有足够的高度支持滚动 */
    overflow-y: auto;  /* 允许内容区域垂直滚动 */
}

/* 个人资料布局 */
.student-profile {
    display: flex;
    gap: 0rem;
    margin-bottom: 2rem;
    padding: 0 15px;
}

.profile-image-container {
    flex: 0 0 360px;
}

.profile-image {
    margin-top: 10px;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;  /* 添加圆角效果 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);  /* 添加柔和的阴影效果 */
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

/* 信息区块样式 */
.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.info-section li {
    font-family: var(--heading-font);
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.info-section p {
    font-family: var(--heading-font);
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.contact-info {
    margin-top: 2rem;
}

.student-name {
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .student-profile {
        flex-direction: column;
    }

    .profile-image-container {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* 新增统一的学生页面样式 */
.education ul {
    padding-left: 1.5rem;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 新增导航栏固定样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* 主标题样式 */
.section-title {
    font-family: Arial, serif;
    font-size: 2.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.2em;
    text-align: left;
    margin-left: 15px;
}

/* 团队成员卡片样式 */
.card-title {
    font-family: var(--heading-font);
    font-size: 1.2em;
    color: #2c3e50;
    text-align: center;
}

.card-title p {
    font-family: var(--heading-font);
    font-size: 0.9em;
    color: var(--text-color);
    margin-top: 0.5em;
    text-align: center;
}

/* 间距样式 */
.spacer {
    height: 20px;
}

/* 期刊名称斜体样式 */
.journal-name {
    font-style: italic;
}

/* 链接样式 */
.links a {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 600;
}

/* 标题全局颜色统一 */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

.text-content {
    font-family: var(--heading-font);
    font-size: var(--standard-font-size);
    line-height: var(--standard-line-height);
    color: var(--text-color);
}