/* Set like the Partners reasons: photograph, then a light title and grey text, with a gold label above */
.article-card {
  min-width: 0;
}

.article-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-card figure {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 1.75rem;
  margin-left: 0;
  margin-right: 0;
  background-color: var(--sand);
}

.article-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The house grade, as near as CSS gets: the site's own photographs are graded muted and warm in their files */
  filter: saturate(0.65) contrast(1.05) brightness(0.96) sepia(0.08);
}

/* Once revealed, the photograph eases in a little when pointed at, on the reveal's own timing */
@media (prefers-reduced-motion: no-preference) {
  .has-js .article-card__link:hover figure.is-revealed img {
    transform: scale(1.04);
  }
}

.article-card__topic {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--secondary-color-darkened);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.article-card__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .article-card__title {
    font-size: 32px;
  }
}

.article-card__link:hover .article-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.article-card__link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.article-card__summary {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--dark-gray);
  font-size: 17px;
  line-height: 1.6;
}

.article-card__date {
  display: block;
  margin-top: 1rem;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.2;
}
