.media-text {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  align-items: center;
}
.media-text__image {
  flex: 1 1 300px;
  align-self: stretch;
  display: flex;
  position: relative;
  border-radius: 20px 20px 20px 20px;
  overflow: hidden;
}
.media-text__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-text.fill .media-text__image img {
  object-fit: cover;
}
.media-text__image.has-accents {
  border-radius: 20px 20px 0px 20px;
}
.media-text__image.has-accents:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: var(--teal);
  mix-blend-mode: color;
}
.media-text__image.has-accents:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: var(--teal);
  opacity: 0.2;
}
.media-text__image.has-accents .media-text__texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../texture.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
}
.media-text__image.has-accents .media-text__texture:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../texture.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}
.media-text__image.has-accents .media-text__triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  z-index: 2;
}
.media-text__image.has-accents .media-text__triangle img {
  width: 100%;
  height: auto;
}
.media-text__content {
  flex: 1 1 300px;
}
.media-text__content.white-text {
  color: #fff;
}
.media-text.flip {
  flex-direction: row-reverse;
}
@media (max-width: 744px) {
  .media-text {
    flex-direction: column;
  }
  .media-text__image {
    order: 2;
    width: 100%;
    align-self: auto;
  }
  .media-text__image img {
    height: auto;
  }
  .media-text__content {
    order: 1;
    width: 100%;
  }
}
