:root {
    --paper: #f5f3ec;
    --surface: #fffefa;
    --ink: #202c25;
    --muted: #72796f;
    --line: #d9d9cf;
    --green: #234c39;
    --ochre: #c28a39;
    --mist: #e8ebe2;
    --serif: Georgia, "Times New Roman", serif;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, input, a { outline-offset: 4px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 16px; padding: 12px 16px; background: var(--surface); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.topline { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.topline .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font: 24px var(--serif); color: var(--green); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 9px "Segoe UI", Arial, sans-serif; letter-spacing: .14em; }
.main-nav { display: flex; gap: 30px; font-size: 14px; }
.header-search { display: flex; border-bottom: 1px solid var(--ink); }
.header-search input { width: 150px; border: 0; padding: 9px 4px; background: transparent; }
.header-search button { width: 34px; border: 0; background: transparent; font-size: 20px; color: var(--green); }
.hero { min-height: 500px; position: relative; display: flex; align-items: center; color: white; background: linear-gradient(90deg, rgba(15,31,23,.78), rgba(15,31,23,.36) 52%, rgba(15,31,23,.05)), var(--hero-image) center/cover; }
.hero-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; padding: 70px 0; }
.hero .eyebrow { color: #e2bd77; }
.eyebrow { display: block; color: var(--green); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .17em; }
.hero h1 { max-width: 620px; margin: 16px 0; font: clamp(56px, 8vw, 92px)/.98 var(--serif); font-weight: 400; }
.hero p { max-width: 430px; margin: 0 0 30px; color: #f1efe6; font-size: 17px; line-height: 1.65; }
.button-link { display: inline-flex; align-items: center; gap: 26px; padding: 14px 18px; background: var(--ochre); color: #1e281f; font-weight: 700; }
.hero-index { position: absolute; right: max(24px, calc((100% - 1160px) / 2)); bottom: 24px; font-size: 10px; letter-spacing: .15em; }
.topic-rows { padding-top: 62px; }
.topic-row { display: grid; grid-template-columns: 210px 1fr; gap: 34px; padding: 30px 0 42px; border-bottom: 1px solid var(--line); }
.topic-heading h2, .section-heading h2 { margin: 9px 0 10px; font: 30px/1.1 var(--serif); font-weight: 400; }
.topic-heading > a, .section-heading > a { color: var(--green); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.card-image { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card-image:hover img { transform: scale(1.03); }
.card-body { padding: 18px 18px 20px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 11px; }
.article-card h3 { margin: 11px 0 8px; font: 22px/1.18 var(--serif); font-weight: 400; }
.article-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag-list a { padding: 5px 8px; border-radius: 20px; background: var(--mist); color: var(--green); font-size: 11px; }
.latest-section { padding-top: 64px; padding-bottom: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; }
.popular-strip { padding: 52px 0 62px; background: var(--mist); }
.popular-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.popular-list a { display: grid; grid-template-columns: 38px 1fr 20px; align-items: center; gap: 12px; min-height: 60px; border-top: 1px solid #cbd1c5; font: 19px var(--serif); }
.popular-number { color: var(--ochre); font: 11px "Segoe UI", Arial, sans-serif; }
.inner-page { min-height: 55vh; padding-top: 28px; padding-bottom: 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; color: var(--muted); font-size: 12px; }
.list-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.list-heading h1, .prose h1 { margin: 12px 0; font: clamp(38px, 6vw, 64px)/1.06 var(--serif); font-weight: 400; }
.list-heading > p { color: var(--muted); }
.full-article { max-width: 820px; margin: 0 auto; }
.full-article .list-heading { margin-bottom: 30px; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 34px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.prose h2, .prose h3 { margin-top: 1.8em; font: 32px/1.2 var(--serif); font-weight: 400; }
.prose img { height: auto; }
.legal-content { padding: 28px 0; }
.related-section { padding-top: 70px; }
.search-form { max-width: 680px; margin: 0 auto 38px; }
.search-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.search-form div { display: flex; border-bottom: 1px solid var(--ink); }
.search-form input { flex: 1; min-width: 0; padding: 15px 8px; border: 0; background: transparent; }
.search-form button { padding: 0 18px; border: 0; background: var(--green); color: white; }
.tag-cloud { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; max-width: 850px; margin: 0 auto 32px; }
.tag-cloud .eyebrow { width: 100%; margin-bottom: 4px; }
.tag-cloud a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; }
.tag-cloud a[aria-current="page"] { border-color: var(--green); background: var(--green); color: white; }
.tag-cloud small { color: var(--muted); }
.tag-cloud a[aria-current="page"] small { color: #d8e0d8; }
.empty-state { max-width: 600px; margin: 55px auto; padding: 44px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.empty-state h2 { font: 30px var(--serif); font-weight: 400; }
.empty-state p { color: var(--muted); line-height: 1.6; }
.empty-state a { color: var(--green); font-weight: 700; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.pagination a { min-width: 38px; padding: 10px; border: 1px solid var(--line); text-align: center; }
.pagination [aria-current="page"] { background: var(--green); color: white; }
.seo-text { max-width: 760px; margin: 48px auto 0; color: var(--muted); line-height: 1.7; }
.site-footer { padding: 46px 0 28px; background: #202c25; color: #f5f3ec; }
.footer-grid { display: grid; grid-template-columns: 1fr 220px; gap: 50px; }
.footer-brand { font: 28px var(--serif); }
.footer-grid p { max-width: 420px; color: #bfc5bb; line-height: 1.6; }
.footer-grid small { color: #bfc5bb; }
.footer-nav { display: grid; align-content: start; gap: 11px; font-size: 13px; }
.footer-nav .eyebrow { color: #d4ac68; margin-bottom: 4px; }
.analytics-area { padding-top: 24px; }
.cookie-banner { position: fixed; z-index: 5; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 24px; width: min(660px, calc(100% - 40px)); padding: 20px 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 40px #121a1530; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-actions button { padding: 9px 11px; border: 1px solid var(--green); background: var(--green); color: white; font-size: 12px; }
.cookie-actions button + button { background: transparent; color: var(--green); }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper); }
.error-card { width: min(560px, 100%); padding: 54px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.error-card img { margin: 0 auto 26px; }
.error-card h1 { font: 44px/1.1 var(--serif); font-weight: 400; }
.error-card p { margin-bottom: 28px; color: var(--muted); line-height: 1.6; }
.comments, .comment-form { max-width: 760px; margin: 38px auto; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-form label { display: block; margin: 12px 0 6px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--surface); }
.comment-form button { margin-top: 14px; padding: 12px 16px; border: 0; background: var(--green); color: white; }
.comment-success, .comment-error { padding: 14px; background: var(--mist); }
.comment-pagination { display: flex; gap: 12px; padding: 18px 0; }
.comment-trap { display: none; }
.feedback-form { max-width: 680px; margin: 40px auto; }
.feedback-field { margin: 0 0 16px; }
.feedback-field label { display: block; margin-bottom: 6px; }
.feedback-field input, .feedback-field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--surface); }
.feedback-consent { display: flex; gap: 8px; margin: 18px 0; }
.feedback-submit { padding: 12px 18px; border: 0; background: var(--green); color: white; }
.feedback-error { color: #9b2e20; }
.feedback-success, .feedback-preview { padding: 14px; background: var(--mist); }
@media (max-width: 900px) {
    .site-header { flex-wrap: wrap; padding-block: 16px; }
    .main-nav { order: 3; width: 100%; justify-content: center; }
    .topic-row { grid-template-columns: 1fr; gap: 20px; }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .container, .hero-inner { width: min(100% - 32px, 1160px); }
    .site-header { gap: 14px; min-height: unset; }
    .brand { font-size: 21px; }
    .header-search { margin-left: auto; }
    .header-search input { width: 100px; }
    .main-nav { justify-content: space-between; gap: 10px; font-size: 13px; }
    .hero { min-height: 460px; background-position: 58% center; }
    .hero-inner { padding-block: 55px; }
    .hero h1 { font-size: 60px; }
    .hero p { font-size: 15px; }
    .topic-rows { padding-top: 30px; }
    .topic-row { padding-block: 24px 30px; }
    .article-grid { grid-template-columns: 1fr; gap: 15px; }
    .latest-section { padding-block: 42px; }
    .popular-strip { padding-block: 38px; }
    .popular-list { grid-template-columns: 1fr; }
    .popular-list a { font-size: 17px; }
    .inner-page { padding-top: 20px; padding-bottom: 55px; }
    .breadcrumbs { margin-bottom: 32px; }
    .list-heading h1, .prose h1 { font-size: 42px; }
    .prose { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cookie-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .error-card { padding: 36px 22px; }
}
