* {
    box-sizing: border-box;
}

body {
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    background: #f5f3ed;
    color: #303b34;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

header, nav {
    text-align: center;
    padding: 2rem 1rem;
}

header, div.section {
    border: 1px solid #dce1d5;
    border-radius: 12px;
    background: #fffefa;
}

header {
    background: #e8eedf;
}

div.section {
    padding: clamp(1rem, 3vw, 2rem);
}

h1, h2, h3 {
    color: #344c3b;
    line-height: 1.25;
}

h1 {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
}

h2 {
    margin-top: 0;
    text-align: center;
}

a {
    color: #38664b;
    text-underline-offset: 3px;
}

a:hover {
    color: #203e2d;
}

a:focus-visible {
    outline: 2px solid #38664b;
    outline-offset: 4px;
    border-radius: 2px;
}

div.gridDisplay {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    text-align: center;
}

.gridDisplay > div {
    padding: 1rem;
    background: #f3f5ee;
    border-radius: 8px;
}

.gridDisplay h3 {
    margin-top: 0;
}

.post + .post {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dce1d5;
}

.post > h3 + p {
    color: #616b63;
    font-size: 0.9rem;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

pre {
    overflow-x: auto;
    padding: 1rem;
    background: #f3f5ee;
    border-radius: 6px;
}
