
:root {
  --primary: #2d5a43;
  --primary-dark: #1e3d2d;
  --primary-light: #eef5f1;
  --accent: #c16c4c;
  --bg: #fbfcfb;
  --surface: #ffffff;
  --border: #e2e8e3;
  --text-main: #232c27;
  --text-muted: #5e6b63;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 18px rgba(45, 90, 67, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.brand {
  display: flex;
  flex-direction: column;
}
.brand .logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.brand .tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
}
nav.main-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14.5px;
  padding: 6px 0;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 44px 0 60px;
}
@media (max-width: 860px) {
  .main-layout { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; gap: 14px; }
  .hero h1 { font-size: 26px; }
}

.section-title {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 67, 0.1);
}
.card-meta {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.card-cat {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-card h2 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card h2 a { color: var(--text-main); }
.article-card h2 a:hover { color: var(--primary); }
.article-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
}
.widget h3 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.widget ul { list-style: none; }
.widget li { margin-bottom: 12px; }
.widget li:last-child { margin-bottom: 0; }
.widget a {
  font-size: 14.5px;
  color: var(--text-main);
  display: block;
}
.widget a:hover { color: var(--primary); }

.author-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.author-box h4 { color: var(--primary-dark); font-size: 16px; margin-bottom: 6px; }
.author-box p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

.article-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.article-detail .meta-bar {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-detail h1 {
  font-size: 30px;
  line-height: 1.28;
  color: var(--primary-dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #2b3530;
}
.article-body h2 {
  font-size: 21px;
  color: var(--primary-dark);
  margin: 30px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--primary-dark);
}

footer.site-footer {
  background: var(--primary-dark);
  color: #dbe4de;
  padding: 48px 0 28px;
  margin-top: 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-col p { line-height: 1.6; font-size: 13.5px; color: #b8c8be; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #dbe4de; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12.5px;
  color: #9cb1a4;
}
