/* Moving Cards Slider - Frontend Styles */

.mcs-widget {
	--mcs-arrow-gap: 16px;
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: var(--mcs-arrow-gap);
}

.mcs-slider {
	--mcs-slides-per-view: 3.5;
	--mcs-space-between: 20px;
	--mcs-tall-height: 460px;
	--mcs-short-height: 300px;

	width: 100%;
	overflow: hidden;
	order: 0;
}

.mcs-slider .swiper-wrapper {
	align-items: center;
}

.mcs-slider .swiper-slide {
	width: calc( ( 100% - ( var(--mcs-space-between) * ( var(--mcs-slides-per-view) - 1 ) ) ) / var(--mcs-slides-per-view) );
	height: auto;
}

.mcs-slide__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: var(--mcs-tall-height);
	overflow: hidden;
	border-radius: 16px;
	text-decoration: none;
	background: #111;
}

.mcs-slide--content .mcs-slide__inner {
	height: var(--mcs-short-height);
	justify-content: center;
}

.mcs-slide__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform .5s ease;
}

.mcs-slide__inner:hover .mcs-slide__bg {
	transform: scale(1.05);
}

.mcs-slide__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1;
}

.mcs-slide__content {
	position: relative;
	z-index: 2;
	padding: 24px;
	color: #fff;
	width: 100%;
	text-align: center;
}

.mcs-slide__heading {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #fff;
}

.mcs-slide__desc {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	color: #ededed;
}

/* ---------- Navigation Arrows (always OUTSIDE the slider) ---------- */

.mcs-nav {
	display: flex;
	width: 100%;
	gap: 16px;
}

.mcs-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background-color: #F1F0EC;
	color: #1A1A1A;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}

.mcs-arrow:hover {
	background-color: #1A1A1A;
	color: #FFFFFF;
}

.mcs-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Horizontal alignment of the arrow row */
.mcs-nav--top-left,
.mcs-nav--bottom-left    { justify-content: flex-start; }
.mcs-nav--top-center,
.mcs-nav--bottom-center  { justify-content: center; }
.mcs-nav--top-right,
.mcs-nav--bottom-right   { justify-content: flex-end; }

/* Place the whole row above or below the slider using flex order
   (the slider itself always keeps order: 0) */
.mcs-nav--top-left,
.mcs-nav--top-center,
.mcs-nav--top-right {
	order: -1;
}

.mcs-nav--bottom-left,
.mcs-nav--bottom-center,
.mcs-nav--bottom-right {
	order: 1;
}

/* ---------- Pagination dots ---------- */
.mcs-pagination {
	position: relative;
	margin-top: 16px;
	text-align: center;
}

.mcs-pagination .swiper-pagination-bullet {
	background: #999;
	opacity: 1;
}

.mcs-pagination .swiper-pagination-bullet-active {
	background: #000;
}

/* ---------- Responsive ---------- */
