/* Minimal academic page styling */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

main {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.subtitle {
    color: #666;
    margin-bottom: 8px;
}

.links a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Sections */
section {
    margin-bottom: 40px;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: #444;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Papers */
.paper {
    margin-bottom: 20px;
}

.paper-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.paper-authors {
    color: #666;
    font-size: 14px;
}

.paper-venue {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

.paper-links {
    margin-top: 6px;
    font-size: 14px;
}

details {
    margin-top: 8px;
}

summary {
    cursor: pointer;
    color: #0066cc;
    font-size: 14px;
}

summary:hover {
    text-decoration: underline;
}

pre {
    background: #f5f5f5;
    padding: 12px;
    font-size: 12px;
    overflow-x: auto;
    margin-top: 8px;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Lists */
ul {
    margin-left: 20px;
}

li {
    margin-bottom: 4px;
}

/* Courses */
.course {
    margin-bottom: 16px;
}

.course p {
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .photo {
        width: 120px;
        height: 120px;
    }
}