/* Shared type roles for the four product landing pages only.
   Deliberately excludes report miniatures, navigation, cards and animations. */
:is(.research-landing-page, .simulation-landing-page) main {
  --landing-section-size: var(--section-heading);
  --landing-section-leading: var(--section-heading-lh);
}

:is(.research-landing-page, .simulation-landing-page) main :is(.pg-h2, .planning-checks-heading) {
  font-family: var(--font-family-heading);
  font-size: var(--landing-section-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--landing-section-leading);
  letter-spacing: -.02em;
}

:is(.research-landing-page, .simulation-landing-page) main .pg-h2 .pg-fw {
  font-weight: inherit;
}

/* Some reference templates specify description type inline. Restrict the
   overrides to section introductions, not every paragraph in the page. */
:is(.research-landing-page, .simulation-landing-page) main :is(
  .pg-h2 + p,
  .pg-fwcopy > p,
  .rp-lead,
  .assessment-section-body,
  .planning-methodology-intro,
  .planning-checks-subhead,
  .planning-solutions-intro
) {
  font-size: var(--section-body) !important;
  font-weight: var(--font-weight-light) !important;
  line-height: var(--section-body-lh) !important;
}

@media (max-width: 1180px) {
  :is(.research-landing-page, .simulation-landing-page) main {
    --landing-section-size: var(--text-5xl);
  }
}

@media (max-width: 700px) {
  :is(.research-landing-page, .simulation-landing-page) main {
    --landing-section-size: 26px;
    --landing-section-leading: var(--section-heading-mobile-lh);
  }
}
