/* L1 Testimonials — 1200px content, no desktop side padding */

.elementor-widget-l1_testimonials,
.elementor-widget-l1_testimonials > .elementor-widget-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.l1-tm {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: transparent;
	--l1-tm-purple: #3d1f5c;
	--l1-tm-gap: 18px;
}

.l1-tm__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.l1-tm__header {
	text-align: center;
	margin: 0 0 36px;
	padding: 0;
}

.l1-tm__eyebrow {
	margin: 0 0 10px;
	padding: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #a67c52;
}

.l1-tm__heading {
	margin: 0;
	padding: 0;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #1a1a1a;
}

.l1-tm__rule {
	display: block;
	width: 56px;
	height: 4px;
	margin: 14px auto 0;
	padding: 0;
	border: 0;
	background: var(--l1-tm-purple);
}

.l1-tm__carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.l1-tm__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.l1-tm__track {
	display: flex;
	gap: var(--l1-tm-gap);
	margin: 0;
	padding: 2px;
	will-change: transform;
	transition: transform 0.4s ease;
}

.l1-tm-card {
	flex: 0 0 calc((100% - (var(--l1-tm-gap) * 2)) / 3);
	box-sizing: border-box;
	margin: 0;
	padding: 28px 26px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	min-height: 250px;
}

.l1-tm-card__mark {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 0.7;
	color: rgba(61, 31, 92, 0.45);
}

.l1-tm-card__quote {
	margin: 0 0 22px;
	padding: 0;
	flex: 1 1 auto;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: #333333;
}

.l1-tm-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.l1-tm-card__avatar {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--l1-tm-purple);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.l1-tm-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.l1-tm-card__name {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.l1-tm-card__loc {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: #555555;
}

.l1-tm-arrow {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid #d9d9d9;
	border-radius: 50%;
	background: #ffffff;
	color: var(--l1-tm-purple);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.l1-tm-arrow:hover {
	border-color: var(--l1-tm-purple);
	background: #f7f4fb;
}

.l1-tm-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
}

.l1-tm-dot {
	width: 9px;
	height: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(61, 31, 92, 0.22);
	cursor: pointer;
}

.l1-tm-dot.is-active {
	background: var(--l1-tm-purple);
}

@media (max-width: 991px) {
	.elementor-widget-l1_testimonials > .elementor-widget-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.l1-tm__inner {
		padding-left: 20px;
		padding-right: 20px;
		box-sizing: border-box;
	}

	.l1-tm-card {
		flex-basis: calc((100% - var(--l1-tm-gap)) / 2);
		min-height: 240px;
		padding: 24px 20px 20px;
	}

	.l1-tm-arrow {
		width: 38px;
		height: 38px;
	}
}

@media (max-width: 640px) {
	.elementor-widget-l1_testimonials > .elementor-widget-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.l1-tm__inner {
		padding-left: 20px;
		padding-right: 20px;
		box-sizing: border-box;
	}

	.l1-tm__carousel {
		gap: 6px;
	}

	.l1-tm-card {
		flex-basis: 100%;
		min-height: 0;
	}

	.l1-tm-card__mark {
		font-size: 54px;
	}

	.l1-tm-arrow {
		display: none;
	}
}
