/* Homepage editorial copy. Use the same reading size on phones and larger screens. */
@layer home-reading {
  main :is(
    .section-heading > p,
    .approach-intro > .body-copy,
    .impact-grid > p,
    .impact-grid .project-impact-outcome,
    .mobile-project-details .project-impact-content > p,
    .mobile-project-details .project-impact-outcome,
    .support-copy > p,
    .process-step > div > p,
    .process-step .service-project-links > a,
    .automation-example-flow li p,
    .automation-flow-note,
    .walk-panelbar > p,
    .walk-story > p,
    .mobile-simple-copy,
    .service-contact-copy > p,
    .service-faq > div > p,
    .service-form-intro,
    .service-field-hint,
    .service-preview-note,
    .service-form-status,
    .service-field-error
  ) {
    font-size: .9375rem !important;
    line-height: 1.65 !important;
  }

  @media (max-width: 850px) {
    #selected-work .section-heading {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 1rem !important;
      align-items: start !important;
    }
    #selected-work .section-heading > :is(div, p) {
      grid-column: 1 !important;
      min-width: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    #selected-work .section-heading > p {
      justify-self: start;
      margin: 0 !important;
      height: auto !important;
      max-height: none !important;
      white-space: normal !important;
      overflow-wrap: break-word;
    }
  }
}
