/* File: /css/style.css — shared site styles */
:root {
    --ink: #17201f;
    --muted: #626b68;
    --paper: #f8f6f1;
    --panel: #ffffff;
    --forest: #173c35;
    --forest-deep: #0d2924;
    --rust: #b54e37;
    --gold: #c99436;
    --line: #e4e0d8;
}
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; }
h1, h2, h3, .brand-name { font-family: "Playfair Display", Georgia, serif; }
a { color: inherit; }
.navbar { background: rgba(13, 41, 36, .98); box-shadow: 0 2px 12px rgba(0, 0, 0, .14); }
.navbar-brand { letter-spacing: -.02em; }
.brand-name { font-size: clamp(.9rem, 1.45vw, 1.2rem); white-space: normal; line-height: 1.15; }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 34px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.1rem; }
.nav-link { font-size: .84rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.nav-link.active, .nav-link:hover { color: #f0ce80 !important; }
.site-hero { background: linear-gradient(135deg, #143b34 0%, #0d2924 58%, #1e4c40 100%); color: #fff; padding: 4.75rem 0 4.25rem; border-bottom: 5px solid var(--rust); }
.site-hero h1 { font-size: clamp(2.45rem, 5vw, 4.65rem); line-height: 1.08; letter-spacing: -.03em; }
.site-hero .lead { max-width: 620px; color: rgba(255,255,255,.79); }
.eyebrow { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.content-wrap { padding: 4rem 0 5rem; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; }
.post-card { height: 100%; border: 1px solid rgba(0,0,0,.07); border-radius: .8rem; background: var(--panel); overflow: hidden; box-shadow: 0 .35rem 1rem rgba(17,42,36,.06); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 1.1rem 2.2rem rgba(17,42,36,.13); }
.post-card .card-img-top { aspect-ratio: 16 / 9; object-fit: cover; }
.post-card h3 { font-size: 1.45rem; line-height: 1.22; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--rust); }
.post-card .card-text { color: var(--muted); font-size: .96rem; }
.category { color: var(--rust); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.read-more { color: var(--forest); border-color: #b9c9c4; font-size: .84rem; font-weight: 700; }
.read-more:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.sidebar-card { border: 1px solid var(--line); border-radius: .8rem; background: #fffdfa; }
.sidebar-card h2 { font-size: 1.45rem; }
.sidebar-card p { color: var(--muted); font-size: .94rem; }
.sidebar-card a { color: var(--forest); font-weight: 700; text-decoration: none; }
.sidebar-card a:hover { color: var(--rust); }
.list-group-item { background: transparent; border-color: var(--line); }
.numbered-post { display: grid; grid-template-columns: 1.8rem 1fr; gap: .65rem; align-items: start; }
.numbered-post .number { color: var(--rust); font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.sponsored { background: #edf2ef; border-left: 4px solid var(--forest); }
.sponsored .label { color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer { background: var(--forest-deep); color: rgba(255,255,255,.72); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 10; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--rust); color: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 9999; background: #fff; padding: .5rem 1rem; color: #000; }
@media (max-width: 1199.98px) { .brand-name { font-size: .98rem; } }
@media (max-width: 991.98px) { .site-hero { padding: 3.5rem 0; } .content-wrap { padding-top: 3rem; } .brand-name { font-size: 1.05rem; } }
@media (max-width: 575.98px) { .site-hero h1 { font-size: 2.45rem; } .brand-name { font-size: .9rem; } }
/* Match pagination to the site's forest/rust palette. */

.pagination {
                        --bs-pagination-color: var(--forest, #173c35);
                        --bs-pagination-bg: #fffdfa;
                        --bs-pagination-border-color: var(--line, #e4e0d8);
                        --bs-pagination-hover-color: var(--forest-deep, #0d2924);
                        --bs-pagination-hover-bg: #edf2ef;
                        --bs-pagination-hover-border-color: #b9c9c4;
                        --bs-pagination-focus-color: var(--forest-deep, #0d2924);
                        --bs-pagination-focus-bg: #edf2ef;
                        --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(23, 60, 53, .22);
                        --bs-pagination-active-color: #fff;
                        --bs-pagination-active-bg: var(--forest, #173c35);
                        --bs-pagination-active-border-color: var(--forest, #173c35);
                        --bs-pagination-disabled-color: #8a928d;
                        --bs-pagination-disabled-bg: #f1f0ea;
                        --bs-pagination-disabled-border-color: var(--line, #e4e0d8);
                    }