:root {
    --primary-color: #2b2b2b;
    --accent-color: #0066cc;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --sidebar-width: 300px;
    --sidebar-bg: #f8f9fa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.current-highlight {
    color: var(--accent-color);
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 102, 204, 0.35);
    text-decoration: none;
}

.current-highlight:hover {
    color: var(--accent-color);
    border-bottom-color: rgba(0, 102, 204, 0.7);
    text-decoration: none;
}

.bio-intro {
    font-size: 1.12rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.bio-note {
    margin-top: 28px;
    font-style: italic;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    padding: 40px 30px;
    border-right: 1px solid #eee;
    text-align: center;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    margin-bottom: 20px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar h1 {
    font-size: 2.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.affiliation {
    color: var(--light-text);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Main Content */
.content {
    flex: 1;
    padding: 60px 80px;
    margin-left: var(--sidebar-width); /* Offset for fixed sidebar */
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.systems-heading {
    color: var(--light-text);
    font-style: italic;
}

/* News */
.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-list li {
    display: flex;
    gap: 0.5em;
    align-items: flex-start;
    padding: 2px 0;
}

.news-list .date {
    font-family: inherit;
    font-weight: 400;
    width: 9ch;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Publications */
.pub-list {
    list-style: none;
}

.pub-item {
    margin-bottom: 25px;
}

.pub-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.paper-link {
    font-weight: 400;
    font-size: 0.95rem;
    margin-left: 6px;
    white-space: nowrap;
}

.pub-authors {
    color: var(--light-text);
    margin-bottom: 5px;
}

.pub-venue {
    font-style: italic;
    margin-bottom: 5px;
}

.pub-links a {
    font-size: 0.9rem;
    margin-right: 10px;
}

/* Education */
.edu-item {
    margin-bottom: 20px;
}

.edu-school {
    font-weight: 600;
    font-size: 1.1rem;
}

.edu-degree {
    color: var(--text-color);
}

.edu-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .content {
        margin-left: 0;
        padding: 40px 20px;
    }
}
