:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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);
    margin: 0;
    padding: 0;
}

/* Layout */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sidebar (Left) */
aside {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: fit-content;
}

aside img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--bg-color);
}

aside h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

aside p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.social-links a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

/* Main Content (Right) */
main {
    flex: 3;
    min-width: 300px;
}

section {
    background: var(--card-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.5rem;
}

h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 25px;
}

/* Lists */
ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Publications */
.publication-item {
    margin-bottom: 15px;
}

.publication-item b {
    color: var(--primary-color);
}

.tag {
    display: inline-block;
    background: #eef2f7;
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 5px;
    text-decoration: none;
}

.tag:hover {
    background: var(--accent-color);
    color: white;
}

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