@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Unna:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --text-color: #333333;
    --link-color: #666666;
    --hover-color: #000000;
    --bg-color: #ffffff;
    --font-heading: 'Unna', serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    padding: 100px 10%;
    max-width: 800px;
    margin: 0 auto;
}

header {
    margin-bottom: 80px;
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--link-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--hover-color);
}

.content-block {
    margin-top: 40px;
}

.site-photo {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.history-block {
    line-height: 2.0; /* Slightly taller line-height to let the stacked lines breathe */
}

.content-block a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
    transition: all 0.2s ease;
}

.content-block a:hover {
    color: var(--hover-color);
    border-bottom-color: var(--hover-color);
}

@media (max-width: 640px) {
    body {
        padding: 40px 5%;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Additional styles for publications list */
.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}
.publication-list {
    list-style-type: none;
    padding-left: 0;
}
.publication-list li {
    margin-bottom: 25px;
    line-height: 1.6;
}
