/*
 Theme Name:   Divi Child
 Theme URI:    https://michaelheath.org
 Description:  Divi child theme for michaelheath.org
 Author:       Mike Heath
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* =============================================
   INLINE POST SIGNUP CTA
   ============================================= */

.mh-inline-cta {
  max-width: 600px;
  margin: 40px auto 30px;
  padding: 28px 28px 22px;
  background-color: #f7f4ec;
  border: 1px solid #e5dfd2;
  border-radius: 6px;
  text-align: center;
}

.mh-inline-cta h3 {
  font-size: 22px;
  font-weight: 600;
  color: #202020;
  margin: 0 0 6px;
  line-height: 1.3;
}

.mh-inline-cta p.mh-cta-sub {
  font-size: 15px;
  color: #555555;
  margin: 0 0 18px;
  line-height: 1.5;
}

.mh-inline-cta .fluentform,
.mh-inline-cta form {
  max-width: 420px;
  margin: 0 auto;
}

.mh-inline-cta .ff-el-input--content input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d9d2c3;
  border-radius: 4px;
  background: #ffffff;
}

.mh-inline-cta .ff_submit_btn_wrapper {
  width: 100%;
}

.mh-inline-cta button.ff-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 4px;
  font-weight: 600;
  background-color: #8a6d1f;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.mh-inline-cta button.ff-btn:hover {
  background-color: #7a6018;
}

.mh-inline-cta .mh-cta-footer {
  font-size: 12px;
  color: #999999;
  margin-top: 12px;
}

/* =============================================
   FOOTER SIGNUP BANNER
   ============================================= */

.mh-footer-banner {
  background-color: #2c2c2c;
  padding: 40px 20px;
  text-align: center;
}

.mh-footer-banner h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.mh-footer-banner p {
  font-size: 15px;
  color: #cccccc;
  margin: 0 0 20px;
  line-height: 1.5;
}

.mh-footer-banner .mh-banner-form {
  max-width: 460px;
  margin: 0 auto;
}

.mh-footer-banner .ff-el-input--content input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #555555;
  border-radius: 4px;
  background: #3a3a3a;
  color: #ffffff;
}

.mh-footer-banner .ff_submit_btn_wrapper {
  width: 100%;
}

.mh-footer-banner button.ff-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 4px;
  font-weight: 600;
  background-color: #8a6d1f;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.mh-footer-banner button.ff-btn:hover {
  background-color: #7a6018;
}

.mh-footer-banner .mh-banner-footer {
  font-size: 12px;
  color: #888888;
  margin-top: 12px;
}

/* =============================================
   NEWSLETTER LANDING PAGE
   ============================================= */

.mh-newsletter-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.mh-newsletter-hero h1 {
  font-size: 38px;
  line-height: 1.2em;
  margin: 0 0 12px;
  color: #202020;
}

.mh-newsletter-hero p {
  font-size: 18px;
  color: #666666;
  line-height: 1.6em;
  max-width: 560px;
  margin: 0 auto;
}

.mh-benefits {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.mh-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mh-benefits li {
  font-size: 16px;
  color: #444444;
  padding: 10px 0 10px 28px;
  position: relative;
  line-height: 1.5;
}

.mh-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #8a6d1f;
  font-weight: bold;
  font-size: 18px;
}

/* =============================================
   EXIT-INTENT POPUP
   ============================================= */

#mh-exit-popup .fluentform,
#mh-exit-popup form {
  max-width: 380px;
  margin: 0 auto;
}

#mh-exit-popup .ff-el-input--content input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d9d2c3;
  border-radius: 4px;
  background: #faf8f4;
}

#mh-exit-popup .ff_submit_btn_wrapper {
  width: 100%;
}

#mh-exit-popup button.ff-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 4px;
  font-weight: 600;
  background-color: #8a6d1f;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

#mh-exit-popup button.ff-btn:hover {
  background-color: #7a6018;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media only screen and (max-width: 767px) {
  .mh-inline-cta {
    margin: 30px 15px 20px;
    padding: 22px 18px 18px;
  }

  .mh-inline-cta h3 {
    font-size: 19px;
  }

  .mh-footer-banner {
    padding: 30px 15px;
  }

  .mh-footer-banner h3 {
    font-size: 20px;
  }

  .mh-newsletter-hero h1 {
    font-size: 28px;
  }
}
