/* ===== SLIDE BERITA – HIJAU PUTIH MODERN ===== */

.berita-card {
  border: 1px solid #d1e7dd;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.berita-header {
  background: #0f7545;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.berita-item {
  border: none;
  padding: 12px;
  transition: background 0.25s ease;
}

.berita-item:hover {
  background: #f1fdf7;
}

.berita-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.berita-judul {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f5132;
  line-height: 1.2;
}

.berita-tanggal {
  color: #6c757d;
  font-size: 0.75rem;
}

/* Article / single news styles */
:root{
  --green: #0f7545;
  --green-deep: #0f5132;
  --muted: #6c757d;
  --bg: #ffffff;
}

.main-berita{
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(15,117,69,0.06);
}

.berita-hero{
  background: linear-gradient(90deg, #f3fbf6 0%, #ffffff 100%);
  padding: 18px;
  border-radius: 10px;
  text-align: center;
}

.berita-hero h1{
  color: var(--green-deep);
  font-weight: 700;
  margin: 0 0 8px 0;
  font-size: 1.6rem;
  line-height: 1.15;
}

.hero-underline{
  width: 90px;
  height: 4px;
  background: var(--green);
  margin: 10px auto;
  border-radius: 3px;
}

.berita-img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.berita-meta{ color: var(--muted); font-size: 0.95rem; }

.berita-content{ font-size: 1.05rem; line-height: 1.8; color: #222; }

@media (max-width: 768px){
  .berita-img{ height: 220px; }
  .berita-hero h1{ font-size: 1.25rem; }
}
