*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c2c24;
    background: #f5f3ed;
    margin: 0;
    padding: 0;
}

a { color: #3a6b27; }
a:hover { color: #5a9b3a; }

/* ── header ── */
#site-header {
    background: #2c3e1f;
    padding: 1.4rem 2rem 1.2rem;
    border-bottom: 4px solid #5a8a30;
}
#site-header h1 {
    margin: 0;
    font-family: Copperplate, 'Copperplate Gothic Light', Papyrus, serif;
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}
#site-header h1 a {
    color: #d4e8c0;
    text-decoration: none;
}
#site-header h1 a:hover { color: #fff; }
#site-header .tagline {
    color: #90b070;
    font-size: 0.88rem;
    font-style: italic;
    margin: 0.35rem 0 0;
    font-family: 'Trebuchet MS', Tahoma, sans-serif;
}

/* ── layout ── */
#main {
    max-width: 820px;
    margin: 2rem auto;
    padding: 0 1.5rem 3rem;
}

/* ── article ── */
article {
    margin-bottom: 3rem;
}
article > header {
    border-bottom: 1px solid #c8c4b0;
    margin-bottom: 1.1rem;
    padding-bottom: 0.5rem;
}
article > header h1,
article > header h2 {
    margin: 0 0 0.25rem;
    line-height: 1.3;
    font-size: 1.45rem;
}
article > header h1 a,
article > header h2 a {
    text-decoration: none;
    color: #1a3a10;
}
article > header h1 a:hover,
article > header h2 a:hover {
    color: #3a6b27;
}
.post-meta {
    font-size: 0.83rem;
    color: #666;
    font-family: 'Trebuchet MS', Tahoma, sans-serif;
}
.post-type-badge {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #d8ecc8;
    color: #3a5a27;
    border-radius: 3px;
    padding: 0 0.4em;
    margin-left: 0.5em;
    vertical-align: middle;
}

/* ── entry content ── */
.entry-content p { margin: 0 0 1em; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content blockquote {
    border-left: 3px solid #a0c070;
    margin: 1em 0;
    padding: 0.5rem 1rem;
    background: #eef5e6;
    font-style: italic;
    color: #444;
}
.entry-content a.dead-link {
    color: #999;
    text-decoration: line-through;
    cursor: default;
}

/* ── read more ── */
.read-more-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: 'Trebuchet MS', Tahoma, sans-serif;
    font-size: 0.9rem;
    color: #3a6b27;
    text-decoration: none;
    border-bottom: 1px solid #a0c070;
}
.read-more-link:hover {
    color: #5a9b3a;
    border-color: #5a9b3a;
}

/* ── archive separators ── */
.archive-list article {
    border-bottom: 1px solid #d8d4c0;
    padding-bottom: 2rem;
}
.archive-list article:last-child { border-bottom: none; }

/* ── post navigation (single post) ── */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #c8c4b0;
    font-family: 'Trebuchet MS', Tahoma, sans-serif;
    font-size: 0.88rem;
}
.post-nav .nav-prev,
.post-nav .nav-next {
    max-width: 45%;
}
.post-nav .nav-next { text-align: right; }
.post-nav span { display: block; color: #888; margin-bottom: 0.2rem; }

/* ── pagination ── */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 2px solid #a0c070;
    font-family: 'Trebuchet MS', Tahoma, sans-serif;
    font-size: 0.9rem;
}
.pagination a {
    padding: 0.45rem 1rem;
    background: #3a6b27;
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    line-height: 1;
}
.pagination a:hover { background: #5a8a30; }
.pagination .page-info { color: #888; }

/* ── footer ── */
footer {
    background: #2c3e1f;
    color: #80a060;
    text-align: center;
    padding: 1rem;
    font-size: 0.82rem;
    margin-top: 0;
}
footer a { color: #a0c080; }

/* ── responsive ── */
@media (max-width: 600px) {
    #site-header { padding: 1rem; }
    #site-header h1 { font-size: 1.25rem; }
    #main { padding: 0 1rem 2rem; }
    article > header h1, article > header h2 { font-size: 1.2rem; }
}