@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,700;1,400&family=Open+Sans:wght@400;600&display=swap');

:root {
  --forest: #2d5a3d;
  --sage: #6b8f71;
  --cream: #f4f1ea;
  --paper: #fffef9;
  --text: #1a2e1f;
  --muted: #5a6b5e;
  --line: #c5d4c8;
  --container: 1140px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px;
  --radius: 2px;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--cream); }
a { color: var(--forest); }
img, svg { max-width: 100%; display: block; }
.c { max-width: var(--container); margin: 0 auto; padding: 0 var(--s2); }

/* Stacked header */
.masthead { background: var(--forest); color: #fff; text-align: center; padding: var(--s2) 0; }
.masthead .date { font-size: 0.8rem; opacity: 0.85; }
.masthead h1 { font-family: var(--serif); font-size: 2rem; margin: 4px 0; }
.masthead h1 a { color: #fff; text-decoration: none; }
.masthead .tagline { font-size: 0.85rem; font-style: italic; opacity: 0.9; }

.nav-row { background: var(--paper); border-bottom: 3px double var(--line); }
.nav-row .c { display: flex; justify-content: center; gap: var(--s4); padding: var(--s2) 0; flex-wrap: wrap; }
.nav-row a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-row a:hover, .nav-row a.active { color: var(--forest); }
.menu-tog { display: none; background: var(--forest); color: #fff; border: none; padding: 8px 16px; cursor: pointer; width: 100%; font-family: var(--sans); }

/* Featured story homepage */
.featured { padding: var(--s5) 0; }
.featured-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s4); }
.featured-main { border-bottom: 4px solid var(--forest); padding-bottom: var(--s3); }
.featured-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--line); margin-bottom: var(--s2); }
.featured-main h2 { font-family: var(--serif); font-size: 2rem; line-height: 1.2; margin-bottom: var(--s2); }
.featured-main h2 a { color: var(--text); text-decoration: none; }
.featured-dek { font-size: 1.1rem; color: var(--muted); margin-bottom: var(--s2); }
.featured-side article { border-left: 3px solid var(--sage); padding-left: var(--s2); margin-bottom: var(--s3); }
.featured-side h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 4px; }
.featured-side h3 a { color: var(--text); text-decoration: none; }

.content-wrap { display: grid; grid-template-columns: 1fr 280px; gap: var(--s4); padding-bottom: var(--s5); }
.main-col h2.section-title { font-family: var(--serif); font-size: 1.3rem; border-bottom: 2px solid var(--forest); padding-bottom: var(--s1); margin-bottom: var(--s3); }

/* Editorial lines cards */
.news-card { display: flex; gap: var(--s2); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.news-card img { width: 200px; aspect-ratio: 16/9; object-fit: cover; flex-shrink: 0; background: var(--line); }
.news-card h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.news-card h3 a { text-decoration: none; color: var(--text); }
.news-meta { font-size: 0.8rem; color: var(--muted); }
.cat-label { font-size: 0.7rem; text-transform: uppercase; color: var(--sage); font-weight: 600; letter-spacing: 0.05em; }

/* Right rail */
.sidebar-r { }
.widget { background: var(--paper); border: 1px solid var(--line); padding: var(--s2); margin-bottom: var(--s3); }
.widget h4 { font-family: var(--serif); font-size: 1rem; margin-bottom: var(--s2); padding-bottom: var(--s1); border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: 0.9rem; }

/* Article */
.art-head { padding: var(--s4) 0 var(--s3); }
.art-head h1 { font-family: var(--serif); font-size: 2.2rem; line-height: 1.25; max-width: 800px; }
.art-byline { margin-top: var(--s2); font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: var(--s2); }
.art-byline img { width: 36px; height: 36px; border-radius: 50%; }
.art-layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--s4); padding-bottom: var(--s5); }
.art-body img.lead { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: var(--s3); }
.art-body p { margin-bottom: var(--s2); }
.art-body h2 { font-family: var(--serif); font-size: 1.3rem; margin: var(--s3) 0 var(--s2); }

.page { padding: var(--s4) 0 var(--s5); max-width: 760px; }
.page h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: var(--s3); }
.page h2 { font-family: var(--serif); font-size: 1.2rem; margin: var(--s3) 0 var(--s2); }
.page p { margin-bottom: var(--s2); }

.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); font-family: var(--sans); margin-bottom: var(--s2); }
.contact-form button { background: var(--forest); color: #fff; border: none; padding: 10px 24px; cursor: pointer; font-family: var(--sans); }

/* Three column footer */
.footer { background: var(--forest); color: #d4e4d6; padding: var(--s5) 0 var(--s3); margin-top: var(--s4); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.footer h4 { font-family: var(--serif); color: #fff; margin-bottom: var(--s2); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 6px; font-size: 0.9rem; }
.footer a { color: #d4e4d6; text-decoration: none; }
.footer-copy { text-align: center; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.85rem; }

.cookie-strip { position: fixed; top: 0; left: 0; right: 0; background: var(--text); color: #fff; padding: var(--s1) var(--s2); font-size: 0.85rem; display: none; z-index: 999; text-align: center; }
.cookie-strip.show { display: block; }
.cookie-strip button { background: var(--sage); color: #fff; border: none; padding: 4px 14px; margin-left: var(--s2); cursor: pointer; font-family: var(--sans); }

@media (max-width: 768px) {
  .menu-tog { display: block; }
  .nav-row .c { display: none; flex-direction: column; gap: var(--s2); }
  .nav-row .c.open { display: flex; }
  .featured-grid, .content-wrap, .art-layout, .footer-grid, .news-card { grid-template-columns: 1fr; flex-direction: column; }
  .news-card img { width: 100%; }
}
