/* ===============================
   TERBARU — MODERN CARD STYLE
   =============================== */

/* Container list */
.block-content .view-content ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* Item card */
.block-content .view-content ul li {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect (anak muda, ringan) */
.block-content .view-content ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

/* Link utama */
.block-content .view-content ul li a {
  text-decoration: none !important;
  color: #1f2937; /* abu gelap modern */
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;

  display: block;
}

/* Hover link */
.block-content .view-content ul li a:hover {
  color: #2563eb; /* biru modern */
}

/* Tambahan aksen kecil (underline animasi) */
.block-content .view-content ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  margin-top: 6px;
  transition: width 0.3s ease;
}

.block-content .view-content ul li:hover a::after {
  width: 40px;
}

/* PAGINATION (jika ada) */
.block-content .pager {
  margin-top: 24px;
  text-align: center;
}

.block-content .pager a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111827;
  font-size: 0.85rem;
  margin: 0 4px;
  text-decoration: none;
}

.block-content .pager a:hover {
  background: #2563eb;
  color: #ffffff;
}

/* RESPONSIVE MOBILE */
@media (max-width: 576px) {
  .block-content .view-content ul {
    grid-template-columns: 1fr;
  }
}
