/* 拼凑页专用样式（index、product、newlist、history、contact 等）；不修改 common.css 与 qlbd-*.html */

/* product.html — 筛选栏布局（左侧 Tab + 右侧搜索） */
.qlbd-fir-buttonlist-group {
	justify-content: space-between;
	gap: 24px;
}

.qlbd-fir-buttonlist-tabs {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 30px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.qlbd-fir-buttonlist-tabs::-webkit-scrollbar {
	display: none;
}

/* product.html — 产品搜索框 */
.qlbd-product-search {
	flex: 0 0 auto;
	margin-left: auto;
}

.qlbd-product-search__box {
	position: relative;
	display: flex;
	align-items: center;
	width: 280px;
	max-width: 100%;
}

.qlbd-product-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.qlbd-product-search__input {
	width: 100%;
	height: 40px;
	padding: 0 44px 0 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qlbd-product-search__input::placeholder {
	color: #aaaaaa;
}

.qlbd-product-search__input:focus {
	border-color: var(--ql-color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--ql-color-primary) 12%, transparent);
}

.qlbd-product-search__btn {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 40px;
	padding: 0;
	color: var(--ql-color-primary);
	background: none;
	border: none;
	cursor: pointer;
}

.qlbd-product-search__icon {
	width: 18px;
	height: 18px;
}

/* index.html — 首页新闻查看更多按钮 */
.qlbd-index-news-more {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.qlbd-index-news-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 42px;
	padding: 0 28px;
	color: var(--ql-color-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background-color: transparent;
	border: 1px solid var(--ql-color-primary);
	border-radius: 999px;
	transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.qlbd-index-news-more__btn:hover {
	color: #ffffff;
	background-color: var(--ql-color-primary);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ql-color-primary) 24%, transparent);
	transform: translateY(-1px);
}

/* index.html — 首页案例中心（独立于公共案例组件） */
.qlbd-home-cases {
	padding: 80px 20px;
	background-color: var(--ql-color-greybalance);
}

.qlbd-home-cases__inner {
	max-width: var(--ql-container-width);
	margin: 0 auto;
}

.qlbd-home-cases__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 32px;
}

.qlbd-home-cases__title {
	margin: 0;
	font-size: clamp(28px, 2.4vw, 36px);
	line-height: 1.2;
	color: var(--ql-color-text-title);
}

.qlbd-home-cases__desc {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ql-color-text-body);
}

.qlbd-home-cases__more,
.qlbd-home-cases__detail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--ql-color-primary);
	text-decoration: none;
}

.qlbd-home-cases__more {
	flex: 0 0 auto;
	padding-bottom: 4px;
}

.qlbd-home-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.qlbd-home-cases__item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background-color: #ffffff;
	border-radius: 14px;
	box-shadow: 0 6px 20px color-mix(in srgb, var(--ql-color-text-title) 8%, transparent);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qlbd-home-cases__item:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--ql-color-text-title) 14%, transparent);
}

.qlbd-home-cases__image {
	aspect-ratio: 2654 / 1500;
	overflow: hidden;
	background-color: #ffffff;
}

.qlbd-home-cases__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.35s ease;
}

.qlbd-home-cases__item:hover .qlbd-home-cases__image img {
	transform: scale(1.02);
}

.qlbd-home-cases__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
}

.qlbd-home-cases__name {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	color: var(--ql-color-text-title);
}

.qlbd-home-cases__detail {
	flex: 0 0 auto;
	margin: 0;
	font-size: 14px;
}

@media (max-width: 768px) {
	.qlbd-home-cases {
		padding: 52px 15px;
	}

	.qlbd-home-cases__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		margin-bottom: 24px;
	}

	.qlbd-home-cases__desc {
		font-size: 14px;
	}

	.qlbd-home-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.qlbd-home-cases__content {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		padding: 14px;
	}

	.qlbd-home-cases__name {
		font-size: 16px;
	}

	.qlbd-index-news-more {
		margin-top: 30px;
	}

	.qlbd-fir-buttonlist-group {
		flex-wrap: wrap;
		align-items: stretch;
		gap: 16px;
	}

	.qlbd-fir-buttonlist-tabs {
		flex: 1 1 100%;
		gap: 20px;
	}

	.qlbd-product-search {
		flex: 1 1 100%;
		margin-left: 0;
	}

	.qlbd-product-search__box {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.qlbd-home-cases__grid {
		grid-template-columns: 1fr;
	}
}

/* 首页案例：与新闻标题统一，内容使用后台案例数据 */
.qlbd-home-cases__title{margin:0 0 8px;font-size:28px;line-height:1.25;font-weight:700}
.qlbd-home-cases__desc{margin:0;font-size:14px;line-height:1.6}
.qlbd-home-cases__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.qlbd-home-cases__item{min-height:220px;padding:25px;align-items:flex-start;border:1px solid #dce8e0;border-radius:8px;background:#fff;color:#153a2b;box-shadow:0 5px 18px rgba(23,58,40,.055);transition:border-color .2s,box-shadow .2s,transform .2s}
.qlbd-home-cases__item:hover,.qlbd-home-cases__item:focus-visible{background:#fff;border-color:#80b596;box-shadow:0 10px 24px rgba(23,58,40,.10);transform:translateY(-3px)}
.qlbd-home-cases__item:focus-visible{outline:2px solid #087b4c;outline-offset:3px}
.qlbd-home-cases__label{color:#087b4c;font-size:12px;font-weight:600}
.qlbd-home-cases__name{margin:18px 0 10px;color:#153a2b;font-size:18px;line-height:1.45}
.qlbd-home-cases__summary{flex:1;margin:0 0 18px;color:#52675b;font-size:14px;line-height:1.7}
.qlbd-home-cases__rate{color:#087b4c;font-weight:700;font-size:1.18em}
.qlbd-home-cases__detail{color:#087b4c;font-size:14px}
.qlbd-case-list{padding-top:0;padding-bottom:40px}
@media(max-width:900px){.qlbd-home-cases__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.qlbd-home-cases__title{font-size:24px}.qlbd-home-cases__item{padding:20px;min-height:190px}}
@media(max-width:480px){.qlbd-home-cases__grid{grid-template-columns:1fr}}
/* 首页案例卡片 */
.qlbd-home-cases .qlbd-home-cases__item{min-height:200px;padding:26px;border-radius:4px;border-top:3px solid #087b4c}
.qlbd-home-cases .qlbd-home-cases__name{margin:0 0 16px;font-size:19px}
.qlbd-home-cases .qlbd-home-cases__summary{margin-bottom:22px}
.qlbd-home-cases .qlbd-home-cases__rate{font-size:1.35em}
.qlbd-home-cases .qlbd-home-cases__detail{width:100%;padding-top:16px;border-top:1px solid #e5eee8;justify-content:space-between}
@media(max-width:768px){.qlbd-home-cases .qlbd-home-cases__item{min-height:180px;padding:20px}}
.xs-case-detail{padding:65px 20px 90px;background:#fff}.xs-case-detail__inner{max-width:1000px;margin:auto}.xs-case-detail__back{display:inline-block;color:var(--ql-color-primary);font-size:14px;margin-bottom:24px}.xs-case-detail h1{font-size:32px;color:var(--ql-color-text-title);margin:0 0 10px}.xs-case-detail__sub{color:var(--ql-color-text-body);font-size:14px;margin:0 0 34px}.xs-case-detail__content{color:var(--ql-color-text-body);line-height:1.8;overflow-x:auto}.xs-case-detail__content table{width:100%;min-width:480px;border-collapse:collapse;margin:22px 0}.xs-case-detail__content th,.xs-case-detail__content td{padding:14px;border:1px solid #e1eae3;text-align:left}.xs-case-detail__content th{background:#eaf3ec;color:#174d34}.xs-case-detail__content td:last-child{color:#067b45;font-weight:600}@media(max-width:768px){.xs-case-detail{padding:45px 15px 65px}.xs-case-detail h1{font-size:26px}}
