/* Bright Addons: Testimonial Carousel */
.bafe-testimonial {
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	margin: 0;
	text-align: left;
}

.bafe-testimonial__card {
	position: relative;
	flex: 1;
	padding: 28px;
	border-radius: 14px;
	background-color: #fff;
	box-shadow: 0 6px 24px rgba(20, 16, 60, 0.08);
}

.bafe-testimonial__quote {
	display: block;
	width: 32px;
	height: 24px;
	margin-bottom: 14px;
	color: #d9d5ff;
}

.bafe-testimonial__rating {
	--bafe-star: #ffb400;
	--bafe-star-empty: #e2e2e8;
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1;
}

.bafe-testimonial__stars {
	position: relative;
	display: inline-block;
	color: var(--bafe-star-empty);
	letter-spacing: 2px;
	white-space: nowrap;
}

.bafe-testimonial__stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: var(--bafe-star);
	white-space: nowrap;
}

[dir="rtl"] .bafe-testimonial__stars-fill {
	right: 0;
	left: auto;
}

.bafe-testimonial__content {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.65;
	quotes: none;
}

.bafe-testimonial__content::before,
.bafe-testimonial__content::after {
	content: none;
}

.bafe-testimonial__author {
	display: flex;
	margin: 0;
	font-style: normal;
	align-items: center;
	gap: 12px;
	justify-content: var(--bafe-justify, flex-start);
}

.bafe-testimonial__avatar {
	flex-shrink: 0;
	line-height: 0;
}

.bafe-testimonial__avatar img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.bafe-testimonial__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bafe-testimonial__name {
	font-weight: 700;
}

.bafe-testimonial__title {
	color: #6b6b80;
	font-size: 0.875rem;
}

/* Speech bubble layout */
.bafe-testimonial--bubble .bafe-testimonial__card::after {
	content: "";
	position: absolute;
	bottom: -9px;
	left: 34px;
	width: 18px;
	height: 18px;
	background: inherit;
	transform: rotate(45deg);
}

.bafe-testimonial--bubble .bafe-testimonial__author {
	padding-left: 18px;
}
