
:root {
  --header-footer-bg: #1A6F1A;
  --hero-bg: #143f14;
  --body-bg: #f7f7f7;
  --text-color: #222222;
  --muted-text: #6c757d;
  --card-border-radius: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--body-bg);
  color: var(--text-color);
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar & logo */
.navbar-brand img {
  height: 96px;
}

.navbar-brand span {
  font-size: 1.25rem;
}

/* Hero */
.hero-section {
  background: var(--hero-bg);
  color: #ffffff;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.hero-title {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.hero-btn {
  border-radius: 999px;
  padding-inline: 1.75rem;
}

.hero-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 1.25rem;
}

/* Sections */
.section-block {
  background-color: #ffffff;
}

.section-block:nth-of-type(even) {
  background-color: #f0f3f0;
}

.section-title {
  font-weight: 600;
}

/* Article cards */
.article-card {
  border: none;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.article-card img {
  height: 200px;
  object-fit: cover;
}

.article-card-title {
  font-weight: 600;
}

.article-card-subtitle {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.article-meta {
  color: var(--muted-text);
}

.read-more-link {
  font-size: 0.95rem;
}

/* Newsletter */
.newsletter-section {
  background-color: #e7efe7;
}

.newsletter-card {
  background-color: #ffffff;
}

.newsletter-card .form-control {
  border-radius: 0.75rem;
}

.newsletter-card .btn {
  border-radius: 999px;
}

/* About, Privacy, Terms, Contact */
.contact-details a {
  color: inherit;
}

.article-section {
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.article-subtitle {
  color: var(--muted-text);
}

.article-hero-image {
  max-height: 480px;
  object-fit: cover;
}

.article-body p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Error messages */
.error-text {
  color: #c0392b;
  min-height: 1em;
}

/* Footer */
footer a {
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .hero-section {
    border-radius: 0;
  }
  .hero-image {
    max-height: 280px;
  }
}
