.lp-webmo-testimonials {
	color: var(--color-text);
	padding-block: var(--section-padding-y);
	overflow: hidden;
}

.lp-webmo-testimonials--bg-surface,
.lp-webmo-testimonials--bg-white {
	background-color: var(--lp-bg-block-surface);
}

.lp-webmo-testimonials--bg-muted,
.lp-webmo-testimonials--bg-off-white {
	background-color: var(--lp-bg-block-muted);
}

.lp-webmo-testimonials--bg-tint,
.lp-webmo-testimonials--bg-tint-blue {
	background-color: var(--lp-bg-block-tint);
}

.lp-webmo-testimonials--bg-raised {
	background-color: var(--lp-bg-block-raised);
}

.lp-webmo-testimonials .block-contents {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-10);
	width: 100%;
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
	box-sizing: border-box;
}

.lp-webmo-testimonials__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--type-section-stack-gap);
	text-align: left;
	width: 100%;
	box-sizing: border-box;
}

.lp-webmo-testimonials__eyebrow {
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: none;
	color: color-mix(in srgb, var(--color-brand) 70%, transparent);
	margin: 0;
}

.lp-webmo-testimonials__headline {
	font-family: var(--font-body);
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--color-text);
	margin: 0;
	max-width: none;
	word-break: break-word;
	overflow-wrap: break-word;
}

.lp-webmo-testimonials__subtext {
	font-family: var(--font-body);
	font-size: var(--type-section-subtext-size);
	font-weight: var(--type-section-subtext-weight);
	line-height: var(--type-section-subtext-lh);
	color: var(--color-section-subtext);
	margin: 0;
	max-width: min(100%, var(--type-section-lead-max-width));
	text-wrap: wrap;
}

.lp-webmo-testimonials__slider {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-8);
	width: 100%;
	min-width: 0;
}

.lp-webmo-testimonials__track-wrap {
	overflow: visible;
	width: 100%;
	min-width: 0;
	padding-top: var(--space-6);
	box-sizing: border-box;
}

.lp-webmo-testimonials__track {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.lp-webmo-testimonials__track > .lp-webmo-testimonials__card {
	display: none;
	width: 100%;
}

.lp-webmo-testimonials__track > .lp-webmo-testimonials__card.is-active {
	display: flex;
}

@media (prefers-reduced-motion: reduce) {
	.lp-webmo-testimonials__dot::before {
		transition: none;
	}
}

.lp-webmo-testimonials__card {
	position: relative;
	flex-direction: column;
	align-items: stretch;
	min-height: min(26rem, 58vh);
	background: var(--color-surface);
	border: var(--border-width-default) solid var(--color-border-surface);
	border-radius: var(--radius-block-tile);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	padding: var(--space-10) var(--space-10) var(--space-8);
	box-sizing: border-box;
}

.lp-webmo-testimonials__quote-badge {
	position: absolute;
	top: -18px;
	right: var(--space-8);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-full);
	background: var(--color-accent);
	color: var(--color-text-light);
	box-shadow: var(--shadow-sm);
	pointer-events: none;
}

.lp-webmo-testimonials__quote-icon {
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

blockquote.lp-webmo-testimonials__quote-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: min(14rem, 34vh);
	margin: 0;
	padding: var(--space-2) var(--space-2) var(--space-6);
	border: none;
	text-align: center;
}

.lp-webmo-testimonials__quote {
	font-family: var(--font-body);
	font-size: var(--text-xl);
	font-weight: var(--font-normal);
	line-height: 1.65;
	color: var(--color-dark);
	text-align: center;
	padding: 0;
	margin: 0 auto;
	max-width: min(37.5rem, 100%);
	text-wrap: balance;
}

.lp-webmo-testimonials__divider {
	flex-shrink: 0;
	height: 0;
	margin: 0;
	border: 0;
	border-top: var(--border-width-default) solid var(--color-border);
	width: 100%;
	align-self: stretch;
	opacity: 1;
}

.lp-webmo-testimonials__author {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	padding-top: var(--space-6);
	margin: 0;
	border-top: none;
}

.lp-webmo-testimonials__avatar {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-full);
	overflow: hidden;
	background: var(--color-surface-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lp-webmo-testimonials__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lp-webmo-testimonials__avatar--initials {
	background: var(--color-brand);
}

.lp-webmo-testimonials__avatar-initials {
	font-family: var(--font-heading);
	font-weight: var(--font-semibold);
	font-size: var(--text-lg);
	letter-spacing: 0.06em;
	color: var(--color-text-light);
}

.lp-webmo-testimonials__author-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-align: left;
}

.lp-webmo-testimonials__name {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: var(--font-medium);
	color: var(--color-text);
	line-height: var(--leading-snug);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lp-webmo-testimonials__role,
.lp-webmo-testimonials__company {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	font-weight: var(--font-normal);
	color: var(--color-text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lp-webmo-testimonials__nav {
	appearance: none;
	-webkit-appearance: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-full);
	border: none;
	outline: none;
	background: transparent;
	color: var(--color-brand);
	box-shadow: inset 0 0 0 2px var(--color-brand);
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background-color var(--motion-duration-interactive) var(--motion-ease-standard),
		color var(--motion-duration-interactive) var(--motion-ease-standard),
		transform var(--motion-duration-interactive) var(--motion-ease-standard),
		box-shadow var(--motion-duration-interactive) var(--motion-ease-standard);
	-webkit-tap-highlight-color: transparent;
}

.lp-webmo-testimonials__nav:hover {
	background: var(--color-brand);
	color: var(--color-text-light);
	box-shadow: 0 2px 8px rgba(6, 122, 183, 0.18);
	transform: translateY(-1px);
}

.lp-webmo-testimonials__nav:active {
	transform: translateY(0);
	box-shadow: inset 0 0 0 2px var(--color-brand);
}

.lp-webmo-testimonials__nav:focus-visible {
	outline: var(--focus-ring-width) solid var(--focus-ring-color);
	outline-offset: var(--focus-ring-offset);
}

.lp-webmo-testimonials__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	width: 100%;
	max-width: 360px;
	margin-inline: auto;
}

.lp-webmo-testimonials__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-block: var(--space-2);
	min-width: 0;
	flex: 0 1 220px;
}

.lp-webmo-testimonials__dot {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	cursor: pointer;
	position: relative;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.lp-webmo-testimonials__dot::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: rgba(3, 128, 210, 0.25);
	transition: width 0.25s ease, background-color 0.25s ease;
}

.lp-webmo-testimonials__dot--active::before {
	width: 20px;
	background: var(--color-brand);
}

.lp-webmo-testimonials__dot:focus-visible {
	outline: var(--focus-ring-width) solid var(--focus-ring-color);
	outline-offset: var(--focus-ring-offset);
	border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {

	.lp-webmo-testimonials .block-contents {
		flex-direction: row;
		align-items: center;
		gap: var(--space-20);
	}

	.lp-webmo-testimonials__header {
		flex: 0 1 min(448px, 42%);
		align-items: flex-start;
		text-align: left;
		margin-inline: 0;
		max-width: min(448px, 42%);
	}

	.lp-webmo-testimonials__headline {
		text-wrap: wrap;
	}

	.lp-webmo-testimonials__subtext {
		width: 100%;
		max-width: none;
		text-wrap: wrap;
	}

	.lp-webmo-testimonials__slider {
		flex: 1;
		min-width: 0;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.lp-webmo-testimonials {
		padding-block: var(--space-16);
	}

	.lp-webmo-testimonials .block-contents {
		gap: var(--space-8);
		padding-inline: clamp(16px, 4vw, 32px);
	}

	.lp-webmo-testimonials__headline {
		font-size: var(--type-section-title-fluid-sm);
	}

	.lp-webmo-testimonials__track-wrap {
		padding-top: var(--space-5);
	}

	.lp-webmo-testimonials__card {
		min-height: min(22rem, 52vh);
		padding: var(--space-8) var(--space-5) var(--space-6);
	}

	.lp-webmo-testimonials__quote {
		font-size: var(--text-lg);
		line-height: var(--leading-relaxed);
	}

	.lp-webmo-testimonials__quote-badge {
		width: 64px;
		height: 64px;
		top: -14px;
		right: var(--space-5);
	}

	.lp-webmo-testimonials__quote-icon {
		width: 32px;
		height: 32px;
	}

	blockquote.lp-webmo-testimonials__quote-block {
		min-height: min(10rem, 26vh);
		padding-bottom: var(--space-4);
	}

	.lp-webmo-testimonials__controls {
		gap: var(--space-2);
		max-width: 340px;
	}

	.lp-webmo-testimonials__author {
		padding-top: var(--space-5);
		gap: var(--space-4);
		flex-wrap: wrap;
	}

	.lp-webmo-testimonials__name {
		white-space: normal;
	}

	.lp-webmo-testimonials__role,
	.lp-webmo-testimonials__company {
		white-space: normal;
	}

	@media (hover: none) {
		.lp-webmo-testimonials__nav:hover {
			transform: none;
		}
	}
}

@media (max-width: 380px) {
	.lp-webmo-testimonials__controls {
		gap: var(--space-2);
		max-width: 420px;
	}

	.lp-webmo-testimonials__dots {
		width: 100%;
	}

	.lp-webmo-testimonials__track-wrap {
		width: 100%;
	}

	.lp-webmo-testimonials__nav {
		width: 40px;
		height: 40px;
	}
}

[data-theme="dark"] .lp-webmo-testimonials__headline {
	color: var(--color-text-light);
}

[data-theme="dark"] .lp-webmo-testimonials__card {
	background: var(--color-surface);
	border-color: var(--color-border-surface);
}

[data-theme="dark"] .lp-webmo-testimonials__quote {
	color: var(--color-text);
}

[data-theme="dark"] .lp-webmo-testimonials__author {
	border-top-color: var(--color-border-surface);
}

[data-theme="dark"] .lp-webmo-testimonials__name {
	color: var(--color-text);
}

[data-theme="dark"] .lp-webmo-testimonials__quote-badge {
	background: var(--color-accent);
	color: var(--color-text-light);
}
