/* ==========================================================================
   合作客户页（hzkh.asp）
   —— 仅在 hzkh.asp 引入，且放在 responsive.css 之后
   结构：
     .hzkh_box
       .hzkh_top      标题（.cn / .en / .line）
       .hzkh_intro    引导文字
       ul.hzkh_list > li.hzkh_item > .hzkh_link (.hzkh_pic > img / .hzkh_name)
       .hzkh_tips     底部说明
   数据来源：imglinks 表 linktype=5，按 linkpx 排序
   ========================================================================== */

.hzkh_box {
	width: 100%;
	min-width: 1200px;
	background: #ffffff;
	padding: 56px 0 60px;
	box-sizing: border-box;
}

/* ---- 标题 ---- */
.hzkh_top {
	text-align: center;
}

.hzkh_top .cn {
	font-size: 30px;
	line-height: 42px;
	color: #0a5095;
	font-weight: bold;
	letter-spacing: 1px;
}

.hzkh_top .en {
	margin-top: 4px;
	font-family: SlimJoe, Arial, Helvetica, sans-serif;
	font-size: 26px;
	line-height: 32px;
	color: #c9cdd4;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.hzkh_top .line {
	width: 60px;
	height: 3px;
	margin: 18px auto 0;
	background: #0a5095;
}

/* ---- 引导文字 ---- */
.hzkh_intro {
	max-width: 900px;
	margin: 22px auto 0;
	font-size: 15px;
	line-height: 30px;
	color: #666666;
	text-align: center;
}

/* ---- 列表 ---- */
.hzkh_list {
	display: flex;
	flex-wrap: wrap;
	margin: 40px -8px 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.hzkh_list > li {
	width: 25%;
	box-sizing: border-box;
	padding: 0 8px;
	margin-bottom: 16px;
}

.hzkh_link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 180px;
	padding: 18px 14px;
	background: #ffffff;
	border: 1px solid #e7e7e7;
	transition: border-color .3s, box-shadow .3s, transform .3s;
}

.hzkh_pic {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	width: 100%;
	overflow: hidden;
}

.hzkh_pic img {
	display: block;
	max-width: 100%;
	max-height: 100px;
	width: auto;
	height: auto;
}

.hzkh_name {
	width: 100%;
	margin-top: 12px;
	font-size: 14px;
	line-height: 20px;
	color: #4a4a4a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .3s;
}

/* 悬浮效果（桌面端） */
.hzkh_list > li:hover .hzkh_link {
	border-color: #0a5095;
	box-shadow: 0 10px 24px rgba(10, 80, 149, .15);
	transform: translateY(-4px);
}

.hzkh_list > li:hover .hzkh_name {
	color: #0a5095;
	font-weight: bold;
}

/* ---- 底部说明 / 空数据 ---- */
.hzkh_tips {
	margin-top: 13px;
	font-size: 13px;
	line-height: 24px;
	color: #999999;
	text-align: center;
}

.hzkh_empty {
	padding: 60px 0;
	font-size: 15px;
	color: #888888;
	text-align: center;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media screen and (max-width: 1199px) {
	.hzkh_box {
		min-width: 0;
		padding: 34px 0 40px;
	}

	.hzkh_top .cn { font-size: 24px; line-height: 34px; }
	.hzkh_top .en { font-size: 20px; line-height: 26px; }

	.hzkh_intro {
		margin-top: 16px;
		font-size: 14px;
		line-height: 26px;
		text-align: left;
	}

	.hzkh_list { margin: 26px -6px 0; }
	.hzkh_list > li { padding: 0 6px; margin-bottom: 12px; }

	.hzkh_link { height: 158px; padding: 14px 10px; }
	.hzkh_pic img { max-height: 86px; }
	.hzkh_name { margin-top: 10px; font-size: 13px; line-height: 18px; }
}

@media screen and (max-width: 991px) {
	.hzkh_list > li { width: 33.3333%; }
}

@media screen and (max-width: 767px) {
	.hzkh_list > li { width: 50%; }
	.hzkh_link { height: 158px; }

	/* 窄卡片公司名较长，允许两行显示，不再单行截断 */
	.hzkh_name {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		white-space: normal;
		line-height: 18px;
		max-height: 36px;
		word-break: break-all;
	}
}

@media screen and (max-width: 479px) {
	.hzkh_intro { font-size: 13px; line-height: 24px; }
	.hzkh_link { height: 146px; padding: 12px 8px; }
	.hzkh_pic img { max-height: 62px; }
	.hzkh_name { margin-top: 8px; font-size: 12px; line-height: 17px; max-height: 34px; }
	.hzkh_tips { font-size: 12px; }
}

/* 触屏设备不做位移，避免点击热区跳动 */
@media (hover: none) and (pointer: coarse) {
	.hzkh_list > li:hover .hzkh_link {
		border-color: #e7e7e7;
		box-shadow: none;
		transform: none;
	}

	.hzkh_list > li:hover .hzkh_name {
		color: #4a4a4a;
		font-weight: normal;
	}
}
