.igc-2268-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.igc-2268-container {
	display: flex;
	flex-direction: column;
	gap: 20px; /* Overridden by widget settings */
}

.igc-2268-marquee {
	display: flex;
	overflow: hidden;
	width: 100%;
}

.igc-2268-track {
	display: flex;
	gap: 20px; /* Overridden by widget settings */
	width: max-content;
	animation: igc-2268-scroll 20s linear infinite;
}

.igc-2268-wrapper:hover .igc-2268-track {
	animation-play-state: paused;
}

/* Alternate row direction if needed */
.igc-2268-track.igc-2268-reverse {
	animation-direction: reverse;
}

.igc-2268-item {
	flex: 0 0 250px; /* Overridden by widget settings */
	display: flex;
	justify-content: center;
	align-items: center;
}

.igc-2268-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: 0; /* Overridden by widget settings */
}

@keyframes igc-2268-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		/* Translate by exactly half the track width (one set of images) + half the gap */
		transform: translateX(calc(-50% - (var(--gap, 20px) / 2)));
	}
}

/* We use a tiny hack to pass the dynamic gap to the keyframe */
.igc-2268-track {
	/* The gap is applied inline via Elementor, so we need to ensure the math works.
	   A simpler approach for pure CSS is just -50% if the gap is applied only between items, 
	   but because it's a flex gap, -50% works perfectly when the DOM nodes are exactly duplicated. */
}

@keyframes igc-2268-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}