.mouldcam-testimonials {
	--mc-green: #92963a;
	--mc-green-dark: #717624;
	--mc-text: #4f5357;
	--mc-surface: #f5f5ee;
	--mc-border: #d9dac4;
	--mc-mark: #dfe0c3;
	--mc-max-width: 900px;
	--mc-min-height: 220px;
	--mc-padding-y: 40px;
	--mc-padding-x: 54px;
	--mc-quote-size: 21px;
	--mc-radius: 18px;
	--mc-font: inherit;
	position: relative;
	width: 100%;
	max-width: var(--mc-max-width);
	margin-inline: auto;
	color: var(--mc-text);
	font-family: var(--mc-font);
}

.mouldcam-testimonials__viewport {
	position: relative;
	background: var(--mc-surface);
	min-height: var(--mc-min-height);
	border: 1px solid var(--mc-border);
	border-radius: var(--mc-radius);
	overflow: hidden;
}

.mouldcam-testimonials__slide {
	display: grid;
	min-height: var(--mc-min-height);
	align-items: stretch;
}

.mouldcam-testimonials__slide[hidden] {
	display: none;
}

.mouldcam-testimonials__slide--with-image {
	grid-template-columns: minmax(230px, 34%) 1fr;
}

.mouldcam-testimonials__image {
	min-height: var(--mc-min-height);
	background: #e8e9dc;
}

.mouldcam-testimonials__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: var(--mc-min-height);
	object-fit: cover;
}

.mouldcam-testimonials__content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--mc-padding-y) var(--mc-padding-x);
}

.mouldcam-testimonials__quote-mark {
	position: absolute;
	top: 18px;
	left: clamp(25px, 4vw, 50px);
	color: var(--mc-mark);
	font-family: Georgia, serif;
	font-size: 7rem;
	line-height: 1;
	pointer-events: none;
}

.mouldcam-testimonials__quote {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--mc-text);
	font-size: var(--mc-quote-size);
	font-weight: 400;
	line-height: 1.6;
}

.mouldcam-testimonials__quote p {
	margin: 0 0 0.85em;
}

.mouldcam-testimonials__quote p:last-child {
	margin-bottom: 0;
}

.mouldcam-testimonials__attribution {
	margin-top: 26px;
}

.mouldcam-testimonials__name {
	display: block;
	color: var(--mc-green-dark);
	font-size: 1.05rem;
	font-style: normal;
	font-weight: 700;
}

.mouldcam-testimonials__details {
	display: block;
	margin-top: 3px;
	color: #777b7e;
	font-size: 0.92rem;
}

.mouldcam-testimonials__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 18px;
}

.mouldcam-testimonials__arrow,
.mouldcam-testimonials__dot {
	appearance: none;
	box-sizing: border-box;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	font-family: inherit;
	text-transform: none;
	cursor: pointer;
}

.mouldcam-testimonials__arrow {
	display: grid;
	flex: 0 0 38px;
	width: 38px !important;
	height: 38px !important;
	place-items: center;
	border: 1px solid var(--mc-green) !important;
	background: transparent !important;
	color: var(--mc-green-dark) !important;
	font-size: 25px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.mouldcam-testimonials__arrow:hover,
.mouldcam-testimonials__arrow:focus-visible {
	background: var(--mc-green) !important;
	color: #fff !important;
}

.mouldcam-testimonials__dots {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 2px;
}

.mouldcam-testimonials__dot {
	flex: 0 0 9px;
	width: 9px !important;
	height: 9px !important;
	border: 0 !important;
	background: #c8c9b8 !important;
	transition: background-color 160ms ease, transform 160ms ease;
}

.mouldcam-testimonials__dot:hover,
.mouldcam-testimonials__dot:focus-visible,
.mouldcam-testimonials__dot.is-active {
	background: var(--mc-green) !important;
	transform: scale(1.25);
}

.mouldcam-testimonials button:focus-visible {
	outline: 3px solid rgba(146, 150, 58, 0.4);
	outline-offset: 3px;
}

.mouldcam-testimonials-empty {
	padding: 18px;
	border-left: 4px solid #92963a;
	background: #f5f5ee;
}

@media (max-width: 767px) {
	.mouldcam-testimonials__slide--with-image {
		grid-template-columns: 1fr;
	}

	.mouldcam-testimonials__image,
	.mouldcam-testimonials__image img {
		min-height: 220px;
		max-height: 320px;
	}

	.mouldcam-testimonials__content {
		padding: max(28px, var(--mc-padding-y)) max(24px, var(--mc-padding-x));
	}

	.mouldcam-testimonials__quote-mark {
		top: 12px;
		left: 18px;
		font-size: 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mouldcam-testimonials *,
	.mouldcam-testimonials *::before,
	.mouldcam-testimonials *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
