/* Reviews row scrolls by itself, like the "Areas we serve" ticker.
   The class me-rev-marquee is added by me-reviews.js once the Trustindex widget is ready,
   so nothing changes if the script does not run. */
.me-rev-marquee .ti-reviews-container {
	/* the row is moved by this container's scroll position; the scrollbar stays hidden */
	overflow-x: scroll;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: auto !important;
	overscroll-behavior-x: contain;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.me-rev-marquee .ti-reviews-container::-webkit-scrollbar { display: none; }
.me-rev-marquee .ti-reviews-container-wrapper {
	flex-wrap: nowrap !important;
	width: max-content !important;
	max-width: none !important;
	will-change: scroll-position;
	/* nothing may animate the row, or moving a card to the end would be animated
	   backwards — which looks like the row reversing and then catching up */
	transform: none !important;
	transition: none !important;
	animation: none !important;
}
/* Trustindex's own slider animates each card's "left" (Web Animations) and snaps back at the
   end of its run. Pinning left switches that off — an !important rule outranks an animation —
   so the row only moves the way this script moves it. */
.me-rev-marquee .ti-review-item {
	left: 0 !important;
	right: auto !important;
	transition: none !important;
	animation: none !important;
}
/* width comes from Trustindex's own column layout, measured by the script */
.me-rev-marquee .ti-review-item {
	flex: 0 0 var(--me-rev-card) !important;
	width: var(--me-rev-card) !important;
	max-width: none !important;
}

/* a continuous scroll has nothing to step through: hide the arrows (ours and Trustindex's) */
.me-rev-marquee .me-rev-nav,
.me-rev-marquee .ti-controls,
.me-rev-marquee .ti-next,
.me-rev-marquee .ti-prev {
	display: none !important;
}

/* Visitors whose system asks for less motion keep a moving row, just slower (see the script).
   Stopping it completely would leave a dead row, since the arrows are hidden. */