/* Final service content keeps one card row, with the rest in the reading column. */
.service-final-v5 .service-clean-list li { margin-block:0 20px; }
.service-final-v5 .editorial-section#brief { padding-top:var(--v4-layout-space); }
.service-final-v5 .v5-service-title { overflow-wrap:normal; }
.service-final-v5[data-service-slug="standard-modular-solutions"] .v5-service-title { font-size:clamp(42px,4.8vw,72px); }
@media(max-width:650px) {
 .service-final-v5[data-service-slug="standard-modular-solutions"] .v5-service-title { font-size:clamp(30px,8vw,45px); }
}

body .service-directory-disclosure .service-directory a[aria-current="page"] { background:var(--directory-accent); color:#fff; padding-inline:14px; font-weight:600; }
body .service-directory-disclosure .service-directory a[aria-current="page"] :is(span,b) { color:inherit; }

/* Mobile service reading flow. The explicit page class keeps other layouts intact. */
@media (max-width:650px) {
  .service-mobile-rhythm .editorial-hero { padding-top:32px; }
  .service-mobile-rhythm .editorial-hero > .editorial-breadcrumb { margin-bottom:16px; }
  .service-mobile-rhythm .v5-service-intro { padding-block:24px; gap:20px; }
  .service-mobile-rhythm .v5-service-title { padding-bottom:20px; }
  .service-mobile-rhythm .v5-service-meta { gap:16px; }
  .service-mobile-rhythm .v5-hero-actions { margin-bottom:24px; gap:12px; }
  .service-mobile-rhythm .editorial-reading { padding-top:32px; }

  /* Let the next section own the gap, instead of adding two vertical spaces. */
  .service-mobile-rhythm .editorial-reading > .editorial-section,
  .service-mobile-rhythm .editorial-section#brief { padding-top:48px; }
  .service-mobile-rhythm .editorial-reading > .editorial-lead + .editorial-section { padding-top:32px; }
  .service-mobile-rhythm .editorial-reading h2 { margin-bottom:20px; }
  .service-mobile-rhythm .editorial-section > .v4-eyebrow { margin-bottom:12px; }
  .service-mobile-rhythm .editorial-section > p:not(:last-child) { margin-bottom:20px; }
  .service-mobile-rhythm .editorial-reading > .editorial-section + p { margin:20px 0 0; }
  .service-mobile-rhythm .editorial-reading > .editorial-inline-image { margin:32px 0 0; }
  .service-mobile-rhythm .editorial-reading > .mx-visual { margin-block:32px 0; }

  .service-mobile-rhythm .v4-capability-accordion { margin-top:20px; }
  .service-mobile-rhythm .service-clean-list li { margin-bottom:12px; }
  .service-mobile-rhythm .service-clean-list li:last-child { margin-bottom:0; }
  .service-mobile-rhythm .v4-process-cards { margin-top:24px; }
  .service-mobile-rhythm .v4-process-cards li { row-gap:8px; }
  .service-mobile-rhythm .v4-process-cards li:first-child { padding-top:0; }

  /* Keep the approved image-above-copy related cards, with connected captions. */
  .service-mobile-rhythm .editorial-related { padding-top:56px; }
  .service-mobile-rhythm .editorial-related h2 { margin-bottom:32px; }
  .service-mobile-rhythm .study-related-grid { gap:40px; }
  .service-mobile-rhythm .study-related-image { margin-bottom:20px; }
  .service-mobile-rhythm .study-related-card .related-eyebrow { margin-bottom:12px; }
  .service-mobile-rhythm .study-related-card h3 { margin-bottom:12px; }
  .service-mobile-rhythm .editorial-invitation { padding-block:56px; }
  .service-mobile-rhythm .editorial-invitation > .v4-eyebrow { margin-bottom:12px; }
  .service-mobile-rhythm .editorial-invitation p { margin-block:24px 28px; }
  .service-mobile-rhythm .editorial-invitation-actions { gap:12px 20px; }
  .service-mobile-rhythm .editorial-invitation-actions .btn-pill { margin:0; }
  .service-mobile-rhythm .ft { padding-top:40px; }
}
