/* Minimal Academic Website Style - inspired by retohofstetter.com */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #fff;
    padding: 40px 20px;
}

.container {
    max-width: 760px;
    margin: 0 auto;
}

/* Navigation */
nav {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.nav-photo {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 140px;
    border-radius: 8px;
}

nav .name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

nav .name:hover {
    color: #0044aa;
}

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

nav ul li a {
    color: #0044aa;
    text-decoration: none;
    font-size: 0.95rem;
}

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

nav ul li a.active {
    font-weight: bold;
}

/* Main content */
main {
    margin-bottom: 60px;
}

/* Profile image */
.profile-img {
    max-width: 200px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.profile-img-right {
    float: right;
    max-width: 180px;
    border-radius: 8px;
    margin: 0 0 15px 25px;
}

/* Typography */
h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: normal;
}

h2 {
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
}

h3 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
}

p {
    margin-bottom: 15px;
}

/* Links */
a {
    color: #0044aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* Publication/item lists without bullets */
ul.plain {
    list-style: none;
    margin-left: 0;
}

ul.plain li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

ul.plain li:last-child {
    border-bottom: none;
}

/* Journal/venue styling */
.venue {
    font-style: italic;
    color: #555;
}

.year {
    color: #777;
}

/* Award highlight */
.highlight {
    background: #fff;
    font-weight: bold;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }

    nav .name {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 5px 15px;
    }

    .profile-img {
        max-width: 150px;
    }

    .profile-img-right {
        max-width: 120px;
        margin: 0 0 10px 15px;
    }

    .nav-photo {
        max-width: 100px;
    }

    h1 {
        font-size: 1.5rem;
    }
}
