body {
    font-family: 'Public Sans', sans-serif;
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.4;
    color: #3d3d3d;
    background: #e8e4e0;
}

h1 {
    font-size: 1.4em;
    margin: 0 0 0.8em 0;
    color: #1a1a1a;
    font-weight: 700;
}

h1 a {
    color: inherit;
    text-decoration: none;
}

h1 a:hover {
    color: #1a1a1a;
}

.site-nav {
    font-size: 0.85em;
    color: #666;
    margin: 0 0 0.8em 0;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav a:hover {
    color: #1a1a1a;
}

.updated {
    font-size: 0.85em;
    color: #6b6b6b;
    margin: 0 0 1em 0;
    font-style: italic;
}

h2 {
    font-size: 1em;
    font-weight: 700;
    margin: 0.8em 0 0.1em 0;
    color: #1a1a1a;
}

.post h2 {
    font-size: 1.5em;
    margin: 0;
    line-height: 1;
}

a {
    color: #3d3d3d;
}

a:hover {
    color: #1a1a1a;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0;
}

main:not(.post) {
    display: table;
}

main.post {
    display: block;
}

section {
    display: table-row;
}

section h2 {
    display: table-cell;
    padding-right: 3em;
    padding-bottom: 0.2em;
    margin: 0;
    text-align: left;
}

section ul {
    display: table-cell;
    padding-bottom: 0.2em;
}

section:first-child h2,
section:first-child ul {
    padding-top: 0.5em;
}

footer {
    margin-top: 2em;
    font-size: 0.85em;
    color: #888;
}


.post p {
    margin: 0.8em 0;
}

html {
    background: #e8e4e0;
}

.footer-image-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 3em;
    margin-bottom: -40px;
    overflow: hidden;
}

.footer-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, #e8e4e0 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.footer-image {
    display: block;
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center top;
}

