/* Blogs — overzicht, blogkaarten en artikeltekst. Waarden uit het origineel (blogs, blogs/*). */
.blog-archive { }
@media (min-width: 64rem) { .blog-archive { padding-top: 2.5rem; } }
@media (min-width: 80rem) { .blog-archive { padding-top: 4rem; } }

.blog-grid { position: relative; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 48rem) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  aspect-ratio: 1;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  color: var(--color-secondary);
  cursor: pointer;
}
@media (min-width: 64rem) {
  .blog-card--first { grid-column: span 2 / span 2; aspect-ratio: auto; }
  .blog-card--banner { grid-column: span 3 / span 3; aspect-ratio: 3; }
}
.blog-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.3s var(--ease-in-out);
}
@media (min-width: 64rem) { .blog-card__bg { background-image: var(--bg-wide, var(--bg)); } }
@media (hover: hover) { .blog-card:hover .blog-card__bg { scale: 1.05; } }
.blog-card__shade { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(#0000 0%, #000c 100%); }
.blog-card__body { position: relative; z-index: 10; }
.blog-card__title { max-width: 36rem; color: var(--color-white); }
@media not all and (min-width: 64rem) { .blog-card__title { font-size: 1.875rem; } }
@media (min-width: 80rem) { .blog-card__title { margin-bottom: 1.5rem; } }

/* ---------- Artikel ---------- */
.blog-content { border-radius: var(--radius-2xl); background-color: var(--color-blue-light); padding-block: 2rem; }
@media (min-width: 64rem) { .blog-content { padding-block: 4rem; } }
/* Reading text: a step up from the 16px body text, it's a long single column next to the 20px lead */
.blog-content :is(p, li) { font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 64rem) { .blog-content :is(p, li) { font-size: 1.125rem; } }
/* ~75 characters per line instead of ~110: 42rem of text plus the container's 2rem side padding */
.blog-content .container--small { max-width: 46rem; }
/* Subheadings in the article: clearly above the reading text, well below the page title */
.blog-content h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
@media (min-width: 64rem) { .blog-content h2 { margin-top: 3rem; font-size: 1.875rem; } }
.blog-quote { }
@media not all and (min-width: 48rem) { .blog-quote { font-size: 1.875rem; } }
.blog-quote__cite { display: inline-block; margin-top: 0.75rem; font-style: normal; }
