/* User-approved site-wide section rhythm, 28.10.2026. Applies at every width.
   Section spacing is independent of card grids, headings and form fields. */
:root,body.gr-site-v2,body.postid-52454{--gr-sec:80px!important;--ig-space:80px!important;--stage-section:80px!important}
body.gr-site-v2 .page_section>.container>section,
body.gr-site-v2 main.new_services>section,
body.gr-site-v2 main>section:not(.page_section),
body.gr-site-v2 .gr-case-v2>section,
body.gr-site-v2 .gr-case-v2>.wrap>section,
body.gr-site-v2 .gr-section{
 margin-top:0!important;margin-bottom:80px!important;
}
/* Plain content sections: one external gap, no inherited vertical padding. */
body.gr-site-v2 .page_section>.container>section:not(.hero2):not(.home_about):not(.home-reviews-new),
body.gr-site-v2 main.new_services>section:not(.main):not(.home_about):not(.home-reviews-new),
body.gr-site-v2 .gr-case-v2>section,
body.gr-site-v2 .gr-case-v2>.wrap>section{
 padding-top:0!important;padding-bottom:0!important;
}
/* Tinted full-width sections also keep a consistent inner inset. */
body.gr-site-v2 main.new_services>section.home_about,
body.gr-site-v2 main.new_services>section.home-reviews-new,
body.gr-site-v2 .home_about,
body.gr-site-v2 .home-reviews-new{
 padding-top:80px!important;padding-bottom:80px!important;
 margin-top:0!important;margin-bottom:80px!important;
}
/* Legacy templates use named sections outside the Gutenberg wrapper. */
body.gr-site-v2 :is(.home_logos,.home-blog,.services_type,.text_block,.blk-stats,.blk-cards,.blk-steps,.acf-text-block,.gallery-works){margin-top:0!important;margin-bottom:80px!important}
body.gr-site-v2 :is(.categories_catalog,.archive-blog,.single_blog,.single_product,.taxonomy_page,.page_default,.page_cart,.page_checkout){margin-bottom:80px!important}

/* Mobile home: keep the first transition tighter than regular section rhythm. */
@media (max-width:900px){
 body.gr-site-v2 .page_section>.container>.hero2{margin-bottom:24px!important}
}
