.trv-testimonials {
	font-family: Poppins, sans-serif;
	background: #ec3aa9;
	padding: 108px 0;
}

.trusted-testimonial .trv-testimonials,
.exp-testimonial .trv-testimonials {
	background: transparent;
	padding: 0;
}

.trv-testimonials__inner {
	position: relative;
	width: min(1235px, calc(100vw - 120px));
	margin: 0 auto;
}

.trv-testimonials__viewport {
	overflow: hidden;
}

.trv-testimonials__track {
	display: flex;
	transition: transform 220ms ease;
	width: 100%;
	overflow: visible;
}

.trv-testimonial {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	min-height: 290px;
	padding: 62px 315px 48px 76px;
	border-radius: 10px;
	background: #fff;
	color: #202020;
}

.trv-testimonial__rule {
	position: absolute;
	top: 38px;
	left: 76px;
	right: 335px;
	height: 2px;
	background: #ec3aa9;
}

.trv-testimonial__quote {
	max-width: 790px;
	font-size: 27px;
	line-height: 1.28;
	font-style: italic;
	font-weight: 400;
}

.trv-testimonial__quote p {
	margin: 0;
}

.trv-testimonial__source {
	margin-top: 30px;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 600;
	text-transform: none;
}

.trv-testimonial__source p {
	margin: 0;
}

.trv-testimonial__mark {
	position: absolute;
	top: -10px;
	right: 48px;
	width: 245px;
	height: 245px;
	background-color: #ec3aa9;
	-webkit-mask: url("/wp-content/plugins/trivoca-testimonials/assets/LargeQuote.svg") center / contain no-repeat;
	mask: url("/wp-content/plugins/trivoca-testimonials/assets/LargeQuote.svg") center / contain no-repeat;
	content: "";
	text-indent: -9999px;
	overflow: hidden;
}

.trv-testimonials__arrow {
	position: absolute;
	z-index: 2;
	bottom: 34px;
	width: 38px;
	height: 52px;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: transparent;
	font-size: 0;
	line-height: 1;
	font-weight: 300;
	cursor: pointer;
	background-color: rgba(32, 32, 32, 0.38) !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: 16px 32px !important;
	mask-size: 16px 32px !important;
	text-indent: -9999px;
	overflow: hidden;
}

.trv-testimonials__arrow--prev {
	left: -14px;
	-webkit-mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-Off.svg") !important;
	mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-Off.svg") !important;
}

.trv-testimonials__arrow--next {
	right: 38px;
	-webkit-mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Next-Off.svg") !important;
	mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Next-Off.svg") !important;
}

.trv-testimonials.is-at-start .trv-testimonials__arrow--prev,
.trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
	opacity: 0.45;
	pointer-events: none;
}

.trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev {
	background-color: rgba(32, 32, 32, 0.68) !important;
	-webkit-mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-On.svg") !important;
	mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-On.svg") !important;
}

.trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next {
	background-color: rgba(32, 32, 32, 0.68) !important;
	-webkit-mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Next-On.svg") !important;
	mask-image: url("/wp-content/plugins/trivoca-testimonials/assets/Next-On.svg") !important;
}

/* QA: quote rotators use the approved mock typography and inactive next arrow. */
.trv-testimonial__quote,
.trv-testimonial__quote p {
	font-size: 27px !important;
	line-height: 1.28 !important;
	font-style: italic !important;
	font-weight: 400 !important;
}

.trv-testimonial__source,
.trv-testimonial__source p {
	font-size: 16px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

.trv-testimonials.is-at-start .trv-testimonials__arrow--prev {
	opacity: 0 !important;
	pointer-events: none !important;
}

.trv-testimonials__arrow--next,
.trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next,
.trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
	right: 38px !important;
	bottom: 34px !important;
	width: 38px !important;
	height: 52px !important;
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Next-Off.svg") center / 16px 32px no-repeat !important;
	background-color: transparent !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 1 !important;
}

.trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
	opacity: 0.45 !important;
	pointer-events: none !important;
}

@media (max-width: 767px) {
	.trv-testimonials {
		padding: 56px 22px;
	}

	.trv-testimonials__inner {
		width: 100%;
	}

	.trv-testimonial {
		min-height: 0;
		padding: 48px 28px 66px;
	}

	.trv-testimonial__rule {
		left: 28px;
		right: 28px;
	}

	.trv-testimonial__quote {
		font-size: 20px;
	}

	.trv-testimonial__mark {
		display: none;
	}
}

/* Final QA 2026-06-23: only the viewport clips the carousel; the moving track must stay visible. */
.trv-testimonials__viewport {
	overflow: hidden !important;
}

.trv-testimonials__track {
	overflow: visible !important;
}

/* Culture testimonial rotator uses the approved SVG arrow states. */
body.page-id-1382 .trv-testimonials__arrow--prev,
body.page-id-1382 .trv-testimonials.is-at-start .trv-testimonials__arrow--prev,
body.page-id-1382 .trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev {
	display: block !important;
	left: 8px !important;
	bottom: 34px !important;
	width: 38px !important;
	height: 52px !important;
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-Off.svg") center / 16px 32px no-repeat !important;
	background-color: transparent !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 1 !important;
}

body.page-id-1382 .trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev {
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-On.svg") center / 16px 32px no-repeat !important;
}

body.page-id-1382 .trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev:hover,
body.page-id-1382 .trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev:focus-visible {
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Previous-Hover.svg") center / 16px 32px no-repeat !important;
}

body.page-id-1382 .trv-testimonials.is-at-start .trv-testimonials__arrow--prev {
	pointer-events: none !important;
}

body.page-id-1382 .trv-testimonials__arrow--next,
body.page-id-1382 .trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next,
body.page-id-1382 .trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
	display: block !important;
	right: 8px !important;
	bottom: 34px !important;
	width: 38px !important;
	height: 52px !important;
	background-color: transparent !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 1 !important;
}

body.page-id-1382 .trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next {
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Next-On.svg") center / 16px 32px no-repeat !important;
}

body.page-id-1382 .trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next:hover,
body.page-id-1382 .trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next:focus-visible {
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Next-Hover.svg") center / 16px 32px no-repeat !important;
}

body.page-id-1382 .trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
	background: url("/wp-content/plugins/trivoca-testimonials/assets/Next-Off.svg") center / 16px 32px no-repeat !important;
	opacity: 1 !important;
	pointer-events: none !important;
}

@media (max-width: 767px) {
	body.page-id-1382 .trv-testimonials,
	body.page-id-1382 .trv-testimonials__viewport {
		overflow: hidden !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.page-id-1382 .trv-testimonials__track {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		transform: none !important;
	}

	body.page-id-1382 .trv-testimonial,
	body.page-id-1382 .trv-testimonial:first-child {
		display: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.page-id-1382 .trv-testimonial.is-active {
		display: block !important;
	}

	body.page-id-1382 .trv-testimonial {
		padding-bottom: 88px !important;
	}

	body.page-id-1382 .trv-testimonial__rule {
		margin-top: 0 !important;
		margin-bottom: 24px !important;
		display: none !important;
	}

	body.page-id-1382 .trv-testimonial__quote,
	body.page-id-1382 .trv-testimonial__quote p {
		font-size: 16px !important;
		line-height: 25px !important;
	}

	body.page-id-1382 .trv-testimonials__arrow--prev,
	body.page-id-1382 .trv-testimonials__arrow--next,
	body.page-id-1382 .trv-testimonials.is-at-start .trv-testimonials__arrow--prev,
	body.page-id-1382 .trv-testimonials:not(.is-at-start) .trv-testimonials__arrow--prev,
	body.page-id-1382 .trv-testimonials.has-multiple-slides:not(.is-at-end) .trv-testimonials__arrow--next,
	body.page-id-1382 .trv-testimonials.has-multiple-slides.is-at-end .trv-testimonials__arrow--next {
		bottom: 14px !important;
	}

	body.page-id-1382 .trv-testimonials__viewport,
	body.page-id-1382 .trv-testimonial {
		min-height: 506px !important;
	}
}
