
/* AREA UTAMA WARTA SASTRA */
.warta-container {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 55px 0 90px;
}

/* JUDUL BAGIAN BERITA */
.warta-section-heading {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #fcfafa;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #990000;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.warta-section-heading h2 {
  margin: 0 0 8px;
  color: #ece3e3;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.warta-section-heading p {
  margin: 0;
  color: #f8f7f7;
  font-size: 14px;
  line-height: 1.7;
}

/* GRID: UKURAN SEMUA BERITA SAMA */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  align-items: stretch;
}

/* KARTU BERITA */
.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #171717;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

/* GAMBAR DENGAN UKURAN SERAGAM */
.news-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6e0d8;
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.04);
}

/* TEKS BERITA */
.news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0 0;
}

.news-category {
  margin-bottom: 10px;
  color: #990000;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.news-content h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.news-content p {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.read-more {
  margin-top: auto;
  padding-top: 8px;
  color: #990000;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

/* TABLET */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .news-content h3 {
    font-size: 21px;
  }
}

/* PONSEL */
@media (max-width: 560px) {
  .warta-container {
    width: 90%;
    padding: 35px 0 60px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .news-image {
    aspect-ratio: 4 / 3;
  }

  .news-content h3 {
    font-size: 24px;
  }
}
