.bvi-carousel {
	position: relative;
	width: 100%;
	min-width: 0;
}

.bvi-carousel-swiper {
	width: 100%;
	overflow: hidden;
}

.bvi-carousel .swiper-slide {
	height: auto;
}

.bvi-carousel-figure {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	background: #f2f2f2;
}

.bvi-carousel-link {
	display: block;
	width: 100%;
	height: 100%;
}

.bvi-carousel-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.bvi-carousel-link:hover .bvi-carousel-image,
.bvi-carousel-link:focus-visible .bvi-carousel-image {
	transform: scale(1.045);
}

.bvi-carousel-link:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: -3px;
}

.bvi-carousel-arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	transform: translateY(-50%);
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 4px;
	background: rgb(255 255 255 / 94%);
	box-shadow: 0 2px 9px rgb(0 0 0 / 18%);
	color: #222;
	cursor: pointer;
	transition: background-color 160ms ease, opacity 160ms ease;
}

.bvi-carousel-arrow:hover,
.bvi-carousel-arrow:focus-visible {
	background: #fff;
}

.bvi-carousel-arrow:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.bvi-carousel-arrow svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.bvi-carousel-prev {
	left: 8px;
}

.bvi-carousel-next {
	right: 8px;
}

.bvi-carousel-arrow.swiper-button-disabled {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.bvi-carousel-arrow {
		width: 36px;
		height: 36px;
	}

	.bvi-carousel-arrow svg {
		width: 21px;
		height: 21px;
	}

	.bvi-carousel-prev {
		left: 5px;
	}

	.bvi-carousel-next {
		right: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bvi-carousel-image,
	.bvi-carousel-arrow {
		transition: none;
	}
}
