.ts-wrap {
	background: #e9e4da;
	padding: 90px 24px 70px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}
.ts-wrap *,
.ts-wrap *::before,
.ts-wrap *::after {
	box-sizing: border-box;
}
.ts-inner {
	max-width: 1380px;
	margin: 0 auto;
}

.ts-heading {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2;
	color: #2b2620;
	margin: 0 0 22px;
}
.ts-heading-rule {
	width: 64px;
	height: 2px;
	background: #c89a63;
	margin-bottom: 56px;
}

/* ---- Swiper shell ---- */
.ts-swiper {
	padding: 20px 0 56px;
	overflow: hidden;
}
.ts-swiper .swiper-wrapper {
	align-items: stretch;
}

.ts-slide {
	position: relative;
	z-index: 1;
	width: 78%;
	max-width: 440px;
	background: #faf8f3;
	border-radius: 2px;
	padding: 44px 40px 36px;
	display: flex;
	flex-direction: column;
	min-height: 430px;
	box-shadow: 0 20px 45px -18px rgba(30, 25, 15, 0.18);
	transform: scale(0.78);
	opacity: 0;
	transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}
/* .ts-slide.swiper-slide-prev,
.ts-slide.swiper-slide-next {
	z-index: 2;
}
.ts-slide.swiper-slide-active {
	z-index: 3;
	transform: scale(1) !important;
	opacity: 1 !important;
} */

.ts-quote-mark {
	font-family: Georgia, serif;
	font-size: 52px;
	line-height: 1;
	color: #b98a52;
	opacity: 0.55;
	display: block;
	margin-bottom: 14px;
}
.ts-slide.swiper-slide-active .ts-quote-mark {
	opacity: 0.9;
}

.ts-quote {
	font-size: 18px;
	line-height: 1.6;
	color: #2b2620;
	margin: 0 0 28px;
	flex-grow: 1;
}

.ts-rule {
	width: 36px;
	height: 1px;
	background: #d8d2c4;
	margin-bottom: 18px;
}

.ts-person {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ts-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #4a4238;
	color: #f3ede0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}
.ts-avatar-img {
	background-size: cover;
	background-position: center;
}
.ts-name {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2b2620;
}
.ts-role {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b98a52;
	margin-top: 3px;
}

/* ---- controls ---- */
.ts-controls {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 8px;
}
.ts-arrow {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: transparent;
	color: #6b6459;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	padding: 0;
}
.ts-arrow:hover {
	background: #4a4238;
	border-color: #4a4238;
	color: #f3ede0;
}

.ts-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
}
.ts-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 3px;
	border-radius: 2px;
	background: #cfc7b7;
	opacity: 1;
	margin: 0;
	transition: width 0.25s ease, background 0.25s ease;
	cursor: pointer;
}
.ts-pagination .swiper-pagination-bullet-active {
	width: 28px;
	background: #c89a63;
}
#testimonial-continer .ts-slide.swiper-slide-active, 
#testimonial-continer .ts-slide.third-inactive-slide {
    opacity: 0.38 !important;
}
#testimonial-continer .ts-slide.swiper-slide-next, 
#testimonial-continer .ts-slide.second-inactive-slide {
    opacity: .5;
    z-index: 3;
    transform: scale(.9);
}

#testimonial-continer .ts-slide.first-inactive-slide {
    opacity: 1;
    z-index: 99;
    transform: scale(1);
}

@media (max-width: 768px) {
	.ts-heading {
		font-size: 32px;
	}
	.ts-slide {
		width: 88% !important;
		padding: 34px 26px 28px;
	}
	.ts-wrap {
		padding: 60px 16px 50px;
	}
}
