/* Cross-template painted-type parity release: 0.1.105. */
:root {
  --npdc-painted-type-release: "0.1.105";
}

/* Native archive/search cards use the production link typography at desktop. */
@media (min-width: 768px) {
  .npdc-source-result .wp-block-post-title a {
    font-size: 18px;
    line-height: 28.8px;
  }
}

/* Article advice headings are display labels in the source, not body-sized
   sidebar labels. */
.npdc-article-advice h4 {
  font-size: 28px;
  line-height: 36.4px;
}

/* Appointments and contact labels retain the source Lato 600 face. */
.npdc-appointments__card > h2 {
  font-family: "Lato", sans-serif;
  font-weight: 600;
}

.npdc-contact-source__form h2,
.npdc-contact-source__info h2,
.npdc-contact-source__social h3 {
  font-weight: 600;
}

.npdc-contact-source__social h3 {
  font-size: 28px;
  line-height: 36.4px;
}

/* The production homepage gives these long carousel labels narrower authored
   text columns even though the enclosing cards are wider. */
@media (min-width: 768px) {
  .home .npdc-source-service-card:nth-child(6) h3 {
    width: 239.09px;
  }

  .npdc-new-patients__visit-card h3 {
    line-height: 51.6px;
  }
}

/* All three legal-page source templates share the same heading scale and
   Elementor paragraph rhythm. */
@media (min-width: 768px) {
  .npdc-production-parity-page .npdc-legal__grid h2 {
    margin-bottom: 20px;
    font-size: 68px;
    line-height: 74.8px;
  }
}

.npdc-production-parity-page .npdc-legal__grid p + p,
.npdc-production-parity-page .npdc-legal__grid ul + p {
  margin-top: 0;
}

.npdc-production-parity-page .npdc-legal__grid ul {
  margin-bottom: 0;
}

.npdc-production-parity-page .npdc-legal__cta h2 {
  font-size: 68px;
  line-height: 74.8px;
}

.npdc-production-parity-page .npdc-legal__cta p {
  width: 70%;
  max-width: none;
  margin-bottom: 20px;
}

.npdc-production-parity-page .npdc-legal__cta .npdc-production-button {
  min-height: 0;
  padding: 17px 34px;
  font-size: 16px;
  line-height: 19.2px;
}

/* Dental Services source headings use two distinct authored weights. */
.npdc-services-hub__care h3,
.npdc-services-hub__help h2 {
  font-weight: 600;
}

.npdc-services-feature h3 {
  font-weight: 700;
}

/* Patient-form cards use the source's intentionally tight line-height. */
.npdc-patient-forms__cards h2 {
  font-size: 48px;
  line-height: 43px;
}

@media (max-width: 767px) {
  .home .npdc-source-service-card:nth-child(3) h3 {
    width: 231px;
  }

  .npdc-service-page .npdc-service-intro > h2 {
    font-size: 30px;
  }

  .npdc-article-advice h4 {
    font-size: 20px;
    line-height: 26px;
  }

  .npdc-appointments__card > h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .npdc-patient-forms h1 {
    font-size: 60px;
    line-height: 66px;
  }

  .npdc-patient-forms__cards h2 {
    font-size: 28px;
    line-height: 43px;
  }

  .npdc-production-parity-page .npdc-legal__grid h2 {
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 33px;
  }

  .npdc-production-parity-page .npdc-legal__cta h2 {
    font-size: 42px;
    line-height: 46.2px;
  }

  .npdc-production-parity-page .npdc-legal__cta .npdc-production-button {
    padding: 13px 26px;
    font-size: 12px;
    line-height: 14.4px;
  }
}
