/* v1.40.1: center mobile headings, introductions and navigation cards.
 * Image artwork and long-form body/list/table alignment stay unchanged. */
@media (max-width: 760px) {
  .snc-official :is(.snc-detail, .snc-clinic-home) :is(h1, h2, h3),
  .snc-official :is(.ssv-heading, .ssv-detail-intro, .sle-visual-heading,
    .sle-text-intro, .sle-hero-copy, .snc-treatment-title,
    .snc-editorial-copy, .snc-section-heading),
  .snc-official .snc-detail .snc-topic-copy,
  .snc-official .snc-service-card > div:last-child {
    text-align: center;
  }

  .snc-official :is(.ssv-heading, .ssv-detail-intro, .sle-visual-heading,
    .sle-text-intro, .sle-hero-copy, .snc-treatment-title,
    .snc-editorial-copy, .snc-section-heading) > p,
  .snc-official .page-hero > p,
  .snc-official .sle-hero .sle-headline,
  .snc-official :is(.snc-editorial-copy, .snc-section-heading) {
    margin-inline: auto;
  }

  .snc-official :is(.sle-actions, .sle-visual-actions, .ssv-actions,
    .sle-jump, .snc-treatment-actions, .snc-action-row,
    .snc-treatment-filter, .snc-hero-address) {
    justify-content: center;
    text-align: center;
  }

  .snc-official .snc-detail .article h2::after {
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  /* Stack the original compact title/link row around one center line. */
  .snc-official .snc-detail .snc-topic-copy {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 8px;
  }
}
