.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;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading-row .section__label {
  margin-bottom: 0;
}

.rss-link {
  font-family: NEUE_MONTREAL_MEDIUM, sans-serif;
  font-size: 0.82rem;
  color: var(--colour-text);
  text-decoration: none;
}

.rss-link span {
  color: var(--colour-accent);
}

/* Card grid using flex */

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

/* Each card */

.article-card {
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 1rem 1.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex: 1 1 18rem;         /* allows 2–3 per row depending on width */
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(133, 175, 45, 0.35);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
}

/* 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__image--policy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: radial-gradient(circle at 95% 0%, #52701f, transparent 45%), #1b2015;
  color: #f7f5ed;
}

.article-card__image--policy span {
  color: #c6dda0;
  font-family: NEUE_MONTREAL_MEDIUM, sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.article-card__image--policy strong {
  max-width: 21ch;
  font-family: "Times Now", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 300;
  line-height: 1.05;
}

.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: 1.18rem;
  line-height: 1.22;
}

.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%;
  }
}
