/**
 * Testimonials Feagin Leadership — front-end styles.
 *
 * All selectors are namespaced under .tfl- to avoid theme/Elementor conflicts.
 */

.tfl-testimonials {
	--tfl-body-size: 27px;
	--tfl-body-lh: 41px;
	--tfl-author-size: 18px;
	--tfl-author-lh: 27px;
	--tfl-dot: #022150;
	--tfl-body-color: rgb(0, 0, 0);
	--tfl-author-color: rgb(2, 33, 80);
	--tfl-gap: 1.5rem;

	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
	overflow-y: visible;
	text-align: center;
}

.tfl-testimonials *,
.tfl-testimonials *::before,
.tfl-testimonials *::after {
	box-sizing: border-box;
}

.tfl-testimonials .tfl-swiper {
	width: 100%;
	overflow: hidden;
	padding-bottom: 4px;
}

/* Auto-height: wrapper/slides grow with content — no fixed height */
.tfl-testimonials .tfl-swiper .swiper-wrapper {
	align-items: flex-start;
}

.tfl-testimonials .tfl-slide {
	height: auto;
	box-sizing: border-box;
	text-align: center;
}

.tfl-testimonials .tfl-quote {
	margin: 0;
	padding: 0 0 var(--tfl-gap);
	border: 0;
	background: transparent;
	quotes: none;
	text-align: center;
}

.tfl-testimonials .tfl-body {
	font-family: Roboto, sans-serif;
	font-weight: 400;
	font-style: italic;
	font-size: var(--tfl-body-size);
	line-height: var(--tfl-body-lh);
	color: var(--tfl-body-color);
	margin: 0;
	text-align: center;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.tfl-testimonials .tfl-body p {
	margin: 0 0 0.85em;
	text-align: center;
}

.tfl-testimonials .tfl-body p:last-child {
	margin-bottom: 0;
}

.tfl-testimonials .tfl-author {
	margin: 1.15em 0 0;
	padding: 0;
	text-align: center;
}

.tfl-testimonials .tfl-author-name {
	display: block;
	font-family: "Roboto Slab", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: var(--tfl-author-size);
	line-height: var(--tfl-author-lh);
	color: var(--tfl-author-color);
	text-align: center;
}

/* Pagination dots — centered, no arrows */
.tfl-testimonials .tfl-pagination {
	position: static !important;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 0.35rem;
	padding: 6px 0 8px;
	width: 100% !important;
	min-height: 20px;
	transform: none !important;
	overflow: visible;
	line-height: 1;
}

.tfl-testimonials .tfl-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	background: var(--tfl-dot);
	opacity: 0.35;
	border-radius: 50%;
	flex-shrink: 0;
	transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.tfl-testimonials .tfl-pagination .swiper-pagination-bullet-active {
	width: 11px;
	height: 11px;
	opacity: 1;
}

.tfl-empty {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	color: #333;
}

/* Tablet — proportional scale */
@media (max-width: 1024px) {
	.tfl-testimonials {
		--tfl-body-size: 24px;
		--tfl-body-lh: 36px;
		--tfl-author-size: 17px;
		--tfl-author-lh: 26px;
		--tfl-gap: 1.25rem;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.tfl-testimonials {
		--tfl-body-size: 21px;
		--tfl-body-lh: 32px;
		--tfl-author-size: 16px;
		--tfl-author-lh: 24px;
		--tfl-gap: 1rem;
	}

	.tfl-testimonials .tfl-pagination {
		gap: 7px;
	}

	.tfl-testimonials .tfl-pagination .swiper-pagination-bullet {
		width: 7px;
		height: 7px;
	}
}

@media (max-width: 480px) {
	.tfl-testimonials {
		--tfl-body-size: 20px;
		--tfl-body-lh: 30px;
	}
}
