.pb-safe {
	padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

html,
body {
	overflow-x: hidden;
	width: 100vw;
}
/* 保持内容编辑器的样式 */
.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content img,
.rich-content video,
.rich-content audio,
.rich-content table {
	all: revert;
}

/* 合作伙伴轮播图分页器 - 横杠样式 */
.partner-swiper-pagination .swiper-pagination-bullet,
.home-hero-swiper-pagination .swiper-pagination-bullet {
	width: 13px !important;
	height: 2px !important;
	border-radius: 2px !important;
	background-color: #d1d5db !important;
	opacity: 1 !important;
	transition: all 0.3s ease !important;
}

@media screen and (min-width: 768px) {
	.partner-swiper-pagination .swiper-pagination-bullet,
	.home-hero-swiper-pagination .swiper-pagination-bullet {
		width: 24px !important;
		height: 4px !important;
		border-radius: 2px !important;
		background-color: #d1d5db !important;
		opacity: 1 !important;
		transition: all 0.3s ease !important;
	}
}

.partner-swiper-pagination .swiper-pagination-bullet-active,
.home-hero-swiper-pagination .swiper-pagination-bullet-active {
	background-color: #ea580c !important;
	width: 24px !important;
}
@media screen and (min-width: 768px) {
	.partner-swiper-pagination .swiper-pagination-bullet-active,
	.home-hero-swiper-pagination .swiper-pagination-bullet-active {
		background-color: #ea580c !important;
		width: 32px !important;
	}
}

.dark .partner-swiper-pagination .swiper-pagination-bullet,
.dark .home-hero-swiper-pagination .swiper-pagination-bullet {
	background-color: #4b5563 !important;
}

.dark .partner-swiper-pagination .swiper-pagination-bullet-active,
.dark .home-hero-swiper-pagination .swiper-pagination-bullet-active {
	background-color: #ea580c !important;
}

/* 资质轮播图分页器 - 横杠样式 */
#qualification-swiper .swiper-slide {
	width: 320px; /* 固定单图宽度 */
	transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	opacity: 0.4;
	transform: scale(0.85);
	filter: blur(2px);
	z-index: 1;
}

/* 居中激活项：清晰、放大、不模糊 */
#qualification-swiper .swiper-slide-active {
	opacity: 1;
	transform: scale(1.15); /* 居中放大 */
	filter: blur(0);
	z-index: 10;
}

.scroll-thin::-webkit-scrollbar {
	width: 6px;
}
.scroll-thin::-webkit-scrollbar-thumb {
	background: rgb(148 163 184 / 0.45);
	border-radius: 9999px;
}
.scroll-thin::-webkit-scrollbar-track {
	background: transparent;
}

/* 注册可动画的角度自定义属性 */
@property --angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.border-run {
	width: 200px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;

	/* 核心技巧：用背景裁剪实现边框 */
	border: 3px solid transparent; /* 预留边框空间 */
	background:
		linear-gradient(#1a1a2e, #1a1a2e) padding-box,
		/* 内部实色背景 */ conic-gradient(from var(--angle), white, #3b82f6) border-box; /* 渐变边框 */

	animation: spin-angle 4s linear infinite;
}

@keyframes spin-angle {
	to {
		--angle: 360deg;
	}
}

@property --angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.border-run {
	position: relative;
	isolation: isolate; /* 防止伪元素穿透到页面底层 */
	width: 200px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #fff;

	border: 3px solid transparent;
	background:
		linear-gradient(#1a1a2e, #1a1a2e) padding-box,
		conic-gradient(from var(--angle), white, #3b82f6) border-box;

	animation: spin-angle 4s linear infinite;
}

.border-run::before {
	content: '';
	position: absolute;
	inset: -12px; /* 光晕向外扩散的范围 */
	border-radius: calc(12px + 12px); /* 与父级圆角保持同心 */
	background: conic-gradient(from var(--angle), white, #3b82f6);
	filter: blur(12px); /* 模糊产生柔和荧光 */
	opacity: 0.7; /* 荧光强度，可调 */
	z-index: -1; /* 放到父级背景后面 */
}

@keyframes spin-angle {
	to {
		--angle: 360deg;
	}
}

/* 成功案例选择器 */
#arrowSelector {
	/* 移动端横向滚动增强 */
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none; /* Firefox 隐藏滚动条 */
	&::-webkit-scrollbar {
		display: none; /* Chrome/Safari 隐藏滚动条 */
	}
	.arrow-item.is-active {
		width: 12rem; /* 移动端激活态 */
	}
	@media (min-width: 640px) {
		.arrow-item.is-active {
			width: 14rem;
		}
	}
}
