:root{
  --site-pad: clamp(16px, 3vw, 32px);
}

/* Base: tous les blocs en pleine largeur */
.site-content .entry-content > *{
  max-width: none !important;
  width: 100% !important;
}

/* Padding global sur les blocs standards (tout sauf sections "full width") */
.site-content .entry-content > *:not(.acs-hero):not(.acs-section):not(.acs-final):not(.acst-hero):not(.acst-section){
  padding-left: var(--site-pad) !important;
  padding-right: var(--site-pad) !important;
}

/* Momoyoga: garder l’alignement avec le padding global */
.wp-block-momoyoga-integration-schedule,
.momoyoga-schedule{
  padding-left: var(--site-pad) !important;
  padding-right: var(--site-pad) !important;
}

/* Full-bleed: supprime les bords blancs sur sections à fond coloré */
.site-content .entry-content > .acs-hero,
.site-content .entry-content > .acs-section,
.site-content .entry-content > .acs-final,
.site-content .entry-content > .acst-hero,
.site-content .entry-content > .acst-section{
  margin-left: calc(-1 * var(--site-pad)) !important;
  margin-right: calc(-1 * var(--site-pad)) !important;
  width: calc(100% + (2 * var(--site-pad))) !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* On remet le padding "contenu" à l’intérieur des sections full-bleed */
.site-content .entry-content > .acs-hero,
.site-content .entry-content > .acs-section,
.site-content .entry-content > .acs-final,
.site-content .entry-content > .acst-hero,
.site-content .entry-content > .acst-section{
  padding-left: var(--site-pad) !important;
  padding-right: var(--site-pad) !important;
}

/* Et on annule le double padding sur les wraps internes (ils gèrent déjà leur padding) */
.acs-hero .acs-wrap,
.acs-section .acs-wrap,
.acs-final .acs-wrap,
.acst-hero .acst-wrap,
.acst-section .acst-wrap{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Tables Gutenberg uniquement */
.wp-block-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wp-block-table table{
  width: 100%;
  border-collapse: collapse;
}
@media (max-width: 640px){
  .wp-block-table table{ min-width: 520px; }
}

/* Sécurité anti-scroll horizontal */
html, body{ overflow-x: hidden; }