/*
 * Ajustements du thème LP Formations (chargés après les assets d'origine).
 */

/* Le pied de page suit immédiatement le contenu (correctif repris de l'origine). */
body:not(.page-template-fullwidth-content) .site-content { margin-bottom: 0 !important; }

/* ------------------------------------------------------------------
 * Contenu Gutenberg converti (pages texte)
 * ---------------------------------------------------------------- */

/* Bandes pleine largeur dans un conteneur boxed */
.entry-content .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.lpf-container { max-width: 1140px; margin: 0 auto; padding: 0 10px; }
.lpf-section { padding: 10px 0; }
.lpf-inner-section { margin: 0; }

/* Colonnes : approxime l'espacement Elementor par défaut (10px par colonne) */
.entry-content .wp-block-columns.lpf-cols { gap: 20px; margin-bottom: 0; }

/* Espacement des blocs, proche des widgets Elementor (20px entre widgets) */
.entry-content :where(.wp-block-heading, .wp-block-image, .lpf-text, .wp-block-buttons, .wp-block-list) {
	margin-top: 0;
	margin-bottom: 20px;
}
.entry-content :where(.lpf-text) > p:first-child { margin-top: 0; }
.entry-content :where(.lpf-text) > p:last-child { margin-bottom: 0; }

/* Tableau de tarification : mêmes règles que l'origine */
.lpf-tarification { max-width: 1140px; margin: 0 auto; }
.lpf-tarification tr td { padding: 10px; color: #1f1f1f; }
table.table-formations { width: 100%; }

/* Rangées de cartes de formation générées (justification identique à l'origine) */
.lpf-cards-row > .elementor-container { justify-content: center; }
.lpf-card .elementor-widget-image { text-align: center; }

/* Listing du blog : marge entre cartes */
.posts-list__item { margin-bottom: 40px; }
