/* Depoimentos em galeria */

@keyframes testimonials-ticker-up {
	from { transform: translateY(0); }
	to { transform: translateY(calc(-50% - 6px)); }
}

@keyframes testimonials-ticker-down {
	from { transform: translateY(calc(-50% - 6px)); }
	to { transform: translateY(0); }
}

.testimonials-ticker {
	padding: 0;
	background: transparent;

	&.tjsp{
		.testimonials-ticker__viewport::before{
			background: linear-gradient(
				var(--color-cream-light) 0%,
				var(--color-cream-light) 60%,
				transparent 100%
			);

		}
		.testimonials-ticker__viewport::after{
			background: linear-gradient(
				to top,
				var(--color-cream-light) 0%,
				var(--color-cream-light) 60%,
				transparent 100%
			);

		}
	}


	
}

.testimonials-ticker__viewport {
	position: relative;
	height: 720px;
	overflow: hidden;
}

.testimonials-ticker__viewport::before,
.testimonials-ticker__viewport::after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	z-index: 2;
	height: 100px;
	pointer-events: none;
}

.testimonials-ticker__viewport::before {
	top: 0;
	background: linear-gradient(
		var(--color-background-soft) 0%,
		var(--color-background-soft) 60%,
		transparent 100%
	);
}

.testimonials-ticker__viewport::after {
	bottom: 0;
	background: linear-gradient(
		to top,
		var(--color-background-soft) 0%,
		var(--color-background-soft) 60%,
		transparent 100%
	);
}

.testimonials-ticker__columns {
	display: flex;
	width: 100%;
	height: 100%;
	gap: 12px;
	padding: 0;
}

.testimonials-ticker__column {
	width: calc((100% - 24px) / 3);
	height: 100%;
	flex: 0 0 calc((100% - 24px) / 3);
	overflow: hidden;
}

.testimonials-ticker__track,
.testimonials-ticker__set {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.testimonials-ticker__column--1 .testimonials-ticker__track {
	animation: testimonials-ticker-up 55s linear infinite;
}

.testimonials-ticker__column--2 .testimonials-ticker__track {
	animation: testimonials-ticker-down 105s linear infinite;
}

.testimonials-ticker__column--3 .testimonials-ticker__track {
	animation: testimonials-ticker-up 75s linear infinite;
}

.testimonials-ticker__columns:hover .testimonials-ticker__track {
	animation-play-state: paused;
}

.testimonials-ticker__card {
	margin: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	box-shadow: 0 1px 3px var(--color-black-06);
}

.testimonials-ticker__image {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1100px) {
	.testimonials-ticker__column {
		width: calc((100% - 12px) / 2);
		flex-basis: calc((100% - 12px) / 2);
	}

	.testimonials-ticker__column--3 {
		display: none;
	}
}

@media (max-width: 720px) {
	.testimonials-ticker__column {
		width: 100%;
		max-width: none;
		flex-basis: 100%;
	}

	.testimonials-ticker__column--2 {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.testimonials-ticker__track {
		animation-play-state: paused !important;
	}
}
