/* Ensure the slider takes up the full width & height of the screen */
.clubland-mega-slider {
	width: 100vw !important;
	min-height: 300px;
	position: relative !important;
	top: 0 !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	overflow: hidden;
	max-width: none !important;
	z-index: 1;
}

html, body {
	overflow-y: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden;
}

/* Ensure the Swiper container fills the screen */
.clubland-mega-slider .swiper-container {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100vw !important;
	height: 100% !important;
}

/* Style for slide text */
.clubland-mega-slider .slide-text {
	font-size: 2rem; /* Adjust as needed */
}

/* Style for slide button */
.clubland-mega-slider .slide-button {
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1.2rem;
	margin-top: 10px;
}

/* Ensure text & button position properly */
.clubland-mega-slider .slide-overlay {
	position: absolute !important; /* ✅ Allows inline styles to take effect */
	text-align: center !important;
	z-index: 10 !important;
	width: auto !important;
	max-width: 80%;
}

/* Ensure the wrapper is correctly displaying slides */
.clubland-mega-slider .swiper-wrapper {
	display: flex !important;
	width: 100vw !important; /* 🔥 Ensures wrapper takes full width */
	height: 100% !important;
}

/* Force each slide to be full screen */
.clubland-mega-slider .swiper-slide {
	height: 100% !important;
	position: relative !important;
	overflow: hidden;
	width: 100% !important;
}

/* Make sure images fill the slide properly */
.clubland-mega-slider .swiper-slide img {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	width: 100vw !important;
	height: 100% !important;
}

/* Fix unwanted margins or paddings */
.clubland-mega-slider .swiper-container,
.clubland-mega-slider .swiper-wrapper,
.clubland-mega-slider .swiper-slide {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

/* Tablet and medium screen styles */
@media (max-width: 1024px) {

	.clubland-mega-slider {
		aspect-ratio: 2 / 1; /* Wider aspect ratio for tablets */
	}

	.clubland-mega-slider .swiper-container {
		min-height: 400px;
	}
}

/* Mobile and small tablet responsive styles */
@media (max-width: 768px) {

	.clubland-mega-slider {
		margin: 10px 0 !important;
		aspect-ratio: 4 / 3; /* Better aspect ratio for mobile */
	}

	.clubland-mega-slider .swiper-container {
		min-height: 250px; /* Smaller minimum height for mobile */
	}

	.clubland-mega-slider .slide-text {
		font-size: 1.5rem !important; /* Smaller text for mobile */
	}

	.clubland-mega-slider .slide-button {
		font-size: 1rem !important;
		padding: 8px 16px !important;
	}

	.clubland-mega-slider .slide-overlay {
		max-width: 90% !important; /* More space for content on mobile */
		padding: 10px !important;
	}
}

@media (max-width: 480px) {

	.clubland-mega-slider {
		aspect-ratio: 1 / 1; /* Square aspect ratio for very small screens */
	}

	.clubland-mega-slider .swiper-container {
		min-height: 200px;
	}

	.clubland-mega-slider .slide-text {
		font-size: 1.2rem !important;
	}

	.clubland-mega-slider .slide-button {
		font-size: 0.9rem !important;
		padding: 6px 12px !important;
	}
}