/*!
 * 行业产品 Z 字交替列表
 * 每行 = 图片 + 色条 + 型号 + 系列名称 + 查看详情，左右交替排布。
 * 选择器统一 crgems-ipz__ 前缀，冲突一律以特异性与层叠顺序解决。
 */

.crgems-ipz {
	padding: 88px 0;
	background-color: #f5f8fc;
}

.crgems-ipz__inner {
	width: 100%;
	max-width: 1264px;
	margin: 0 auto;
	padding: 0 32px;
}

.crgems-ipz__row {
	display: flex;
	align-items: stretch;
	min-height: var(--crgems-ipz-minh, 300px);
	margin-bottom: var(--crgems-ipz-gap, 32px);
	background-color: #fff;
	border-radius: 18px;
	overflow: hidden;
}

.crgems-ipz__row:last-child {
	margin-bottom: 0;
}

.crgems-ipz__row--rev {
	flex-direction: row-reverse;
}

.crgems-ipz__im {
	position: relative;
	flex: 0 0 var(--crgems-ipz-imgw, 48%);
	min-height: var(--crgems-ipz-minh, 300px);
	background-color: #eef2f8;
}

.crgems-ipz__im img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crgems-ipz__tx {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 44px 60px;
}

.crgems-ipz__bar {
	display: block;
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background-image: linear-gradient(90deg, #1d4ed8, #3b82f6);
}

.crgems-ipz__code {
	margin-top: 22px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3.4px;
	color: #1d4ed8;
}

.crgems-ipz__name {
	margin: 12px 0 0;
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .5px;
	color: #141d33;
}

.crgems-ipz__more {
	display: inline-block;
	margin-top: 32px;
	padding: 10px 26px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
	color: #1d4ed8;
	text-decoration: none;
	background-color: rgba(255, 255, 255, 0);
	border: 1.5px solid rgba(29, 78, 216, .3);
	border-radius: 999px;
	transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

.crgems-ipz__more::after {
	content: "  →";
}

.crgems-ipz--no-arrow .crgems-ipz__more::after {
	content: "";
}

.crgems-ipz__more:hover,
.crgems-ipz__more:focus {
	color: #fff;
	background-color: #1d4ed8;
	border-color: #1d4ed8;
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
	.crgems-ipz__row {
		min-height: var(--crgems-ipz-minh, 260px);
	}

	.crgems-ipz__im {
		min-height: var(--crgems-ipz-minh, 260px);
	}
}

@media (max-width: 820px) {
	.crgems-ipz {
		padding: 56px 0;
	}

	.crgems-ipz__inner {
		padding: 0 20px;
	}

	.crgems-ipz__row,
	.crgems-ipz__row--rev {
		flex-direction: column;
	}

	.crgems-ipz__im {
		flex: none;
		width: 100%;
		min-height: 0;
	}

	.crgems-ipz__im img {
		position: static;
		height: 220px;
	}

	.crgems-ipz__tx {
		padding: 32px 26px 38px;
	}
}
