/* ==== ARTICLE CARD ==== */
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: none;
  box-shadow: 0 6px 12px rgba(0,0,0,.06);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.article-card:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,.25);
  transform: translateY(-2px);
}
.article-card:hover .cta {
  font-weight: 600;
}

.article-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.article-card .thumb {
  aspect-ratio: 4/3;
  min-height: 100px;
  max-height: 220px;
  overflow: hidden;
  display: block;
}
.article-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .meta {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.article-card .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* Giới hạn 3 dòng */
  line-clamp: 3;           /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .75rem;
  color: var(--color-muted);
  flex-grow: 1;
  margin: 0 0 8px;
}

.article-card .cta {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-primary);
  align-self: flex-start;
}
