/* Opt-in hero forms only. The locked Diabetes page does not use these classes. */
.service-hero-with-form .service-hero-appointment {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 110px;
}

.service-hero-with-form .service-hero-appointment .appt-form-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  scroll-margin-top: 110px;
}

.service-hero-with-form .appt-form-card > .ey {
  display: block;
  padding: 22px 24px 0;
  margin: 0;
}

.service-hero-with-form .appt-form-card > h2.sh {
  padding: 0 24px;
  margin: 8px 0 0 !important;
  font: 800 22px/1.25 var(--ss) !important;
  letter-spacing: 0 !important;
  color: var(--text);
}

.service-hero-with-form .appt-form-card > p {
  padding: 0 24px 22px;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.service-hero-with-form .appt-form-card .form-head {
  padding: 22px 24px;
  text-align: left;
}

.service-hero-with-form .appt-form-card .form-head h3 {
  font: 800 22px/1.25 var(--ss) !important;
  letter-spacing: 0 !important;
}

.service-hero-with-form .appt-form-card .form-head p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.service-hero-with-form .appt-form-card > form {
  padding: 22px 24px 24px;
}

.service-hero-with-form .appt-form-card > p + form {
  border-top: 1px solid var(--blt);
}

.service-hero-with-form .appt-form-card .appt-step-dot {
  min-width: 0;
}

.service-hero-with-form .appt-form-card .appt-step-dot strong {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 900px) {
  .service-hero-with-form .service-hero-appointment {
    max-width: 560px;
    margin-inline: auto;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .service-hero-with-form .appt-form-card > .ey {
    padding: 16px 16px 0;
  }

  .service-hero-with-form .appt-form-card > h2.sh {
    padding: 0 16px;
    font-size: 20px !important;
  }

  .service-hero-with-form .appt-form-card > p {
    padding: 0 16px 16px;
    font-size: 13px;
  }

  .service-hero-with-form .appt-form-card .form-head h3 {
    font-size: 20px !important;
  }

  .service-hero-with-form .appt-form-card .form-head p {
    font-size: 13px;
  }
}
