
:root {
    --bg:#f6f5f0;
    --paper:#fff;
    --ink:#141817;
    --muted:#69716b;
    --line:#dedfd7;
    --green:#c7f36b;
    --deep:#17231c
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Inter,Arial,Helvetica,sans-serif;
    background:var(--bg);
    color:var(--ink)
}

button,input {
    font:inherit
}

button {
    cursor:pointer
}

a {
    color:inherit
}

a:hover {
    color:#41752c
}

.wrap {
    max-width:1190px;
    margin:auto;
    padding:0 24px
}

.strip {
    background:#17241d;
    color:#c8d9cf;
    font-size:11px;
    letter-spacing:1.9px;
    text-transform:uppercase
}

.strip .wrap {
    display:flex;
    justify-content:space-between;
    padding-top:11px;
    padding-bottom:11px
}

.mast {
    background:#fff;
    border-bottom:1px solid var(--line)
}

.mast .wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:87px;
    gap:14px
}

.brand {
    font-size:27px;
    font-weight:900;
    letter-spacing:-1.8px;
    text-decoration:none!important;
    color:var(--ink)!important
}

.brand i {
    color:#6d9f25;
    font-style:normal
}

.brand small {
    display:block;
    font-size:9px;
    letter-spacing:2.5px;
    font-weight:700;
    color:#7b837d;
    margin-top:4px
}

.nav {
    display:flex;
    align-items:center;
    gap:26px
}

.nav button {
    border:0;
    background:none;
    color:#303d36;
    font-size:13px;
    font-weight:700;
    padding:9px 0
}

.nav button.active {
    border-bottom:2px solid #6b9c2a
}

.search {
    border:1px solid var(--line);
    background:#fff;
    padding:10px 13px;
    border-radius:4px;
    width:190px;
    font-size:12px
}

.hero {
    background:#132119;
    color:white;
    position:relative;
    overflow:hidden;
    min-height:390px
}

.hero:before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#142218 4%,#142218ed 45%,#14221870 78%,#14221811 100%);
    z-index:1
}

.heroimg {
    position:absolute;
    right:1%;
    top:-104px;
    width:535px;
    height:535px;
    object-fit:contain;
    opacity:.85
}

.hero .wrap {
    position:relative;
    z-index:2;
    padding-top:61px;
    padding-bottom:65px
}

.eyebrow {
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:2.3px;
    color:#8dc24e
}

.hero h1 {
    font-family:Georgia,serif;
    font-size:clamp(36px,5.3vw,65px);
    letter-spacing:-2.4px;
    line-height:1.05;
    max-width:690px;
    margin:19px 0
}

.hero p {
    max-width:595px;
    font-size:15px;
    line-height:1.7;
    color:#c8d4cb
}

.cta {
    display:inline-block;
    border:0;
    background:var(--green);
    color:#16201a;
    text-decoration:none;
    padding:13px 20px;
    font-size:12px;
    font-weight:900;
    margin-top:13px;
    border-radius:3px
}

.photo-credit {
    position:absolute;
    bottom:12px;
    right:23px;
    color:#adb9ad;
    font-size:10px;
    z-index:2
}

.photo-credit a {
    color:inherit
}

.topline {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:40px 0 23px;
    gap:10px
}

.topline h2 {
    font-family:Georgia,serif;
    font-size:30px;
    margin:0;
    letter-spacing:-.9px
}

.topline span {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:1.2px;
    color:var(--muted)
}

.grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:19px
}

.story {
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:3px;
    display:flex;
    flex-direction:column;
    min-height:285px;
    transition:transform .15s,box-shadow .15s
}

.story:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 30px #17231c0d
}

.story .visual {
    height:94px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding:18px 22px;
    background:#dfe9d8
}

.story:nth-child(3n+2) .visual {
    background:#e5e8ee
}

.story:nth-child(3n) .visual {
    background:#efe6d5
}

.visual .symbol {
    font-family:Georgia,serif;
    font-size:49px;
    font-weight:bold;
    letter-spacing:-4px;
    color:#304b34;
    opacity:.9
}

.visual .detail {
    position:absolute;
    right:17px;
    bottom:10px;
    font-family:monospace;
    color:#68806d;
    font-size:11px;
    letter-spacing:2px
}

.content {
    padding:19px 21px 21px;
    display:flex;
    flex-direction:column;
    flex:1
}

.meta {
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#69716b;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.1px
}

.meta .category {
    color:#497e2e
}

.story h3 {
    font-family:Georgia,serif;
    font-size:21px;
    line-height:1.22;
    letter-spacing:-.4px;
    margin:13px 0 10px
}

.story p {
    font-size:12px;
    color:#5e6860;
    line-height:1.65;
    margin:0 0 15px
}

.read {
    background:none;
    border:0;
    color:#2e6024;
    font-weight:800;
    font-size:12px;
    text-align:left;
    padding:0;
    margin-top:auto
}

.panel {
    margin:42px 0;
    background:#e6eddc;
    padding:24px 30px;
    display:flex;
    align-items:center;
    gap:26px;
    justify-content:space-between
}

.panel b {
    font-family:Georgia,serif;
    font-size:22px
}

.panel p {
    margin:7px 0 0;
    font-size:12px;
    color:#586756
}

.panel button {
    white-space:nowrap;
    padding:13px 16px;
    background:#1e3122;
    color:#fff;
    border:0;
    border-radius:3px;
    font-size:12px;
    font-weight:800
}

.footer {
    background:#17231c;
    color:#d7e0d8;
    padding:35px 0 28px;
    margin-top:56px;
    font-size:12px
}

.footer .wrap {
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:start
}

.footer p {
    color:#96a59b;
    line-height:1.7
}

.footer a {
    color:#bcdca2
}

.empty {
    text-align:center;
    padding:80px 20px;
    color:var(--muted)
}

.article-layout {
    display:grid;
    grid-template-columns:minmax(0,760px) 285px;
    gap:64px;
    margin-top:44px
}

.back {
    border:0;
    background:none;
    color:#507e34;
    font-weight:800;
    padding:0 0 20px;
    font-size:12px
}

.article h1 {
    font-family:Georgia,serif;
    font-size:clamp(37px,5vw,57px);
    letter-spacing:-2px;
    line-height:1.08;
    margin:17px 0
}

.article .dek {
    font-size:19px;
    color:#59655b;
    line-height:1.55;
    border-bottom:1px solid var(--line);
    padding-bottom:24px
}

.article .body p {
    font-family:Georgia,serif;
    font-size:18px;
    line-height:1.83;
    margin:23px 0
}

.article .body h2 {
    font-family:Georgia,serif;
    font-size:26px;
    margin:32px 0 10px
}

.article .source {
    background:#e9efe3;
    padding:17px 20px;
    margin:33px 0;
    font-size:13px;
    line-height:1.7
}

.article .source a {
    font-weight:800;
    color:#316a31
}

.aside h3 {
    font-family:Georgia,serif;
    font-size:23px;
    margin:5px 0 20px
}

.aside button {
    display:block;
    width:100%;
    border:0;
    border-top:1px solid var(--line);
    background:none;
    text-align:left;
    padding:17px 0;
    font-weight:700;
    font-family:Georgia,serif;
    font-size:16px;
    line-height:1.35
}

.aside small {
    display:block;
    color:#5f8b40;
    font:800 10px Arial;
    letter-spacing:1px;
    margin-bottom:7px
}

.pill {
    display:inline-block;
    border:1px solid #b9ceb0;
    padding:7px 10px;
    color:#4c7a35;
    font-size:11px;
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase
}

.mobile-nav {
    display:none
}

.article-actions {
    display:flex;
    gap:10px;
    margin:18px 0
}

.article-actions button {
    border:1px solid #cad8bf;
    background:#fff;
    color:#3e6b33;
    padding:10px 13px;
    font-size:12px;
    font-weight:800
}

.about {
    max-width:760px;
    padding:45px 0
}

.about h1 {
    font:normal 52px Georgia,serif
}

.about p {
    font-size:18px;
    line-height:1.8;
    color:#4f5a52
}

@media(max-width:800px) {
    .nav {
    gap:12px
}

.nav button {
    font-size:11px
}

.search {
    width:130px
}

.grid {
    grid-template-columns:repeat(2,1fr)
}

.article-layout {
    grid-template-columns:1fr;
    gap:18px
}

.aside {
    border-top:1px solid var(--line);
    padding-top:22px
}

.heroimg {
    right:-180px;
    opacity:.45
}

.hero:before {
    background:linear-gradient(90deg,#142218 15%,#142218cc 85%,#14221877)
}

.hero h1 {
    max-width:560px
}
}

@media(max-width:560px) {
    .wrap {
    padding:0 17px
}

.mast .wrap {
    flex-wrap:wrap;
    padding-top:14px;
    padding-bottom:13px
}

.brand {
    font-size:24px
}

.nav {
    order:3;
    width:100%;
    justify-content:space-between
}

.search {
    width:115px
}

.hero .wrap {
    padding-top:51px;
    padding-bottom:55px
}

.hero {
    min-height:360px
}

.heroimg {
    right:-210px;
    top:-35px;
    width:430px;
    height:430px
}

.hero h1 {
    font-size:40px
}

.grid {
    grid-template-columns:1fr
}

.story {
    min-height:240px
}

.panel {
    display:block
}

.panel button {
    margin-top:15px
}

.footer .wrap {
    display:block
}

.strip .wrap span:last-child {
    display:none
}

.article h1 {
    font-size:39px
}
}


/* Multi-page navigation and link cards */
.nav a { font-size: 12px; font-weight: 800; text-decoration: none; }
.nav a.active { color: #41752c; }
.story .read { display: inline-block; text-decoration: none; }
.article .back { display: inline-block; text-decoration: none; }
.search-form { display: flex; align-items: center; }
.search-form button { margin-left: 6px; border: 0; background: #c7f36b; padding: 9px; border-radius: 5px; }
@media(max-width:560px) { .search-form { width: 100%; } .search { flex: 1; } }

/* Ensure search/category filters hide cards regardless of card display rules. */
[hidden] { display: none !important; }
