:root {
  --bg: #faf7f0;
  --bg-card: #ffffff;
  --text: #2f3a2d;
  --text-soft: #5b6b57;
  --green: #4f7a52;
  --green-dark: #345238;
  --terracotta: #c97a52;
  --cream: #f1e9d8;
  --border: #e4ddc9;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--green-dark);
  line-height: 1.25;
  margin-top: 1.6em;
}

a { color: var(--green); text-decoration: underline; text-decoration-color: var(--border); }
a:hover { color: var(--terracotta); }

img { max-width: 100%; display: block; border-radius: 14px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--green-dark);
  color: #f4efe2;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fdfbf4;
  text-decoration: none;
}

.brand .leaf { font-size: 1.6rem; }

.site-nav a {
  color: #f4efe2;
  text-decoration: none;
  margin-left: 22px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.site-nav a:hover { border-bottom-color: var(--terracotta); }

/* Hero */
.hero {
  padding: 50px 0 40px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.3rem;
  margin-top: 0;
}

.hero p.lead {
  color: var(--text-soft);
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-img { border-radius: 18px; box-shadow: 0 18px 40px rgba(52, 82, 56, 0.18); }

/* About strip */
.about-strip {
  background: var(--cream);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.about-strip .container {
  display: flex;
  gap: 18px;
  align-items: center;
}

.about-strip .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-strip p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }
.about-strip strong { color: var(--green-dark); }

/* Post grid */
.section-title {
  font-size: 1.6rem;
  margin: 50px 0 24px;
  border-left: 5px solid var(--terracotta);
  padding-left: 14px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin-bottom: 50px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 58, 45, 0.12);
}

.post-card img { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }

.post-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.post-card .tag {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.post-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--green-dark);
}

.post-card p { color: var(--text-soft); font-size: 0.92rem; margin: 0; flex: 1; }

.post-card .read-more {
  margin-top: 14px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--green);
  text-decoration: none;
}

/* Single post */
.post-hero-img { margin-bottom: 10px; }
.post-meta {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

article.post-content { max-width: 760px; margin: 0 auto; }
article.post-content h2 { font-size: 1.4rem; margin-top: 2em; }
article.post-content ul, article.post-content ol { padding-left: 1.3em; }
article.post-content li { margin-bottom: 0.4em; }

.callout {
  background: var(--cream);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 1.8em 0;
  font-size: 0.95rem;
}

.callout strong { color: var(--green-dark); }

.disclaimer {
  background: #fbeee2;
  border-left: 4px solid var(--terracotta);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 2em 0;
  font-size: 0.9rem;
  color: #6b4a34;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  max-width: 760px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.9rem;
}

/* Legal pages */
.legal main.container {
  max-width: 820px;
  padding-top: 20px;
  padding-bottom: 60px;
}
.legal h1 { margin-top: 0.3em; }
.legal h2 { font-size: 1.25rem; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #dbe3d6;
  padding: 36px 0 26px;
  margin-top: 60px;
  font-size: 0.88rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a { color: #f1e9d8; text-decoration: underline; }
.site-footer .footer-links a { margin-right: 16px; }
.site-footer .copy { color: #b6c2af; }

@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .site-nav { width: 100%; display: flex; flex-wrap: wrap; }
  .site-nav a { margin-left: 0; margin-right: 16px; }
}
