body.page-template-tmpl-demo {
  background-color: #f3f2f1 !important;
}

.wp-demo-page {
  margin-bottom: 0;
  background-color: #f3f2f1;
}

.wp-demo-page .threat-detail__text {
  max-width: 100%;
  padding-top: 30px;
}

.wp-demo-page .block-inner_threat-detail h1 {
  width: 100%;
  margin: 0 auto;
  text-align: center !important;
}

.wp-demo-page .block-inner_threat-detail h1::after {
  display: none;
}

.wp-demo-page .demo-hero-subtitle {
  margin: 16px auto 0;
  max-width: 980px;
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
  color: #ffffff;
}

.wp-demo-page .block-inner_threat-detail {
  background-image: url('/wp-content/themes/datasunrise_redesign/img/form-back2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.wp-demo-page .threat-detail,
.wp-demo-page .threat-detail__inner {
  background-color: transparent;
}

.wp-demo-page .threat-detail__text p {
  max-width: 100%;
  text-align: center;
  font-size: 21px;
}

.wp-demo-page .calendly-inline-widget {
  min-width: 320px;
  height: 760px;
  margin-top: 30px;
}

.wp-demo-page .ms-booking-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f3f2f1;
}

.wp-demo-page .ms-booking-section iframe {
  display: block;
  width: 100%;
  height: 1800px;
  border: 0;
  transition: height 0.3s ease;
}

body.page-template-tmpl-demo footer.footer {
  margin-top: 0 !important;
  padding-top: 233px;
}

@media (max-width: 1320px) {
  .wp-demo-page .demo-hero-subtitle {
    max-width: 800px;
    font-size: 19px;
  }
}

@media (max-width: 62rem) {
  .wp-demo-page .demo-hero-subtitle {
    max-width: 600px;
    font-size: 18px;
  }

  .wp-demo-page .ms-booking-section iframe {
    height: 2000px;
  }
}

@media (max-width: 48rem) {
  .wp-demo-page .demo-hero-subtitle {
    max-width: 100%;
    font-size: 16px;
    padding: 0 16px;
  }

  .wp-demo-page .block-inner_threat-detail h1 {
    font-size: 28px;
  }

  .wp-demo-page .ms-booking-section iframe {
    height: 2500px;
  }

  .wp-demo-page .calendly-inline-widget {
    height: 700px;
  }
}

@media (max-width: 36rem) {
  .wp-demo-page .demo-hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 12px;
  }

  .wp-demo-page .block-inner_threat-detail h1 {
    font-size: 24px;
  }

  .wp-demo-page .ms-booking-section iframe {
    height: 2500px;
  }

  .wp-demo-page .calendly-inline-widget {
    min-width: 280px;
    height: 650px;
  }

  .wp-demo-page .threat-detail__text p {
    font-size: 16px;
  }
}
