/* Shared section rhythm. Apply only to sections, never cards or FAQ items. */
body #main#main > section,body #main#main > article > section,body #main#main .tarifs-section{margin-block:0!important;padding-top:calc(var(--romano-section-space)/2)!important;padding-bottom:calc(var(--romano-section-space)/2)!important}
body #main#main{--romano-section-space:100px}
@media(max-width:767px){body #main#main{--romano-section-space:50px}}

/* Les introductions historiques chevauchent volontairement le hero.
 * Cette exception doit rester après la règle générique des sections afin de
 * ne pas transformer la marge négative en bande blanche. */
body #main#main > article.treatment-faithful > section.treatment-intro{
  margin-top:-50px!important;
  margin-bottom:44px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
@media(max-width:767px){
  body #main#main > article.treatment-faithful > section.treatment-intro{
    margin-top:-32px!important;
    margin-bottom:36px!important;
  }
}
body #main#main .elementor.postpartum-child-faithful > .e-con.e-parent,
body #main#main .romano-home-faithful > .home-container.home-section{margin-top:0!important;margin-bottom:0!important;padding-top:calc(var(--romano-section-space)/2)!important;padding-bottom:calc(var(--romano-section-space)/2)!important}
body #main#main .elementor.postpartum-child-faithful > .e-con.e-parent:first-child,
body #main#main .romano-home-faithful > .home-container.home-section:first-child{padding-top:var(--romano-section-space)!important}
body #main#main .elementor.postpartum-child-faithful > .e-con.e-parent:last-child,
body #main#main .romano-home-faithful > .home-container.home-section:last-child{padding-bottom:var(--romano-section-space)!important}
body #main#main > :is(.page-hero,.journey-hero,.signature-hero),
body #main#main .postpartum-hero{padding-top:var(--romano-section-space)!important;padding-bottom:var(--romano-section-space)!important;margin-block:0!important}
body #main#main :is(.needs-directory,.journey-directory,.signature-manifesto,.signature-directory,.needs-reading-shell,.journey-reading-shell,.editorial-section,.legacy-soft-section){padding-top:calc(var(--romano-section-space)/2)!important;padding-bottom:calc(var(--romano-section-space)/2)!important;margin-block:0!important}
body #main#main .postpartum-body{padding-top:0!important;padding-bottom:var(--romano-section-space)!important}
body #main#main .postpartum-body > :is(h2,.postpartum-faq,.postpartum-cards){margin-top:var(--romano-section-space)!important;margin-bottom:0!important}
body #main#main .postpartum-body > .postpartum-toc{margin-top:0!important;margin-bottom:var(--romano-section-space)!important}

/* Les galeries finales doivent rejoindre directement le footer. */
body #main#main > article > section.treatment-related:last-child,
body #main#main > section:is(.treatment-related,.asia-related):last-child,
body #main#main .postpartum-child-faithful > section:is(.rides-related,.men-related):last-child,
body #main#main .elementor.postpartum-child-faithful > .e-con.e-parent.pp-related:last-child,
body.romano-asia-consistent #main#main .elementor > .e-con.e-parent.romano-related-section:last-child{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
