/* Bare-bones styling so the archive is readable. Replace with proper design later. */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; max-width: 760px; margin: 0 auto; padding: 1.5rem; line-height: 1.55; color: #222; }
h1, h2, h3, h4, h5, h6, .site-header a { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4, .post-list a { text-wrap: pretty; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 0.5rem 0 1.5rem; margin-bottom: 2rem; }
.site-header .site-name { display: inline-block; line-height: 0; }
.site-header .site-name img { display: block; width: 220px; height: auto; max-width: 100%; }
.site-nav { display: flex; gap: 1.25rem; }
.site-nav a { color: #000; text-decoration: none; font-size: 1.15rem; }
.site-nav a:hover { color: #c00; }
.site-nav .post-count { color: #888; font-size: 0.9rem; font-weight: normal; }
.site-nav .feed-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.site-nav .feed-link svg { width: 17px; height: 17px; color: #f60; transition: color 0.15s; }
.site-nav .feed-link:hover svg { color: #c00; }
.site-footer { margin-top: 4rem; padding-top: 1rem; border-top: 1px solid #ddd; color: #888; font-size: 0.9rem; }
.post-header h1 { margin-bottom: 0.25rem; }
.byline { color: #888; font-size: 0.9rem; margin-top: 0; }
.post-body img { max-width: 100%; height: auto; }
.post-body blockquote { margin: 1.5rem 0; padding: 0.4rem 0 0.4rem 1.25rem; border-left: 4px solid #c00; color: #555; font-style: italic; font-size: 1.05rem; line-height: 1.6; }
.post-body blockquote p:first-child { margin-top: 0; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body pre { background: #f5f5f5; padding: 0.75rem; overflow-x: auto; font-size: 0.9rem; }
.post-body code { background: #f5f5f5; padding: 1px 4px; border-radius: 2px; font-size: 0.9em; }
.post-body pre code { background: transparent; padding: 0; }
.post-list { list-style: none; padding: 0; }
.post-summary { padding: 1.75rem 0; }
.post-summary-title { margin: 0 0 0.25rem; font-size: 1.5rem; }
.post-summary-title a { color: #222; text-decoration: none; }
.post-summary-title a:hover { color: #c00; }
.post-summary .byline { margin: 0 0 0.75rem; }
.post-summary-body { color: #333; }
.post-summary-body p { margin: 0; }
.post-summary-body img { max-width: 100%; height: auto; }
.read-more { margin: 0.5rem 0 0; font-size: 0.95rem; }
.read-more a { color: #c00; text-decoration: none; font-weight: 500; }
.read-more a:hover { text-decoration: underline; }
.archives-intro { color: #666; margin-bottom: 2rem; }
.archive-year { margin-bottom: 2rem; }
.archive-year h2 { border-bottom: 2px solid #c00; padding-bottom: 0.25rem; margin-bottom: 0.75rem; }
.archive-list { list-style: none; padding: 0; }
.archive-list li { padding: 0.2rem 0; display: flex; gap: 0.75rem; align-items: baseline; }
.archive-list time { flex-shrink: 0; color: #888; font-size: 0.85rem; font-variant-numeric: tabular-nums; min-width: 4rem; }
.archive-list a { color: #222; text-decoration: none; }
.archive-list a:hover { color: #c00; }
.post-list li { padding: 0.4rem 0; border-bottom: 1px solid #eee; }
.post-list .meta { display: block; color: #888; font-size: 0.85rem; }
.comments { margin-top: 3rem; padding-top: 1rem; border-top: 2px solid #ddd; }
.comments ol { list-style: none; padding: 0; }
.comments li { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.comment-meta { color: #888; font-size: 0.85rem; margin-bottom: 0.25rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; padding: 0; margin: 2.5rem 0 1rem; justify-content: center; }
.pagination .page-item { margin: 0; }
.pagination .page-link { display: inline-block; min-width: 2.25rem; padding: 0.4rem 0.7rem; border: 1px solid #ddd; border-radius: 3px; color: #333; text-decoration: none; text-align: center; font-size: 0.9rem; line-height: 1; cursor: pointer; }
.pagination .page-link:hover { background: #f5f5f5; border-color: #bbb; }
.pagination .page-item.active .page-link { background: #c00; border-color: #c00; color: #fff; cursor: default; }
.pagination .page-item.disabled .page-link { color: #ccc; border-color: #eee; background: #fafafa; cursor: default; pointer-events: none; }
