/* ==========================================================
   Custom Image Carousel — base styles
   Swiper's own bundle CSS (loaded as a dependency) handles the
   core carousel mechanics; this file only styles our markup
   (slides, images, and the custom button) on top of it.
   ========================================================== */

.cic-outer-wrap {
	position: relative;
	width: 100%;
}

.cic-carousel-wrapper {
	width: 100%;
	overflow: hidden;
}

.cic-slide {
	position: relative;
	overflow: visible;
	height: 400px; /* overridden by the Style tab "Slide Height" control */
}

.cic-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cic-slide-image.cic-stretch {
	object-fit: cover;
}

/* Navigation arrows */
.cic-carousel-wrapper .swiper-button-next,
.cic-carousel-wrapper .swiper-button-prev {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cic-carousel-wrapper .swiper-button-next::after,
.cic-carousel-wrapper .swiper-button-prev::after {
	font-size: inherit;
}

/* Pagination dots */
.cic-carousel-wrapper .swiper-pagination-bullet {
	opacity: 1;
}

/* ==========================================================
   Button
   ========================================================== */
.cic-button-wrap {
	position: absolute;
	display: inline-block;
	max-width: calc(100% - 40px);
}

.cic-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition-property: color, background-color, border-color, box-shadow;
}

.cic-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cic-button-icon.cic-icon-before {
	display: inline-flex;
}

.cic-button-icon.cic-icon-after {
	display: inline-flex;
}

/* Responsive fallback: keep custom-positioned buttons from overflowing on
   small screens if no responsive offset was set. */
@media (max-width: 767px) {
	.cic-button-wrap {
		max-width: calc(100% - 20px);
	}
}
