/* ==========================================================================
   案例展示模块 & 案例详情页（设计案例 case_design / 开发 case_dev / 量产 case_prod 通用）
   仅新增样式，不改动既有 main.css / adaptation.css
   ========================================================================== */

/* ============================================================
   案例展示（全新布局：编辑式编号长条 + 极简分页）
   命名空间：.cs-showcase / .cs-*
   适用页面：case_design.php / case_dev.php / case_prod.php
   ============================================================ */

.cs-showcase,
.cs-showcase *,
.cs-showcase *::before,
.cs-showcase *::after {
	box-sizing: border-box;
}

/* 详情页 / 相关推荐沿用原有边框盒模型 */
.case-detail,
.case-detail *,
.case-detail *::before,
.case-detail *::after,
.case-more,
.case-more *,
.case-more *::before,
.case-more *::after {
	box-sizing: border-box;
}

.cs-showcase {
	padding: 120px 0 140px;
	background: #fff;
}

/* ---------- 头部 ---------- */
.cs-showcase .cs-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 40px;
	border-bottom: 1px solid #1a1a1a;
}
.cs-showcase .cs-eyebrow {
	display: block;
	margin-bottom: 16px;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 5px;
	color: #0180FF;
}
.cs-showcase .cs-head h1 {
	margin: 0;
	font-size: 42px;
	line-height: 1.2;
	color: #111;
	font-weight: 700;
}
.cs-showcase .cs-head-side {
	width: 420px;
	padding-bottom: 4px;
}
.cs-showcase .cs-head-side p {
	margin: 0;
	font-size: 15px;
	line-height: 2;
	color: #666;
}
.cs-showcase .cs-count {
	display: flex;
	align-items: baseline;
	margin-top: 20px;
	font-size: 12px;
	letter-spacing: 1px;
	color: #999;
}
.cs-showcase .cs-count em {
	margin: 0 6px;
	font-style: normal;
	font-size: 28px;
	line-height: 1;
	color: #111;
	font-family: 'EuclidCircularB-Bold', "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 列表：编号 + 缩略图 + 文本 + 圆形箭头 ---------- */
.cs-showcase .cs-row {
	position: relative;
	display: flex;
	align-items: center;
	padding: 36px 0 36px 28px;
	border-bottom: 1px solid #ececec;
	overflow: hidden;
	transition: background-color 0.45s ease, padding-left 0.45s cubic-bezier(0.22, 0.68, 0.32, 1);
}
.cs-showcase .cs-row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 0;
	background: #0180ff;
	transform: translateY(-50%);
	transition: height 0.5s cubic-bezier(0.22, 0.68, 0.32, 1);
}
.cs-showcase .cs-row:hover {
	background-color: #fafafa;
	padding-left: 44px;
}
.cs-showcase .cs-row:hover::before {
	height: 62%;
}

.cs-showcase .cs-no {
	flex: none;
	width: 64px;
	font-size: 14px;
	letter-spacing: 1px;
	color: #c8c8c8;
	font-family: 'EuclidCircularB-Bold', "PingFang SC", "Microsoft YaHei", sans-serif;
	transition: color 0.4s ease;
}
.cs-showcase .cs-row:hover .cs-no {
	color: #0180FF;
}

.cs-showcase .cs-thumb {
	position: relative;
	display: block;
	flex: none;
	width: 268px;
	height: 178px;
	margin-right: 40px;
	overflow: hidden;
	background: #f1f1f1;
}
.cs-showcase .cs-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.8s cubic-bezier(0.22, 0.68, 0.32, 1);
}
.cs-showcase .cs-row:hover .cs-thumb img {
	transform: scale(1.07);
}

.cs-showcase .cs-body {
	flex: 1;
	min-width: 0;
	padding-right: 30px;
}
.cs-showcase .cs-cat {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1;
	color: #0180FF;
	border: 1px solid rgba(1,128,255,0.35);
}
.cs-showcase .cs-title {
	display: block;
	margin-bottom: 12px;
	font-size: 26px;
	line-height: 1.4;
	color: #111;
	transition: color 0.4s ease;
}
.cs-showcase .cs-row:hover .cs-title {
	color: #0180FF;
}
.cs-showcase .cs-sum {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 640px;
	font-size: 14px;
	line-height: 1.9;
	color: #777;
}
.cs-showcase .cs-tags {
	display: block;
	margin-top: 16px;
}
.cs-showcase .cs-tags i {
	position: relative;
	margin-right: 26px;
	font-style: normal;
	font-size: 12px;
	color: #9a9a9a;
}
.cs-showcase .cs-tags i:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -14px;
	top: 50%;
	width: 3px;
	height: 3px;
	margin-top: -1px;
	border-radius: 50%;
	background: #d5d5d5;
}

.cs-showcase .cs-go {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 58px;
	height: 58px;
	margin-right: 6px;
	border: 1px solid #dcdcdc;
	border-radius: 50%;
	color: #8a8a8a;
	transition: all 0.45s cubic-bezier(0.22, 0.68, 0.32, 1);
}
.cs-showcase .cs-go .iconfont {
	font-size: 15px;
	line-height: 1;
}
.cs-showcase .cs-row:hover .cs-go {
	background: #0180ff;
	border-color: #0180ff;
	color: #fff;
	transform: translateX(6px);
}

/* ---------- 分页 ---------- */
.cs-showcase .cs-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 54px;
}
.cs-showcase .cs-pager-arrow {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 4px;
	font-size: 14px;
	color: #555;
	transition: color 0.35s ease;
}
.cs-showcase .cs-pager-arrow .iconfont {
	margin: 0 8px;
	font-size: 12px;
}
.cs-showcase .cs-pager-arrow:hover {
	color: #0180FF;
}
.cs-showcase .cs-pager-arrow.disabled,
.cs-showcase .cs-pager-arrow.disabled:hover {
	color: #ccc;
	cursor: not-allowed;
}
.cs-showcase .cs-pager-nums {
	display: flex;
	align-items: center;
	margin: 0 26px;
}
.cs-showcase .cs-pager-nums a {
	display: block;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	line-height: 36px;
	text-align: center;
	color: #999;
	transition: all 0.3s ease;
}
.cs-showcase .cs-pager-nums a:hover {
	color: #111;
}
.cs-showcase .cs-pager-nums a.active {
	color: #0180FF;
	font-weight: 700;
	border-bottom-color: #0180ff;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
	.cs-showcase {
		padding: 90px 0 110px;
	}
	.cs-showcase .cs-head h1 {
		font-size: 34px;
	}
	.cs-showcase .cs-head-side {
		width: 360px;
	}
	.cs-showcase .cs-thumb {
		width: 220px;
		height: 150px;
		margin-right: 28px;
	}
	.cs-showcase .cs-title {
		font-size: 22px;
	}
	.cs-showcase .cs-body {
		padding-right: 10px;
	}
}

@media screen and (max-width: 1024px) {
	.cs-showcase {
		padding: 70px 0 90px;
	}
	.cs-showcase .cs-head {
		display: block;
		padding-bottom: 30px;
	}
	.cs-showcase .cs-head h1 {
		font-size: 28px;
	}
	.cs-showcase .cs-head-side {
		width: 100%;
		margin-top: 18px;
	}
	.cs-showcase .cs-count {
		margin-top: 14px;
	}
	.cs-showcase .cs-row {
		padding: 26px 0 26px 20px;
	}
	.cs-showcase .cs-row:hover {
		padding-left: 28px;
	}
	.cs-showcase .cs-no {
		width: 44px;
		font-size: 13px;
	}
	.cs-showcase .cs-thumb {
		width: 180px;
		height: 124px;
		margin-right: 22px;
	}
	.cs-showcase .cs-title {
		font-size: 19px;
		margin-bottom: 8px;
	}
	.cs-showcase .cs-sum {
		font-size: 13px;
	}
	.cs-showcase .cs-tags {
		margin-top: 12px;
	}
	.cs-showcase .cs-go {
		width: 44px;
		height: 44px;
	}
}

@media screen and (max-width: 800px) {
	.cs-showcase {
		padding: 56px 20px 70px;
	}
	.cs-showcase .cs-eyebrow {
		margin-bottom: 10px;
		font-size: 11px;
		letter-spacing: 3px;
	}
	.cs-showcase .cs-head h1 {
		font-size: 24px;
	}
	.cs-showcase .cs-head-side p {
		font-size: 14px;
		line-height: 1.9;
	}
	.cs-showcase .cs-count em {
		font-size: 22px;
	}
	.cs-showcase .cs-row,
	.cs-showcase .cs-row:hover {
		display: block;
		padding: 22px 56px 24px 0;
	}
	.cs-showcase .cs-row::before {
		display: none;
	}
	.cs-showcase .cs-no {
		display: block;
		width: auto;
		margin-bottom: 10px;
		font-size: 12px;
	}
	.cs-showcase .cs-thumb {
		width: 100%;
		height: auto;
		margin: 0 0 16px;
		aspect-ratio: 16 / 10;
	}
	.cs-showcase .cs-body {
		display: block;
		padding-right: 0;
	}
	.cs-showcase .cs-title {
		font-size: 18px;
	}
	.cs-showcase .cs-sum {
		font-size: 13px;
	}
	.cs-showcase .cs-tags i {
		margin-right: 20px;
		font-size: 11px;
	}
	.cs-showcase .cs-tags i:not(:last-child)::after {
		right: -11px;
	}
	.cs-showcase .cs-go,
	.cs-showcase .cs-row:hover .cs-go {
		position: absolute;
		top: 22px;
		right: 0;
		width: 40px;
		height: 40px;
		margin: 0;
		transform: none;
	}
	.cs-showcase .cs-pager {
		padding-top: 36px;
	}
	.cs-showcase .cs-pager-nums {
		margin: 0 10px;
	}
	.cs-showcase .cs-pager-nums a {
		min-width: 32px;
		height: 34px;
		line-height: 30px;
		font-size: 13px;
	}
	.cs-showcase .cs-pager-arrow {
		height: 34px;
		font-size: 13px;
	}
	.cs-showcase .cs-pager-arrow .iconfont {
		margin: 0 4px;
		font-size: 10px;
	}
}

/* ---------- 案例详情页 ---------- */
.case-slogan .text .tag {
	display: inline-block;
	font-size: 16px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.7);
	padding: 6px 14px;
	margin-bottom: 24px;
}
.case-slogan .text h1 {
	margin-bottom: 0;
}
.case-slogan .text i {
	display: block;
	width: 60px;
	height: 3px;
	background: #fff;
	margin-top: 26px;
}

.case-detail {
	padding-bottom: 0;
}
.case-detail .crumb {
	font-size: 14px;
	color: #999;
	padding-bottom: 40px;
	border-bottom: 1px solid #eaeaea;
}
.case-detail .crumb a {
	color: #999;
	transition: color 0.35s ease-out;
}
.case-detail .crumb a:hover {
	color: #0180FF;
}
.case-detail .crumb em {
	font-style: normal;
	margin: 0 12px;
	color: #ccc;
}
.case-detail .crumb span {
	color: #333;
}

.case-detail .case-head {
	display: flex;
	align-items: flex-start;
	padding: 70px 0 40px;
}
.case-detail .case-head .txt {
	flex: 1;
	padding-right: 80px;
}
.case-detail .case-head .txt h2 {
	font-size: 34px;
	line-height: 1.5;
	color: #222;
	margin-bottom: 26px;
}
.case-detail .case-head .txt .lead {
	font-size: 17px;
	line-height: 2.1;
	color: #555;
	text-align: justify;
}
.case-detail .case-head .txt .tags {
	margin-top: 30px;
	overflow: hidden;
}
.case-detail .case-head .txt .tags li {
	float: left;
	font-size: 13px;
	color: #666;
	background: #f4f4f4;
	padding: 8px 16px;
	margin: 0 10px 10px 0;
}
.case-detail .case-head .meta {
	width: 340px;
	background: #fafafa;
	border-top: 2px solid #0180ff;
	padding: 34px 34px 20px;
	box-sizing: border-box;
}
.case-detail .case-head .meta .no {
	font-size: 60px;
	line-height: 1;
	color: rgba(1, 128, 255, 0.18);
	margin-bottom: 22px;
}
.case-detail .case-head .meta dl dt {
	font-size: 12px;
	color: #999;
	margin-bottom: 4px;
}
.case-detail .case-head .meta dl dd {
	font-size: 15px;
	color: #333;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px dashed #e0e0e0;
}
.case-detail .case-head .meta dl dd:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.case-detail .case-sec {
	padding-top: 60px;
}
.case-detail .case-sec .btitle {
	position: relative;
	border-bottom: 2px solid #dadada;
	margin-bottom: 46px;
}
.case-detail .case-sec .btitle h1 {
	display: inline-block;
	border-bottom: 2px solid #0180ff;
	margin-bottom: -2px;
	color: #0180FF;
	font-size: 34px;
	line-height: 1;
	padding-bottom: 22px;
}
.case-detail .case-sec .btitle .iconfont {
	position: absolute;
	bottom: 18px;
	right: 0;
	font-size: 33px;
	color: #999;
}
.case-detail .case-sec .sec-img {
	margin-bottom: 40px;
	background: #f4f4f4;
}
.case-detail .case-sec .sec-img img {
	display: block;
	width: 100%;
	height: auto;
}
.case-detail .case-sec .sec-body p {
	font-size: 16px;
	line-height: 2.1;
	color: #444;
	margin-bottom: 22px;
	text-align: justify;
}
.case-detail .case-sec .sec-body p:last-child {
	margin-bottom: 0;
}
.case-detail .case-sec .points {
	margin-top: 34px;
	overflow: hidden;
}
.case-detail .case-sec .points li {
	float: left;
	width: 33.3333%;
	box-sizing: border-box;
	padding: 0 20px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	margin-bottom: 16px;
}
.case-detail .case-sec .points li .iconfont {
	color: #0180FF;
	margin-right: 10px;
	font-size: 14px;
}
.case-detail .case-sec .sec-gallery {
	margin-top: 46px;
	overflow: hidden;
	margin-right: -20px;
}
.case-detail .case-sec .sec-gallery .g-item {
	float: left;
	width: 50%;
	box-sizing: border-box;
	padding-right: 20px;
	margin-bottom: 20px;
	background: #f4f4f4;
}
.case-detail .case-sec .sec-gallery .g-item img {
	display: block;
	width: 100%;
	height: auto;
}

.case-detail .case-turn {
	border-top: 1px solid #eaeaea;
	margin-top: 80px;
}
.case-detail .case-turn .prev,
.case-detail .case-turn .next {
	float: left;
	width: 50%;
	box-sizing: border-box;
	padding: 40px 0;
}
.case-detail .case-turn .prev {
	padding-right: 40px;
	border-right: 1px solid #eaeaea;
}
.case-detail .case-turn .next {
	padding-left: 40px;
	text-align: right;
}
.case-detail .case-turn em {
	display: block;
	font-style: normal;
	font-size: 13px;
	color: #999;
	margin-bottom: 12px;
}
.case-detail .case-turn strong {
	font-size: 20px;
	color: #222;
	transition: color 0.35s ease-out;
}
.case-detail .case-turn a:hover strong {
	color: #0180FF;
}
.case-detail .case-turn .disabled strong {
	color: #bbb;
}

.case-more {
	background: #f7f7f7;
	margin-top: 100px;
	padding: 90px 0 100px;
}
.case-more .btitle {
	position: relative;
	border-bottom: 2px solid #dadada;
	margin-bottom: 60px;
}
.case-more .btitle h1 {
	display: inline-block;
	border-bottom: 2px solid #0180ff;
	margin-bottom: -2px;
	color: #0180FF;
	font-size: 34px;
	line-height: 1;
	padding-bottom: 22px;
}
.case-more .btitle .iconfont {
	position: absolute;
	bottom: 18px;
	right: 0;
	font-size: 33px;
	color: #999;
}
.case-more .more-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -18px;
}
.case-more .more-item {
	width: 33.3333%;
	padding: 0 18px;
	margin-bottom: 36px;
}
.case-more .more-item .img {
	display: block;
	height: 0;
	padding-bottom: 66%;
	overflow: hidden;
	position: relative;
	background: #f2f2f2;
	text-align: center;
}
.case-more .more-item .img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.6s ease-out;
}
.case-more .more-item:hover .img img {
	transform: scale(1.06);
}
.case-more .more-item .con {
	background: #fff;
	padding: 30px 28px 34px;
}
.case-more .more-item .con .tag {
	display: inline-block;
	font-size: 12px;
	color: #0180FF;
	border: 1px solid rgba(1,128,255,0.4);
	padding: 6px 10px;
	margin-bottom: 16px;
}
.case-more .more-item .con h3 {
	font-size: 21px;
	color: #222;
	margin-bottom: 12px;
	transition: color 0.35s ease-out;
}
.case-more .more-item:hover .con h3 {
	color: #0180FF;
}
.case-more .more-item .con p {
	font-size: 14px;
	line-height: 1.9;
	color: #666;
	height: 5.7em;
	overflow: hidden;
}
.case-more .more-foot {
	padding-top: 30px;
}
.case-more .more-foot .btn-back {
	display: inline-block;
	line-height: 54px;
	padding: 0 46px;
	font-size: 15px;
	color: #fff;
	background: #0180ff;
	transition: all 0.35s ease-out;
}
.case-more .more-foot .btn-back:hover {
	background: #b30a19;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
	.case-detail .case-head .txt {
		padding-right: 50px;
	}
	.case-detail .case-head .meta {
		width: 300px;
		padding: 28px 26px 16px;
	}
}

@media screen and (max-width: 1024px) {
	.case-detail .case-head {
		display: block;
		padding: 46px 0 20px;
	}
	.case-detail .case-head .txt {
		padding-right: 0;
	}
	.case-detail .case-head .txt h2 {
		font-size: 26px;
	}
	.case-detail .case-head .meta {
		width: 100%;
		margin-top: 36px;
	}
	.case-detail .case-sec {
		padding-top: 46px;
	}
	.case-detail .case-sec .btitle h1,
	.case-more .btitle h1 {
		font-size: 26px;
		padding-bottom: 16px;
	}
	.case-detail .case-sec .points li {
		width: 50%;
	}
	.case-more {
		margin-top: 60px;
		padding: 60px 0 70px;
	}
}

/* 移动端：2 列 → 1 列 */
@media screen and (max-width: 800px) {
	.case-detail .crumb {
		font-size: 12px;
		padding: 0 20px 20px;
	}
	.case-detail .crumb em {
		margin: 0 6px;
	}
	.case-detail .case-head .txt h2 {
		font-size: 22px;
	}
	.case-detail .case-head .txt .lead,
	.case-detail .case-sec .sec-body p {
		font-size: 14px;
		line-height: 1.9;
	}
	.case-detail .case-head .meta .no {
		font-size: 44px;
	}
	.case-detail .maxsize {
		padding: 0 20px;
	}
	.case-detail .case-sec .points li {
		width: 100%;
		padding-right: 0;
	}
	.case-detail .case-sec .sec-gallery {
		margin-right: 0;
	}
	.case-detail .case-sec .sec-gallery .g-item {
		width: 100%;
		padding-right: 0;
	}
	.case-detail .case-turn .prev,
	.case-detail .case-turn .next {
		float: none;
		width: 100%;
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid #eaeaea;
		text-align: left;
	}
	.case-detail .case-turn strong {
		font-size: 16px;
	}
	.case-more {
		padding: 40px 20px 50px;
	}
	.case-more .maxsize {
		padding: 0;
	}
	.case-more .more-list {
		margin: 0;
	}
	.case-more .more-item {
		width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}
	.case-more .more-item .con {
		padding: 20px;
	}
	.case-more .more-item .con h3 {
		font-size: 18px;
	}
	.case-more .more-item .con p {
		font-size: 13px;
	}
	.case-more .btitle {
		margin-bottom: 30px;
	}
}