/* Mandatory vertical rhythm. Loaded after page styles by the shared build. */
:root {
 --lc-section-space:48px;
 --lc-section-heading-gap:32px;
 --lc-card-grid-gap:24px;
}
@media(max-width:1000px) {
 :root { --lc-section-space:36px;--lc-section-heading-gap:24px;--lc-card-grid-gap:20px; }
}
@media(max-width:700px) {
 :root { --lc-section-space:31.5px;--lc-section-heading-gap:24px;--lc-card-grid-gap:16px; }
}
/* All regular sections inherit the standard, including newly authored pages.
   Exceptions are heroes, long-form reading chapters, inset closing CTAs and isolated review comps. */
#main-content section:not(:where([class*="hero"],.article-intro,.ula-reading-section,.closing-cta,.svc-closing,.sample-report-heading,.layout-variant,.lc-section--custom)),
#main-content .lc-section:not(.lc-section--custom) {
 padding-block:var(--lc-section-space);
 margin-block:0;
}
/* Vertically stacked section headings: no accumulated/collapsed margin from grids. */
#main-content section:not(:where([class*="hero"],.article-intro,.ula-reading-section,.closing-cta,.svc-closing,.sample-report-heading,.layout-variant,.lc-section--custom)) > .container > h2,
#main-content .lc-section > .container > h2 {
 margin-block:0 var(--lc-section-heading-gap);
}
#main-content section > .container > :is(.section-heading,.insights-heading,.svc-resource-heading,.ula-section-intro,.assessment-section-heading) {
 margin-block:0 var(--lc-section-heading-gap);
}
#main-content section > .container > :is(.section-heading,.insights-heading,.svc-resource-heading,.ula-section-intro,.assessment-section-heading) h2 {
 margin-bottom:0;
}
#main-content section > .container > :is(h2,.section-heading,.insights-heading,.svc-resource-heading,.ula-section-intro,.assessment-section-heading) + :is(.situation-grid,.svc-route-grid,.home-insight-grid,.insights-grid,.ula-topic-grid) {
 margin-top:0;
}
/* A final direct paragraph must not silently add to the section's bottom space. */
#main-content section:not(:where([class*="hero"],.article-intro,.ula-reading-section,.closing-cta,.svc-closing,.sample-report-heading,.layout-variant,.lc-section--custom)) > .container > p:last-child { margin-bottom:0; }
/* Reusable navigation grid utility. Existing bespoke card internals and grids retain their approved geometry. */
.lc-card-grid { gap:var(--lc-card-grid-gap); }
.lc-section-title { margin-block:0 var(--lc-section-heading-gap); }

/* Existing vertically stacked heading/copy components share the same rhythm. */
#main-content :is(.business-insight-copy,.assessment-introduction-story) > h2 {
 margin-bottom:var(--lc-section-heading-gap);
}

#main-content :is(.svc-intro-grid,.audit-two-column,.expertise-intro,.simple-columns) > div > h2:not(:last-child) {
 margin-bottom:var(--lc-section-heading-gap);
}
