.text-right-image-left {
  background-color: var(--color-emerald);
  position: relative;
  z-index: 1;
}
.text-right-image-left__white-cards-slider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}
@media screen and (min-width: 768px) {
  .text-right-image-left__white-cards-slider {
    padding: 40px;
  }
}

.text-right-image-left__title {
  margin-bottom: 24px;
}
@media screen and (min-width: 768px) {
  .text-right-image-left__title {
    margin-bottom: 32px;
  }
}

.text-right-image-left__subtitle {
  margin-bottom: 8px;
  display: block;
  font-size: 16px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.text-right-image-left__text {
  margin-bottom: 24px;
}

.text-right-image-left__text-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-white);
  margin: 40px 0 32px;
}
@media screen and (min-width: 768px) {
  .text-right-image-left__text-block {
    margin: 40px 0 40px;
  }
}
@media screen and (min-width: 1024px) {
  .text-right-image-left__text-block {
    margin: 64px 0 32px;
  }
}
@media screen and (min-width: 1440px) {
  .text-right-image-left__text-block {
    margin: 80px 0 40px;
  }
}

.text-right-image-left__image-container {
  height: 640px;
  overflow: hidden;
  position: relative;
}
.text-right-image-left__image-container:after {
  content: '';
  position: absolute;
  background-color: #00504e;
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  inset: 0;
  border-radius: 0px;
}

.text-right-image-left__cropped-corner {
  position: absolute;
  z-index: 1;
  top: -0.5px;
  left: -0.5px;
}

.text-right-image-left__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1439px) {
  .text-right-image-left__image-container {
    height: 560px;
  }
}
@media (max-width: 1023px) {
  .text-right-image-left__cropped-corner {
    width: 56px;
    height: 56px;
  }
  .text-right-image-left__image-container {
    height: 100vw;
  }
}
@media (max-width: 767px) {
  .text-right-image-left__cropped-corner {
    width: 32px;
    height: 32px;
  }
  .text-right-image-left__image-container {
    height: 420px;
  }
}
