:root {
            --primary-color: #2c3e50;
            --secondary-color: #7f8c8d;
            --background-color: #f5f7fa;
            --accent-color: #3498db;
        }

body {
    background-color: var(--background-color);
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #333;
    line-height: 1.6;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    margin: 2rem auto;
    padding: 2rem;
    max-width: 1000px;
}

/* 优化后的语言切换按钮样式 */
.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    background: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lang-switch button {
    margin: 0 0.2rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-switch button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-switch button:not(.active):hover {
    background-color: rgba(44, 62, 80, 0.1);
    border-color: rgba(44, 62, 80, 0.2);
}

.mathjax-container {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin: 0.8rem 0;
    border-left: 3px solid var(--accent-color);
}

.section-title {
    margin: 1.8rem 0 1.2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.note-card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.note-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.pdf-icon {
    transition: all 0.2s ease;
    font-size: 1.1em;
    color: #e74c3c;
    margin-left: 0.5rem;
}

.pdf-icon:hover {
    color: #c0392b;
    transform: scale(1.15);
}

.profile-photo {
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    max-width: 90%;
    height: auto;
    margin: 0 auto;
}

.academic-link {
    color: var(--accent-color);
    text-decoration: none;
}

.academic-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.email {
    font-family: 'Courier New', monospace;
}


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

.pub-list li {
  margin-bottom: 1em;
  line-height: 1.5em;
}

.pub-title {
  font-weight: 500; /* 从600降到500 */
  font-size: 1.05rem;
  font-family: inherit; /* 使用正文字体 */
}


.pub-authors {
  color: #555;
}

.pub-info {
  color: #777;
  font-style: italic;
}

.pdf-icon {
  margin-left: 8px;
  color: #d9534f;
}

.pdf-icon:hover {
  color: #b52b27;
}


@media (max-width: 768px) {
    .container {
        padding: 1.2rem;
        margin: 1rem 0.5rem;
    }

    .profile-col {
        margin-top: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem;
    }
}