:root {
  --green-dark: #0f5132;
  --green-primary: #198754;
  --green-light: #e8f5ee;
  --green-border: #bfe3cf;
  --white: #ffffff;
  --bg-soft: #f6faf8;
  --text-main: #18221d;
  --text-muted: #52635a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.7;
}

.topbar {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-bottom: 4px solid var(--green-primary);
}

.topbar-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  margin-left: 1.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--green-primary);
}

.container {
  max-width: 820px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.hero p {
  color: #eaf7f0;
  font-size: 1rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--green-light);
}

.article-item {
  border-left: 4px solid var(--green-primary);
  background-color: var(--bg-soft);
  padding: 1.1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
}

.article-item h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.article-item h3 a {
  color: var(--green-dark);
  text-decoration: none;
}

.article-item h3 a:hover {
  color: var(--green-primary);
  text-decoration: underline;
}

.meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.read-btn {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: var(--green-primary);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
}

.read-btn:hover {
  background-color: var(--green-dark);
}

.score-box {
  background-color: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.score-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
}

.score-tag {
  background-color: var(--green-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

article h1 {
  color: var(--green-dark);
  font-size: 1.8rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

article h2 {
  color: var(--green-dark);
  font-size: 1.22rem;
  margin: 1.5rem 0 0.5rem;
}

article p {
  margin-bottom: 1rem;
}

.ad-slot {
  background-color: var(--bg-soft);
  border: 1px dashed var(--green-border);
  color: var(--text-muted);
  text-align: center;
  padding: 0.85rem;
  margin: 1.4rem 0;
  border-radius: 8px;
  font-size: 0.82rem;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--green-border);
  flex-wrap: wrap;
}

.article-nav a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.article-nav a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--white);
  border-top: 1px solid var(--green-border);
  text-align: center;
  padding: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}