/* Match Kudusure's approved project body-copy treatment. */
:is(.project-wetility, .project-pilot) :is(
  .manifest.manifest-s,
  .split-info__details p,
  .split-data__descr p,
  .mxd-testimonials-project__manifest p
) {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

:is(.project-wetility, .project-pilot) :is(
  .manifest.manifest-s,
  .split-info__details p,
  .split-data__descr p,
  .mxd-testimonials-project__manifest p
) :is(span, a) {
  font: inherit;
  letter-spacing: inherit;
}

/* Pilot still inherited oversized template typography for content labels and
   service/stage names. Match these to Kudusure's approved body-copy system. */
.project-pilot :is(
  .mxd-block-split__subtitle p,
  .split-data__name p,
  .mxd-testimonials-project__subtitle p,
  .mxd-next-prj__caption p,
  .mxd-next-prj__name p
) {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-pilot :is(
  .mxd-block-split__subtitle p,
  .split-data__name p,
  .mxd-testimonials-project__subtitle p,
  .mxd-next-prj__caption p,
  .mxd-next-prj__name p
) :is(span, a) {
  font: inherit;
  letter-spacing: inherit;
}

/* Match the mobile override in FGX's shared body typography as well. */
@media (max-width: 767px) {
  :is(.project-wetility, .project-pilot) :is(
    .manifest.manifest-s,
    .split-info__details p,
    .split-data__descr p,
    .mxd-testimonials-project__manifest p
  ),
  .project-pilot :is(
    .mxd-block-split__subtitle p,
    .split-data__name p,
    .mxd-testimonials-project__subtitle p,
    .mxd-next-prj__caption p,
    .mxd-next-prj__name p
  ) {
    font-size: 16px;
  }
}
