/* articel small */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.card-small {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.card-small:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-small img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #2563eb;
}

.card-small h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.card-small h3 a {
  color: #1e293b;
  text-decoration: none;
}

.card-small h3 a:hover {
  text-decoration: none;
}

.card-small p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* list kategori berita */

.news-category-list {
  list-style: none;
  max-width: 300px;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.news-category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.news-category-list li:last-child {
  border-bottom: none;
}

.news-category-list a {
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
}

.news-category-list a:hover {
  color: #3182ce;
}

.badge {
  background-color: #edf2f7;
  color: #4a5568;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.badge-accent {
  background-color: #ebf8ff;
  color: #3182ce;
}

