/* Testimonials Carousel for Elementor
   ------------------------------------------------------------------ */

.tc-carousel {
	position: relative;
	width: 100%;
}

.tc-carousel .swiper {
	overflow: hidden;
}

.tc-carousel .swiper-slide {
	height: auto;
	display: flex;
}

/* Card ------------------------------------------------------------- */
.tc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #F7F6F1;
	border-radius: 12px;
	padding: 28px;
	box-sizing: border-box;
}

.tc-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tc-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.tc-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tc-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #191919;
	text-decoration: none;
}

a.tc-name:hover {
	text-decoration: underline;
	color: inherit;
}

.tc-role {
	font-size: 14px;
	line-height: 1.3;
	color: #6F6F6B;
}

/* Stars ------------------------------------------------------------ */
.tc-stars {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-top: 18px;
	margin-bottom: 14px;
}

.tc-star {
	position: relative;
	display: inline-flex;
	width: 16px;
	height: 16px;
}

.tc-star svg {
	width: 100%;
	height: 100%;
	display: block;
}

.tc-star--full {
	color: #F2A50C;
}

.tc-star--empty,
.tc-star--half {
	color: #DDD9CE;
}

.tc-star--half .tc-star__fill {
	position: absolute;
	inset: 0;
	width: 50%;
	overflow: hidden;
	color: #F2A50C;
}

.tc-star--half .tc-star__fill svg {
	width: 200%;
	max-width: none;
}

/* Text ------------------------------------------------------------- */
.tc-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #75756F;
}

/* Footer: progress bar + arrows ------------------------------------ */
.tc-footer {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-top: 36px;
}

.tc-carousel .tc-progress.swiper-pagination-progressbar {
	position: relative;
	flex: 1 1 auto;
	height: 2px;
	border-radius: 99px;
	background-color: #E3E1D7;
	overflow: hidden;
	/* neutralize swiper absolute positioning defaults */
	top: auto;
	left: auto;
	width: auto;
}

.tc-carousel .tc-progress .swiper-pagination-progressbar-fill {
	background-color: #191919;
	border-radius: 99px;
}

.tc-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex-shrink: 0;
}

.tc-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid transparent;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.tc-nav__btn svg {
	width: 16px;
	height: 16px;
}

.tc-nav__btn--prev {
	background-color: #FFFFFF;
	border-color: #DCDAD2;
	color: #191919;
}

.tc-nav__btn--next {
	background-color: #173F2C;
	border-color: #173F2C;
	color: #FFFFFF;
}

.tc-nav__btn:focus-visible {
	outline: 2px solid #173F2C;
	outline-offset: 2px;
}

.tc-nav__btn.swiper-button-disabled {
	opacity: .4;
	cursor: default;
	pointer-events: none;
}

/* RTL support ------------------------------------------------------ */
[dir="rtl"] .tc-nav {
	margin-left: 0;
	margin-right: auto;
}

/* Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.tc-nav__btn {
		transition: none;
	}
}

/* Mobile ----------------------------------------------------------- */
@media (max-width: 767px) {
	.tc-footer {
		gap: 16px;
	}
}
