.meb-wrapper {
	position: relative;
	width: 100%;
    /* Height is controlled by widget settings now, default fallback: */
	min-height: 400px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto', sans-serif;
    background-color: #333; /* Fallback background */
}

.meb-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.swiper-slide {
	width: 100%;
	height: 100%;
    overflow: hidden;
}

.swiper-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Subtle zoom animation moved to inner div for better performance */
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.meb-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
	z-index: 1;
    pointer-events: none;
}

.meb-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	max-width: 800px;
	padding: 20px;
    width: 100%;
}

.meb-content h2 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.meb-content p {
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
}

.meb-countdown {
	display: flex;
	justify-content: center;
	gap: 20px;
    flex-wrap: wrap;
}

.meb-countdown-item {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 20px 25px;
	border-radius: 12px;
	min-width: 100px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.meb-countdown-item:hover {
    transform: translateY(-5px);
}

.meb-countdown-item span {
	display: block;
}

.meb-countdown-item .days,
.meb-countdown-item .hours,
.meb-countdown-item .minutes,
.meb-countdown-item .seconds {
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1;
    background: -webkit-linear-gradient(#fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meb-countdown-item .label {
	font-size: 0.85rem;
	text-transform: uppercase;
	margin-top: 5px;
	letter-spacing: 1px;
	opacity: 0.8;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
	/* Height is responsive now via settings, but we keep a sane default */
	.meb-content h2 {
		font-size: 2.2rem;
	}
	
	.meb-countdown {
		gap: 10px;
	}
	
	.meb-countdown-item {
		padding: 10px 15px;
		min-width: 70px;
	}
	
	.meb-countdown-item .days,
	.meb-countdown-item .hours,
	.meb-countdown-item .minutes,
	.meb-countdown-item .seconds {
		font-size: 1.8rem;
	}
}
