/* Appointment family consolidated audit — 10 Sep 2026 */
/* Preserve the established 70:30 editorial system while preventing kicker/title collisions. */
main .ey + h1 {
  margin-top: 22px !important
}

main .ey + h2, main .ap3-head .ap3-ey + h2, main .ap4-head .ap4-ey + h2 {
  margin-top: 20px !important
}

main h1, main h2 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance
}

main p {
  overflow-wrap: break-word
}

main section {
  scroll-margin-top: 112px
}

main .ap3-head, main .ap4-head, main .md-head, main .ar-head, main .ci-head, main .ns-head {
  column-gap: clamp(52px, 5vw, 78px);
  row-gap: 32px
}

main .ap3-head>p, main .ap4-head>p, main .md-head>p, main .ar-head>p, main .ci-head>p, main .ns-head>p {
  margin-top: 0
}

main input:focus-visible, main select:focus-visible, main textarea:focus-visible, main button:focus-visible, main a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px
}

@media(max-width: 1100px) {
  main .ap3-head, main .ap4-head, main .md-head, main .ar-head, main .ci-head, main .ns-head {
    row-gap: 24px
  }
}

@media(max-width: 700px) {
  main .ey + h1 {
    margin-top: 18px !important
  }
  main .ey + h2, main .ap3-head .ap3-ey + h2, main .ap4-head .ap4-ey + h2 {
    margin-top: 16px !important
  }
}
