/* D4 Row Scroll v1.5.0
 * Rows become one non-wrapping line. JetEngine's column % width is kept
 * (3 columns = 33.333%), so the 4th card sits off-canvas. No heights forced.
 */

/* Active (set by JS for the current device) */
.d4-rs-on .jet-listing-grid {
	overflow: hidden;
	overflow: clip;
}
.d4-rs-on .jet-listing-grid__items {
	flex-wrap: nowrap !important;
	will-change: transform;
}
.d4-rs-on .jet-listing-grid__item {
	flex-shrink: 0 !important;
}

/* Elementor entrance animations never fire on off-canvas (clipped) cards. */
.d4-rs-on .elementor-invisible {
	visibility: visible !important;
}

/* Section hold: the whole section (heading + rows) is wrapped in one wrapper
 * per row. The section and inner wrappers are sticky; JS sets their top/height. */
.d4-rs-wrap {
	position: relative;
	width: 100%;
	flex: 0 0 auto;
	align-self: stretch;
}
.d4-rs-wrap--sticky,
.d4-rs-section {
	position: sticky !important;
}
