/*
 * Scope: Only the nine imported Handwerks-Marketing service and trade pages.
 * The site header/footer retain their normal global layout.  The inner
 * .hm-wrap keeps readable copy at a max. 1280px; background sections span
 * the complete viewport.
 */
body.hm-subpages-full-width #content,
body.hm-subpages-full-width #content > .ast-container,
body.hm-subpages-full-width #content > .ast-container > #primary,
body.hm-subpages-full-width #content > .ast-container > #primary > #main {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

body.hm-subpages-full-width #content > .ast-container {
	padding-left: 0;
	padding-right: 0;
}

body.hm-subpages-full-width #content > .ast-container > #primary,
body.hm-subpages-full-width #content > .ast-container > #primary > #main {
	float: none;
	padding-left: 0;
	padding-right: 0;
}

/* Match the homepage: content starts directly below the global header. */
body.hm-subpages-full-width #content > .ast-container > #primary {
	margin-top: 0;
	margin-bottom: 0;
}

/* Elementor Pro's single-page wrapper must follow the full-width shell. */
body.hm-subpages-full-width #main > .elementor-location-single,
body.hm-subpages-full-width #main > .elementor-location-single > .elementor-element,
body.hm-subpages-full-width #main .elementor-widget-theme-post-content,
body.hm-subpages-full-width #main .elementor-widget-theme-post-content > .elementor-widget-container {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Elementor's single template adds a default 10px horizontal gutter. */
body.hm-subpages-full-width #main > .elementor-location-single > .elementor-element {
	padding-left: 0;
	padding-right: 0;
}

/* Remove Elementor's default 10px vertical gutter on every imported page. */
body.hm-subpages-full-width #main > .elementor-location-single > .e-con.e-parent,
body.hm-subpages-full-width #content .elementor:not(.elementor-location-single) > .e-con.e-parent {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
