body {
    margin: 60px auto;
    width: 70%;
    max-width: 800px;
}
nav ul, footer ul {
    font-family:'Helvetica', 'Arial', 'Sans-Serif';
    padding: 0px;
    list-style: none;
    font-weight: bold;
}
nav ul li, footer ul li {
    display: inline;
    margin-right: 20px;
}
a {
    text-decoration: none;
    color: #999;
}
a:hover {
    text-decoration: underline;
}
h1 {
    font-size: 3em;
    font-family:'Helvetica', 'Arial', 'Sans-Serif';
}
h2 {
    font-size: 1.8em;
    font-family:'Helvetica', 'Arial', 'Sans-Serif';
    color: #333;
    margin-top: 2em;
}
p {
    font-size: 1.5em;
    line-height: 1.4em;
    color: #333;
}
footer {
    border-top: 1px solid #d5d5d5;
    font-size: .8em;
}

ul.posts {
    margin: 20px auto 40px;
    font-size: 1.5em;
}

ul.posts li {
    font-size: 1.5em;
    line-height: 1.4em;
    color: #333;
}

ul li {
    font-size: 1.5em;
    line-height: 1.4em;
    color: #333;
}

/* Profile section */
.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
}
.profile-photo {
    width: 150px;
    height: 150px;
    min-width: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-bio h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.5em;
}
.profile-title {
    font-size: 1.2em !important;
    color: #999 !important;
    margin-top: 0.2em;
    margin-bottom: 0.8em;
}
.profile-bio p {
    font-size: 1.1em;
    line-height: 1.6em;
}
.social-links {
    margin-top: 1em;
}
.social-links a {
    margin-right: 15px;
    font-family: 'Helvetica', 'Arial', 'Sans-Serif';
    font-weight: bold;
    font-size: 0.9em;
}

/* Writing page */
.writing-list {
    margin-top: 20px;
}
.writing-entry {
    margin-bottom: 1.5em;
}
.writing-date {
    display: block;
    font-family: 'Helvetica', 'Arial', 'Sans-Serif';
    font-size: 0.85em;
    color: #999;
    margin-bottom: 2px;
}
.writing-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}
.writing-title:hover {
    color: #666;
}
.writing-byline {
    display: block;
    font-size: 0.9em;
    color: #999;
    margin-top: 2px;
}

/* Publications */
.publications-list {
    margin-top: 10px;
}
.pub-entry {
    margin-bottom: 1.5em;
}
.pub-title {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}
.pub-venue {
    display: block;
    font-size: 0.9em;
    color: #999;
    margin-top: 2px;
}
.pub-entry a {
    font-size: 0.9em;
    margin-top: 2px;
    display: inline-block;
}

/* Talks page */
.talks-list {
    margin-top: 20px;
}
.talk-entry {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
}
.talk-entry:last-child {
    border-bottom: none;
}
.talk-title {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    font-family: 'Helvetica', 'Arial', 'Sans-Serif';
}
.talk-venue {
    display: block;
    font-size: 0.9em;
    color: #999;
    margin-top: 4px;
}
.talk-desc {
    font-size: 1em !important;
    color: #555 !important;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.talk-links a {
    margin-right: 12px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        width: 90%;
        margin: 30px auto;
    }
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-bio h1 {
        font-size: 2em;
    }
    h1 {
        font-size: 2em;
    }
    .social-links {
        text-align: center;
    }
}
