.elementor-widget-ter-testimonials,
.elementor-widget-ter-testimonials > .elementor-widget-container,
.ter-testimonials-slider {
	overflow: visible;
}

.ter-testimonials-slider {
	--ter-testimonials-base-width: 100%;
	--ter-testimonials-viewport-width: 100%;
	position: relative;
	width: 100%;
}

.ter-testimonials-slider,
.ter-testimonials-slider * {
	box-sizing: border-box;
}

.ter-testimonials__viewport {
	width: var(--ter-testimonials-viewport-width);
	max-width: none;
	overflow-x: auto;
	overflow-y: hidden;
	outline: 0;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ter-testimonials__viewport::-webkit-scrollbar {
	display: none;
}

.ter-testimonials__viewport:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.ter-testimonials {
	--ter-testimonials-card-width: 520px;
	display: flex;
	width: var(--ter-testimonials-base-width);
	min-width: var(--ter-testimonials-base-width);
	gap: 44px;
}

.ter-testimonials__card {
	display: flex;
	min-width: 0;
	min-height: 260px;
	flex: 0 0 min(var(--ter-testimonials-card-width), calc(100vw - 32px));
	flex-direction: column;
	padding: 30px;
	border: 1px solid #16334c;
	background: #071c31;
	scroll-snap-align: start;
}

.ter-testimonials__stars {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	color: #ffd400;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 1px;
}

.ter-testimonials__star {
	display: block;
}

.ter-testimonials__star--empty {
	opacity: 0.25;
}

.ter-testimonials__quote {
	display: block;
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	margin-block: 0 28px;
	margin-inline: 0;
	color: #dce4ee;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.32;
}

.ter-testimonials__quote > :first-child {
	margin-top: 0;
}

.ter-testimonials__quote > :last-child {
	margin-bottom: 0;
}

.ter-testimonials__member {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.ter-testimonials__avatar {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	overflow: hidden;
	place-items: center;
	border-radius: 50%;
	background: #06172a;
	color: #174a72;
}

.ter-testimonials__avatar svg {
	display: block;
	width: 58%;
	height: 58%;
}

.ter-testimonials__avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ter-testimonials__identity {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.ter-testimonials__name {
	display: block;
	margin: 0;
	color: #fff;
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.ter-testimonials__subtitle {
	display: block;
	margin-top: 3px;
	color: #8da0b5;
	font-size: 11px;
	line-height: 1.3;
}

.ter-testimonials__navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.ter-testimonials__navigation[hidden] {
	display: none;
}

.ter-testimonials__arrow {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid #16334c;
	border-radius: 50%;
	background: #071c31;
	color: #fff;
	cursor: pointer;
	transition: opacity 180ms ease, transform 180ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.ter-testimonials__arrow svg {
	display: block;
	width: 48%;
	height: 48%;
}

.ter-testimonials__arrow:hover:not(:disabled) {
	transform: translateY(-2px);
}

.ter-testimonials__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ter-testimonials__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.ter-testimonials__notice {
	padding: 16px 18px;
	border: 1px dashed #b6bcc4;
	background: #f7f8f9;
	color: #2c3338;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

@media (max-width: 1024px) {
	.ter-testimonials {
		--ter-testimonials-card-width: 380px;
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.ter-testimonials {
		--ter-testimonials-card-width: 86vw;
		gap: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ter-testimonials__viewport {
		scroll-behavior: auto;
	}

	.ter-testimonials__arrow {
		transition: none;
	}
}
