.container {
  position: relative;
  height: 100%;
}

.image-and-text-section-wrapper {
  width: 100%;
  height: 613px;
  position: relative;
}
@media (max-width: 991px) {
  .image-and-text-section-wrapper {
    height: 450px;
  }
}
@media (max-width: 767px) {
  .image-and-text-section-wrapper {
    height: 320px;
  }
}

.image-on-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image-on-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  top: 0;
  left: 20px;
  width: calc((100% - 60px) / 4);
  height: 100%;
  background-color: var(--ast-global-color-1);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 30px;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .text-overlay {
    width: 40%;
  }
}
@media (max-width: 767px) {
  .text-overlay {
    top: 75px;
    bottom: 0;
    max-width: 325px;
    width: 100%;
    height: auto;
  }
}
.text-overlay::before {
  content: "";
  height: 14px;
  width: 100%;
  top: -14px;
  left: 0;
  position: absolute;
  background-color: var(--ast-global-color-1);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.text-overlay::after {
  content: "";
  height: 14px;
  width: 100%;
  bottom: -14px;
  left: 0;
  position: absolute;
  background-color: var(--ast-global-color-1);
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}
.text-overlay h1,
.text-overlay h2,
.text-overlay h3,
.text-overlay h4 {
  color: var(--ast-global-color-5);
  font-size: 2.625em;
  text-align: left;
}
@media (max-width: 991px) {
  .text-overlay h1,
  .text-overlay h2,
  .text-overlay h3,
  .text-overlay h4 {
    font-size: 1.875em;
  }
}

/*# sourceMappingURL=image-heading-section.css.map */
