.mainbanner-image {
  height: 43.75vw;
}
@media (max-width: 575.98px) {
  .mainbanner-image {
    height: 75vw;
  }
}

.common-image-filter {
  -webkit-filter: brightness(40%);
          filter: brightness(40%);
}

.image-heading-container {
  position: absolute;
  top: 50%;
  width: 100%;
}
@media (min-width: 576px) {
  .image-heading-container {
    padding-left: 7%;
  }
}

.image-heading-text {
  font-family: "Jost";
  color: #fff;
}

/* stylelint-disable-next-line selector-class-pattern */
.ITC-image-heading-text {
  color: #fff;
}

.image-heading-container .mainbanner-sub-text p {
  font-size: 1.67rem;
  font-family: "Jost";
  color: #fff;
  text-decoration: underline;
}

/* stylelint-disable-next-line selector-class-pattern */
.ITC-text-underneath span {
  color: #1D1D1B;
  padding-top: 0.75em;
  text-align: center;
}

.image-w-overlay {
  position: relative;
}
.image-w-overlay .img-container {
  position: relative;
}
@media (min-width: 768px) {
  .image-w-overlay .img-container {
    aspect-ratio: 16/9;
  }
}
.image-w-overlay .img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
  z-index: 0;
}
.image-w-overlay .text-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.image-w-overlay .text-wrapper .ITC-image-heading-text {
  width: 100%;
}
.image-w-overlay .text-wrapper .text-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 30px;
  width: 100%;
  text-align: center;
  max-width: 1042px;
  margin: auto;
  font-size: 1rem;
}
@media (min-width: 992px) {
  .image-w-overlay .text-wrapper .text-container {
    font-size: 1.125rem;
    padding-bottom: 60px;
  }
}
.image-w-overlay .text-wrapper .text-cta {
  font-weight: 350;
  color: inherit;
}
