/**
 * LiberArt horizontal content cage (~1200px).
 * Heroes stay full-bleed; Elementor boxed sections are recentered.
 */

:root {
	--liberart-content-max: 1200px;
}

/* Beat Elementor page CSS that widens single sections (e.g. Chi sono 1342px) */
body .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--liberart-content-max) !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Keep Bridge .container_inner / classic wrappers in the same cage */
body.qode_grid_1400 .container_inner,
body.qode_grid_1300 .container_inner,
body.qode_grid_1200 .container_inner,
body .qode_elementor_container_inner,
body .elementor-container .elementor-widget-wrap > .qode_elementor_container_inner,
body .elementor-row .elementor-widget-wrap > .qode_elementor_container_inner {
	width: var(--liberart-content-max);
	max-width: calc(100% - 2.5rem);
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 1024px) {
	body .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 100% !important;
	}
}

@media (max-width: 767px) {
	body .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 100% !important;
	}
}
