:root {
  --primary: #1f6f50;
  --primary-dark: #154d37;
  --bg: #f8faf9;
  --surface: #ffffff;
  --text: #1e262c;
  --muted: #5a6772;
  --border: #e2e8e5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
}
h1, h2, h3, h4, .brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  line-height: 1.3;
  color: #13201b;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.migration-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 14.5px;
  padding: 10px 0;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.banner-cta {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  white-space: nowrap;
}
.banner-cta:hover { text-decoration: none; opacity: 0.94; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { font-size: 22px; font-weight: 700; color: var(--primary-dark); }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.main-nav a { color: var(--text); }
.main-nav a:hover { color: var(--primary); }
.main-content { padding: 40px 20px 64px; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: 0 4px 18px rgba(19, 32, 27, 0.04);
}
.hero-card h1 { margin-top: 0; font-size: 30px; }
.cta-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
}
.cta-btn:hover { background: var(--primary-dark); text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 24px; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h2 { font-size: 19px; margin: 6px 0 10px; }
.post-meta { font-size: 13px; color: var(--muted); }
.article-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}
.article-shell h1 { margin-top: 8px; font-size: 32px; }
.featured-hero { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; margin: 20px 0 28px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article-body figure { margin: 24px 0; max-width: 100%; }
.article-body figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.article-callout {
  margin-top: 40px;
  padding: 24px;
  background: #eef6f2;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
}
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .article-shell, .hero-card { padding: 22px; }
  .article-shell h1 { font-size: 25px; }
}
