/* Custom Banner Carousel Styles */
.custom-banner-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	height: 250px;
	margin: 0 auto;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border-radius: 24px;
}

.custom-banner-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.custom-banner-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	pointer-events: none;
	z-index: 1;
}

.custom-banner-slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.custom-banner-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Custom Banner Indicators */
.custom-banner-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.custom-banner-indicators .custom-indicator {
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 2px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-banner-indicators .custom-indicator.active {
	background: #fff !important;
}

.custom-banner-indicators .custom-indicator:hover {
	opacity: 0.8;
	transform: scale(1.1);
}

/* Responsive Design for Custom Banner */
/* 大屏幕 (≥1200px) */
@media (min-width: 1200px) {
	.custom-banner-container {
		max-width: 1200px;
	}
}

/* 中等屏幕 (≥992px 且 <1200px) */
@media (min-width: 992px) and (max-width: 1199px) {
	.custom-banner-container {
		max-width: 960px;
	}
}

/* 小屏幕 (≥768px 且 <992px) */
@media (min-width: 768px) and (max-width: 991px) {
	.custom-banner-container {
		max-width: 720px;
		height: 220px;
	}
}

/* 超小屏幕 (≥576px 且 <768px) */
@media (min-width: 576px) and (max-width: 767px) {
	.custom-banner-container {
		max-width: 540px;
		height: 200px;
		border-radius: 16px;
	}
	
	.custom-banner-slide img {
		border-radius: 16px;
	}
	
	.custom-banner-indicators {
		bottom: 15px;
	}
	
	.custom-banner-indicators .custom-indicator {
		width: 10px;
		height: 10px;
	}
}

/* 极小屏幕 (<576px) */
@media (max-width: 575px) {
	.custom-banner-container {
		max-width: 100%;
		height: 180px;
		border-radius: 12px;
		margin: 0 15px;
	}
	
	.custom-banner-slide img {
		border-radius: 12px;
	}
	
	.custom-banner-indicators {
		bottom: 12px;
	}
	
	.custom-banner-indicators .custom-indicator {
		width: 8px;
		height: 8px;
	}
}
