

/* ═══ ① 导航页去说明化 ═══
   大类页是「子服务导航页」，不是内容页：yq-article-tel-lead.php 自动前置的公司简介+电话长句
   （.yq-tel-lead），以及和卡片标题完全重复的目录（.yq-toc），都不能出现在这里。 */
html body .yq-tel-lead{ display: none !important; }
html body .yq-toc{ display: none !important; }

/* ═══ ② 修主题 100vw 溢出 ═══
   主题深色头部写死 width:100vw。100vw 含纵向滚动条宽度（本机 10px），视口 client width 不含
   → 每页必然横向溢出 10px 并左右错位。overflow-x:clip 不创建滚动容器（不影响 sticky），从根上裁掉。 */
html{ overflow-x: clip !important; }
body{ overflow-x: clip !important; }

/* ═══ ③ 1160 居中栏（与 H1 严格同宽） ═══
   主题给 .entry-content 写了不对称内边距（左 52 / 右 50），先归零，
   再由 .yq-cat-body 用「(100% - 1160) / 2」造出对称留白。
   注：max-width 在本元素上会被主题链式规则吃掉，因此用 padding 实现收窄（padding 已验证可控）。 */
html body.page .entry-content.entry-content.alignfull{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
html body .entry-content .yq-cat-body{
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding-left: max(24px, calc((100% - 1160px) / 2)) !important;
	padding-right: max(24px, calc((100% - 1160px) / 2)) !important;
	box-sizing: border-box !important;
}

/* ── 板块标题组 ── */
html body .entry-content .yq-cat-head{
	max-width: 760px !important;
	margin: 0 auto 44px !important;
	padding: 0 !important;
	text-align: center !important;
}
html body .entry-content .yq-cat-head__cn.yq-cat-head__cn{
	display: block !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.6 !important;
	font-weight: 600 !important;
	letter-spacing: 3px !important;
	color: #8a6a1f !important;
}
html body .entry-content .yq-cat-head__h{
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 30px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	color: #0b2144 !important;
}
html body .entry-content .yq-cat-head__rule{
	display: block !important;
	width: 56px !important;
	height: 3px !important;
	margin: 16px auto 0 !important;
	padding: 0 !important;
	background: #c9a24b !important;
	border-radius: 2px !important;
}

/* ═══ ④ 服务六宫格：固定三列（不用 auto-fill，避免 5+1 断行） ═══ */
html body .entry-content .yq-cat-grid{
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .entry-content a.yq-cat-card{
	display: block !important;
	position: relative !important;
	overflow: hidden !important;
	margin: 0 !important;
	background: #fff !important;
	border: 1px solid #dfe4ec !important;
	border-radius: 16px !important;
	padding: 30px 28px 28px !important;
	box-shadow: 0 2px 10px rgba(8,24,48,.045) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	color: #0b2144 !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
html body .entry-content a.yq-cat-card::before{
	content: "" !important;
	position: absolute !important;
	left: 28px !important;
	top: 0 !important;
	width: 34px !important;
	height: 4px !important;
	border-radius: 0 0 3px 3px !important;
	background: #c9a24b !important;
	transition: width .22s ease, height .22s ease;
}
html body .entry-content a.yq-cat-card:hover{
	transform: translateY(-4px) !important;
	border-color: #c6d2e2 !important;
	box-shadow: 0 14px 34px rgba(8,24,48,.11) !important;
	color: #0b2144 !important;
}
html body .entry-content a.yq-cat-card:hover::before{ width: 54px !important; height: 5px !important; }

/* 卡片内文字：主题对 strong / a * / p / span / :is(...) 有 0,1,3 ~ 0,2,3 特异性的 !important 规则
   （把字号压成 inherit=16px、颜色压成金色 #8a6d33 或 muted #64738a）。
   这里用「元素 + 类（重复类名）×2」把特异性抬到 0,4,3 以上逐个顶回来。 */
html body .entry-content .yq-cat-card span.yq-cat-card__no.yq-cat-card__no{
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	color: #c9a24b !important;
}
html body .entry-content .yq-cat-card strong.yq-cat-card__t.yq-cat-card__t{
	display: block !important;
	margin: 11px 0 0 !important;
	padding: 0 !important;
	font-size: 22px !important;
	line-height: 1.34 !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	color: #0b2144 !important;
}
html body .entry-content .yq-cat-card span.yq-cat-card__kw.yq-cat-card__kw{
	display: block !important;
	margin: 9px 0 0 !important;
	padding: 0 !important;
	font-size: 14.5px !important;
	line-height: 1.7 !important;
	font-weight: 400 !important;
	color: #5a6a7d !important;
}
html body .entry-content .yq-cat-card span.yq-cat-card__go.yq-cat-card__go{
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	font-size: 13.5px !important;
	line-height: 1.6 !important;
	font-weight: 600 !important;
	color: #16407a !important;
	transition: color .22s ease;
}
html body .entry-content .yq-cat-card span.yq-cat-card__go.yq-cat-card__go::after{
	content: "" !important;
	width: 14px !important;
	height: 1.5px !important;
	background: #c9a24b !important;
	transition: width .22s ease;
}
html body .entry-content a.yq-cat-card:hover span.yq-cat-card__go{ color: #8a6a1f !important; }
html body .entry-content a.yq-cat-card:hover span.yq-cat-card__go::after{ width: 22px !important; }

/* ── 响应式：1200 三列 → 1024 两列 → 640 单列 ──
   两列档必须存在，否则 900~1200 区间仍是三列，卡片会被压到 250px 级别、文案换行拥挤。 */
@media (max-width: 1024px){
	html body .entry-content .yq-cat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; }
}
@media (max-width: 900px){
	html body .entry-content .yq-cat-head{ margin-bottom: 32px !important; }
	html body .entry-content .yq-cat-head__h{ font-size: 24px !important; }
	html body .entry-content a.yq-cat-card{ padding: 26px 22px 24px !important; }
	html body .entry-content .yq-cat-card strong.yq-cat-card__t{ font-size: 19px !important; }
	html body .entry-content .yq-cat-card span.yq-cat-card__kw{ font-size: 14px !important; }
}
@media (max-width: 640px){
	html body .entry-content .yq-cat-grid{ grid-template-columns: 1fr !important; gap: 18px !important; }
	html body .entry-content .yq-cat-head__h{ font-size: 21px !important; }
}
