.fz-ig-marquee {
	overflow: hidden;
	width: 100%;
	padding: var(--fz-pad, 20px) 0;
}
.fz-ig-marquee.fz-fade {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fz-ig-track {
	display: flex;
	width: max-content;
	animation: fz-ig-scroll var(--fz-speed, 40s) linear infinite;
}
.fz-ig-marquee.fz-reverse .fz-ig-track { animation-direction: reverse; }
.fz-ig-marquee.fz-pause:hover .fz-ig-track { animation-play-state: paused; }

.fz-ig-group {
	display: flex;
	align-items: center;
	gap: var(--fz-gap, 40px);
	padding-right: var(--fz-gap, 40px);
	flex-shrink: 0;
}
/* Any wrapper the builder injects between group and items should not break the row. */
.fz-ig-group > *:not(.fz_ig_marquee_item):not(.fz-ig-empty) { display: contents; }
.fz-ig-group .fz_ig_marquee_item {
	margin: 0 !important;
	flex-shrink: 0;
	width: auto !important;
}
.fz-ig-clone { pointer-events: none; }

.fz-ig-item {
	display: flex;
	align-items: center;
	gap: var(--fz-inner-gap, 16px);
	text-decoration: none !important;
	flex-shrink: 0;
}
.fz-ig-item img,
.fz-ig-img-placeholder {
	width: var(--fz-img-w, 100px);
	height: var(--fz-img-h, 96px);
	max-width: none;
	object-fit: cover;
	border-radius: var(--fz-radius, 4px);
	display: block;
	flex-shrink: 0;
}
.fz-ig-img-placeholder { background: #e8e4df; }
.fz-ig-text {
	font-size: var(--fz-font, 22px);
	font-weight: var(--fz-weight, 500);
	font-family: var(--fz-family, inherit);
	color: var(--fz-text, #111);
	white-space: nowrap;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.fz-ig-text em {
	font-style: normal;
	color: var(--fz-handle, #9a9a9a);
	transition: color .2s ease;
}
.fz-ig-item:hover .fz-ig-text em { color: var(--fz-handle-hover, #111); }

.fz-ig-empty {
	padding: 30px;
	text-align: center;
	border: 1px dashed #ccc;
	color: #777;
	min-width: 300px;
}

@keyframes fz-ig-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (max-width: 980px) {
	.fz-ig-item img, .fz-ig-img-placeholder {
		width: calc(var(--fz-img-w, 100px) * 0.8);
		height: calc(var(--fz-img-h, 96px) * 0.8);
	}
	.fz-ig-text { font-size: calc(var(--fz-font, 22px) * 0.85); }
}
@media (max-width: 767px) {
	.fz-ig-item img, .fz-ig-img-placeholder {
		width: calc(var(--fz-img-w, 100px) * 0.7);
		height: calc(var(--fz-img-h, 96px) * 0.7);
	}
	.fz-ig-text { font-size: calc(var(--fz-font, 22px) * 0.72); }
	.fz-ig-group { gap: calc(var(--fz-gap, 40px) * 0.6); padding-right: calc(var(--fz-gap, 40px) * 0.6); }
}
@media (prefers-reduced-motion: reduce) {
	.fz-ig-track { animation: none; }
}
