/* ==============================================
   Image Swiper Widget
   ============================================== */

.cis-wrap {
	width: 100%;
	position: relative;
}

.cis-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.cis-swiper .swiper-slide {
	display: flex;
	flex-direction: column;
	height: auto;
}

.cis-slide {
	display: block;
	width: 100%;
	height: 360px;
	overflow: hidden;
	background-color: #f3f4f6;
	position: relative;
}

.cis-slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .5s ease;
}

.cis-slide:hover img {
	transform: scale(1.04);
}

.cis-caption {
	margin-top: 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: #1f2937;
	line-height: 1.4;
}

.cis-description {
	margin-top: 6px;
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	color: #6b7280;
	line-height: 1.55;
}

/* --- 箭头 --- */
.cis-swiper .swiper-button-next,
.cis-swiper .swiper-button-prev {
	width: 44px;
	height: 44px;
	background-color: rgba(0, 0, 0, 0.45);
	color: #fff;
	border-radius: 50%;
	transition: background-color .3s ease, transform .2s ease;
	margin-top: 0;
	top: 50%;
	transform: translateY(-50%);
}

.cis-swiper .swiper-button-next::after,
.cis-swiper .swiper-button-prev::after {
	font-size: 16px;
	font-weight: 700;
}

.cis-swiper .swiper-button-next:hover,
.cis-swiper .swiper-button-prev:hover {
	background-color: #2b4182;
}

.cis-swiper .swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* 当幻灯片总宽度 ≤ 容器（无需轮播）时，隐藏分页与箭头 */
.cis-swiper.swiper-watch-overflow.swiper-lock-swipes .swiper-pagination,
.cis-swiper.swiper-watch-overflow.swiper-lock-swipes .swiper-button-next,
.cis-swiper.swiper-watch-overflow.swiper-lock-swipes .swiper-button-prev {
	display: none;
}

/* 兼容部分 Swiper 版本只加 .swiper-pagination-lock / .swiper-button-lock */
.cis-swiper .swiper-pagination-lock,
.cis-swiper .swiper-button-lock {
	display: none !important;
}

/* --- 分页 --- */
.cis-swiper .swiper-pagination {
	position: relative;
	margin-top: 20px;
}

.cis-swiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #cbd5e1;
	opacity: 1;
	transition: background-color .25s ease, transform .25s ease;
}

.cis-swiper .swiper-pagination-bullet-active {
	background-color: #2b4182;
	transform: scale(1.2);
}

.cis-swiper .swiper-pagination-fraction {
	font-size: 14px;
	font-weight: 600;
	color: #2b4182;
}

.cis-swiper .swiper-pagination-progressbar {
	height: 3px;
	background-color: #e5e7eb;
}

.cis-swiper .swiper-pagination-progressbar-fill {
	background-color: #2b4182;
}
