/* Flexible Carousel - frontend styles */

.flexcar-wrapper {
	position: relative;
	width: 100%;
}

.flexcar-swiper {
	width: 100%;
	padding-bottom: 44px; /* room for pagination dots */
	overflow: hidden;
}

.flexcar-swiper .swiper-wrapper {
	align-items: stretch;
}

.flexcar-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.flexcar-slide-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 32px 24px;
	background: #ffffff;
	border-radius: 12px;
	text-align: center;
	box-sizing: border-box;
}

.flexcar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.04);
	flex-shrink: 0;
}

.flexcar-icon i {
	font-size: 40px;
	line-height: 1;
}

.flexcar-icon svg {
	width: 40px;
	height: 40px;
}

.flexcar-title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.3;
}

.flexcar-description {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: #5b5b5b;
	flex-grow: 1;
}

.flexcar-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	margin-top: auto;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.flexcar-link .flexcar-link-arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}

.flexcar-link:hover .flexcar-link-arrow {
	transform: translateX(4px);
}

/* Navigation arrows */
.flexcar-swiper .swiper-button-next,
.flexcar-swiper .swiper-button-prev {
	width: 44px;
	height: 44px;
	margin-top: -22px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	color: #222222;
}

.flexcar-swiper .swiper-button-next:after,
.flexcar-swiper .swiper-button-prev:after {
	font-size: 16px;
	font-weight: 700;
}

/* Pagination dots */
.flexcar-swiper .swiper-pagination {
	bottom: 0;
}

.flexcar-swiper .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #cccccc;
	opacity: 1;
}

.flexcar-swiper .swiper-pagination-bullet-active {
	background: #333333;
}

@media (max-width: 767px) {
	.flexcar-swiper .swiper-button-next,
	.flexcar-swiper .swiper-button-prev {
		display: none;
	}
}
