.event-swiper-container {
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;
	padding-bottom: 30px;
}

.event-swiper-container .swiper-wrapper {
	display: flex;
	transition: transform 0.6s ease-out;
	padding: 10px 0;
}

.event-swiper-container .swiper-slide {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: 140px;
	width: 200px !important;
	margin: 0 10px;
	padding: 10px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.6s ease-in-out;
}

.event-swiper-pagination {
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.event-upcoming {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}

.event-upcoming h3 {
	margin: 0;
}



.carousel-cell.event-item .event-details {
	text-align: left;
	padding: 5px 0;
	flex-grow: 1;
}

.carousel-cell .event-details h5 {
	text-align: left;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	font-size: 16px;
	line-height: 1.4;
	height: 2.8em;
}

.upcoming-event .event-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	padding: 10px;
	width: 100%;
}

.upcoming-event .event-item i {
	font-size: 30px;
	background-color: #f1f1f1;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #151f3a;
	margin-bottom: 10px;
	margin-right: 10px;

}

@media only screen and (max-width: 767px) {

	.upcoming-event .event-item {
		width: 100% !important;
		margin: 10px 0 !important;
	}

	.upcoming-event .event-item i {
		font-size: 24px;
		width: 40px;
		height: 40px;
	}

	.event-swiper-container .swiper-slide {
		width: 160px !important;
		padding: 8px;
	}
}

.carousel-cell.event-item .event-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.single-slide .swiper-wrapper {
	justify-content: center !important;
}

.few-slides .swiper-wrapper {
	justify-content: flex-start;
}

/* Global mobile swiper boundary control */

@media (max-width: 767px) {
	/* Prevent page-level horizontal scroll only */
	body {
		overflow-x: hidden;
	}
	
	/* Allow natural swiper behavior but constrain to viewport */
	.swiper-container {
		max-width: 100vw;
		position: relative;
	}
	
	/* Allow natural momentum scrolling */
	.swiper-wrapper {
		will-change: transform;
	}
	
	/* Ensure slides maintain proper structure */
	.swiper-slide {
		flex-shrink: 0;
		position: relative;
	}
}
