:root {
    --primary-color: #333;
    --background-color: #f4f4f4;
    --content-bg: #fff;
    --link-color: #0066cc;
    --text-color: #333;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--content-bg);
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

header p.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 5px 0 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

nav ul li a:hover, nav ul li a.active {
    border-bottom-color: var(--link-color);
    color: var(--link-color);
}

h2 {
    font-weight: 400;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
}

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

a:hover {
    text-decoration: underline;
}

.profile-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.img-profile {
    max-width: 200px;
    border-radius: 4px; /* Soften edges slightly */
}

ul.publication-list {
    list-style: none;
    padding: 0;
}

ul.publication-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

ul.publication-list li::before {
    content: "•";
    color: var(--link-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.journal-name {
    font-style: italic;
}

footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 600px) {
    .profile-section {
        flex-direction: column;
    }
    
    .container {
        margin: 0;
        border-radius: 0;
        padding: 20px;
    }
}
