/* ========== BAGIAN UMUM ========== */
.berita-section {
  background-color: #ededed;
  text-align: center;
  padding: 60px 0;
}

.judul-besar {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color:  #2e7d32;
}

.judul-besar span {
  color: #4caf50;
}

.subjudul {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 0 !important ;
}

/* ========== BERITA ========== */
/* Grid Berita */
.berita-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 0 40px;
    margin-top: 40px;
}

/* Card Berita */
.berita-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.25s ease;
    cursor: pointer;
}

.berita-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Thumbnail */
.berita-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

/* Judul */
.berita-card h2 {
    font-size: 1.1rem;
    margin: 15px;
    line-height: 1.4;
    color: #333;
}

/* Cuplikan */
.berita-card p {
    margin: 0 15px 15px;
    height: 55px;
    overflow: hidden;
    color: #555;
    font-size: 0.95rem;
}

/* Info Uploader */
.berita-date {
    margin: 0 15px 15px;
    font-size: 0.85rem;
    color: #777;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .berita-section {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding: 48px 20px;
  }

  .judul-besar {
    font-size: 1.6rem;
  }

  .subjudul {
    font-size: 1rem;
  }
}