.tour-slider {
	--tour-slider-per-view: 4;
	--tour-slider-gap: 20px;
	width: 100%;
}

/* ==========================================================
   Track
   ========================================================== */
.tour-slider__track {
	display: flex;
	gap: var( --tour-slider-gap );
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
	padding-bottom: 2px;
}

.tour-slider__track::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.tour-slider__slide {
	flex: 0 0 calc( ( 100% - ( var( --tour-slider-gap ) * ( var( --tour-slider-per-view ) - 1 ) ) ) / var( --tour-slider-per-view ) );
	scroll-snap-align: start;
}

/* ==========================================================
   Card
   ========================================================== */
.tour-slider__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid #E9EBF6;
	padding: 8px 8px 0 8px;
	border-radius: 24px;
	overflow: hidden;
}

.tour-slider__image {
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.tour-slider__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 16px !important;
}

.tour-slider__body__wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	padding: 16px;
}

.tour-slider__body{
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tour-slider__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 150px;
	padding: 4px 10px 4px 4px;
	border-radius: 50px;
	background: #F1F3FA;
	color: #3F509E;
	font-family: var(--ew-main-font);
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
}

.tour-slider__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px;
	border-radius: 50px;
	background: #FFFFFF;
	border: 1px solid #F1F3FA;
}

.tour-slider__info{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tour-slider__title {
	margin: 0 !important;
	font-size: 20px;
	line-height: 28px;
	font-weight: 700;
	color: #1F2329;
	font-family: var(--ew-main-font);
}

.tour-slider__desc {
	margin: 0 !important;
	font-family: var(--ew-main-font);
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	color: #4B535E;
}

.tour-slider__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin-top: 8px;
	padding: 10px 24px !important;
	border-radius: 12px !important;
	background: #F1F3FA !important;
	border: 1px solid #E9EBF6 !important;
	color: #3F509E !important;
	font-family: var(--ew-main-font);
	font-size: 16px !important;
	line-height: 22px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.tour-slider__button:hover {
	background: #dcdaff;
	color: #4b5ae4;
}

/* ==========================================================
   Footer: arrows + pagination
   Desktop: pagination on the left, arrows grouped on the right.
   Mobile: arrow - pagination - arrow spread across full width.
   ========================================================== */
.tour-slider__footer {
	display: flex;
	align-items: center;
	margin-top: 24px;
}

.tour-slider__pagination {
	display: flex;
	align-items: center;
	gap: 12px;
	order: 1;
}

.tour-slider__dot {
	width: 12px !important;
	height: 12px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #D0D5EC !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tour-slider__dot.is-active {
	background: #3F509E !important;
}

.tour-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: none !important;
	background: transparent !important;
	color: #3F509E;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tour-slider__arrow:hover {
	background: #ecebff;
}

.tour-slider__arrow--prev {
	order: 2;
	margin-inline-start: auto;
}

.tour-slider__arrow--next {
	order: 3;
}

/* ==========================================================
   Mobile: ~1.4 slides visible, arrows split to the edges
   ========================================================== */
@media ( max-width: 767px ) {
	.tour-slider__footer {
		justify-content: space-between;
	}

	.tour-slider__arrow--prev {
		order: 1;
		margin-inline-start: 0;
	}

	.tour-slider__pagination {
		order: 2;
	}

	.tour-slider__arrow--next {
		order: 3;
	}
}
