/* SEO section introductions. Rubric above; H2 and adjacent copy share row 2. */
@media (min-width: 801px) {
  .service-layout .service-layout__editorial--heading-aligned,
  .service-layout .service-layout__intro--heading-aligned {
    align-items: start;
    row-gap: 20px;
  }
  .service-layout__editorial--heading-aligned > .section-heading,
  .service-layout__intro--heading-aligned > .section-heading {
    display: contents;
  }
  .service-layout__editorial--heading-aligned > .section-heading > .section-label,
  .service-layout__intro--heading-aligned > .section-heading > .section-label {
    grid-column: 1 / 5;
    grid-row: 1;
  }
  .service-layout__editorial--heading-aligned > .section-heading > .section-heading__title,
  .service-layout__intro--heading-aligned > .section-heading > .section-heading__title {
    grid-column: 1 / 5;
    grid-row: 2;
    margin-top: 0;
  }
  .service-layout .service-layout__editorial--heading-aligned > .editorial-layout__content,
  .service-layout .service-layout__intro--heading-aligned > :not(.section-heading) {
    grid-column: 5 / -1;
    grid-row: 2;
    align-self: start;
  }
}

/* Align the visible capital edges across the H2, lead and body-size H3. */
@supports (text-box: trim-start cap alphabetic) {
  @media (min-width: 801px) {
    .service-layout__editorial--heading-aligned > .section-heading > .section-heading__title,
    .service-layout__intro--heading-aligned > .section-heading > .section-heading__title,
    .service-layout__editorial--heading-aligned > .editorial-layout__content > p:first-child,
    .service-layout__editorial--heading-aligned > .editorial-layout__content > .list-group--first > h3:first-child,
    .service-layout__intro--heading-aligned > .text-lead {
      text-box: trim-start cap alphabetic;
    }
  }
}
