/* New Marquee – Elementor widget */

.nm-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #faf7ef;
	padding: 40px 0;
}

.nm-marquee *,
.nm-marquee *::before,
.nm-marquee *::after {
	box-sizing: border-box;
}

/* Track holds two identical groups; moving it -50% loops seamlessly */
.nm-track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	animation-name: nm-scroll;
	animation-duration: 40s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	will-change: transform;
}

.nm-group {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: center;
}

.nm-item {
	flex-shrink: 0;
	margin: 0 58px 0 0; /* gap is margin-right so the loop stays exact */
	padding: 0;
}

.nm-item a {
	display: block;
	line-height: 0;
}

.nm-item img {
	display: block;
	width: 148px;
	height: 148px;
	max-width: none;
	object-fit: cover;
	border-radius: 50%;
	user-select: none;
	-webkit-user-drag: none;
	transition: transform .3s ease;
}

/* Stop on hover */
.nm-marquee--pause:hover .nm-track {
	animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
	.nm-track { animation: none; }
}

@media (max-width: 767px) {
	.nm-item img {
		width: 110px;
		height: 110px;
	}
	.nm-item {
		margin-right: 32px;
	}
}
