/* --- BASIC RESET & TYPOGRAPHY --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: #222; margin-top: 1.5em; }
h1 { font-size: 2em; margin-bottom: 0.1em; }
h2 { font-size: 1.5em; border-bottom: 1px solid #eee; padding-bottom: 5px; }

/* --- LAYOUT (Two Columns) --- */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.sidebar {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}
.main-content {
    flex: 3;
    min-width: 300px;
}

/* --- SIDEBAR SPECIFICS --- */
.profile-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
    display: block;
}
.sidebar h1 { font-size: 1.5em; margin-bottom: 0; }
.sidebar .title { color: #666; font-size: 0.9em; margin-bottom: 15px; }
.sidebar .contact-info { font-size: 0.9em; line-height: 1.8; }
.sidebar .contact-info a { display: block; }

/* --- NAVIGATION MENU --- */
nav {
    background: #A2CFFE;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 960px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav a {
    font-weight: bold;
    color: #333;
    padding: 5px 10px;
}
nav a:hover { background: #e9ecef; border-radius: 4px; text-decoration: none; }

/* --- LISTS & ARTICLES --- */
ul.news-list, ul.publication-list, ul.project-list {
    list-style-type: disc;
    padding-left: 20px;
}
li { margin-bottom: 10px; }
.pub-title { font-weight: bold; }
.pub-authors { font-style: italic; }
.pub-venue { color: #555; }
.pub-links a {
    display: inline-block;
    background: #0066cc;
    color: white !important;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-right: 5px;
    text-decoration: none !important;
}
.pub-links a:hover { background: #0052a3; }

/* --- CODE BLOCKS (For Articles) --- */
pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    font-size: 0.9em;
}
code {
    font-family: "Courier New", Courier, monospace;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .container { flex-direction: column; gap: 20px; }
    .sidebar { max-width: 100%; text-align: center; }
    .profile-img { width: 150px; margin: 0 auto 15px; }
}
