/* Prevent unusually long editorial headings from becoming narrow word staircases. */
@media (min-width: 900px) {
  .talkwise-site .phase2-section3__header:has(#becoming-therapist-title) {
    grid-template-columns: minmax(440px, 1.05fr) minmax(0, .95fr);
  }

  .talkwise-site #becoming-therapist-title {
    font-size: clamp(2.85rem, 3.65vw, 3.3rem);
    max-width: 16ch;
  }

  .counselling-page .cn-hero h1 {
    font-size: clamp(3.5rem, 5.1vw, 4.75rem);
  }

  .pd-page .pd-hero h1 {
    font-size: clamp(3.5rem, 5.1vw, 4.75rem) !important;
  }

  .pd-page #between-title {
    font-size: clamp(2.55rem, 3.1vw, 2.95rem) !important;
    max-width: none !important;
  }
}

@media (max-width: 560px) {
  .talkwise-site #becoming-therapist-title {
    font-size: 2.05rem;
    max-width: none;
  }

  .counselling-page .cn-hero h1 {
    font-size: 2.3rem;
    line-height: 1.04;
  }

  .pd-page .pd-hero h1 {
    font-size: 2.3rem !important;
    line-height: 1.04 !important;
  }

  .pd-page #between-title {
    font-size: 1.8rem !important;
    line-height: 1.08 !important;
  }

  .counselling-page .cn-heading {
    gap: .45rem;
    grid-template-columns: 1fr;
  }

  .counselling-page .cn-heading > span {
    max-width: 3.5rem;
  }

  .counselling-page .cn-section h2 {
    font-size: 1.95rem;
    max-width: none;
  }
}
