/**
 * Testimonial Slider Elementor Plugin Stylesheet
 * Matching exact reference design with background overlay, elegant serif typography,
 * quote marks, flex author info with circular avatars, and rectangular glowing pagination blocks.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

.tse-slider-container {
	position: relative;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	box-sizing: border-box;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 80px 40px;
}

.tse-slider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(74, 46, 18, 0.78);
	z-index: 1;
	pointer-events: none;
}

.tse-slider-header,
.tse-swiper-wrapper-outer {
	position: relative;
	z-index: 2;
}

/* ==========================================
   HEADER TITLE
   ========================================== */
.tse-slider-header {
	text-align: center;
	margin-bottom: 50px;
}

.tse-slider-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 52px;
	font-weight: 500;
	line-height: 1.15;
	color: #F8F4F0;
	margin: 0;
	padding: 0;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   SWIPER SLIDER CONTAINER
   ========================================== */
.tse-swiper-slider {
	width: 100%;
	padding-bottom: 50px !important; /* Spacing for pagination */
	overflow: hidden;
}

.tse-slide {
	height: auto;
	display: flex;
}

/* ==========================================
   TESTIMONIAL CARD
   ========================================== */
.tse-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background-color: transparent;
	padding: 24px 20px;
	box-sizing: border-box;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tse-quote-mark {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 56px;
	line-height: 0.8;
	color: #F8F4F0;
	margin-bottom: 24px;
	opacity: 0.95;
	user-select: none;
}

.tse-quote-text {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.65;
	color: #E8E2DC;
	margin-bottom: 36px;
	flex-grow: 1;
	letter-spacing: 0.1px;
}

/* ==========================================
   AUTHOR ROW & AVATAR
   ========================================== */
.tse-author-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 10px;
}

.tse-author-info {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex: 1;
}

.tse-author-dash {
	color: #D6CCC2;
	font-size: 15px;
	font-weight: 300;
}

.tse-author-name {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #E8E2DC;
	line-height: 1.4;
}

.tse-avatar-wrapper {
	flex-shrink: 0;
}

.tse-avatar-img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	display: block;
	transition: transform 0.3s ease;
}

.tse-card:hover .tse-avatar-img {
	transform: scale(1.05);
}

.tse-rating {
	color: #FFC107;
	font-size: 16px;
	margin-top: 12px;
	letter-spacing: 2px;
}

/* ==========================================
   PAGINATION (BLOCKS & DOTS)
   ========================================== */
.tse-pagination {
	position: absolute !important;
	bottom: 0 !important;
	left: 0;
	width: 100% !important;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	z-index: 10;
}

/* Rectangular Blocks Style (Matches prompt reference image) */
.tse-pagination-rectangles .swiper-pagination-bullet {
	width: 14px;
	height: 14px;
	border-radius: 2px;
	background-color: rgba(217, 149, 78, 0.5);
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.tse-pagination-rectangles .swiper-pagination-bullet-active {
	background-color: #E59B4C;
	transform: scale(1.15);
	box-shadow: 0 0 12px rgba(229, 155, 76, 0.6);
}

/* Dots Style */
.tse-pagination-dots .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.4);
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s ease;
}

.tse-pagination-dots .swiper-pagination-bullet-active {
	background-color: #FFFFFF;
	transform: scale(1.3);
}

/* Bars Style */
.tse-pagination-bars .swiper-pagination-bullet {
	width: 28px;
	height: 4px;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, 0.35);
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s ease;
}

.tse-pagination-bars .swiper-pagination-bullet-active {
	background-color: #E59B4C;
	width: 40px;
}

/* ==========================================
   NAVIGATION ARROWS
   ========================================== */
.tse-nav-arrow {
	color: #F8F4F0 !important;
	width: 44px !important;
	height: 44px !important;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(4px);
	border-radius: 50%;
	transition: background 0.3s ease, transform 0.3s ease;
}

.tse-nav-arrow:after {
	font-size: 18px !important;
	font-weight: bold;
}

.tse-nav-arrow:hover {
	background: rgba(229, 155, 76, 0.8);
	transform: scale(1.1);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
	.tse-slider-container {
		padding: 60px 24px;
	}
	.tse-slider-title {
		font-size: 42px;
	}
	.tse-quote-text {
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	.tse-slider-container {
		padding: 40px 16px;
	}
	.tse-slider-title {
		font-size: 32px;
	}
	.tse-slider-header {
		margin-bottom: 36px;
	}
	.tse-quote-mark {
		font-size: 44px;
		margin-bottom: 16px;
	}
	.tse-quote-text {
		font-size: 14px;
		margin-bottom: 24px;
	}
	.tse-avatar-img {
		width: 52px;
		height: 52px;
	}
}
