.bsp-testimonials {
	--bsp-testimonial-bg: var(--bsp-bg, #faf9f5);
	--bsp-testimonial-card: #fff;
	--bsp-testimonial-heading: var(--bsp-blue, #201b51);
	--bsp-testimonial-copy: var(--bsp-text, #5b5552);
	--bsp-testimonial-accent: var(--bsp-yellow, #fcb040);
	background: var(--bsp-testimonial-bg);
	box-sizing: border-box;
	color: var(--bsp-testimonial-copy);
	width: 100%;
}

.bsp-testimonials--surface {
	--bsp-testimonial-bg: var(--bsp-surface, #f0efe9);
}

.bsp-testimonials--navy {
	--bsp-testimonial-bg: var(--bsp-blue, #201b51);
	--bsp-testimonial-card: rgba(255, 255, 255, .08);
	--bsp-testimonial-heading: #fff;
	--bsp-testimonial-copy: #fff;
	--bsp-testimonial-accent: var(--bsp-yellow, #fcb040);
}

.bsp-testimonials--yellow {
	--bsp-testimonial-bg: var(--bsp-yellow, #fcb040);
	--bsp-testimonial-card: rgba(255, 255, 255, .5);
}

.bsp-testimonials--red {
	--bsp-testimonial-bg: var(--bsp-red-readable, #aa0e13);
	--bsp-testimonial-card: rgba(255, 255, 255, .09);
	--bsp-testimonial-heading: #fff;
	--bsp-testimonial-copy: #fff;
	--bsp-testimonial-accent: var(--bsp-yellow, #fcb040);
}

.bsp-testimonials__track {
	display: grid;
	gap: clamp(18px, 2.4vw, 32px);
	grid-template-columns: repeat(var(--bsp-testimonial-columns, 3), minmax(0, 1fr));
}

.bsp-testimonials--scroll .bsp-testimonials__track {
	display: flex;
	overflow-x: auto;
	padding: 4px 4px 20px;
	scroll-snap-type: x mandatory;
}

.bsp-testimonials--scroll .bsp-testimonial-card {
	flex: 0 0 min(86vw, 390px);
	scroll-snap-align: start;
}

.bsp-testimonial-card {
	background: var(--bsp-testimonial-card);
	border-top: 6px solid var(--bsp-testimonial-accent);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.bsp-testimonial-card__photo {
	aspect-ratio: 4 / 3;
	background: var(--bsp-surface, #f0efe9);
	overflow: hidden;
}

.bsp-testimonial-card__photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bsp-testimonial-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(24px, 3vw, 38px);
}

.bsp-testimonial-card blockquote {
	border: 0;
	margin: 0;
	padding: 0;
}

.bsp-testimonial-card blockquote p {
	color: var(--bsp-testimonial-heading);
	font-family: "Inria Serif", Georgia, serif;
	font-size: clamp(21px, 1.8vw, 29px);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.32;
	margin: 0;
}

.bsp-testimonial-card blockquote p::before {
	color: var(--bsp-testimonial-accent);
	content: "“";
}

.bsp-testimonial-card blockquote p::after {
	color: var(--bsp-testimonial-accent);
	content: "”";
}

.bsp-testimonial-card__outcome {
	border-left: 3px solid var(--bsp-testimonial-accent);
	color: var(--bsp-testimonial-copy);
	font-size: 14px;
	line-height: 1.55;
	margin: 22px 0 0;
	padding-left: 14px;
}

.bsp-testimonial-card__disclosure {
	color: var(--bsp-testimonial-copy);
	font-size: 12px;
	line-height: 1.5;
	margin: 16px 0 0;
}

.bsp-testimonial-card footer {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	gap: 3px;
	line-height: 1.4;
	margin-top: auto;
	padding-top: 28px;
}

.bsp-testimonial-card footer strong {
	color: var(--bsp-testimonial-heading);
	font-size: 15px;
}

.bsp-testimonial-card__source {
	font-size: 12px;
	margin-top: 5px;
	opacity: .78;
}

.bsp-testimonial-card__source a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.bsp-testimonials__empty {
	border: 1px dashed currentColor;
	padding: 24px;
}

.bsp-testimonial-form {
	background: var(--bsp-surface, #f0efe9);
	box-sizing: border-box;
	display: grid;
	gap: 24px;
	margin-inline: auto;
	max-width: 980px;
	padding: clamp(24px, 5vw, 64px);
}

.bsp-testimonial-form__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsp-testimonial-form label:not(.bsp-testimonial-form__choice) {
	display: grid;
	font-weight: 700;
	gap: 8px;
}

.bsp-testimonial-form input[type="text"],
.bsp-testimonial-form input[type="email"],
.bsp-testimonial-form input[type="number"],
.bsp-testimonial-form input[type="file"],
.bsp-testimonial-form select,
.bsp-testimonial-form textarea {
	background: #fff;
	border: 1px solid rgba(32, 27, 81, .35);
	border-radius: 0;
	box-sizing: border-box;
	color: #272727;
	font: inherit;
	padding: 13px 14px;
	width: 100%;
}

.bsp-testimonial-form textarea {
	resize: vertical;
}

.bsp-testimonial-form small,
.bsp-testimonial-form__privacy {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.bsp-testimonial-form fieldset {
	border: 1px solid rgba(32, 27, 81, .18);
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 20px;
}

.bsp-testimonial-form legend {
	color: var(--bsp-blue, #201b51);
	font-weight: 700;
	padding-inline: 8px;
}

.bsp-testimonial-form__choice {
	align-items: flex-start;
	display: flex;
	gap: 9px;
	line-height: 1.45;
}

.bsp-testimonial-form__choice input {
	margin-top: .3em;
}

.bsp-testimonial-form__trap {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bsp-testimonial-form__actions {
	display: flex;
	justify-content: center;
	width: 100%;
}

.bsp-testimonial-form__submit,
.bsp-google-review-button {
	margin-inline: auto;
}

.bsp-testimonial-form__notice {
	border-left: 6px solid var(--bsp-blue, #201b51);
	margin: 0 auto 24px;
	max-width: 980px;
	padding: 18px 22px;
}

.bsp-testimonial-form__notice p {
	margin-bottom: 0;
}

.bsp-testimonial-form__google {
	border-top: 1px solid rgba(32, 27, 81, .18);
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
}

.bsp-testimonial-form__google p + p {
	margin-top: 10px;
}

.bsp-testimonial-form__notice.is-success {
	background: rgba(252, 176, 64, .18);
	border-color: var(--bsp-yellow, #fcb040);
}

.bsp-testimonial-form__notice.is-error {
	background: rgba(170, 14, 19, .08);
	border-color: var(--bsp-red-readable, #aa0e13);
}

@media (max-width: 900px) {
	.bsp-testimonials__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bsp-testimonials--columns-1 .bsp-testimonials__track {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.bsp-testimonials__track,
	.bsp-testimonial-form__grid {
		grid-template-columns: 1fr;
	}

	.bsp-testimonial-form {
		padding: 24px 20px;
	}
}
