/* === Legacy Content Block === */
.cta {
  background-color: #da0013;
  max-height: 500px;
}

.cta--background {
  position: absolute;
  top: 0%;
  left: 0;
  height: 100%;
  width: 100%;
}

.cta--bg-shape {
  background-image: url("/wp-content/plugins/four-columns-custom-bocks/assets/img/background-shape.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  height: 100%;
  max-width: 70%;
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 1400px) {
  .cta--bg-shape {
    max-width: 75%;
  }
}

@media screen and (max-width: 1200px) {
  .cta--bg-shape {
    max-width: 85%;
  }
}

.cta--bg-shape:after {
  content: "";
  width: 100%;
  height: 60%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 9;
  background-color: #da0013;
}

.cta--image {
  position: absolute;
  height: 100%;
  width: 50%;
  right: 0%;
  top: 0%;
  z-index: 0;
}

.cta--image-container {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.cta--image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 100%;
}

.cta .container {
  padding: 64px 0px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 20;
}

@media screen and (max-width: 575px) {
  .cta .container {
    padding: 64px 16px;
  }
}

.cta .row {
  max-width: 900px;
}

@media screen and (max-width: 992px) {
  .cta .row {
    max-width: 560px;
  }
}

@media screen and (max-width: 767.9px) {
  .cta .row {
    /* max-width: 440px; */
  }
  .cta--image {
    height: 400px;
    width: 100%;
  }
  .cta--bg-shape {
    top: 207px;
    max-width: 100%;
  }
  .cta {
    padding-top: 210px;
    max-height: 750px;
    overflow: hidden;
  }
}

@media screen and (max-width: 525px) {
  .cta .row {
    /* max-width: 340px; */
  }
  .cta h2 {
    font-size: 26px !important;
  }
}
