/**
 * GUS native homepage — content/slider layout only (header/footer = Total theme sitewide).
 *
 * IMPORTANT: Never restyle #site-header, #top-bar, #site-navigation, or #footer.
 * Broad `.container` rules must NOT apply there — same chrome as interior pages.
 */

/* Contain horizontal overflow without breaking theme JS */
body.gus-native-home .gus-home {
	overflow-x: hidden;
	max-width: 100%;
}

/* Full-width content column only (leave header/top-bar/footer alone) */
body.gus-native-home #content-wrap,
body.gus-native-home #main,
body.gus-native-home #content,
body.gus-native-home .content-area,
body.gus-native-home .entry-content {
	max-width: none;
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0;
	margin-right: 0;
}

/* Only content-area containers — NOT #site-header .container / #top-bar .container */
body.gus-native-home #content-wrap.container,
body.gus-native-home #content-wrap .container,
body.gus-native-home #main > .container,
body.gus-native-home .content-area > .container,
body.gus-native-home .entry-content > .container {
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Slider: full width without viewport hack (fixes left-clipped text) */
body.gus-native-home .gus-home > .gus-home-slider {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	left: auto;
	right: auto;
}

body.gus-native-home .gus-home-slider__content {
	padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

body.gus-native-home .gus-home-slider__copy {
	margin-left: 0;
	margin-right: auto;
	max-width: min(40rem, 100%);
}

body.gus-native-home .gus-home-slider__actions {
	flex-wrap: wrap;
}

body.gus-native-home .gus-home-slider {
	z-index: 1;
}
