/* Tison Testimonials Widget — styles */

.tison-testi-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.tison-testi-wrapper * {
	box-sizing: border-box;
}

.tison-testi-header {
	text-align: center;
	margin-bottom: 40px;
}

.tison-testi-title {
	margin: 0 0 12px;
}

.tison-testi-subtitle {
	margin: 0;
}

.tison-testi-viewport {
	position: relative;
	overflow: hidden;
}

.tison-testi-track {
	display: flex;
	gap: 20px;
	transition: transform 0.45s ease;
	will-change: transform;
}

.tison-testi-card {
	flex: 0 0 calc((100% - (3 * 20px)) / 4);
	background: #eeeeee;
	border-radius: 16px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
}

.tison-testi-quote {
	font-style: italic;
	font-size: 19px;
	line-height: 1.4;
	margin: 0 0 28px;
}

.tison-testi-person {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.tison-testi-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #1b2540;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.tison-testi-avatar svg {
	width: 60%;
	height: 60%;
	fill: #c1272d;
}

.tison-testi-avatar-img {
	object-fit: cover;
	background: none;
}

.tison-testi-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.tison-testi-name {
	font-weight: 700;
	font-size: 17px;
}

.tison-testi-role {
	font-size: 14px;
	color: #2b3a67;
}

/* Dots */
.tison-testi-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
}

.tison-testi-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background-color: #c8c8c8;
	padding: 0;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.tison-testi-dot.is-active {
	background-color: #1b2540;
	transform: scale(1.25);
}

/* Arrows */
.tison-testi-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #1b2540;
	background: #fff;
	color: #1b2540;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tison-testi-arrow-prev {
	left: -8px;
}

.tison-testi-arrow-next {
	right: -8px;
}

/* Responsive: cards-per-view driven by data attribute, with sane fallbacks */
@media (max-width: 1024px) {
	.tison-testi-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}
}

@media (max-width: 600px) {
	.tison-testi-card {
		flex: 0 0 100%;
	}

	.tison-testi-header {
		margin-bottom: 24px;
	}
}
