/* Raccords entre le prototype et GeneratePress. Chargée après page.css, dans le
   thème seulement — le prototype ne la lit pas. Elle efface ce que GeneratePress
   ajoute autour du contenu (conteneur, marges, titre, article) pour que les
   sections du prototype touchent les bords, et neutralise les styles de blocs qui
   contrediraient la charte. */

/* --- Le contenu touche les bords, comme le prototype --------------------------- */
.site-content,
.content-area,
.site-main,
.inside-article,
.entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
}
.site-main > article { margin: 0; }
.separate-containers .inside-article,
.one-container .inside-article { padding: 0; }
.entry-content > * + * { margin-top: 0; }

/* --- Les blocs natifs reprennent la charte ------------------------------------- */
.entry-content h1,
.entry-content h2,
.entry-content h3 { margin: 0; }
.entry-content p { margin-bottom: 0; }
.entry-content ul,
.entry-content ol { margin: 0; }
.entry-content ul[class],
.entry-content ol[class] { list-style: none; padding: 0; }
.entry-content a:not([class]) { color: inherit; }

/* Le bloc Paragraphe de l'éditeur peut porter nos classes de prose. */
.entry-content .prose > * + * { margin-top: calc(var(--fs-body) * 1.2); }

/* --- Le menu de GeneratePress ne sert pas : son bouton mobile non plus ---------- */
.menu-toggle,
.main-navigation,
.site-footer .inside-site-info,
.site-info { display: none; }

/* --- Le bloc Bouton natif porte nos classes de pilule sur son enveloppe --------- */
.wp-block-button.pill { display: inline-block; }
.wp-block-button.pill > .wp-block-button__link {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font: inherit;
  text-decoration: none;
}
.wp-block-buttons { gap: 0.75rem; }

/* --- La FAQ en blocs natifs n'a pas de <details> : les lignes restent ouvertes, le
   titre 3 et la réponse dans la même rangée sauge. Pas de chevron. --------------- */
.faq__item.wp-block-group { padding: 0.8rem 1.1rem; }
.faq__item.wp-block-group h3 { font-family: var(--ff-heading); font-size: var(--fs-body); font-weight: 600; }
.faq__item.wp-block-group p { margin-top: 0.4rem; }
