body {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 25px;

    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.6;

    color: #222;
    background: #fff;
}

header {
    margin-bottom: 60px;
}

h1 {
    font-size: 40px;
    margin-bottom: 8px;
    font-weight: normal;
}

header p {
    margin: 0;
}

a {
    color: #4B2E83;
    text-decoration: none;
}

a:visited {
    color: #4B2E83;
}

a:hover {
    text-decoration: underline;
}

nav {
    margin-top: 30px;
}

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

nav a:visited {
    color: #444;
}

nav a:hover {
    color: #4B2E83;
    text-decoration: underline;
}

h2 {
    font-size: 27px;
    margin-top: 55px;
    font-weight: normal;
}

section {
    margin-bottom: 40px;
}

footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #ccc;

    font-size: 14px;
    color: #666;
}

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

.about img {
    width: 220px;
    height: auto;
    flex-shrink: 0;
    border-radius: 3px;
}

.about-text {
    flex: 1;
}

@media (max-width: 650px) {
    .about {
        flex-direction: column;
    }

    .about img {
        width: 200px;
    }
}

.paper-links {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.paper-links details {
    display: inline-block;
}

.paper-links summary {
    cursor: pointer;
    color: #4B2E83;
}

.paper-links summary:hover {
    text-decoration: underline;
}

.paper-links details p {
    margin-top: 12px;
}

.paper-number {
    margin-right: 6px;
}

.teaching-note {
    margin-top: -10px;
    color: #555;
    font-size: 16px;
}

.advisor-link {
    color: inherit;
    text-decoration: none;
}

.advisor-link:hover {
    color: inherit;
    text-decoration: underline;
}
.advisor-link:visited {
    color: inherit;
    text-decoration: none;
}