.cts-testimonial-slider {
	position: relative;
	padding: 0 50px;
}

.cts-testimonial-slider .swiper {
	overflow: hidden;
}

.cts-testimonial-slide {
	height: auto;
}
.cts-testimonial-text{
    height:220px;
}
.cts-testimonial-card {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	padding: 30px 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cts-testimonial-media {
	position: relative;
	height: 220px;
	margin-bottom: 18px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.cts-testimonial-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
}

.cts-testimonial-media video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
	background: #000;
}

.cts-testimonial-media iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	border-radius: 8px;
}

.cts-testimonial-text {
	font-size: 15px;
	line-height: 1.7;
	color: #444444;
	margin-bottom: 20px;
	flex-grow: 1;
}

.cts-testimonial-text p:last-child {
	margin-bottom: 0;
}

.cts-testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.cts-testimonial-author-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.cts-testimonial-author-name {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
}

.cts-testimonial-author-position {
	font-size: 13px;
	color: #888888;
	margin: 2px 0 0;
}

/* Navigation arrows */
.cts-testimonial-slider .cts-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e2e2;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s ease, color 0.2s ease;
	color: #333333;
}

.cts-testimonial-slider .cts-nav-btn:hover {
	background: #222222;
	color: #ffffff;
	border-color: #222222;
}

.cts-testimonial-slider .cts-nav-prev {
	left: 0;
}

.cts-testimonial-slider .cts-nav-next {
	right: 0;
}

.cts-testimonial-slider .cts-nav-btn.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Pagination dots */
.cts-testimonial-slider .swiper-pagination {
	position: static;
	margin-top: 24px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.cts-testimonial-slider .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #d5d5d5;
	opacity: 1;
	border-radius: 50%;
	transition: background 0.2s ease, width 0.2s ease;
}

.cts-testimonial-slider .swiper-pagination-bullet-active {
	background: #222222;
	width: 22px;
	border-radius: 5px;
}

/* Tablet */
@media (max-width: 1024px) {
	.cts-testimonial-slider {
		padding: 0 44px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.cts-testimonial-slider {
		padding: 0 36px;
	}
	.cts-testimonial-slider .cts-nav-btn {
		width: 36px;
		height: 36px;
	}
	.cts-testimonial-card {
		padding: 22px 18px;
	}
	.cts-testimonial-media {
		height: 180px;
	}
}