/* =========================================
   HALAMAN NEWS — GRID & CARD STYLE
   ========================================= */

/* Container keseluruhan halaman */
.news-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Header section */
.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #002368;
  margin-bottom: 10px;
}

.news-header p {
  font-size: 1.05rem;
  color: #555;
}

/* ==============================
   GRID NEWS CARD
   ============================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card Artikel */
.news-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Thumbnail / Gambar */
.news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* Judul */
.news-card h2 {
  font-size: 1.25rem;
  color: #002368;
  font-weight: 600;
  margin: 18px;
  margin-bottom: 8px;
}

/* Paragraf */
.news-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0 18px 20px;
  line-height: 1.5;
}

/* Link "Baca selengkapnya" */
.news-read {
  margin: auto 18px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0035a8;
  text-decoration: none;
  transition: 0.3s ease;
}

.news-read:hover {
  text-decoration: underline;
  color: #001f73;
}

/* ==============================
   RESPONSIVE TABLET
   ============================== */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-card img {
    height: 150px;
  }
}

/* ==============================
   RESPONSIVE MOBILE
   ============================== */
@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 180px;
  }

  .news-header h1 {
    font-size: 1.8rem;
  }
}
