
.commitments {
  position: relative;
  overflow: hidden;
}
.commitments__wrapper {
  position: relative;
  min-height: 666px;
  display: flex;
  padding-top: 40px;
  padding-bottom: 105px;
  flex-direction: column;
}
.commitments__wrapper .grid-row {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.commitments__background-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.commitments__background-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 88%);
  pointer-events: none;
}
.commitments__background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.commitments__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}
.commitments__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-align: center;
}
.commitments__texts::after {
  content: '';
  display: block;
  width: 180px;
  height: 7px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('../../images/commitments/french-flag.svg');
}
.commitments__title h2 {
  text-transform: none;
  font-size: var(--heading-size-m);
  margin: 0;
}
.commitments__subtitle {
  font-size: var(--subheading-size-s);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  line-height: 120%;
}
.commitments__cards {
  overflow: visible;
  width: 100%;
}
@media all and (min-width: 1000px){
  .commitments__wrapper {
    min-height: 957px;
    padding-top: 74px;
    padding-bottom: 175px;
  }
  .commitments__cards > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: fit-content;
    margin: auto;
  }
  .commitments__title h2 {
    font-size: var(--heading-size-l);
    text-transform: uppercase;
  }
}
