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

body {
    font-family: 'Georgia', serif;
    color: #333;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

h1 {
    font-size: 2em;
    font-weight: normal;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 12px;
}

.subtitle a {
    color: #555;
    text-decoration: none;
}

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

nav {
    margin-top: 12px;
}

nav a {
    margin-right: 22px;
    color: #333;
    text-decoration: none;
    font-size: 0.95em;
}

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

nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* About page layout */
.about-container {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    margin-bottom: 35px;
}

.about-photo {
    flex-shrink: 0;
}

.about-photo img {
    width: 180px;
    border-radius: 4px;
}

.about-text {
    flex: 1;
}

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

h2 {
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

p {
    margin-bottom: 12px;
    text-align: justify;
}

/* Research items */
.research-item {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.research-item:last-child {
    border-bottom: none;
}

.research-item h3 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 4px;
}

.research-item .authors {
    font-style: italic;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 4px;
}

.research-item .status {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 8px;
}

.research-item .description {
    font-size: 0.93em;
}

/* Experience items */
.experience-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item h3 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 3px;
}

.experience-item .meta {
    font-size: 0.88em;
    color: #777;
    margin-bottom: 8px;
}

.experience-item .description {
    font-size: 0.93em;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 0.8em;
    color: #999;
}

/* Responsive */
@media (max-width: 600px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    .about-photo img {
        width: 150px;
    }
}
