*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 1.25rem 0;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2b7a0b;
}
.site-tagline {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Main */
main.container { padding-top: 2rem; padding-bottom: 3rem; }

/* Footer */
.site-footer {
  border-top: 1px solid #e9ecef;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #2b7a0b; }

/* Page title */
.page-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Filter sidebar */
.filter-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid #dee2e6;
  font-size: 0.875rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-pill:hover { border-color: #2b7a0b; color: #2b7a0b; text-decoration: none; }
.filter-pill--active { background: #2b7a0b; border-color: #2b7a0b; color: #fff; }

/* Article grid */
.article-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Article card */
.article-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.15s;
}
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-card__image {
  width: 160px;
  min-width: 160px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.article-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.article-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2b7a0b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-card__title { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.article-card__title a:hover { color: #2b7a0b; }
.article-card__meta { font-size: 0.8rem; color: #6c757d; margin-top: auto; }

/* Article detail */
.article-detail { max-width: 720px; }
.article-detail__image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.article-detail__title { font-size: 2rem; line-height: 1.3; margin: 0.75rem 0; }
.article-detail__meta { font-size: 0.875rem; color: #6c757d; margin-bottom: 1.25rem; }
.article-detail__summary { font-size: 1.1rem; color: #495057; margin-bottom: 1.75rem; }

/* Related */
.related { margin-top: 3rem; }
.related__title { font-size: 1.25rem; margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}
.btn--primary { background: #2b7a0b; color: #fff; }
.btn--primary:hover { background: #226009; text-decoration: none; }
.btn--outline { background: #fff; color: #2b7a0b; border: 1.5px solid #2b7a0b; }
.btn--outline:hover { background: #2b7a0b; color: #fff; text-decoration: none; }

/* Load more */
.load-more { text-align: center; margin-top: 2rem; }

/* Empty state */
.empty-state { color: #6c757d; font-size: 1rem; padding: 2rem 0; }
