:root {
  --hijau-tua: #123524;
  --hijau: #3E7B27;
  --hijau-muda: #85A947;
  --krem: #EFE3C2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(180deg, #f2f6f3, #e9f0ea);
  color: #222;
  padding-top: 90px;
}


/* ================= HEADER ================= */
.page-header {
  text-align: center;
  padding: 50px 20px 30px;
  background: transparent;
}

.page-header h1 {
  font-size: 2.2rem;
  color: var(--hijau-tua);
}

.page-header p {
  max-width: 600px;
  margin: 10px auto 0;
  color: #555;
}

/* ================= NEWS GRID ================= */
.news-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px 60px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: .35s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: .8rem;
  color: #777;
}

.news-body h3 {
  font-size: 1.1rem;
  margin: 8px 0;
  color: var(--hijau-tua);
}

.news-body p {
  font-size: .95rem;
  color: #444;
  flex: 1;
}

.news-link {
  margin-top: 15px;
  text-decoration: none;
  font-weight: 600;
  color: var(--hijau);
}

.news-link:hover {
  color: var(--hijau-muda);
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding: 25px;
  background: var(--hijau-tua);
  color: var(--krem);
  font-size: .85rem;
}

/* ================= EMPTY ================= */
.empty {
  text-align: center;
  padding: 60px;
  color: #777;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.8rem;
  }
}
.news-body a {
  color: var(--hijau);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.news-body a:hover {
  color: var(--hijau-tua);
  text-decoration: underline;
}
