.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
  cursor: pointer;
  background: var(--bg-main);
}
.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-secondary);
}

.article-card__body {
  padding: var(--space-md);
}

.article-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.article-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

/* Large featured card */
.article-card--large .article-card__image {
  aspect-ratio: 2 / 1;
}

.article-card--large .article-card__title {
  font-size: 20px;
}

/* Loading */
.article-card--loading {
  cursor: default;
  pointer-events: none;
}
.article-card--loading .article-card__image {
  background: var(--bg-secondary);
  animation: pulse 1.5s ease-in-out infinite;
}
.article-card--loading .article-card__title {
  height: 20px;
  width: 80%;
  background: var(--bg-secondary);
  color: transparent;
  border-radius: 3px;
  animation: pulse 1.5s ease-in-out infinite;
}
.article-card--loading .article-card__meta {
  height: 14px;
  width: 40%;
  background: var(--bg-secondary);
  border-radius: 3px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
