/* Shared phone typography for page introductions and full-width heroes. */
@media (max-width: 768px) {
  :is(.page-title, header.major, header.major1, .archive-hero, .archive-detail__header,
      .homepage-hero, .herstory-hero > .container, .blog-hero__copy,
      .historical-event__header > div, .dashboard-header__content > div, .public-page-intro)
    > :is(h1, h2),
  .kb > h2 {
    margin-block: 0 0.45rem;
    font-size: clamp(1.55rem, 6vw, 2rem);
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.2;
    text-transform: none;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  :is(.page-title, header.major, header.major1, .archive-hero, .archive-detail__header,
      .homepage-hero, .herstory-hero > .container, .blog-hero__copy,
      .historical-event__header > div, .dashboard-header__content > div, .public-page-intro)
    > :is(h1, h2) + p {
    margin-block: 0;
    font-size: 1rem;
    line-height: 1.45;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }

  :is(.page-title, .page-title.compact, header.major, header.major1) {
    margin-block: 0 1.25rem;
  }

  :is(.page-title, header.major, header.major1):has(> :is(h1, h2)),
  main.public-page-intro {
    padding-inline: 0.75rem;
  }
}
