:root {
  --green-deep: #1f3d2b;
  --green: #2f6b46;
  --green-light: #e8f0e9;
  --gold: #b5893a;
  --ink: #1e241f;
  --gray-700: #4b5a4e;
  --gray-500: #6b7a6d;
  --gray-200: #dfe7e1;
  --gray-100: #f4f7f4;
  --white: #ffffff;
  --radius: 12px;
  --max-width: 1240px;
  --font-body: 'Georgia', 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--green-deep); color: #cfe0d3; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.topbar .socials a { margin-left: 14px; color: #cfe0d3; }

/* Header */
header.site-header { border-bottom: 1px solid var(--gray-200); background: var(--white); position: sticky; top: 0; z-index: 20; }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--green); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; }
.brand-text .title { font-weight: 700; font-size: 20px; font-family: var(--font-body); color: var(--green-deep); line-height: 1.1; }
.brand-text .subtitle { font-size: 11px; color: var(--gray-500); letter-spacing: .3px; }
nav.main-nav ul { display: flex; gap: 28px; }
nav.main-nav a { font-size: 15px; font-weight: 600; color: var(--ink); }
nav.main-nav a.active { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; background: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-deep); }
.btn-outline { background: white; color: var(--green); border-color: var(--green); }

/* Hero */
/* Hero */
.hero { background: linear-gradient(180deg, var(--green-light), #fbfcfa 75%); padding: 60px 0 70px; }
.hero.has-bg {
  position: relative;
  background: linear-gradient(rgba(20,36,26,.72), rgba(20,36,26,.68)), var(--hero-img) center/cover no-repeat;
  padding: 100px 0 110px;
  color: white;
}
.hero.has-bg .eyebrow { color: #a8d9b6; }
.hero.has-bg h1 { color: white; }
.hero.has-bg p.lead { color: #e3ede4; }
.hero.has-bg .btn-outline { background: transparent; color: white; border-color: white; }
.page-banner {
  background: linear-gradient(rgba(20,36,26,.75), rgba(20,36,26,.75)), var(--banner-img) center/cover no-repeat;
  padding: 70px 0;
  color: white;
}
.page-banner h1 { font-family: var(--font-body); color: white; margin: 0 0 8px; font-size: 34px; }
.page-banner p { color: #e3ede4; margin: 0; }

.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .6px; margin-bottom: 14px; text-transform: uppercase; }
.hero h1 { font-family: var(--font-body); font-size: 46px; line-height: 1.15; margin: 0 0 20px; font-weight: 700; color: var(--green-deep); }
.hero p.lead { color: var(--gray-700); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; }
.hero-art img { border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(31,61,43,.35); }

/* Sections */
.section { padding: 60px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.section-head h2 { font-family: var(--font-body); font-size: 30px; margin: 0; color: var(--green-deep); }
.section-head a { color: var(--green); font-weight: 600; font-size: 14px; }
.section-intro { max-width: 720px; color: var(--gray-700); font-size: 16px; margin-bottom: 30px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: white; transition: box-shadow .2s ease, transform .2s ease; }
.article-card:hover { box-shadow: 0 18px 34px -18px rgba(31,61,43,.3); transform: translateY(-3px); }
.article-card .thumb { height: 190px; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 18px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: white; background: var(--green); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .3px; text-transform: uppercase; }
.article-card h3 { font-family: var(--font-body); font-size: 19px; margin: 0 0 10px; line-height: 1.35; color: var(--ink); }
.article-card p { font-size: 14px; color: var(--gray-700); margin: 0 0 12px; }
.meta { font-size: 12px; color: var(--gray-500); }

/* Ad / affiliate slots */
.ad-slot { border: 1px dashed var(--gray-200); border-radius: var(--radius); background: var(--gray-100); color: var(--gray-500); font-size: 13px; text-align: center; padding: 22px; margin: 40px 0; }
.ad-slot.leaderboard { min-height: 90px; display:flex; align-items:center; justify-content:center; }
.ad-slot.sidebar { min-height: 250px; display:flex; align-items:center; justify-content:center; }
.ad-slot.in-article { min-height: 100px; display:flex; align-items:center; justify-content:center; }

/* Newsletter */
.newsletter { background: var(--green-deep); color: white; border-radius: 20px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.newsletter h3 { margin: 0 0 6px; font-size: 24px; font-family: var(--font-body); }
.newsletter p { margin: 0; color: #cfe0d3; font-size: 14px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { padding: 12px 16px; border-radius: 999px; border: none; min-width: 260px; font-size: 14px; }

/* Footer */
footer.site-footer { background: #14241a; color: #b7c7ba; padding: 50px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: white; font-size: 14px; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid #223528; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; }

/* Article page */
.article-hero { padding: 40px 0 0; }
.article-hero .breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.article-hero h1 { font-family: var(--font-body); font-size: 40px; line-height: 1.2; margin: 0 0 16px; color: var(--green-deep); }
.article-meta { display: flex; gap: 18px; align-items: center; color: var(--gray-500); font-size: 14px; margin-bottom: 26px; }
.author-chip { display: flex; align-items: center; gap: 8px; }
.author-chip .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.article-cover { border-radius: 16px; overflow: hidden; margin: 20px 0 40px; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 2.4fr 1fr; gap: 48px; align-items: start; }
.article-body h2 { font-family: var(--font-body); font-size: 27px; margin-top: 44px; margin-bottom: 16px; color: var(--green-deep); }
.article-body h3 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; }
.article-body p { font-size: 16px; color: #2a3a2c; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; font-size: 16px; color: #2a3a2c; }
.article-body blockquote { border-left: 4px solid var(--green); margin: 30px 0; padding: 6px 22px; font-style: italic; color: var(--gray-700); background: var(--gray-100); border-radius: 0 10px 10px 0; }
.article-body figure { margin: 30px 0; }
.article-body figcaption { font-size: 13px; color: var(--gray-500); margin-top: 8px; text-align: center; }
.sidebar .widget { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.sidebar .widget h4 { margin: 0 0 14px; font-size: 15px; }
.related-item { display: flex; gap: 12px; margin-bottom: 14px; }
.related-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.related-item .rt { font-size: 13px; font-weight: 600; line-height: 1.3; }
.share-row { display: flex; gap: 10px; margin: 30px 0; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.disclosure { font-size: 12px; color: var(--gray-500); background: var(--gray-100); border-radius: 8px; padding: 12px 16px; margin: 24px 0; }

/* Category filter chips */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-200); font-size: 14px; font-weight: 600; cursor: pointer; background: white; color: var(--ink); }
.filter-chip.active { background: var(--green); color: white; border-color: var(--green); }

/* Generic content page */
.content-page { max-width: 780px; }
.content-page h1 { font-family: var(--font-body); font-size: 36px; color: var(--green-deep); }
.content-page p { font-size: 16px; color: var(--gray-700); margin: 18px 0; }
.content-page h2 { font-family: var(--font-body); font-size: 24px; margin-top: 34px; color: var(--green-deep); }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
