/* Match the approved Diabetes hero without changing shared service styles. */
.thyroid-client-page .thyroid-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.thyroid-client-page .thyroid-hero-copy > .ey,
.thyroid-client-page .thyroid-hero .form-head > .frn {
  display: none;
}

.thyroid-client-page .thyroid-hero-copy h1 {
  margin: 4.8px 0 17.6px;
}

.thyroid-client-page .thyroid-hero-copy > p:not(.thyroid-location) {
  max-width: 52ch;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--navy);
}

.thyroid-client-page .thyroid-hero-copy > p a {
  color: inherit;
  text-decoration: underline;
}

.thyroid-client-page .thyroid-hero-copy > .thyroid-location {
  max-width: 56ch;
  margin: .8rem 0 0;
  font-size: .98rem;
  line-height: 1.62;
  color: var(--mid) !important;
}

.thyroid-client-page .thyroid-actions {
  gap: .85rem;
  margin: 1.55rem 0 0;
}

.thyroid-client-page .thyroid-actions .btn {
  padding: .8rem 1.45rem;
}

.thyroid-client-page .thyroid-hero .appt-form-card {
  border-radius: 14px;
}

.thyroid-client-page .thyroid-hero .appt-form-card .form-head {
  padding: 18px 20px;
}

.thyroid-client-page .thyroid-hero .appt-form-card .form-head h3 {
  margin: 8px 0 0 !important;
  font: 800 24px/1.25 var(--ss) !important;
  letter-spacing: 0 !important;
}

.thyroid-client-page .thyroid-hero .appt-form-card > form {
  padding: 18px 20px 20px;
}

.thyroid-client-page .thyroid-hero .form-block {
  padding: 16px;
}

@media (max-width: 900px) {
  .thyroid-client-page .thyroid-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 700px;
    gap: 28px;
  }

  .thyroid-client-page .thyroid-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .thyroid-client-page .thyroid-hero-copy h1,
  .thyroid-client-page .thyroid-hero-copy > .thyroid-location,
  .thyroid-client-page .thyroid-actions {
    margin: 0;
  }
}

@media (max-width: 600px) {
  body.thyroid-template .thyroid-client-page .thyroid-hero {
    padding: 24px 0 30px;
  }

  .thyroid-client-page .thyroid-hero-grid {
    gap: 20px;
    padding-inline: 16px;
  }

  .thyroid-client-page .thyroid-hero .appt-form-card .form-head h3 {
    font-size: 20px !important;
  }
}
