.hero {
  padding-top: 145px;
  padding-bottom: 90px;
  background-color: var(--wp--preset--color--primary-700);
  position: relative;

  .hero__titre {
    font-family: var(--wp--preset--font-family--expanded);
    font-size: 2.5rem;
    font-weight: var(--wp--custom--font-weight--bold);
    color: var(--wp--preset--color--secondary);
    margin: 0 0 40px;

    @media (max-width: 767px) {
      font-size: 2rem;
    }
  }

  .hero__content {
    position: relative;
    z-index: 1;
    padding: 0;

    #breadcrumbs {
      color: rgba(0, 0, 0, 0.75);
      line-height: normal;
      text-decoration: none;
      padding-bottom: 40px;

      a {
        color: rgba(0, 0, 0, 0.75);
        line-height: normal;
        text-decoration: none;
      }

      .breadcrumb_last {
        font-weight: var(--wp--custom--font-weight--semi-bold);
      }
    }

    .hero__categories {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 20px;

      a {
        border-radius: 5px;
        background-color: var(--wp--preset--color--secondary);
        color: var(--wp--preset--color--base);
        padding: 5px 10px;
        font-size: 1rem;
        font-weight: var(--wp--custom--font-weight--semi-bold);
        line-height: normal;
        text-decoration: none;
      }
    }

    .hero__reassurance {
      font-weight: var(--wp--custom--font-weight--semi-bold);
      font-size: var(--wp--preset--font-size--base);
      display: flex;
      flex-wrap: wrap;
      gap: 40px;

      @media (width < 768px) {
        gap: 10px;
      }

      p {
        position: relative;
        margin: 0;
        padding-left: 28px;

        &:before {
          content: url('../../../assets/icons/icon-star.svg');
          position: absolute;
          top: 3px;
          left: 0;
        }
      }
    }
  }

  .hero__video,
  .hero__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    z-index: 0;
  }

  .hero__image {

    @media (max-width: 768px) {
      display: none;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      mask-image: linear-gradient(to left,
          #000 0%,
          #000 50%,
          transparent 100%);
      mask-size: 100% 100%;
      mask-repeat: no-repeat;
    }

    .hero__image-featured {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;

      img {
        mask: unset;
      }
    }
  }


  &.alignfull,
  &.alignwide {
    .hero__content {
      margin: 0 auto;
    }
  }
}

.hero-home {
  padding-top: 220px;
  padding-bottom: 40px;

  .hero__titre {
    font-size: 3.125rem;
    margin-bottom: 10px;

    @media (max-width: 767px) {
      font-size: 2.0625rem;
    }
  }

  .hero__texte {
    >p {
      font-size: 1.5625rem;
      font-weight: 700;
      line-height: 34px;
      margin-bottom: 25px;
    }
  }
}