.text-img {
  padding: 56px 0 0 0;
}

.text-img.bg-color {
  background-color: var(--blueDark);
}

.text-img--container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (min-width: 992px) {
  .text-img--container {
    max-width: 1312px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .reverse .text-img--container {
    flex-direction: row-reverse;
  }
}

.bg-color .text-img--content {
  color: var(--white);
}
.bg-color .text-img--content h2,
.bg-color .text-img--content p {
  color: var(--white);
}

@media screen and (min-width: 992px) {
  .text-img--content {
    flex: 0 1 568px;
    padding-bottom: 112px;
  }
}

.text-img--content h2 {
  font-weight: 200;
  color: var(--blueDark);
}

.text-img--content h2 + p {
  margin-top: 40px;
}

.text-img--content h2 + ul {
  margin-top: 40px;
}

.text-img--content p + a {
  margin-top: 40px;
}

.text-img--content ul + a {
  margin-top: 40px;
}

.text-img--content p + p {
  margin-top: 32px;
}

.text-img--content p + ul {
  margin-top: 32px;
}

.text-img--content ul + p {
  margin-top: 32px;
}

.text-img--img {
  height: 380px;
  width: 100%;
  position: relative;
}
@media screen and (min-width: 992px) {
  .text-img--img {
    flex: 0 1 608px;
    height: 700px;
  }
}
.text-img--img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.text-img--img::after {
  content: "";
  mask: url(../images/arrow-transparent.svg) no-repeat center;
  mask-size: contain;
  background-color: var(--greenLight);
  position: absolute;
  bottom: 0;
  right: 24px;
  height: 121px;
  width: 123px;
  flex-shrink: 0;
  z-index: 1;
}
@media screen and (min-width: 992px) {
  .text-img--img::after {
    height: 242px;
    width: 247px;
    right: 0;
  }
}

.text-img--content,
.text-img--img {
  transition: transform 0.1s linear;
}
