.hero {
  height: 50px;
}


.site-header {
  background: linear-gradient(-130deg, #070803,  #282516);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-ft {
  background: linear-gradient(0deg, #070803,  #282516);
  
}



.section--articles .container {
  max-width: 72rem;
}

/* Card grid using flex */

.articles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Each card */

.article-card {
  background: #f7f4ef; /* your off-white vibe */
  border-radius: 0.75rem;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  flex: 1 1 18rem;         /* allows 2–3 per row depending on width */
  max-width: 22rem;
  display: flex;
  flex-direction: column;
}

/* Date, using section__label but tightened */

.article-card__date {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #999;
}

/* Image */

.article-card__image-link {
  display: block;
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.article-card__image {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Title */

.article-card__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.article-card__title a {
  text-decoration: none;
  color: inherit;
}

.article-card__title a:hover {
  text-decoration: underline;
}

/* Excerpt with ~3-line clamp */

.article-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #444;
  margin: 0 0 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Tags */

.article-card__tags {
  margin-top: auto; /* push tags to bottom if excerpt is short */
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--colour-accent-soft, #e3f0e8);
  color: var(--colour-accent, #85AF2D);
  border: 1px solid rgba(133, 175, 45, 0.15);
}

/* Responsive: one per row on narrow screens */

@media (max-width: 768px) {
  .article-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}