.image-text-nested{
  position: relative;
}
.image-text-nested img{
  width: 100%;
  height: auto;
}
.image-text-nested__content{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.image-text-nested.style-large .image-text-nested__heading1,
.image-text-nested.style-large .image-text-nested__heading2{
  font-size: 3.24rem;
  line-height: 0.7;
}
.image-text-nested.style-large .image-text-nested__small-text{
  font-size: 0.88rem;
  line-height: 1;
  margin-top: 80px;
}
.image-text-nested.style-large .image-text-nested__small-text p{
  font-size: inherit !important;
}
.image-text-nested.style-medium .image-text-nested__heading1,
.image-text-nested.style-medium .image-text-nested__heading2{
  font-size: 2.5rem;
  line-height: 0.7;
}
.image-text-nested__small-text h3{
  margin-bottom: 1rem;
}
.image-text-nested__small-text li{
  line-height: 1.8;
}
@media(max-width: 1600px){
  .image-text-nested.style-medium .image-text-nested__heading1,
  .image-text-nested.style-medium .image-text-nested__heading2{
    font-size: 2rem;
  }
}
@media(max-width: 1170px){
  .image-text-nested.style-large .image-text-nested__heading1, 
  .image-text-nested.style-large .image-text-nested__heading2{
    font-size: 2.24rem;
  }
.image-text-nested.style-medium .image-text-nested__heading1,
  .image-text-nested.style-medium .image-text-nested__heading2{
    font-size: 1.4rem;
  }
  .image-text-nested.style-large .image-text-nested__small-text{
    margin-top: 40px;
}
@media(max-width: 992px){
  .image-text-nested.style-large{
    max-width: 400px;
  }
}