:root {
    --bg: #9fbd3e;
    --bg-soft: #b7d85f;
    --ink: #35451e;
    --ink-muted: #5b6e33;
    --paper: #f7f8ef;
    --line: rgba(53, 69, 30, 0.22);
    --accent: #435f24;
    --autumn: #a25d0e;
    --autumn-ink: #fff4d7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.45;
}

a {
    color: var(--accent);
}

.masthead {
    background: var(--autumn);
    border-bottom: 1px solid rgba(53, 69, 30, 0.28);
    color: var(--autumn-ink);
}

.masthead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 48px;
    max-width: 1600px;
    min-height: 330px;
    margin: 0 auto;
    padding: 42px 7vw;
    align-items: start;
}

.brand {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--autumn-ink);
    text-decoration: none;
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    max-width: 900px;
}

.brand-logo {
    flex: 0 0 auto;
    width: clamp(92px, 11vw, 158px);
    aspect-ratio: 1;
    object-fit: cover;
    filter: drop-shadow(0 8px 18px rgba(53, 35, 18, 0.25));
}

.top-tools {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 120px;
    gap: 24px;
    padding-top: 72px;
}

.search label {
    display: block;
    margin-bottom: 4px;
    color: var(--autumn-ink);
}

.search input,
.comment-form input,
.comment-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper);
    font: inherit;
}

.search input {
    border-radius: 999px;
}

nav {
    display: grid;
    gap: 3px;
    font-size: 20px;
}

nav a {
    color: var(--ink-muted);
    text-decoration: none;
}

.masthead nav a {
    color: var(--autumn-ink);
}

.landscape {
    background: linear-gradient(90deg, #79905b, #d7c79c 45%, #769956);
    border-bottom: 1px solid var(--line);
}

.landscape img {
    display: block;
    width: 100%;
    height: auto;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 560px);
    gap: 72px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 42px 7vw 80px;
}

.front-copy h1 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 500;
}

.front-copy {
    font-size: 26px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    font-size: 18px;
}

.category-list h2 {
    flex-basis: 100%;
    margin: 0 0 4px;
    font-size: 22px;
}

.category-list a {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.25);
    padding: 7px 10px;
    text-decoration: none;
}

.post-list h2 {
    margin-top: 0;
    font-size: 26px;
}

.post-card {
    border-top: 1px solid var(--line);
    padding: 24px 0;
}

.post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 12px;
}

.post-card time,
.date,
.meta {
    color: var(--ink-muted);
    font-size: 16px;
}

.post-card h2 {
    margin: 4px 0;
    font-size: 28px;
    line-height: 1.2;
}

.post-card h2 a {
    color: var(--ink);
}

.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 7vw 80px;
}

.post-hero {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    margin-bottom: 32px;
}

.post-view h1 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: 1.05;
    margin: 0 0 28px;
}

.post-body {
    font-size: 22px;
}

.comments {
    margin-top: 56px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.comment {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.comment time {
    display: block;
    color: var(--ink-muted);
    font-size: 14px;
}

.comment-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.captcha-note {
    margin: 0;
    color: var(--ink-muted);
    font-size: 15px;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 0;
    background: var(--accent);
    color: white;
    padding: 12px 18px;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.notice {
    background: rgba(255, 255, 255, 0.45);
    padding: 12px 14px;
}

.error {
    background: #f7d7cf;
    color: #713126;
    padding: 12px 14px;
}

.site-footer {
    background: var(--autumn);
    border-top: 1px solid rgba(53, 69, 30, 0.28);
    padding: 24px 7vw;
    color: var(--autumn-ink);
}

.site-footer nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
    font-size: 17px;
}

.site-footer a {
    color: #fff8e8;
}

.signup-page,
.privacy-page {
    max-width: 980px;
}

.signup-intro,
.newsletter-placeholder,
.newsletter-embed,
.privacy-page article {
    background: rgba(247, 248, 239, 0.78);
    border: 1px solid var(--line);
    padding: clamp(26px, 4vw, 48px);
}

.signup-intro {
    margin-bottom: 26px;
}

.signup-intro h1,
.privacy-page h1 {
    margin: 0 0 16px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
}

.signup-intro p,
.newsletter-placeholder p,
.privacy-page p {
    font-size: 21px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--ink-muted);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.small-note {
    color: var(--ink-muted);
    font-size: 16px !important;
}

.newsletter-placeholder h2,
.privacy-page h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.privacy-page h2 {
    margin-top: 34px;
}

.newsletter-embed .ml-form-embedContainer,
.newsletter-embed .ml-form-embedWrapper,
.newsletter-embed .ml-form-embedBody,
.newsletter-embed .ml-form-successBody {
    max-width: 100% !important;
}

.newsletter-embed .ml-form-embedWrapper.embedForm,
.newsletter-embed .ml-form-embedWrapper.embedDefault {
    width: min(100%, 560px) !important;
}

.newsletter-embed .ml-form-embedContainer p,
.newsletter-embed .ml-form-embedContainer span,
.newsletter-embed .ml-form-embedContainer label,
.newsletter-embed .ml-form-embedContainer .label-description,
.newsletter-embed .ml-form-embedContainer .label-description p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.newsletter-embed .ml-form-embedContainer .ml-form-recaptcha,
.newsletter-embed .ml-form-embedContainer .g-recaptcha {
    max-width: 100%;
    overflow: hidden;
}

.newsletter-submit-notice,
.newsletter-submit-error {
    max-width: 560px;
    margin: 18px auto 0;
}

.newsletter-embed button:disabled,
.newsletter-embed input[type="submit"]:disabled {
    cursor: wait !important;
    opacity: 0.7 !important;
}

@media (max-width: 900px) {
    .masthead__inner,
    .home-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .masthead__inner {
        min-height: auto;
    }

    .top-tools {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .front-copy {
        font-size: 22px;
    }

    .brand {
        gap: 16px;
    }
}
