/* ============================================================
   pages/blog-archive.css — Blog Archive-specific Styles
   Blog card base styles (.card--blog) are in cards.css (shared).
   ============================================================ */

/* ── Blog Hero Card (featured post — overlay pattern) ── */

.card--blog-hero {
  margin-bottom: 2rem;
}

.card--blog-hero__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card--blog-hero__link:hover {
  text-decoration: none;
}

.card--blog-hero__img {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.card--blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 37, 0.85) 0%, rgba(26, 22, 37, 0.2) 50%, transparent 100%);
}

.card--blog-hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: #fff;
  width: 100%;
}

.card--blog-hero__content .badge {
  position: static;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.card--blog-hero__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.card--blog-hero__excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--blog-hero__date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .card--blog__img {
    height: 140px;
  }

  .card--blog-hero__img {
    height: 300px;
  }

  .card--blog-hero__title {
    font-size: 1.4rem;
  }

  .card--blog-hero__excerpt {
    display: none;
  }
}
