/* =========================================================
   Theme4 Mobile Home Spacing — V5
   Exact 12px left/right alignment with no viewport overflow.
   Mobile only.
   ========================================================= */

@media (max-width: 767.98px) {
	.t4-home,
	.t4-home .t4-builder-home {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.t4-home .t4-builder-home {
		padding-left: 16px !important;
		padding-right: 16px !important;
		overflow-x: hidden;
	}

	/*
	 * Bootstrap .row normally uses negative horizontal margins.
	 * On the builder this was cancelling the 12px mobile padding and
	 * creating a few pixels of page-level horizontal movement.
	 */
	.t4-home .t4-builder-home > .t4-builder-row,
	.t4-home .t4-builder-home #rowslider {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	.t4-home .t4-builder-home > .t4-builder-row > .row,
	.t4-home .t4-builder-home #rowslider > .row {
		--bs-gutter-x: 0px;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.t4-home .t4-builder-home > .t4-builder-row > .row > [class*="col-"],
	.t4-home .t4-builder-home #rowslider > .row > [class*="col-"] {
		min-width: 0;
		max-width: 100%;
	}
}
