/* CONTAINER HALAMAN */
* {
  font-family: "Poppins", sans-serif;
}
.artikel-page-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 5%;
}

/* TOMBOL KEMBALI */
.btn-kembali-artikel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 30px;
  transition: transform 0.2s;
}

.btn-kembali-artikel:hover {
  transform: translateX(-5px);
}

/* ========================================== */
/* ARTIKEL SOROTAN (FOTO KIRI, TEKS KANAN)    */
/* ========================================== */
.artikel-sorotan {
  display: flex;
  align-items: center;
  gap: 40px;
  cursor: pointer;
  margin-bottom: 60px; /* Jarak dengan tulisan Semua Artikel */
  transition: transform 0.3s ease;
}

.artikel-sorotan:hover {
  transform: translateY(-5px);
}

/* Bagian Gambar (Mengambil 50% Lebar) */
.sorotan-img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sorotan-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.artikel-sorotan:hover .sorotan-img img {
  transform: scale(1.05);
}

/* Bagian Teks (Mengambil 50% Lebar) */
.sorotan-info {
  flex: 1;
}

.badge-sorotan {
  color: #a0a0a0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.sorotan-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 20px;
}

.sorotan-info p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;

  /* Memotong otomatis di baris ke-4 */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modifikasi Footer Khusus Sorotan */
.sorotan-footer {
  padding: 0; /* Hapus padding bawaan kartu */
}

/* ========================================== */
/* JUDUL SEMUA ARTIKEL BIRU                   */
/* ========================================== */
.section-title-blue {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0056b3; /* Biru sesuai desain */
  margin-bottom: 30px;
}

/* ========================================== */
/* RESPONSIVE LAYAR HP                        */
/* ========================================== */
@media (max-width: 768px) {
  /* Sorotan ditumpuk ke bawah */
  .artikel-sorotan {
    flex-direction: column;
    gap: 20px;
  }

  .sorotan-info h2 {
    font-size: 1.7rem;
  }

  /* Grid kartu jadi 1 baris ke bawah */
  .artikel-grid {
    grid-template-columns: 1fr;
  }
}
