.hero {
  .hero__titre {
    font-family: var(--wp--preset--font-family--primary);
    font-size: clamp(32px, 6vw, 57px);
    color: var(--wp--preset--color--secondary);
    margin-bottom: 16px;
  }

  .hero__texte {
    color: var(--wp--preset--color--dark-blue);
  }

  .hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 67px auto 79px;
  }

  .hero__image {
    padding-left: 129px;
    padding-right: 129px;

    @media (max-width: 1500px) {
      padding-left: 60px;
      padding-right: 60px;
    }

    @media (max-width: 767px) {
      padding-left: var(--wp--preset--spacing--large);
      padding-right: var(--wp--preset--spacing--large);
    }

    img {
      width: 100%;
      height: auto;
      max-height: 460px;
      border-radius: 24px;
      object-fit: cover;
    }
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    margin-top: 32px !important;
  }

  .hero .hero__content {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  /* The container already gives the 24px side padding. */
  .hero .hero__image {
    padding-left: 0;
    padding-right: 0;
  }
}
