.brv-testimonials,
.brv-testimonials-main {
	box-sizing: border-box;
	color: var(--brv-testimonials-text, #393f45);
	font-family: inherit;
}
.brv-testimonials *,
.brv-testimonials-main * { box-sizing: border-box; }
.brv-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(var(--brv-testimonials-columns, 3), minmax(0, 1fr));
	gap: var(--brv-testimonials-gap, 24px);
}
.brv-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--brv-testimonials-padding, 24px);
	background: var(--brv-testimonials-bg, #fff);
	border: var(--brv-testimonials-border-width, 1px) var(--brv-testimonials-border-style, solid) var(--brv-testimonials-border, #cad0d5);
	border-radius: var(--brv-testimonials-radius, 2px);
	box-shadow: var(--brv-testimonials-shadow, 0 8px 28px rgba(0,0,0,.08));
}
.brv-testimonials--density-compact .brv-testimonial { padding: max(14px, calc(var(--brv-testimonials-padding, 24px) * .72)); }
.brv-testimonials--density-roomy .brv-testimonial { padding: calc(var(--brv-testimonials-padding, 24px) * 1.28); }
.brv-testimonial--highlighted { outline: 3px solid var(--brv-testimonials-accent, #698fb1); outline-offset: 4px; }
.brv-testimonial__highlight-label {
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 4px 9px;
	background: var(--brv-testimonials-accent, #698fb1);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.brv-testimonial__rating { color: var(--brv-testimonials-accent, #698fb1); font-size: var(--brv-testimonial-star-size, 21px); letter-spacing: .12em; line-height: 1; }
.brv-testimonial__stars { position: relative; display: inline-block; }
.brv-testimonial__stars-base { color: #cad0d5; color: color-mix(in srgb, currentColor 28%, transparent); }
.brv-testimonial__stars-fill { position: absolute; inset: 0 auto 0 0; display: block; overflow: hidden; color: currentColor; white-space: nowrap; }
.brv-testimonial__quote { margin: 18px 0 8px; padding: 0; border: 0; font-size: var(--brv-testimonials-quote-size, 18px); line-height: 1.55; }
.brv-testimonial__quote p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--brv-testimonial-clamp, 6);
}
.brv-testimonial__read-more,
.brv-testimonial__inline-more summary,
.brv-testimonial__media-actions button {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--brv-testimonials-accent, #698fb1);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.brv-testimonial__inline-more { margin-top: 8px; }
.brv-testimonial__inline-more summary { display: inline-block; }
.brv-testimonial__inline-quote { margin-top: 14px; line-height: 1.6; }
.brv-testimonial__inline-quote > :first-child { margin-top: 0; }
.brv-testimonial__inline-quote > :last-child { margin-bottom: 0; }
.brv-testimonial__attribution { margin-top: 14px; }
.brv-testimonial__footer { display: flex; flex-direction: column; margin-top: auto; padding-top: 20px; }
.brv-testimonial__customer { margin: 0; font-size: var(--brv-testimonials-attribution-size, 14px); font-weight: 800; }
.brv-testimonial__product { margin: 3px 0 0; color: var(--brv-testimonials-muted, #5f6b75); font-size: var(--brv-testimonials-attribution-size, 14px); }
.brv-testimonial__product a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.brv-testimonial__bottom-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 18px; margin-top: 14px; }
.brv-testimonial__topics { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.brv-testimonial__topics li { padding: 3px 8px; background: #eee; color: #393f45; font-size: 12px; }
.brv-testimonial__media-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; }
.brv-testimonial__links { flex: 0 1 auto; max-width: 48%; font-size: 13px; text-align: right; }
.brv-testimonial__links a,
.brv-testimonial__video-link { color: var(--brv-testimonials-accent, #698fb1); font-weight: 700; }
.brv-testimonials--source-underline .brv-testimonial__links a { text-decoration: underline; }
.brv-testimonials--source-plain .brv-testimonial__links a { text-decoration: none; }
.brv-testimonials--source-button .brv-testimonial__links a { display: inline-block; padding: 6px 10px; border: 1px solid currentColor; text-decoration: none; }
.brv-testimonials--media-indicator-pill .brv-testimonial__media-actions > * { padding: 4px 9px; border: 1px solid var(--brv-testimonials-border, #cad0d5); border-radius: 999px; text-decoration: none; }
.brv-testimonials--featured .brv-testimonial,
.brv-testimonials--media .brv-testimonial { border-top: 5px solid var(--brv-testimonials-accent, #698fb1); }
.brv-testimonials--compact .brv-testimonial { box-shadow: none; }
.brv-testimonial-dialog {
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: var(--brv-testimonials-radius, 2px);
	box-shadow: 0 24px 80px rgba(0,0,0,.35);
	color: var(--brv-testimonials-text, #393f45);
}
.brv-testimonial-dialog::backdrop { background: rgba(0,0,0,.72); }
.brv-testimonial-dialog__inner { position: relative; padding: clamp(24px, 5vw, 52px); background: #fff; }
.brv-testimonial-dialog__close { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0; background: transparent; color: #000; font-size: 34px; line-height: 1; cursor: pointer; }
.brv-testimonial-dialog__quote { font-size: 18px; line-height: 1.65; }
.brv-testimonial-gallery figure { margin: 20px 0 0; }
.brv-testimonial-gallery img { display: block; width: 100%; max-height: 65vh; object-fit: contain; background: #eee; }
.brv-testimonial-gallery figcaption { margin-top: 8px; color: var(--brv-testimonials-muted, #5f6b75); }
.brv-testimonial-gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.brv-testimonial-gallery__controls button,
.brv-testimonials-filters button,
.brv-testimonials-main__more-link,
.brv-testimonials__more-button {
	padding: 10px 18px;
	border: 1px solid var(--brv-testimonials-accent, #698fb1);
	background: var(--brv-testimonials-accent, #698fb1);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.brv-testimonials-filters { margin-bottom: 34px; padding: 24px; background: #eee; border-left: 5px solid var(--brv-testimonials-accent, #698fb1); }
.brv-testimonials-filters label,
.brv-testimonials-filters legend { font-weight: 700; }
.brv-testimonials-filters select { min-width: min(100%, 280px); margin-top: 6px; }
.brv-testimonials-filters fieldset { margin: 20px 0; padding: 0; border: 0; }
.brv-testimonials-filters__topics { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.brv-testimonials-filters__topics label { font-weight: 400; }
.brv-testimonials-filters__actions { display: flex; align-items: center; gap: 18px; }
.brv-testimonials-main__more { margin: 32px 0; text-align: center; }
.brv-testimonials__more { margin: 26px 0 0; text-align: center; }
.brv-testimonials__more-button[disabled] { opacity: .55; cursor: wait; }
.brv-testimonials-main__clear { margin-bottom: 20px; }
.brv-testimonial :focus-visible,
.brv-testimonial-dialog :focus-visible,
.brv-testimonials-filters :focus-visible,
.brv-testimonials-main__more-link:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
@media (max-width: 900px) { .brv-testimonials__grid { grid-template-columns: repeat(min(2, var(--brv-testimonials-columns, 3)), minmax(0, 1fr)); } }
@media (max-width: 620px) { .brv-testimonials__grid { grid-template-columns: 1fr; } .brv-testimonials-filters__actions { align-items: flex-start; flex-direction: column; } .brv-testimonial__bottom-row { align-items: flex-start; flex-direction: column; } .brv-testimonial__links { max-width: none; text-align: left; } }
@media (prefers-reduced-motion: no-preference) { .brv-testimonial { transition: border-color var(--brv-testimonials-motion, 180ms) ease, box-shadow var(--brv-testimonials-motion, 180ms) ease; } }
@media (prefers-reduced-motion: reduce) { .brv-testimonials *, .brv-testimonial-dialog * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
