body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
    line-height: 1.6;
    color: #333;
}

header {
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

header p {
    font-size: 1.1rem;
    color: #666;
}

nav {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    margin-bottom: 50px;
}

nav a {
    margin-right: 25px;
    color: #333;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

a {
    color: #2a5db0;
}

@media (max-width: 600px) {
    body {
        padding: 25px 20px;
    }

    nav a {
        display: inline-block;
        margin-bottom: 5px;
    }
}

.publication,
.conference {
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 20px;
    margin-bottom: 28px;
}

.publication-year {
    color: #777;
    font-size: 0.95rem;
    padding-top: 2px;
}

.publication-content {
    line-height: 1.55;
}

.publication-title {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.publication-title:hover {
    text-decoration: underline;
}

.me {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.publication-links {
    margin-top: 6px;
    font-size: 0.9rem;
}

.publication-links a {
    margin-right: 15px;
    text-decoration: none;
}

.publication-links a:hover {
    text-decoration: underline;
}

h3 {
    font-size: 1.15rem;
    margin-top: 40px;
    margin-bottom: 22px;
}

@media (max-width: 600px) {
    .publication,
    .conference {
        grid-template-columns: 1fr;
        row-gap: 3px;
    }

    .publication-year {
        font-size: 0.85rem;
    }
}

.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profile-info {
    max-width: 650px;
}

.profile-info h1 {
    margin-bottom: 5px;
}

.profile-info p {
    margin-top: 0;
    color: #666;
}

.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .profile {
        align-items: flex-start;
    }

    .profile-info {
        padding-right: 20px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }
}