/* Applied by the four-wave guide records after the existing shared styles. */
@media (max-width: 767px) {
  main :is(
    .hero-description, .intro-copy > p:not(.source-note),
    .scope-with-art p, .concerns-heading > p:last-child,
    .city-quick-cards p:not(.city-quick-label),
    .city-local-guide dd, .city-detail-content p,
    .public-help-list dd > p, .regional-chapter-intro > p:not(.section-label),
    .faq-answer p, .consultation-steps p, .check-list p, .sorting-list dd,
    .remote-copy > p:not(.section-label), .flow-heading > p:not(.section-label),
    .public-help-heading > p:not([class]), .local-fee-guide > p:not([class]),
    .local-fee-cards p:not([class]), .local-fee-quote > p:not([class]),
    .local-fee-quote blockquote, .quote-options p:not([class]),
    .regional-chapter-cta > p:not([class])
  ),
  main .section-copy > p:not(.section-label):not(.small-note),
  main .sorting-layout .section-copy > p:not(.section-label):not(.small-note),
  main .inline-comparison > p:not(.destination-note),
  main .closing-inner > p:not(.eyebrow):not(.destination-note) {
    font-size: 1rem;
  }

  main :is(.source-note, .small-note, .city-summary-note, .help-office, .concerns-source, .quote-sheet-note),
  main .intro-copy .source-note,
  main .municipal-copy > .small-note {
    font-size: .8125rem;
  }

  main :is(.page-contents, .hero-actions .text-link) {
    font-size: .8125rem;
  }

  main .primary-link,
  main .municipality-section .inline-comparison .primary-link {
    font-size: .875rem;
  }
}

main :is(p, dd, summary) {
  text-wrap: pretty;
}

main :is(.help-purpose, .help-office, .city-local-guide dt) {
  text-wrap: balance;
}

@media (max-width: 767px) {
  main .page-contents a { font-size: .8125rem; }
  main :is(.help-source, .public-help-list .source-link) { font-size: .875rem; }
}

@media (min-width: 768px) {
  main :is(
    .hero-description, .intro-copy > p:not(.source-note), .scope-with-art p,
    .concerns-heading > p:last-child, .city-quick-cards p:not(.city-quick-label),
    .city-local-guide dd, .city-detail-content p, .public-help-list dd > p,
    .regional-chapter-intro > p:not(.section-label), .faq-answer p,
    .consultation-steps p, .check-list p, .sorting-list dd,
    .remote-copy > p:not(.section-label), .flow-heading > p:not(.section-label),
    .public-help-heading > p:not([class]), .public-help-related > p,
    .local-fee-guide > p:not([class]), .local-fee-cards p:not([class]),
    .local-fee-quote > p:not([class]), .local-fee-quote blockquote,
    .quote-options p:not([class]), .regional-chapter-cta > p:not([class])
  ),
  main .section-copy > p:not(.section-label):not(.small-note),
  main .sorting-layout .section-copy > p:not(.section-label):not(.small-note),
  main .inline-comparison > p:not(.destination-note),
  main .closing-inner > p:not(.eyebrow):not(.destination-note) {
    font-size: max(1rem, 16px);
  }
}
main .public-help-list .help-links a { font-size: .875rem; }
main .local-fee-quote blockquote > p { font-size: 1rem; }
main .regional-topic-heading-art {
  display: grid;
  grid-template-columns: clamp(54px, 8vw, 82px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.6vw, 24px);
}
main .regional-topic-heading-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
main .regional-topic-heading-art h3 { margin-block: 0; }

