.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.post-card--featured {
  border-color: var(--color-primary);
}

.post-card__badge {
  position: absolute;
  top: var(--space-1);
  left: var(--space-1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--color-bg-raised);
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card__image-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.1);
}

.post-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-card__body {
  padding: var(--space-2);
  border-top: 3px solid transparent;
}

.post-card:hover .post-card__body {
  border-top-color: var(--color-primary);
}

.post-card__date {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.post-card__title {
  font-size: 1.1rem;
  margin-top: var(--space-1);
}

.post-card__link {
  text-decoration: none;
  color: var(--color-text);
}

.post-card:hover .post-card__link {
  color: var(--color-primary);
}

.post-card--large {
  box-shadow: var(--shadow-sm);
}

.post-card--large .post-card__image-link {
  aspect-ratio: 21 / 9;
}

.post-card--large .post-card__badge {
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
}

.post-card--large .post-card__date {
  margin-top: var(--space-1);
}

.post-card--large .post-card__title {
  font-size: 1.3rem;
}
