.image-text__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.image-text__wrapper[data-media-align="left"] {
  flex-direction: row;
}

.image-text__wrapper[data-media-align="right"] {
  flex-direction: row-reverse;
}

.image-text__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.image-text__text {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.image-text__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  display: block;
}

.image-text__text h2 {
  color: var(--bg-black);
  font-size: 3.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
}

.image-text__text p {
  color: var(--text-body);
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.3;
}
figcaption {
  font-size: 0.8rem;
  font-family: "Manrope";
}
@media screen and (max-width: 768px) {
  .image-text__wrapper {
    flex-direction: column !important;
    gap: 2rem;
  }

  .image-text__image,
  .image-text__text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .image-text__image {
    order: 1;
  }

  .image-text__text {
    order: 2;
  }

  .image-text__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }
}
