/* ================================================
   Testimonial Slider Widget — frontend.css
   ================================================ */

.tsw-wrapper {
	position: relative;
	box-sizing: border-box;
}

/* ---- Card ---- */
.tsw-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--tsw-radius, 16px);
	padding: var(--tsw-card-padding, 60px 64px 48px);
	background: var(--tsw-card-bg, linear-gradient(135deg, #003B46 0%, #1a6b4a 50%, #7ecf4a 100%));
	color: #fff;
	min-height: 280px;
}

/* ---- Decorative quote mark ---- */
.tsw-quote-mark {
	position: absolute;
	top: var(--tsw-qm-top, 20px);
	left: var(--tsw-qm-left, 24px);
	font-size: var(--tsw-qm-size, 120px);
	line-height: 1;
	color: var(--tsw-qm-color, rgba(177, 255, 106, 0.25));
	font-family: Georgia, "Times New Roman", serif;
	pointer-events: none;
	user-select: none;
	z-index: 1;
}

/* ---- Slides container ---- */
.tsw-slides {
	position: relative;
	z-index: 2;
	overflow: hidden;
}

.tsw-slide {
	display: none;
	flex-direction: column;
	animation: tswFadeIn 0.4s ease;
}

.tsw-slide.tsw-active {
	display: flex;
}

@keyframes tswFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---- Heading ---- */
.tsw-heading {
	text-align: center;
	margin: 0 0 28px;
	color: var(--tsw-heading-color, #B1FF6A);
}

/* ---- Quote body ---- */
.tsw-body {
	text-align: center;
	margin: 0 0 36px;
	color: var(--tsw-body-color, #ffffff);
	line-height: 1.6;
}

/* ---- Author ---- */
.tsw-author {
	margin-top: auto;
}

.tsw-author-name {
	margin: 0;
	font-weight: 700;
	color: var(--tsw-name-color, #ffffff);
}

.tsw-author-title {
	margin: 4px 0 0;
	color: var(--tsw-title-color, rgba(255,255,255,0.75));
}

/* ---- Navigation arrows ---- */
.tsw-arrows {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	justify-content: flex-end;
	margin-top: 24px;
	position: relative;
	z-index: 3;
}

.tsw-wrapper .tsw-arrows .tsw-arrow {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50% !important;
	border: none !important;
	background-color: #333333;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, transform 0.15s ease;
	padding: 0 !important;
	margin: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	line-height: 1;
	text-decoration: none;
}

.tsw-wrapper .tsw-arrows .tsw-arrow:hover {
	background-color: #555555;
}

.tsw-wrapper .tsw-arrows .tsw-arrow:active {
	transform: scale(0.93);
}

.tsw-wrapper .tsw-arrows .tsw-arrow svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
	.tsw-card {
		padding: 40px 28px 32px;
	}

	.tsw-quote-mark {
		font-size: 80px;
		top: 12px;
		left: 16px;
	}
}
