/* Accessible two-slide carousel using the Lazycat brand language. */
.brand-carousel {
	position: relative;
	min-width: 0;
	overflow: clip;
	background: #292929;
	color: #fff;
	isolation: isolate;
}

.brand-carousel__viewport,
.brand-carousel__slide {
	min-width: 0;
}

.brand-carousel__slide {
	position: relative;
	display: grid;
	min-height: clamp(540px, 44vw, 650px);
	align-items: center;
	background-color: #333;
}

.brand-carousel__image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.brand-carousel__slide::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	background: rgba(28, 28, 28, 0.58);
}

.brand-carousel__slide[hidden] {
	display: none !important;
}

.brand-carousel.is-ready .brand-carousel__slide.is-active {
	animation: fkbj12-carousel-enter 0.35s ease-out both;
}

.brand-carousel__inner {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: inherit;
	align-items: center;
}

.brand-carousel__copy {
	width: 100%;
	max-width: 650px;
	padding: 72px 0 108px;
	text-align: left;
}

.brand-carousel__eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 9px;
	border-left: 5px solid var(--lanmao-brand-highlight);
	background: #fff;
	color: var(--lanmao-primary-deep);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
}

.brand-carousel__title {
	max-width: 650px;
	margin: 0 0 20px;
	color: #fff;
	font-size: 56px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
	text-wrap: balance;
}

.brand-carousel__title::after {
	display: block;
	width: 64px;
	height: 6px;
	margin-top: 20px;
	content: "";
	background: var(--lanmao-brand-highlight);
}

.brand-carousel__text {
	max-width: 590px;
	margin: 0 0 27px;
	color: #f1f1f1;
	font-size: 17px;
	line-height: 1.75;
}

.brand-carousel__controls {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 30px;
	left: 0;
	display: flex;
	align-items: center;
	gap: 9px;
	justify-content: flex-start;
	padding-left: 0;
	pointer-events: none;
}

.brand-carousel__controls button {
	pointer-events: auto;
}

.brand-carousel__arrow {
	display: grid;
	width: 40px;
	height: 40px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 2px;
	background: rgba(34, 34, 34, 0.72);
	color: #fff;
	font-size: 29px;
	line-height: 1;
	cursor: pointer;
}

.brand-carousel__arrow:hover {
	border-color: var(--lanmao-primary);
	background: var(--lanmao-primary);
	color: #fff;
}

.brand-carousel__dots {
	display: flex;
	align-items: center;
	gap: 0;
}

.brand-carousel__dots button {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.brand-carousel__dots button::before {
	position: absolute;
	top: 50%;
	right: 9px;
	left: 9px;
	height: 5px;
	border-radius: 1px;
	background: rgba(255, 255, 255, 0.62);
	content: "";
	transform: translateY(-50%);
}

.brand-carousel__dots button[aria-current="true"]::before {
	background: var(--lanmao-link);
}

@keyframes fkbj12-carousel-enter {
	from { opacity: 0.72; }
	to { opacity: 1; }
}

@media (max-width: 1100px) and (min-width: 769px) {
	.brand-carousel__copy {
		width: min(640px, 100%);
	}

	.brand-carousel__controls {
		padding-left: 0;
	}

	.brand-carousel__title {
		font-size: 50px;
	}
}

@media (max-width: 768px) {
	.brand-carousel__slide {
		min-height: 550px;
	}

	.brand-carousel__image {
		object-position: 58% center;
	}

	.brand-carousel__slide::before {
		background: rgba(28, 28, 28, 0.68);
	}

	.brand-carousel__copy {
		width: min(620px, 92%);
		padding: 62px 0 104px;
	}

	.brand-carousel__title {
		font-size: 44px;
	}

	.brand-carousel__controls {
		bottom: 24px;
		padding-left: 0;
	}
}

@media (max-width: 480px) {
	.brand-carousel__slide {
		min-height: 520px;
	}

	.brand-carousel__image {
		object-position: 62% center;
	}

	.brand-carousel__copy {
		width: 100%;
		padding: 50px 0 96px;
	}

	.brand-carousel__title {
		max-width: 350px;
		font-size: 36px;
		line-height: 1.18;
	}

	.brand-carousel__text {
		max-width: 350px;
		font-size: 15px;
		line-height: 1.65;
	}

	.brand-carousel__arrow {
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.brand-carousel.is-ready .brand-carousel__slide.is-active {
		animation: none;
	}
}
