/**
 * Mylène Digital — pleine largeur sur pages Elementor (évite le contenu “centré” étroit).
 */

body.mylene-theme .site-main,
body.mylene-theme .mylene-front-main,
body.mylene-theme .mylene-city-main,
body.mylene-theme .mylene-seo-main,
body.mylene-theme.mylene-elementor-layout .site-main {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

body.mylene-theme .site-main > .elementor,
body.mylene-theme .site-main .elementor {
	width: 100%;
	max-width: 100%;
}

body.mylene-theme .elementor-section.elementor-top-section {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.mylene-theme .elementor-section > .elementor-container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.mylene-theme .elementor-column,
body.mylene-theme .elementor-col-100,
body.mylene-theme .elementor-top-column,
body.mylene-theme .elementor-widget-wrap {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.mylene-theme .elementor-widget-html .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Elementor 3.x — conteneurs flex */
body.mylene-theme .e-con,
body.mylene-theme .e-con-boxed .e-con-inner {
	--content-width: 100%;
	--container-max-width: 100%;
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* WordPress (thème bloc / layout constrained) */
body.mylene-theme .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.mylene-theme .wp-block-post-content,
body.mylene-theme .entry-content {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Les .container du prototype gardent leur largeur max (1320px) */
body.mylene-theme .elementor-widget-html .container {
	width: 100%;
	max-width: var(--container, 1320px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}

@media (max-width: 720px) {
	body.mylene-theme .elementor-widget-html .container {
		padding-left: 20px;
		padding-right: 20px;
	}
}
