.page-actualites .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.9rem);
  margin-top: 1.55rem;
}

.page-actualites .post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
}

.page-actualites .post-card[hidden] {
  display: none;
}

.post-card-cover {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--paper);
}

.post-card-cover img,
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.15rem, 2.5vw, 1.9rem);
}

.post-card-body h3 {
  max-width: 30ch;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.post-card-body p {
  margin-top: 0.7rem;
}

.post-card-body .post-card-cta {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--violet);
}

.post-card:hover .post-card-cta,
.post-card:focus-visible .post-card-cta {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.page-article .article-content {
  max-width: 64rem;
}

.page-article .article-header h1 {
  max-width: 23ch;
  text-wrap: balance;
}

.article-cover {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  margin: clamp(1.6rem, 5vw, 3rem) 0 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.article-preview-banner {
  margin-bottom: 1.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: 0.75rem;
  background: var(--paper);
}

@media (max-width: 41rem) {
  .page-actualites .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-cover {
    aspect-ratio: 4 / 3;
  }
}
