/* ============================================================
   General
============================================================ */

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #222;

    background: #ffffff;

    line-height: 1.65;

    font-size: 16px;
}


a {
    color: #1769aa;

    text-decoration: none;
}


a:hover {
    text-decoration: underline;
}


.container {
    max-width: 1050px;

    margin: 0 auto;

    padding: 0 30px;
}


/* NEW: quote below profile photo */
.profile-quote {
    margin-top: 14px;
    max-width: 240px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    color: #666;
}

.profile-quote span {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-style: normal;
    color: #888;
}

/* ============================================================
   Navigation
============================================================ */

.navbar {
    border-bottom: 1px solid #e5e5e5;

    background: rgba(255, 255, 255, 0.96);

    position: sticky;

    top: 0;

    z-index: 100;
}


.nav-container {
    max-width: 1050px;

    margin: 0 auto;

    padding: 18px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.nav-name {
    font-size: 20px;

    font-weight: 600;

    color: #222;
}


.nav-name:hover {
    text-decoration: none;
}


.nav-links {
    display: flex;

    gap: 26px;
}


.nav-links a {
    color: #444;

    font-size: 15px;
}


.nav-links a:hover {
    color: #1769aa;

    text-decoration: none;
}



/* ============================================================
   Hero / About
============================================================ */

.hero {
    display: grid;

    grid-template-columns: 1fr 260px;

    gap: 70px;

    align-items: start;

    padding-top: 65px;

    padding-bottom: 50px;
}


.hero-text h1 {
    font-size: 42px;

    line-height: 1.2;

    margin-top: 0;

    margin-bottom: 15px;

    font-weight: 600;
}


.position {
    font-size: 19px;

    margin-bottom: 28px;

    color: #444;
}


.hero-text h3 {
    margin-top: 28px;

    margin-bottom: 8px;

    font-size: 17px;
}


.interests {
    color: #444;
}


.profile-links {
    margin-top: 25px;

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    font-size: 16px;
}



/* ============================================================
   Profile Card
============================================================ */

.profile-card {
    width: 100%;
   margin-top: 84px;
}


.profile-image {
    width: 100%;

    max-width: 240px;

    display: block;

    border-radius: 5px;

    margin-bottom: 20px;
}


.contact-info {
    font-size: 14px;

    line-height: 1.55;

    color: #555;
}


.contact-info p {
    margin: 9px 0;
}



/* ============================================================
   Sections
============================================================ */

section {
    scroll-margin-top: 90px;

    margin-bottom: 75px;
}


section h2 {
    font-size: 27px;

    font-weight: 600;

    margin-bottom: 30px;

    padding-bottom: 8px;

    border-bottom: 1px solid #dddddd;
}



/* ============================================================
   News
============================================================ */

.news-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.news-item {
    display: grid;

    grid-template-columns: 110px 1fr;

    gap: 20px;
}


.news-date {
    font-weight: 600;

    color: #555;
}



/* ============================================================
   Publications
============================================================ */

.publication {
    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 30px;

    margin-bottom: 45px;

    align-items: start;
}
.publication.publication-no-image {
    grid-template-columns: 1fr;
}


.publication-image {
    width: 100%;
}


.image-placeholder {
    width: 100%;

    height: 125px;

    background: #f0f0f0;

    border: 1px solid #dddddd;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #888;

    font-size: 14px;

    border-radius: 3px;
}


.publication-info h3 {
    margin-top: 0;

    margin-bottom: 8px;

    font-size: 19px;

    line-height: 1.4;
}


.authors {
    margin: 6px 0;
}


.venue {
    margin: 6px 0;

    font-style: italic;

    color: #555;
}


.publication-links {
    margin-top: 10px;

    display: flex;

    gap: 12px;
}


.publication-links a {
    border: 1px solid #1769aa;

    padding: 3px 10px;

    border-radius: 3px;

    font-size: 14px;
}


.publication-links a:hover {
    background: #1769aa;

    color: white;

    text-decoration: none;
}



/* ============================================================
   Research
============================================================ */

.research-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.research-card {
    border: 1px solid #e2e2e2;

    border-radius: 5px;

    padding: 22px;

    background: #fafafa;
}


.research-card h3 {
    margin-top: 0;

    font-size: 18px;
}


.research-card p {
    margin-bottom: 0;

    color: #555;
}



/* ============================================================
   Teaching / Service
============================================================ */

.simple-entry {
    margin-bottom: 16px;
}



/* ============================================================
   Awards
============================================================ */

.award-item {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 9px 0;
}


.award-year {
    color: #666;

    white-space: nowrap;
}



/* ============================================================
   Footer
============================================================ */

footer {
    border-top: 1px solid #e5e5e5;

    margin-top: 60px;

    padding: 30px;

    text-align: center;

    font-size: 13px;

    color: #777;
}



/* ============================================================
   Mobile layout
============================================================ */

@media (max-width: 800px) {

    .nav-container {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .nav-links {
        flex-wrap: wrap;

        gap: 12px 20px;
    }


    .hero {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 40px;
    }


    .profile-card {
        max-width: 260px;
    }


    .research-grid {
        grid-template-columns: 1fr;
    }


    .publication {
        grid-template-columns: 1fr;
    }


    .publication-image {
        max-width: 300px;
    }

}



@media (max-width: 550px) {

    .container {
        padding: 0 20px;
    }


    .nav-container {
        padding: 15px 20px;
    }


    .hero-text h1 {
        font-size: 34px;
    }


    .news-item {
        grid-template-columns: 1fr;

        gap: 2px;

        margin-bottom: 10px;
    }


    .award-item {
        flex-direction: column;

        gap: 2px;
    }

}
