/* --- 极简学术风（浅灰背景） --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50; /* 现代深灰蓝色，取代死板的 #1a1a1a */
    background-color: #f8f9fa; /* 极简干净的微灰白色 */
    margin: 0;
    padding: 50px 20px;
    line-height: 1.7;
}

a { color: black; text-decoration: none; }
a:visited { color: black; }
a:hover { color: #4285fa; text-decoration: underline; }

/* --- 核心布局框架 --- */
.container {
    display: flex;
    max-width: 1150px;
    margin: 0 auto;
    gap: 60px;
    background-color: transparent;
}

/* --- 左侧边栏 --- */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.avatar {
    width: 100%;
    max-width: 240px; /* 从 160px 放大到 210px，显著提升侧边栏的头像占比 */
    display: block;
    margin-bottom: 20px;

    /* --- 严谨学术风：极小圆角与硬朗阴影 --- */
    border-radius: 0px; /* 极小的圆角。如果追求完全纯直角，请直接改为 0 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07); /* 配合硬朗线条微调的细腻阴影，让直角不显死板 */
    border: none;
    padding: 0;
    background-color: transparent;
}

.sidebar h1 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #4285fa;
    font-weight: bold;
}

.bio {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px dashed #999;
    padding-bottom: 20px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-list li { margin-bottom: 8px; }
.contact-label { font-weight: bold; margin-right: 5px; color: #222; }

/* 私人工具入口 (纯文本标签) */
.tools {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* --- 右侧主内容 --- */
.main-content {
    flex-grow: 1;
}

section { margin-bottom: 45px; }

h2 {
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: 2px solid #4285fa;
    padding-bottom: 4px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #4285fa;
}

p { margin-top: 0; margin-bottom: 15px; }

/* 履历与论文列表 */
.cv-item {
    margin-bottom: 20px;
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: bold;
    color: #111;
}

.cv-date { font-weight: normal; color: #555; font-size: 0.95rem; }
.cv-desc { margin-top: 4px; color: #333; }

.pub-list {
    padding-left: 0;
    list-style-type: none;
    margin-top: 0;
}

.pub-list li { margin-bottom: 18px; }
.pub-title { font-weight: bold; color: #000; }

/* --- 移动端自适应 --- */
@media (max-width: 768px) {
    .container { flex-direction: column; gap: 30px; }
    .sidebar { width: 100%; border-bottom: 1px solid #d0ccc5; padding-bottom: 30px; }
    .bio { border-bottom: none; padding-bottom: 0; }
}
