.site-main > .article-hero.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

.article-hero {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Contenu contraint */
.article-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wp--style--global--content-size, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem;
  color: #fff;

  display: flex;
}

/* Alignement via flex */
.article-hero--left .article-hero__inner {
  justify-content: flex-start;
}

.article-hero--center .article-hero__inner {
  justify-content: center;
}

.article-hero--right .article-hero__inner {
  justify-content: flex-end;
}

/* Titre */
.article-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  max-width: 100%;
}

/* RELATED POSTS */

.related-posts__grid {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.related-post-card{
  width: 100%;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  transform: scale(1);
  transition: .5s ease-in-out;
}
.related-post-card:hover{
  transform: scale(1.05);
}
.post-card__image {
  height: 220px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card__content {
  padding:20px;
}
.post-card__content h3 {
  margin: 0;
}

/* ---------- DESKTOP (≥720px) ---------- */
@media (min-width: 720px) {
  .related-posts__grid {
    flex-direction: row;
  }
  .related-post-card{
    width: 30%;
  }
}