/* Card utama */
.article-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover smooth (tidak lebay) */
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

/* Gambar */
.article-image {
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom halus */
.article-card:hover .article-image img {
  transform: scale(1.05);
}

/* Content */
.article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Tanggal */
.article-date {
  font-size: 12px;
  color: #9aa0a6;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

/* Judul */
.article-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Deskripsi */
.article-excerpt {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Tombol */
.article-button {
  margin-top: auto;
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  color: #5E227F;
  border: 1px solid #5E227F;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover tombol elegan */
.article-button:hover {
  background: #5E227F;
  color: #fff;
}

/* Judul halaman */
.artikel-judul {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  text-align: center;
}

/* Konten artikel */
.artikel-konten {
  line-height: 1.9;
  font-size: 16px;
  color: #374151;
}

/* Gambar dalam artikel */
.artikel-konten img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* ===================== */
/* 📱 MOBILE OPTIMIZATION */
/* ===================== */
@media (max-width: 768px) {
  .article-title {
    font-size: 16px;
  }

  .article-excerpt {
    font-size: 13px;
  }

  .article-image img {
    height: 180px;
  }
}