.crespect-testimonials {
	padding: 4rem 0 3rem;
	text-align: center;
	font-family: var(--font-family, "Stabil Grotesk Light"), "Helvetica Neue", Arial, sans-serif;
	--crespect-slide-width: 292px;
	--crespect-slide-gap: 32px;
}

.crespect-testimonials__title {
	margin: 0 0 1.5rem;
	color: var(--color-content-heading, #335131);
	font-family: inherit;
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 400;
	line-height: 1.25;
}

.crespect-testimonials__trusted-label {
	margin: 0 0 1.5rem;
	color: var(--color-content-text, #335131);
	font-size: 0.9rem;
	line-height: 1.4;
}

.crespect-testimonials__logos-wrap {
	width: 100vw;
	max-width: none;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 0 3.5rem;
	padding: 0;
	overflow: visible;
}

.crespect-testimonials__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 3rem;
}

.crespect-testimonials__logos.is-marquee {
	display: block;
	overflow: visible;
}

.crespect-testimonials__logos-track {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 3rem;
	width: max-content;
	animation: crespect-logos-marquee var(--logo-marquee-duration, 30s) linear infinite;
}

.crespect-testimonials__logos.is-marquee:hover .crespect-testimonials__logos-track {
	animation-play-state: paused;
}

.crespect-testimonials__logos-group {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 3rem;
	flex: 0 0 auto;
}

.crespect-testimonials__logos-track .crespect-testimonials__logo-item {
	flex: 0 0 auto;
	width: 150px;
	max-width: 150px;
}

@keyframes crespect-logos-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(calc(-1 * var(--logo-marquee-distance, 50%)), 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.crespect-testimonials__logos-track {
		animation: none;
	}
}

.crespect-testimonials__logo-item {
	max-width: 150px;
	width: 100%;
}

.crespect-testimonials__logo-item img {
	display: block;
	width: 100%;
	max-width: 150px;
	height: auto;
}

.crespect-testimonials__logo-text {
	color: var(--color-content-heading, #335131);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
}

/* Carousel — full viewport width, active slide centered */
.crespect-testimonials__carousel-wrap {
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	overflow: visible;
}

.crespect-testimonials__carousel {
	margin: 0;
	text-align: left;
	overflow: visible;
}

.crespect-testimonials__carousel:not(.owl-loaded) {
	display: grid;
	grid-template-columns: repeat(auto-fill, calc(var(--crespect-slide-width) + var(--crespect-slide-gap)));
	gap: 0;
	padding: 0 2rem;
	justify-content: center;
}

.crespect-testimonials__carousel:not(.owl-loaded) .crespect-testimonial-card {
	min-width: 0;
}

/* Card — slide box includes the gap; visible card is 292px per Figma */
.crespect-testimonial-card {
	width: calc(var(--crespect-slide-width) + var(--crespect-slide-gap));
	max-width: 100%;
}

.crespect-testimonial-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: var(--crespect-slide-width);
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}

/* Company logo / name at top */
.crespect-testimonial-card__logo {
	margin-bottom: 1.1rem;
	max-width: 150px;
	width: 100%;
}

.crespect-testimonial-card__logo img {
	display: block;
	width: 100%;
	max-width: 150px;
	height: auto;
}

.crespect-testimonial-card__logo-text {
	color: var(--color-content-heading, #335131);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

/* Quote — plain text, no box, no quote marks.
   Overrides Impreza theme's global blockquote styling. */
blockquote.crespect-testimonial-card__quote {
	position: static;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	border: 0;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none;
	color: var(--color-content-text, #335131);
	font-family: inherit;
	font-size: 0.95rem;
	font-style: normal;
	line-height: 1.6;
	quotes: none;
	flex: 1 1 auto;
}

blockquote.crespect-testimonial-card__quote:before,
blockquote.crespect-testimonial-card__quote:after {
	content: none !important;
	display: none !important;
}

.crespect-testimonial-card__quote p {
	margin: 0 0 0.75em;
}

.crespect-testimonial-card__quote p:last-child {
	margin-bottom: 0;
}

/* Author row */
.crespect-testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.crespect-testimonial-card__avatar {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	object-fit: cover;
}

.crespect-testimonial-card__author-meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.crespect-testimonial-card__name {
	color: var(--color-content-heading, #335131);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

.crespect-testimonial-card__role {
	color: var(--color-content-faded, #727f9f);
	font-size: 0.85rem;
	line-height: 1.4;
}

/* Button — compact outlined pill */
.crespect-testimonial-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 0.5rem 1.15rem;
	border: 1px solid rgba(51, 81, 49, 0.35);
	border-radius: 999px;
	background: #fff;
	color: var(--color-content-heading, #335131);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* Beat Impreza `.no-touch a:hover` (underline + link color) */
.no-touch .crespect-testimonials .crespect-testimonial-card__btn:hover,
.no-touch .crespect-testimonials .crespect-testimonial-card__btn:focus-visible,
.crespect-testimonials .crespect-testimonial-card__btn:hover,
.crespect-testimonials .crespect-testimonial-card__btn:focus-visible {
	border-color: var(--color-content-heading, #335131);
	color: #fff !important;
	background: var(--color-content-heading, #335131) !important;
	text-decoration: none !important;
}

/* Carousel overrides — allow slides to peek at viewport edges */
.crespect-testimonials .owl-carousel,
.crespect-testimonials .owl-stage-outer,
.crespect-testimonials .owl-stage {
	overflow: visible;
}

/* Slides carousel items — Owl sets widths from the measured card box */
.crespect-testimonials__carousel .owl-item {
	padding: 0;
}

.crespect-testimonials .owl-dots,
.crespect-testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2rem;
}

.crespect-testimonials .owl-dot span,
.crespect-testimonials__dot span {
	display: block;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: rgba(51, 81, 49, 0.25);
	transition: background-color 0.2s ease;
}

.crespect-testimonials .owl-dot,
.crespect-testimonials__dot {
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
}

.crespect-testimonials .owl-dot.active span,
.crespect-testimonials__dot.active span {
	background: var(--color-content-heading, #335131);
}

@media (max-width: 1024px) {
	.crespect-testimonials__carousel:not(.owl-loaded) {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.crespect-testimonials {
		padding-top: 3rem;
	}

	.crespect-testimonials__logos-track,
	.crespect-testimonials__logos-group {
		gap: 2rem;
	}

	/* Mobile testimonials: same slide/gap sizing as desktop, slides peek at edges */
	.crespect-testimonials__carousel-wrap {
		width: 100vw;
		max-width: none;
		left: 50%;
		transform: translateX(-50%);
		margin-left: 0;
		padding: 0;
		overflow: visible;
	}

	.crespect-testimonials__carousel.owl-carousel,
	.crespect-testimonials__carousel .owl-stage-outer,
	.crespect-testimonials__carousel .owl-stage {
		overflow: visible;
	}

	.crespect-testimonials__logos-wrap {
		overflow: visible;
	}

	.crespect-testimonials__carousel:not(.owl-loaded) {
		grid-template-columns: repeat(auto-fill, calc(var(--crespect-slide-width) + var(--crespect-slide-gap)));
		padding: 0 1.25rem;
	}
}
