body {
    font-family: Arial, sans-serif;
    margin: 0;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 12px 0;
    z-index: 1000;
}

.navbar a {
    margin: 0 18px;
    text-decoration: none;
    color: black;
    font-size: 20px;
}

/* PAGE HEADER (for Publications + Press pages only) */
.page-header {
    margin-top: 60px; /* accounts for fixed navbar */
    text-align: center;
    padding: 30px 0 0 0;
    position: relative;
}

/* full-page gray background */
.subpage {
    background: #f5f5f5;
}

.page-header h1 {
    font-size: 28px;
    font-weight: normal;
    margin: 0;
}

.header-line {
    width: 50%;
    height: 2px;
    background-color: black;
    margin: 16px auto 0 auto;
}

/* MAIN LAYOUT */
.container {
    display: flex;
    margin: 80px auto 0 auto;
    padding: 20px;
    max-width: 1000px;
    gap: 40px;
}

/* LEFT PANEL */
.left {
    width: 25%;
    min-width: 180px;
    text-align: center;
}

.profile-img {
    width: 60%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}

/* PROFILE BOX */
.profile-box {
    margin-top: 12px;
}

.name {
    font-size: 32px;
    color: black;
    margin-bottom: 4px;
}

.title, .affil {
    font-size: 24px;
    color: #666;
}

/* ICONS */
.icons {
    margin-top: 10px;
}

.icons a {
    margin: 0 8px;
    color: black;
    font-size: 24px;
}

/* RIGHT PANEL */
.right {
    width: 70%;
    max-width: 650px;
}

.right p {
    margin: 0 auto 18px auto;
    line-height: 1.5;
}

/* PUBLICATIONS */
.publications {
    background: #f5f5f5;
    padding: 30px;
    margin-top: 0px;
}

.publications h2 {
    margin-left: 10%;
    margin-bottom: 15px;
}

.publications p {
    margin: 10px 10%;
    line-height: 1.4;
}

/* PRESS */
.press {
    background: #f5f5f5;
    padding: 30px;
    margin-top: 0px;
}

/* MOBILE */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        align-items: center;
        margin-top: 100px;
    }

    .left, .right {
        width: 100%;
    }

    .profile-img {
        width: 40%;
        max-width: 120px;
    }

    .page-header h1 {
        font-size: 24px;
    }
}
