/* Blog archive layout; automatic counts and searching remain in blog_index.shtml. */
:root { --olive:#a3a375; --forest:#263d29; --cream:#fbf8e8; --border:#627052; --accent:#e9edc8; }
* { box-sizing:border-box; }
body { margin:0; background:var(--olive); color:#151b12; font:16px/1.5 Georgia, 'Times New Roman', serif; }
a { color:#26462b; }
a:hover, a:focus-visible { color:#653319; text-decoration:underline; }
.page { max-width:1400px; margin:auto; display:grid; grid-template-columns:minmax(180px,24%) minmax(0,1fr); gap:22px; padding:12px 18px 28px; }
.sticky { position:sticky; top:16px; align-self:start; background:#e6e4c7; border:1px solid #6a7654; border-radius:14px; padding:16px; box-shadow:0 5px 18px #29361e20; }
.sidebar-image { display:block; width:100%; height:auto; margin:0 auto 14px; }
nav { display:grid; gap:4px; }
nav h2 { font-size:1.12rem; margin:4px 0 10px; color:#263d29; }
nav a { display:block; padding:7px 10px; border-radius:8px; color:#26452f; text-decoration:none; }
nav a:hover, nav a:focus-visible { color:#183a23; background:#cad8b5; }
main { min-width:0; }
.site-title { text-align:center; margin:.3rem 0 .6rem; font-size:clamp(1.6rem,3vw,2.3rem); }
.banner { display:block; width:min(420px,70%); height:auto; margin:0 auto 18px; }
.archive-heading { border-bottom:2px solid var(--forest); padding-bottom:5px; margin:.7rem 0; }
.intro { margin:0 0 15px; }
.search-bar { width:100%; display:block; padding:12px 14px; border:2px solid var(--border); border-radius:8px; font:inherit; background:#fffef5; color:#202820; margin-bottom:8px; }
.tools { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:16px; }
.tools button { background:var(--forest); color:#fff; border:0; border-radius:5px; padding:8px 12px; cursor:pointer; font:inherit; }
#result-count { color:#263327; font-size:.92rem; }
.years { display:flex; gap:7px; flex-wrap:wrap; margin:0 0 18px; }
.years a { display:inline-block; border:1px solid #52694d; border-radius:5px; padding:6px 12px; text-decoration:none; background:#f8f4df; font-weight:bold; }
.year { margin:0 0 14px; border:1px solid #5c6b4d; border-radius:9px; overflow:hidden; background:#e8e7c6; scroll-margin-top:10px; }
.year > summary { background:#344d36; color:#fff; padding:12px 16px; cursor:pointer; font-weight:bold; font-size:1.2rem; }
.year > summary::marker { color:#d9e6bd; }
.year-content { padding:12px; }
.month { margin-bottom:10px; border:1px solid #b2b694; border-radius:6px; overflow:hidden; background:#f6f4e4; }
.month:last-child { margin-bottom:0; }
.month > summary { padding:10px 13px; cursor:pointer; font-weight:bold; background:#e1e5c4; }
.month > summary:hover { background:#d5dfb4; }
.entry-list { list-style:none; margin:0; padding:9px 13px 13px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 18px; }
.entry-list li { border-bottom:1px solid #e1dfcf; padding:3px 0 7px; }
.entry-list a { color:#25472f; text-decoration:none; }
.entry-list a:hover { text-decoration:underline; }
.entry-list .special a { font-weight:bold; color:#704022; }
.no-results { display:none; margin:20px 0; padding:15px; background:#fbf8e8; border-radius:6px; }
.footer-image { max-width:100%; height:auto; }
@media(max-width:850px) { .entry-list { grid-template-columns:1fr; } }
@media(max-width:650px) { .page { grid-template-columns:1fr; padding:8px 12px 22px; gap:12px; } .sticky {position:static; margin-bottom:16px;} .sidebar-image {max-width:230px; margin:0 auto 10px;} nav {display:flex; flex-wrap:wrap; justify-content:center; gap:4px; text-align:center;} nav h2 {flex-basis:100%;} nav a {display:inline-block; margin:2px; padding:7px 10px;} .year-content {padding:8px;} .entry-list {padding:9px 12px;} }
.blog-hero { text-align:center; padding:24px 24px 21px; margin-bottom:22px; background:var(--cream); border:1px solid #7c8a64; border-radius:15px; box-shadow:0 8px 24px #263d2921; }
.blog-hero .site-title { color:var(--forest); margin:0 0 12px; line-height:1.2; }
.blog-hero .banner { width:min(420px,75%); max-height:310px; object-fit:contain; margin:0 auto 13px; }
.blog-hero .archive-heading { color:var(--forest); border:0; margin:0 0 9px; padding:0; font-size:1.5rem; }
.blog-hero .intro { max-width:720px; margin:0 auto; color:#42533b; }
@media(max-width:650px) { .blog-hero { padding:20px 14px; margin-bottom:18px; } }
