.bb-trust-bar {
	position: relative;
	z-index: 1;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	padding: var(--bb-space-4xl) var(--bb-space-xl);
	background-color: var(--bb-color-bg-base);
}

.bb-trust-bar__top-divider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 46.15%, rgba(255, 255, 255, 0) 100%);
}

.bb-trust-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--bb-space-xl);
	max-width: 1240px;
	margin: 0 auto;
}

.bb-trust-bar__text {
	margin: 0;
	font-family: var(--bb-font-display);
	font-weight: 500;
	font-size: clamp(19.6px, calc(14.42px + 0.379vw), 21.7px);
	line-height: 1.2;
	color: var(--bb-color-text-primary);
	max-width: 720px;
}

.bb-trust-bar__highlight {
	display: block;
	font-weight: 700;
	color: var(--bb-color-accent-primary);
}

.bb-trust-bar__logo-carousels {
	display: flex;
	align-items: center;
	gap: var(--bb-space-xl);
	margin-right: var(--bb-space-5xl);
}

.bb-trust-bar__logo-carousel {
	position: relative;
	height: 49px;
	width: 258px;
	max-width: 100%;
}

.bb-trust-bar__logo-carousel .bb-trust-bar__logo-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	filter: brightness(0) invert(1) blur(10px);
	--bb-logo-correction-scale: 1;
	--bb-logo-correction-y: 0px;
	--bb-logo-state-scale: 0.92;
	transform: translateY(var(--bb-logo-correction-y)) scale(var(--bb-logo-correction-scale)) scale(var(--bb-logo-state-scale));
	transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
	pointer-events: none;
}

.bb-trust-bar__logo-slide.is-active {
	opacity: 1;
	filter: brightness(0) invert(1) blur(0);
	--bb-logo-state-scale: 1;
}

.bb-trust-bar__logo-slide.is-leaving {
	opacity: 0;
	filter: brightness(0) invert(1) blur(14px);
	--bb-logo-state-scale: 1.15;
}

.bb-trust-bar__logo-carousel .bb-trust-bar__logo-slide--isf {
	--bb-logo-correction-scale: 1.402;
	--bb-logo-correction-y: 20.1%;
}

@media (max-width: 1024px) {
	.bb-trust-bar__inner {
		justify-content: center;
		text-align: center;
	}

	.bb-trust-bar__text {
		max-width: 100%;
	}

	.bb-trust-bar__logo-carousels {
		margin-right: 0;
	}
}

@media (max-width: 767px) {
	.bb-trust-bar {
		padding: var(--bb-space-2xl) var(--bb-space-lg);
	}

	.bb-trust-bar__inner {
		gap: var(--bb-space-xl);
	}

	.bb-trust-bar__text {
		font-size: 14px;
	}

	.bb-trust-bar__logo-carousels {
		gap: var(--bb-space-xs);
	}

	.bb-trust-bar__logo-carousel {
		height: 33px;
		width: 177px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb-trust-bar__logo-slide {
		transition: none;
	}
}
