.bhn-testimonials,
.bhn-testimonials-showcase,
.bhn-testimonials-submit {
	--bhn-purple: #5f2dbd;
	--bhn-purple-dark: #35106e;
	--bhn-purple-soft: #f5f1fc;
	--bhn-gold: #f9bd00;
	--bhn-gold-soft: #fff7d7;
	--bhn-ink: #1d1734;
	--bhn-muted: #655f72;
	--bhn-line: #ded5ed;
	box-sizing: border-box;
	color: var(--bhn-ink);
	font-family: inherit;
}

.bhn-testimonials *,
.bhn-testimonials *::before,
.bhn-testimonials *::after,
.bhn-testimonials-showcase *,
.bhn-testimonials-showcase *::before,
.bhn-testimonials-showcase *::after,
.bhn-testimonials-submit *,
.bhn-testimonials-submit *::before,
.bhn-testimonials-submit *::after {
	box-sizing: border-box;
}

.bhn-testimonials-page {
	width: min(1220px, calc(100% - 40px));
	margin: 36px auto 72px;
}

.bhn-testimonials-page-active main .entry-header,
.bhn-testimonials-page-active .page-title {
	display: none;
}

.bhn-testimonials h1,
.bhn-testimonials h2,
.bhn-testimonials-showcase h2,
.bhn-testimonials-submit h2 {
	margin: 0;
	color: var(--bhn-ink);
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.06;
}

.bhn-testimonials p,
.bhn-testimonials-showcase p,
.bhn-testimonials-submit p {
	color: var(--bhn-muted);
	font-size: 17px;
	line-height: 1.72;
}

.bhn-testimonials-eyebrow {
	margin: 0 0 14px !important;
	color: var(--bhn-purple) !important;
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.35 !important;
	text-transform: uppercase;
}

.bhn-testimonials-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
	gap: 58px;
	align-items: end;
	overflow: hidden;
	padding: clamp(48px, 7vw, 84px);
	border-radius: 30px;
	background:
		radial-gradient(circle at 90% 10%, rgba(249, 189, 0, 0.28), transparent 29%),
		linear-gradient(135deg, #24103f 0%, #54239e 60%, #7137c5 100%);
	box-shadow: 0 28px 70px rgba(42, 20, 73, 0.19);
}

.bhn-testimonials-hero::after {
	position: absolute;
	right: -90px;
	bottom: -180px;
	width: 370px;
	height: 370px;
	border: 46px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
}

.bhn-testimonials-hero__copy,
.bhn-testimonials-hero__principles {
	position: relative;
	z-index: 1;
}

.bhn-testimonials-hero .bhn-testimonials-eyebrow {
	color: var(--bhn-gold) !important;
}

.bhn-testimonials-hero h1 {
	max-width: 780px;
	color: #fff;
	font-size: clamp(42px, 6vw, 76px);
}

.bhn-testimonials-hero__copy > p:last-child {
	max-width: 760px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(18px, 2vw, 21px);
}

.bhn-testimonials-hero__principles {
	display: grid;
	gap: 12px;
}

.bhn-testimonials-hero__principles span {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, 0.21);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	backdrop-filter: blur(8px);
}

.bhn-testimonials-hero__principles span::before {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 50%;
	background: var(--bhn-gold);
	color: var(--bhn-purple-dark);
	content: "✓";
	font-weight: 900;
}

.bhn-testimonials-showcase,
.bhn-testimonials-submit {
	width: min(1220px, calc(100% - 40px));
	margin: 32px auto 0;
	padding: clamp(34px, 5vw, 60px);
	border: 1px solid #e8e0f2;
	border-radius: 28px;
	background: var(--bhn-purple-soft);
}

.bhn-testimonials-page > .bhn-testimonials-showcase,
.bhn-testimonials-page > .bhn-testimonials-submit {
	width: 100%;
}

.bhn-testimonials-section-heading {
	display: flex;
	gap: 28px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 30px;
}

.bhn-testimonials-section-heading h2,
.bhn-testimonials-submit h2 {
	font-size: clamp(32px, 4.4vw, 52px);
}

.bhn-testimonial-motion-toggle {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid var(--bhn-purple);
	border-radius: 999px;
	background: #fff;
	color: var(--bhn-purple);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
}

.bhn-testimonial-motion-toggle:hover,
.bhn-testimonial-motion-toggle:focus-visible {
	background: var(--bhn-purple);
	color: #fff;
}

.bhn-testimonial-marquee {
	overflow: hidden;
	margin-inline: calc(clamp(34px, 5vw, 60px) * -1);
	padding-inline: clamp(34px, 5vw, 60px);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.bhn-testimonial-track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.bhn-testimonial-group {
	display: flex;
	gap: 22px;
	padding-right: 22px;
}

.bhn-testimonial-marquee.is-animated .bhn-testimonial-track {
	animation: bhn-testimonial-scroll var(--bhn-testimonial-duration, 48s) linear infinite;
}

.bhn-testimonials-showcase:hover .bhn-testimonial-track,
.bhn-testimonials-showcase:focus-within .bhn-testimonial-track,
.bhn-testimonials-showcase.is-paused .bhn-testimonial-track {
	animation-play-state: paused;
}

@keyframes bhn-testimonial-scroll {
	to { transform: translateX(-50%); }
}

.bhn-testimonial-card {
	display: flex;
	width: clamp(290px, 31vw, 380px);
	min-height: 300px;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px;
	border: 1px solid var(--bhn-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(53, 16, 110, 0.08);
}

.bhn-testimonial-card__person {
	display: flex;
	gap: 14px;
	align-items: center;
}

.bhn-testimonial-card__person img,
.bhn-testimonial-card__placeholder {
	display: grid;
	width: 62px;
	height: 62px;
	flex: 0 0 62px;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bhn-gold), #ffe589);
	box-shadow: 0 0 0 2px var(--bhn-gold);
	color: var(--bhn-purple-dark);
	font-size: 24px;
	font-weight: 850;
	object-fit: cover;
}

.bhn-testimonial-card__person strong,
.bhn-testimonial-card__person span {
	display: block;
}

.bhn-testimonial-card__person strong {
	color: var(--bhn-ink);
	font-size: 17px;
}

.bhn-testimonial-card__person div > span {
	margin-top: 3px;
	color: var(--bhn-muted);
	font-size: 14px;
}

.bhn-testimonial-card blockquote {
	position: relative;
	margin: 30px 0 0;
	padding: 0;
	border: 0;
	color: #363044;
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.65;
}

.bhn-testimonial-card blockquote > span {
	position: absolute;
	top: -23px;
	left: -2px;
	color: var(--bhn-gold);
	font-family: Georgia, serif;
	font-size: 52px;
	line-height: 1;
}

.bhn-testimonials-empty {
	padding: 30px;
	border: 1px dashed #c9b6e7;
	border-radius: 20px;
	background: #fff;
	text-align: center;
}

.bhn-testimonials-empty strong {
	font-size: 20px;
}

.bhn-testimonials-empty p {
	max-width: 670px;
	margin: 8px auto 0;
}

.bhn-testimonials-submit {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
	background: linear-gradient(135deg, #fffaf0, var(--bhn-gold-soft));
}

.bhn-testimonials-submit__intro {
	position: sticky;
	top: 130px;
}

.bhn-testimonials-submit__intro > p:not(.bhn-testimonials-eyebrow) {
	margin: 20px 0 0;
}

.bhn-testimonials-form-images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: minmax(220px, 1.25fr) minmax(120px, 0.7fr);
	gap: 12px;
	margin-top: 30px;
}

.bhn-testimonials-form-image {
	position: relative;
	overflow: hidden;
	min-height: 0;
	margin: 0;
	border: 3px solid #fff;
	border-radius: 18px;
	background: #e8def7;
	box-shadow: 0 14px 34px rgba(53, 16, 110, 0.14);
}

.bhn-testimonials-form-image--1 {
	grid-column: 1 / -1;
}

.bhn-testimonials-form-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.bhn-testimonials-form-image:hover img {
	transform: scale(1.035);
}

.bhn-testimonials-form-image figcaption {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	background: rgba(42, 15, 76, 0.86);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
	backdrop-filter: blur(8px);
}

.bhn-testimonials-review-note {
	margin-top: 30px;
	padding: 22px;
	border-left: 4px solid var(--bhn-gold);
	border-radius: 0 16px 16px 0;
	background: rgba(255, 255, 255, 0.78);
}

.bhn-testimonials-review-note strong {
	display: block;
	margin-bottom: 10px;
	font-size: 17px;
}

.bhn-testimonials-review-note ol {
	margin: 0;
	padding-left: 20px;
	color: var(--bhn-muted);
	font-size: 15px;
	line-height: 1.65;
}

.bhn-testimonials-form-card {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid #ead794;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(79, 52, 14, 0.08);
}

.bhn-testimonial-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.bhn-testimonial-field,
.bhn-testimonial-field > span:first-child {
	display: block;
}

.bhn-testimonial-field > span:first-child {
	margin-bottom: 8px;
	color: var(--bhn-ink);
	font-size: 15px;
	font-weight: 750;
}

.bhn-testimonial-field b,
.bhn-testimonial-consent b {
	color: #a51f36;
}

.bhn-testimonial-field--full {
	grid-column: 1 / -1;
}

.bhn-testimonial-field input[type="text"],
.bhn-testimonial-field input[type="email"],
.bhn-testimonial-field input[type="file"],
.bhn-testimonial-field select,
.bhn-testimonial-field textarea {
	width: 100%;
	max-width: none;
	margin: 0;
	border: 1px solid #cfc5dd;
	border-radius: 11px;
	background: #fff;
	color: var(--bhn-ink);
	font: inherit;
}

.bhn-testimonial-field input[type="text"],
.bhn-testimonial-field input[type="email"],
.bhn-testimonial-field select,
.bhn-testimonial-field textarea {
	padding: 13px 14px;
}

.bhn-testimonial-field input:focus,
.bhn-testimonial-field select:focus,
.bhn-testimonial-field textarea:focus {
	border-color: var(--bhn-purple);
	outline: 3px solid rgba(95, 45, 189, 0.14);
	box-shadow: none;
}

.bhn-testimonial-field textarea {
	min-height: 180px;
	resize: vertical;
}

.bhn-testimonial-field small,
.bhn-testimonial-upload small {
	display: block;
	margin-top: 7px;
	color: var(--bhn-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.bhn-testimonial-upload {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px dashed #c7b4e4;
	border-radius: 14px;
	background: var(--bhn-purple-soft);
}

.bhn-testimonial-photo-preview {
	display: grid;
	width: 88px;
	height: 88px;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: #e8def7;
	color: var(--bhn-purple);
	font-size: 12px;
	font-weight: 750;
	text-align: center;
}

.bhn-testimonial-photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bhn-testimonial-consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	margin: 24px 0;
	color: #4d4658;
	font-size: 14px;
	line-height: 1.55;
}

.bhn-testimonial-consent input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--bhn-purple);
}

.bhn-testimonial-consent a {
	color: var(--bhn-purple);
	font-weight: 700;
	text-decoration: underline;
}

.bhn-testimonial-submit-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--bhn-purple);
	box-shadow: 0 10px 24px rgba(95, 45, 189, 0.2);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
}

.bhn-testimonial-submit-button:hover,
.bhn-testimonial-submit-button:focus-visible {
	background: var(--bhn-purple-dark);
	transform: translateY(-1px);
}

.bhn-testimonial-submit-button:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.bhn-testimonial-notice {
	margin-bottom: 24px;
	padding: 15px 18px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.55;
}

.bhn-testimonial-notice.is-success {
	border: 1px solid #79c596;
	background: #effaf3;
	color: #125d2e;
}

.bhn-testimonial-notice.is-error {
	border: 1px solid #e19aa6;
	background: #fff2f4;
	color: #8b1830;
}

.bhn-testimonial-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
	.bhn-testimonial-marquee {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.bhn-testimonial-marquee.is-animated .bhn-testimonial-track {
		animation: none;
	}

	.bhn-testimonial-motion-toggle {
		display: none;
	}
}

@media (max-width: 900px) {
	.bhn-testimonials-hero,
	.bhn-testimonials-submit {
		grid-template-columns: 1fr;
	}

	.bhn-testimonials-hero {
		gap: 34px;
	}

	.bhn-testimonials-hero__principles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bhn-testimonials-hero__principles span {
		border-radius: 15px;
	}

	.bhn-testimonials-submit__intro {
		position: static;
	}

	.bhn-testimonials-form-images {
		grid-template-rows: minmax(260px, 1.4fr) minmax(150px, 0.7fr);
	}
}

@media (max-width: 640px) {
	.bhn-testimonials-page,
	.bhn-testimonials-showcase,
	.bhn-testimonials-submit {
		width: min(100% - 24px, 1220px);
	}

	.bhn-testimonials-page {
		margin-top: 18px;
		margin-bottom: 48px;
	}

	.bhn-testimonials-hero,
	.bhn-testimonials-showcase,
	.bhn-testimonials-submit {
		padding: 28px 20px;
		border-radius: 20px;
	}

	.bhn-testimonials-page > .bhn-testimonials-showcase,
	.bhn-testimonials-page > .bhn-testimonials-submit {
		width: 100%;
	}

	.bhn-testimonials-hero h1 {
		font-size: clamp(38px, 13vw, 54px);
	}

	.bhn-testimonials-hero__principles,
	.bhn-testimonial-form-grid {
		grid-template-columns: 1fr;
	}

	.bhn-testimonial-field--full {
		grid-column: auto;
	}

	.bhn-testimonials-section-heading {
		align-items: start;
		flex-direction: column;
	}

	.bhn-testimonial-marquee {
		margin-inline: -20px;
		padding-inline: 20px;
	}

	.bhn-testimonial-card {
		width: min(82vw, 340px);
	}

	.bhn-testimonials-form-card {
		padding: 22px 18px;
	}

	.bhn-testimonial-upload {
		grid-template-columns: 1fr;
	}

	.bhn-testimonials-form-images {
		grid-template-rows: 220px 120px;
	}
}
