/* BC Card Slider — converts an Elementor container of cards into a Swiper carousel */

.bc-card-slider {
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
	padding-bottom: 60px;
}

.bc-card-slider .e-con-inner.swiper {
	display: block !important;
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	padding: 0;
	flex-wrap: nowrap;
	gap: 0;
}

.bc-card-slider .swiper-wrapper {
	display: flex;
	align-items: stretch;
	box-sizing: content-box;
	flex-wrap: nowrap;
	gap: 0;
}

.bc-card-slider .swiper-slide {
	height: auto;
	display: flex;
	flex-direction: column;
}

.bc-card-slider .swiper-slide > .e-con,
.bc-card-slider .swiper-slide > .elementor-element {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.bc-card-slider .swiper-pagination {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -36px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	text-align: center;
	z-index: 2;
}

.bc-card-slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #c8c8c8;
	opacity: 1;
	transition: background-color .2s ease, transform .2s ease;
}

.bc-card-slider .swiper-pagination-bullet-active {
	background: var(--e-global-color-primary, #1a1a1a);
	transform: scale(1.15);
}

.bc-card-slider .bc-card-slider-nav {
	position: absolute;
	top: calc(50% - 30px);
	transform: translateY(-50%);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--e-global-color-primary, #1a1a1a);
	box-shadow: 0 2px 12px rgba(0,0,0,.12);
	cursor: pointer;
	border: 0;
	transition: opacity .2s ease, transform .2s ease;
}

.bc-card-slider .bc-card-slider-nav:hover {
	transform: translateY(-50%) scale(1.06);
}

.bc-card-slider .bc-card-slider-nav.swiper-button-disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}

.bc-card-slider .bc-card-slider-prev { left: 8px; }
.bc-card-slider .bc-card-slider-next { right: 8px; }

.bc-card-slider .bc-card-slider-nav svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

@media (max-width: 640px) {
	.bc-card-slider .bc-card-slider-nav { width: 38px; height: 38px; }
	.bc-card-slider .bc-card-slider-nav svg { width: 16px; height: 16px; }
}
