/*
Theme Name:       高鸿机械 Gaohong Machinery
Theme URI:        https://timbercrusher.com/
Author:           高鸿机械制造有限公司
Author URI:
Description:      面向木材加工设备（破碎、粉碎、削片、烘干、制粒）的工业产品展示主题，产品与客户案例由后台管理。
Version:          1.0.0
Requires at least: 6.0
Tested up to:     7.1.1
Requires PHP:     7.4
License:          GNU General Public License v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      gaohong-machinery
Tags:             business, industrial, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   1. 设计令牌（取自设计稿色板）
   ========================================================= */
:root {
	--gh-bg: #f7f9fb;
	--gh-surface: #ffffff;
	--gh-surface-low: #f2f4f6;
	--gh-surface-high: #e6e8ea;
	--gh-ink: #191c1e;
	--gh-muted: #45464d;
	--gh-line: #c6c6cd;
	--gh-primary: #131b2e;
	--gh-primary-soft: #7c839b;
	--gh-green: #006e2f;
	--gh-green-soft: #6bff8f;
	--gh-max: 1280px;
	--gh-radius: 4px;
	--gh-radius-lg: 8px;
	--gh-font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--gh-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* =========================================================
   2. 基础
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--gh-bg);
	color: var(--gh-ink);
	font-family: var(--gh-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gh-green); }

img { display: block; max-width: 100%; height: auto; }
video { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.gh-mono {
	font-family: var(--gh-font-mono);
	font-size: .78em;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gh-container {
	width: min(100% - 80px, var(--gh-max));
	margin-inline: auto;
}

.gh-main { display: block; }

/* =========================================================
   3. 按钮与链接
   ========================================================= */
.gh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--gh-primary);
	color: #fff;
	border: 1px solid var(--gh-primary);
	border-radius: var(--gh-radius);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.gh-button:hover { color: #fff; transform: translateY(-1px); }
.gh-button-green { background: var(--gh-green); border-color: var(--gh-green); }
.gh-button-green:hover { background: #005a26; border-color: #005a26; }
.gh-button-ghost { background: transparent; color: var(--gh-ink); border-color: var(--gh-line); }
.gh-button-ghost:hover { background: var(--gh-ink); border-color: var(--gh-ink); color: #fff; }
.gh-button-lg { padding: 15px 30px; font-size: 16px; }

.gh-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gh-green);
	font-weight: 700;
	font-size: 15px;
}
.gh-link-arrow span { transition: transform .2s ease; }
.gh-link-arrow:hover span { transform: translateX(4px); }

.gh-arrow { transition: transform .2s ease; }

.gh-kicker {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 12px;
	background: rgba(107, 255, 143, .18);
	color: var(--gh-green);
	border-radius: var(--gh-radius);
	font-family: var(--gh-font-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gh-media-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--gh-surface-high) 0%, #d6dade 100%);
}
.gh-media-placeholder-lg { aspect-ratio: 4 / 3; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gh-skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	width: auto; height: auto; clip: auto; margin: 0;
	padding: 10px 16px; background: var(--gh-primary); color: #fff; border-radius: var(--gh-radius);
}

/* =========================================================
   4. 页头与导航
   ========================================================= */
.gh-header { position: sticky; top: 0; z-index: 60; }

.gh-topbar {
	background: var(--gh-primary);
	color: #bec6e0;
	font-size: 13px;
}
.gh-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.gh-topbar-kicker { letter-spacing: .04em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-topbar-tel { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap; }
.gh-topbar-tel:hover { color: var(--gh-green-soft); }
.gh-topbar-tel .gh-mono { color: var(--gh-green-soft); }
.gh-topbar-person { font-weight: 600; color: #bec6e0; }

.gh-navbar {
	background: rgba(247, 249, 251, .97);
	backdrop-filter: saturate(150%) blur(8px);
	border-bottom: 1px solid var(--gh-line);
}
.gh-navbar-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.gh-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.gh-brand:hover { color: inherit; }
.gh-brand-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: var(--gh-primary); color: var(--gh-green-soft);
	border-radius: var(--gh-radius);
	font-weight: 700; font-size: 20px;
}
.gh-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.gh-brand-text strong { font-size: 21px; letter-spacing: -.02em; }
.gh-brand-text small {
	color: var(--gh-muted);
	font-family: var(--gh-font-mono);
	font-size: 10px;
	letter-spacing: .14em;
}
.gh-brand img { max-height: 48px; width: auto; }
.gh-brand-logo { height: 54px; width: auto; flex-shrink: 0; }

.gh-nav { margin-left: auto; }
.gh-nav-list {
	display: flex; align-items: center; gap: 26px;
	margin: 0; padding: 0; list-style: none;
	font-size: 15px; color: var(--gh-muted);
}
.gh-nav-list li { position: relative; }
.gh-nav-list a { display: inline-block; padding: 6px 0; font-weight: 500; }
.gh-nav-list a:hover,
.gh-nav-list .current-menu-item > a,
.gh-nav-list .current_page_item > a { color: var(--gh-green); }

/* 二级菜单 */
.gh-nav-list .sub-menu {
	position: absolute; top: 100%; left: -16px; z-index: 70;
	min-width: 220px;
	margin: 0; padding: 8px;
	list-style: none;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	box-shadow: 0 12px 32px rgba(19, 27, 46, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.gh-nav-list li:hover > .sub-menu,
.gh-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gh-nav-list .sub-menu a { display: block; padding: 8px 12px; border-radius: var(--gh-radius); font-size: 14px; }
.gh-nav-list .sub-menu a:hover { background: var(--gh-surface-low); }

.gh-navbar-cta { flex-shrink: 0; }

.gh-nav-toggle {
	display: none;
	flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 0 10px;
	background: transparent; border: 1px solid var(--gh-line); border-radius: var(--gh-radius);
	cursor: pointer;
}
.gh-nav-toggle-bar { display: block; height: 2px; background: var(--gh-ink); transition: transform .2s ease, opacity .2s ease; }

/* =========================================================
   5. 面包屑
   ========================================================= */
.gh-breadcrumb {
	background: var(--gh-surface);
	border-bottom: 1px solid var(--gh-line);
	color: var(--gh-muted);
	font-size: 14px;
}
.gh-breadcrumb .gh-container { display: flex; align-items: center; gap: 8px; min-height: 46px; flex-wrap: wrap; }
.gh-breadcrumb-sep { color: var(--gh-line); }
.gh-breadcrumb a { color: var(--gh-muted); }
.gh-breadcrumb a:hover { color: var(--gh-green); }
.gh-breadcrumb .is-current { color: var(--gh-ink); font-weight: 600; }

/* 产品详情页的面包屑压在主图上方，用浅底与页头拉开层次 */
.gh-breadcrumb-plain { background: var(--gh-bg); }

/* =========================================================
   6. 首页 Hero
   ========================================================= */
.gh-hero { position: relative; }
.gh-hero-slides { position: relative; overflow: hidden; }

/* 单张幻灯片：图片用伪元素承载，便于切换时做缩放过渡 */
.gh-slide {
	position: relative;
	display: none;
	min-height: 520px;
	align-items: center;
	background: var(--gh-primary);
}
.gh-slide.is-active { display: flex; }

.gh-slide-bg {
	position: absolute; inset: 0;
	background-image: var(--gh-hero-img);
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	transition: transform 8s ease-out;
}
.gh-slide.is-active .gh-slide-bg { transform: scale(1); }

/* 暗角遮罩：图片明暗不可控，靠它保证压在图上的文字始终可读 */
.gh-slide-shade {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(19,27,46,.88) 0%, rgba(19,27,46,.62) 46%, rgba(19,27,46,.18) 100%);
}

.gh-slide-inner {
	position: relative;
	z-index: 1;
	padding: 96px 0 104px;
	max-width: 780px;
	color: #fff;
}
.gh-slide-kicker {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 12px;
	border: 1px solid rgba(107,255,143,.55);
	border-radius: var(--gh-radius);
	color: var(--gh-green-soft);
	font-family: var(--gh-font-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.gh-slide-title {
	margin: 0 0 20px;
	font-size: clamp(34px, 4.2vw, 58px);
	line-height: 1.12;
	letter-spacing: -.04em;
}
.gh-slide-lead {
	max-width: 620px;
	margin: 0 0 32px;
	color: rgba(255,255,255,.82);
	font-size: 17px;
	line-height: 1.75;
}
.gh-slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gh-slide .gh-button-ghost {
	border-color: rgba(255,255,255,.45);
	color: #fff;
}
.gh-slide .gh-button-ghost:hover { border-color: #fff; }

/* 切换控件：左右箭头 + 底部圆点 */
.gh-slider-ui {
	position: absolute;
	right: 0; bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 24px 24px 0;
}
.gh-slider-arrow {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}
.gh-slider-arrow:hover { background: rgba(255,255,255,.26); border-color: #fff; }
.gh-slider-arrow:focus-visible { outline: 2px solid var(--gh-green-soft); outline-offset: 2px; }

.gh-slider-dots { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.gh-slider-dot {
	width: 9px; height: 9px;
	padding: 0;
	background: rgba(255,255,255,.42);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: width .25s, background .25s, border-radius .25s;
}
.gh-slider-dot.is-active { width: 26px; background: var(--gh-green-soft); border-radius: 5px; }
.gh-slider-dot:focus-visible { outline: 2px solid var(--gh-green-soft); outline-offset: 3px; }

/* 截断钩子里的内容保留在可访问性树内，但不占屏 */
.gh-slider-ui > .screen-reader-text { display: none; }

/* 数据条：脱离图片、铺在下方，换图不影响它 */
.gh-hero-stats-band {
	background: var(--gh-surface);
	border-bottom: 1px solid var(--gh-line);
}
.gh-hero-stats {
	display: flex; flex-wrap: wrap; gap: 40px;
	margin: 0; padding: 22px 0; list-style: none;
}
.gh-hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.gh-hero-stats .gh-mono { color: var(--gh-green); font-size: 26px; letter-spacing: -.02em; text-transform: none; }
.gh-hero-stats em { font-style: normal; color: var(--gh-muted); font-size: 14px; }

/* =========================================================
   7. 通用区块
   ========================================================= */
.gh-section { padding: 88px 0; border-bottom: 1px solid var(--gh-line); }
.gh-section-alt { background: var(--gh-surface-low); }
.gh-section:last-of-type { border-bottom: 0; }

.gh-section-head { max-width: 720px; margin-bottom: 44px; }
.gh-section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); }
.gh-section-head p { color: var(--gh-muted); margin: 0; font-size: 17px; }
.gh-section-more { margin: 40px 0 0; }

/* 页面头 */
.gh-page-head {
	padding: 64px 0 56px;
	background: var(--gh-surface-low);
	border-bottom: 1px solid var(--gh-line);
}
.gh-page-head-lg { padding: 96px 0 80px; }
.gh-page-title { margin: 0 0 14px; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; }
.gh-page-lead { max-width: 720px; color: var(--gh-muted); font-size: 18px; line-height: 1.7; margin: 0; }

/* =========================================================
   8. 产品系列卡
   ========================================================= */
.gh-series-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.gh-series-card {
	position: relative;
	display: flex; flex-direction: column;
	gap: 10px;
	padding: 0 0 22px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}
.gh-series-card:hover { border-color: var(--gh-green); transform: translateY(-2px); color: inherit; }
.gh-series-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--gh-surface-high);
}
.gh-series-media img {
	display: block; width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.gh-series-card:hover .gh-series-media img { transform: scale(1.04); }
.gh-series-media .gh-series-index {
	position: absolute; top: 12px; left: 14px;
	padding: 2px 8px;
	background: var(--gh-surface);
	border-radius: var(--gh-radius);
}
.gh-series-index { color: var(--gh-green); font-size: 12px; }
.gh-series-card h3 { margin: 0; padding: 0 24px; font-size: 19px; }
.gh-series-card p { flex: 1; margin: 0; padding: 0 24px; color: var(--gh-muted); font-size: 14px; line-height: 1.65; }
.gh-series-meta {
	display: flex; align-items: center; justify-content: space-between;
	margin: 6px 24px 0; padding-top: 14px;
	border-top: 1px solid var(--gh-line);
	color: var(--gh-muted);
	font-size: 13px;
}
.gh-series-card:hover .gh-arrow { transform: translateX(4px); }

/* =========================================================
   9. 优势
   ========================================================= */
.gh-advantage-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gh-advantage-item {
	padding: 32px 28px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-advantage-code { display: block; margin-bottom: 14px; color: var(--gh-green); font-size: 12px; }
.gh-advantage-item h3 { font-size: 21px; margin-bottom: 12px; }
.gh-advantage-item p { color: var(--gh-muted); font-size: 15px; }

.gh-check-list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gh-check-list li { position: relative; padding-left: 24px; color: var(--gh-muted); font-size: 14px; }
.gh-check-list li::before {
	content: "";
	position: absolute; left: 0; top: 7px;
	width: 10px; height: 6px;
	border-left: 2px solid var(--gh-green);
	border-bottom: 2px solid var(--gh-green);
	transform: rotate(-45deg);
}

/* 四宫格 */
.gh-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gh-feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gh-feature {
	padding: 30px 26px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-feature h3 { font-size: 19px; margin-bottom: 10px; }
.gh-feature p { margin: 0; color: var(--gh-muted); font-size: 15px; }

/* =========================================================
   10. 关于我们（分栏）
   ========================================================= */
.gh-about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.gh-about-media {
	margin: 0;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	background: var(--gh-surface-high);
}
.gh-about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gh-about-copy h2 { font-size: clamp(24px, 2.4vw, 32px); }
.gh-about-copy p { color: var(--gh-muted); font-size: 16.5px; line-height: 1.8; }

/* =========================================================
   11. 产品网格与卡片
   ========================================================= */
.gh-filter { background: var(--gh-surface); border-bottom: 1px solid var(--gh-line); }
.gh-filter-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.gh-filter-item {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	font-size: 14px; color: var(--gh-muted);
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.gh-filter-item:hover { border-color: var(--gh-green); color: var(--gh-green); }
.gh-filter-item.is-active { background: var(--gh-primary); border-color: var(--gh-primary); color: #fff; }
.gh-filter-count { color: inherit; opacity: .65; font-size: 11px; }

.gh-archive { padding: 56px 0 88px; }
.gh-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gh-product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gh-product-card {
	display: flex; flex-direction: column;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}
.gh-product-card:hover { border-color: var(--gh-green); transform: translateY(-2px); }
.gh-product-media { display: block; overflow: hidden; background: var(--gh-surface-high); }
.gh-product-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.gh-product-card:hover .gh-product-media img { transform: scale(1.04); }
.gh-product-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.gh-product-model {
	align-self: flex-start;
	margin-bottom: 10px; padding: 4px 8px;
	background: var(--gh-surface-low);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	color: var(--gh-muted);
	font-size: 11px;
}
.gh-product-title { margin: 0 0 10px; font-size: 20px; }
.gh-product-excerpt { flex: 1; margin: 0 0 18px; color: var(--gh-muted); font-size: 14.5px; line-height: 1.65; }

.gh-empty, .gh-empty-block { color: var(--gh-muted); }
.gh-empty-block {
	padding: 40px;
	background: var(--gh-surface);
	border: 1px dashed var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-empty-block code { font-family: var(--gh-font-mono); font-size: .9em; background: var(--gh-surface-low); padding: 2px 6px; border-radius: 3px; }

.gh-pagination { margin-top: 48px; }
.gh-pagination .page-numbers {
	display: inline-block;
	min-width: 40px; margin-right: 8px; padding: 9px 13px;
	text-align: center;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	color: var(--gh-muted);
}
.gh-pagination .page-numbers.current,
.gh-pagination a.page-numbers:hover { background: var(--gh-green); border-color: var(--gh-green); color: #fff; }

/* =========================================================
   12. 产品详情
   ========================================================= */
.gh-single-hero { padding: 56px 0 72px; background: var(--gh-surface); border-bottom: 1px solid var(--gh-line); }
.gh-single-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gh-single-media {
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	background: var(--gh-surface-high);
}
.gh-single-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gh-single-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gh-badge {
	padding: 5px 10px;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	color: var(--gh-muted);
	font-size: 12px;
}
.gh-badge-mono { font-family: var(--gh-font-mono); letter-spacing: .06em; background: var(--gh-surface-low); }
.gh-badge-green { background: rgba(107, 255, 143, .2); border-color: transparent; color: var(--gh-green); font-weight: 700; }

.gh-single-title { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; }
.gh-single-excerpt { color: var(--gh-muted); font-size: 17px; line-height: 1.8; }

/* 通用属性行：设备类型/适用物料/使用场景/定制需求/产地。
   做成「标签 + 值」两栏，比一堆同级段落好扫读，也不至于抢走下方关键参数的注意力。 */
.gh-single-attrs {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px; margin: 24px 0 0;
	background: var(--gh-line);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	overflow: hidden;
}
.gh-single-attr { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 12px 16px; background: var(--gh-surface); }
.gh-single-attr dt { flex: 0 0 72px; color: var(--gh-muted); font-size: 13px; }
.gh-single-attr dd { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.6; }
.gh-single-attr:last-child:nth-child(odd) { grid-column: 1 / -1; }

.gh-single-keyfact {
	display: flex; flex-wrap: wrap; gap: 12px;
	margin: 28px 0 32px; padding: 0; list-style: none;
}
.gh-single-keyfact li {
	display: flex; flex-direction: column; gap: 4px;
	padding: 14px 18px;
	background: var(--gh-surface-low);
	border-left: 3px solid var(--gh-green);
	border-radius: var(--gh-radius);
	min-width: 140px;
}
.gh-single-keyfact .gh-mono { color: var(--gh-muted); font-size: 11px; }
.gh-single-keyfact strong { font-size: 18px; }

.gh-single-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.gh-single-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

.gh-content { color: var(--gh-muted); font-size: 16.5px; line-height: 1.85; }
/* 关键词内链跳色，新窗口打开。 */
.gh-content a.gh-kw-link {
	color: var(--gh-green);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 110, 47, .45);
}
.gh-content a.gh-kw-link:hover {
	color: #005a26;
	border-bottom-color: #005a26;
}
.gh-content h2 { margin-top: 1.6em; color: var(--gh-ink); font-size: 24px; }
.gh-content h3 { margin-top: 1.4em; color: var(--gh-ink); font-size: 20px; }
.gh-content h2:first-child, .gh-content h3:first-child { margin-top: 0; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li { margin-bottom: .5em; }
.gh-content img { margin: 1.5em 0; border-radius: var(--gh-radius-lg); }
.gh-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.gh-content th, .gh-content td { padding: 10px 14px; border: 1px solid var(--gh-line); text-align: left; }
.gh-content th { background: var(--gh-surface-low); color: var(--gh-ink); }
.gh-content blockquote {
	margin: 1.5em 0; padding: 16px 20px;
	background: var(--gh-surface-low);
	border-left: 4px solid var(--gh-green);
	font-style: normal;
}

.gh-content .gh-copy-list {
	margin: 0 0 8px;
	padding: 0;
	counter-reset: gh-copy;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.gh-content .gh-copy-item {
	position: relative;
	display: block;
	margin: 0;
	padding: 16px 20px 16px 56px;
	background: var(--gh-surface-low);
	border-radius: var(--gh-radius);
	color: var(--gh-muted);
	font-size: 15.5px;
	line-height: 1.75;
}
.gh-content .gh-copy-item::before {
	counter-increment: gh-copy;
	content: counter(gh-copy, decimal-leading-zero);
	position: absolute;
	left: 16px;
	top: 18px;
	color: var(--gh-green);
	font-family: var(--gh-font-mono);
	font-size: 12px;
	letter-spacing: .06em;
}

.gh-single-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 140px; }
.gh-spec-panel, .gh-aside-panel {
	padding: 24px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-spec-panel h2, .gh-spec-panel h3, .gh-aside-panel h3 { margin: 0 0 16px; font-size: 17px; }
.gh-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gh-spec-table th, .gh-spec-table td { padding: 9px 0; border-bottom: 1px solid var(--gh-line); text-align: left; vertical-align: top; }
.gh-spec-table tr:last-child th, .gh-spec-table tr:last-child td { border-bottom: 0; }
.gh-spec-table th { color: var(--gh-muted); font-weight: 500; padding-right: 12px; }
.gh-spec-table td { font-weight: 600; text-align: right; }

.gh-aside-list { margin: 0; padding: 0; list-style: none; }
.gh-aside-list li { border-bottom: 1px solid var(--gh-line); }
.gh-aside-list li:last-child { border-bottom: 0; }
.gh-aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14.5px; color: var(--gh-muted); }
.gh-aside-list a:hover { color: var(--gh-green); }
.gh-aside-list .gh-mono { color: var(--gh-line); font-size: 11px; }

.gh-aside-cta {
	padding: 26px 24px;
	background: var(--gh-primary);
	color: #bec6e0;
	border-radius: var(--gh-radius-lg);
}
.gh-aside-cta-title { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.gh-aside-cta p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.gh-aside-cta .gh-button { width: 100%; }

/* 型号参数矩阵 */
.gh-specs-section .gh-section-head { margin-bottom: 32px; }
.gh-matrix-wrap {
	overflow-x: auto;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	-webkit-overflow-scrolling: touch;
}
.gh-matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.gh-matrix thead th {
	padding: 14px 16px;
	background: var(--gh-primary);
	color: #fff;
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 1px solid var(--gh-primary);
}
.gh-matrix thead th:first-child { color: var(--gh-green-soft); }
.gh-matrix thead th.is-first { background: var(--gh-green); }
.gh-matrix tbody th {
	padding: 12px 16px;
	color: var(--gh-muted);
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
	background: var(--gh-surface-low);
	border-bottom: 1px solid var(--gh-line);
	border-right: 1px solid var(--gh-line);
}
.gh-matrix tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--gh-line);
	border-right: 1px solid var(--gh-line);
	font-variant-numeric: tabular-nums;
}
.gh-matrix tbody tr:last-child th,
.gh-matrix tbody tr:last-child td { border-bottom: 0; }
.gh-matrix tbody th:last-child,
.gh-matrix tbody td:last-child { border-right: 0; }
.gh-matrix tbody td.is-first { background: rgba(107, 255, 143, .1); font-weight: 600; }

/* 图库 */
.gh-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gh-gallery-item {
	margin: 0;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	background: var(--gh-surface);
}
.gh-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gh-gallery-item:hover img { transform: scale(1.05); }

/* 参数解读：型号参数表下方的白话小结 */
.gh-reading {
	margin-top: 28px;
	padding: 28px 32px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-left: 4px solid var(--gh-green);
	border-radius: var(--gh-radius-lg);
}
.gh-reading h3 { margin: 0 0 16px; font-size: 17px; }
.gh-reading-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gh-reading-list li {
	position: relative;
	padding-left: 22px;
	color: var(--gh-muted);
	font-size: 15px;
	line-height: 1.75;
}
.gh-reading-list li::before {
	content: "";
	position: absolute; left: 4px; top: .68em;
	width: 7px; height: 7px;
	background: var(--gh-green);
	border-radius: 50%;
}
.gh-reading-note {
	margin: 18px 0 0; padding-top: 16px;
	border-top: 1px solid var(--gh-line);
	color: var(--gh-muted);
	font-size: 14px;
}
.gh-reading-note a { color: var(--gh-green); font-weight: 600; }

/* =========================================================
   13. 客户案例
   ========================================================= */
.gh-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gh-case-card {
	display: flex; flex-direction: column;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}
.gh-case-card:hover { border-color: var(--gh-green); transform: translateY(-2px); }
.gh-case-media {
	display: block;
	position: relative;
	width: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	overflow: hidden;
	background: var(--gh-surface-high);
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: zoom-in;
	appearance: none;
	-webkit-appearance: none;
}
.gh-case-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.gh-case-card:hover .gh-case-media img { transform: scale(1.04); }
.gh-case-media:focus-visible { outline: 2px solid var(--gh-green); outline-offset: -2px; }
.gh-case-count {
	position: absolute;
	right: 12px; bottom: 12px;
	padding: 4px 8px;
	background: rgba(19, 27, 46, .82);
	color: #fff;
	border-radius: var(--gh-radius);
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .02em;
	pointer-events: none;
}
.gh-case-body { flex: 1; padding: 18px 22px 20px; }
.gh-case-meta { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gh-case-row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
}
.gh-case-row dt {
	margin: 0;
	color: var(--gh-muted);
	font-size: 13px;
	font-weight: 400;
}
.gh-case-row dd {
	margin: 0;
	color: var(--gh-ink);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.02em;
}

/* 案例图库弹窗 */
.gh-lightbox {
	width: min(96vw, 1080px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.gh-lightbox::backdrop { background: rgba(19, 27, 46, .86); }
.gh-lightbox-frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gh-lightbox-frame img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: var(--gh-radius-lg);
	background: #111;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.gh-lightbox-caption {
	margin: 14px 0 0;
	color: #fff;
	text-align: center;
	font-size: 14px;
	letter-spacing: .02em;
}
.gh-lightbox-close,
.gh-lightbox-prev,
.gh-lightbox-next {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--gh-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	transition: transform .2s ease, background-color .2s ease;
}
.gh-lightbox-close:hover { transform: translateY(-1px); }
.gh-lightbox-close { top: -18px; right: -18px; font-size: 26px; }
.gh-lightbox-prev,
.gh-lightbox-next { top: 50%; transform: translateY(-50%); }
.gh-lightbox-prev:hover,
.gh-lightbox-next:hover { transform: translateY(calc(-50% - 1px)); }
.gh-lightbox-prev { left: -18px; }
.gh-lightbox-next { right: -18px; }
.gh-lightbox.is-single .gh-lightbox-prev,
.gh-lightbox.is-single .gh-lightbox-next { display: none; }
body.gh-lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
	.gh-lightbox-prev { left: 8px; }
	.gh-lightbox-next { right: 8px; }
	.gh-lightbox-close { top: 8px; right: 8px; }
}

/* =========================================================
   14. 新闻
   ========================================================= */
.gh-news-list { display: flex; flex-direction: column; border-top: 1px solid var(--gh-line); }
.gh-news-item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1.1fr) minmax(0, 1.6fr) 24px;
	gap: 24px;
	align-items: center;
	padding: 26px 0;
	border-bottom: 1px solid var(--gh-line);
	color: var(--gh-muted);
	transition: color .2s ease;
}
.gh-news-item:hover { color: var(--gh-green); }
.gh-news-meta { display: flex; flex-direction: column; gap: 2px; color: var(--gh-muted); font-size: 12px; }
.gh-news-meta em { font-style: normal; color: var(--gh-green); }
.gh-news-title { color: var(--gh-ink); font-weight: 700; font-size: 17px; }
.gh-news-item:hover .gh-news-title { color: var(--gh-green); }
.gh-news-excerpt { font-size: 14.5px; }
.gh-news-item:hover .gh-arrow { transform: translateX(4px); }

/* 新闻列表：筛选条 + 第 1 页头版 + 卡片网格。
   卡片做成三列，正文行数被 title 与 excerpt 的 clamp 钉住，
   同一行的卡片高度对得齐；文章没有特色图时占位块顶到位，版式不会塌。 */
.gh-filter-inner { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.gh-filter-inner::-webkit-scrollbar { display: none; }
.gh-filter-inner > * { flex: none; }

.gh-news-feature {
	display: grid;
	grid-template-columns: 420px minmax(0, 1fr);
	gap: 36px;
	align-items: center;
	margin: 0 0 44px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--gh-line);
}
.gh-news-feature-media {
	display: block;
	overflow: hidden;
	border-radius: var(--gh-radius-lg);
	background: var(--gh-surface-high);
}
.gh-news-feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gh-news-feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.gh-news-feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.gh-news-feature-meta .gh-mono { color: var(--gh-muted); font-size: 12.5px; }
.gh-news-feature-title { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; }
.gh-news-feature-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	max-width: 640px;
	color: var(--gh-muted);
	font-size: 16.5px;
	line-height: 1.75;
}

.gh-news-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gh-news-card {
	display: flex;
	flex-direction: column;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}
.gh-news-card:hover { border-color: var(--gh-green); transform: translateY(-2px); }
.gh-news-card-media { display: block; overflow: hidden; background: var(--gh-surface-high); }
.gh-news-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.gh-news-card:hover .gh-news-card-media img { transform: scale(1.04); }
.gh-news-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.gh-news-card-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.gh-news-card-body .gh-mono { color: var(--gh-muted); font-size: 12.5px; }
.gh-news-card-body h2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.45;
}
.gh-news-card-body p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin: 0 0 18px;
	color: var(--gh-muted);
	font-size: 14.5px;
	line-height: 1.7;
}

.gh-post-container { max-width: 820px; }
.gh-post-thumb { margin: 0 0 32px; border-radius: var(--gh-radius-lg); overflow: hidden; }
.gh-post-meta { display: flex; gap: 18px; margin: 0; color: var(--gh-muted); font-size: 13px; }

/* 文章首屏：纯文字带（主词 H1 + 摘要 + 参数速览 + 转化按钮）。
   设备图不放首屏，改放正文里，贴合所在段落。 */
.gh-post-hero {
	padding: 56px 0 56px;
	background: var(--gh-surface);
	border-bottom: 1px solid var(--gh-line);
}
.gh-post-hero .gh-single-title { max-width: 900px; }
.gh-post-hero .gh-single-excerpt { max-width: 780px; }

.gh-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.gh-post-tags .gh-kicker { margin-bottom: 0; }
.gh-post-hero .gh-post-meta { margin: 24px 0 0; }
.gh-post-hero-more { margin: 20px 0 0; }

/* 正文配图：上半段、下半段各一张。figure 由 [gh_figure] 短代码输出，
   图源与 alt 指向关联产品的图库，不用为每篇文章单独传图。 */
.gh-content .gh-post-figure { margin: 34px 0; }
.gh-content .gh-post-figure img { width: 100%; border-radius: var(--gh-radius-lg); }
.gh-content .gh-post-figure figcaption {
	margin-top: 10px;
	color: var(--gh-muted);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
}

@media (max-width: 960px) {
	.gh-post-hero { padding: 40px 0 40px; }
}

/* 文末转化通道：与正文同列居中，复用 [gh_cta] 那套 CTA 条样式。 */
.gh-post-cta-wrap .gh-archive-cta { margin-top: 48px; }

/* =========================================================
   15. 询价 / CTA
   ========================================================= */
.gh-inquiry { background: var(--gh-surface-low); }
.gh-inquiry-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: start; }
.gh-inquiry-copy h2 { font-size: clamp(26px, 2.8vw, 36px); }
.gh-inquiry-copy p { color: var(--gh-muted); font-size: 17px; }
.gh-inquiry-contact { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gh-inquiry-contact li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.gh-inquiry-contact .gh-mono { color: var(--gh-green); font-size: 11px; }

/* 联系我们页：联系电话 / 邮箱 / 地址横铺在表单上方，下面是全宽横向询价表单。
   实时清单已去掉；字段两列横向落位见 15.1 一段。 */
.gh-contact-facts {
	margin: 0 0 40px; padding: 26px 32px; list-style: none;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-contact-facts > li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gh-contact-facts-label { color: var(--gh-green); font-size: 11px; }
.gh-contact-facts-name { color: var(--gh-muted); font-size: 13.5px; }
.gh-contact-facts-value { color: var(--gh-ink); font-size: 17px; font-weight: 600; }
a.gh-contact-facts-value:hover { color: var(--gh-green); }

.gh-contact-extra { margin-top: 40px; color: var(--gh-muted); }

.gh-inquiry-form {
	display: flex; flex-direction: column; gap: 8px;
	container-type: inline-size;
	padding: 32px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg);
}
.gh-inquiry-form h2 { margin: 0 0 12px; font-size: 22px; }

.gh-inquiry-form label { margin-top: 8px; font-size: 14px; font-weight: 600; }
.gh-inquiry-form input,
.gh-inquiry-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	font-family: inherit; font-size: 15px; color: var(--gh-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.gh-inquiry-form input:focus,
.gh-inquiry-form textarea:focus {
	outline: none;
	border-color: var(--gh-green);
	box-shadow: 0 0 0 3px rgba(0, 110, 47, .12);
}
.gh-inquiry-form textarea { resize: vertical; }
.gh-inquiry-form .gh-button { margin-top: 18px; }
.gh-form-note { margin: 12px 0 0; color: var(--gh-muted); font-size: 12.5px; }

/* WPForms「在线询价」：只做必要对齐，不覆盖插件默认字号与焦点态 */
.gh-inquiry-form .wpforms-container { margin: 0; }
/* 插件自带 div.wpforms-container-full:not(:empty){margin:24px auto}（两个类名），
   下面这条的两条类名跟它同权重，写在后面才压得住；
   否则表单被 auto 外边距挤窄（首页 460px 只剩 294px）。 */
.gh-inquiry-form .wpforms-container.wpforms-container-full { margin: 0; }
.gh-inquiry-form .wpforms-field { padding: 0; margin: 0 0 12px; }
.gh-inquiry-form .wpforms-field-container > .wpforms-field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.gh-inquiry-form .wpforms-field-container > .wpforms-field > .wpforms-field-description {
	order: 5;
}
.gh-inquiry-form .wpforms-field-label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--gh-ink); }
.gh-inquiry-form .wpforms-field input:not([type="submit"]),
.gh-inquiry-form .wpforms-field textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	font-family: inherit; font-size: 15px; color: var(--gh-ink);
}
/* 插件把 medium 限成格子的 60%、large 才 100%，同一行里称呼/电话短、邮箱拉满，看起来像错位。
   选择器多写一层容器类，压过 .wpforms-container input.wpforms-field-medium。 */
.gh-inquiry-form .wpforms-container .wpforms-field input.wpforms-field-small,
.gh-inquiry-form .wpforms-container .wpforms-field input.wpforms-field-medium,
.gh-inquiry-form .wpforms-container .wpforms-field input.wpforms-field-large,
.gh-inquiry-form .wpforms-container .wpforms-field textarea,
.gh-inquiry-form .wpforms-container .wpforms-field select,
.gh-inquiry-form .wpforms-container .wpforms-field .choices {
	width: 100%;
	max-width: 100%;
}
/* 说明跟在输入框后面（见 inc/contact.php），不要再用负边距往上挤。 */
.gh-inquiry-form .wpforms-field-description {
	margin: 6px 0 0;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--gh-muted);
	line-height: 1.5;
}
.gh-inquiry-form .wpforms-submit-container { padding: 6px 0 0; }
.gh-inquiry-form .wpforms-submit { margin-top: 12px; }

/* 字段栅格：桌面两列（左：称呼/电话/详细需求，右：邮箱/咨询设备），窄屏塌成单列。
   列位置用 grid-column 显式指定，不靠出现顺序 —— 反垃圾会把蜜罐字段插在随机位置。
   两列宽度用 500px 那个断点而不是表单宽度：表单宽度由页面决定（联系页 520~700px，首页 460px）。
   蜜罐（label 是随机拼的、input 无 placeholder）不写 display:none：AMP 下 0 宽会被当实心输入跳过，
   压成 0 宽让它落进右列、不再撑高。空号字段（ID 4）是反垃圾的占位槽，不参与布局。 */
/* 写死两列 + 每个字段显式 grid-row：行是断开的（左列 1/2/3 行，右列 3/4 行），
   这样「从哪一行开始塌成单列」是确定的，不会像 auto-fit 那样被总宽度带着乱跳。
   表单宽度由页面决定（联系页 520px，首页 460px），窄的那个靠 .gh-contact-form 那条覆盖塌成单列。 */
.gh-inquiry-form .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	align-items: start;
}
.gh-inquiry-form .wpforms-field { min-width: 0; padding: 0; margin: 0 0 12px; }
.gh-inquiry-form .wpforms-field[data-field-id="1"] { grid-column: 1; grid-row: 1; }
.gh-inquiry-form .wpforms-field[data-field-id="2"] { grid-column: 1; grid-row: 2; }
.gh-inquiry-form .wpforms-field[data-field-id="3"] { grid-column: 1; grid-row: 3; }
.gh-inquiry-form .wpforms-field[data-field-id="5"] { grid-column: 2; grid-row: 3; }
/* order 把咨询设备排到 DOM 末尾：choices.js 会往容器里追加隐藏元素、还把 select 的 tabindex 冲掉，
   所以键盘顺序交给 DOM 顺序管（行位置仍由上方 grid-row 决定，order 不改变显式放置的格子）。 */
.gh-inquiry-form .wpforms-field[data-field-id="6"] { grid-column: 2; grid-row: 4; order: 1; }
.gh-inquiry-form .wpforms-field[data-field-id="4"] { display: none; }
/* 蜜罐：压成 0 宽贴到右列，不占高度也不影响字段落位 */
.gh-inquiry-form .wpforms-field-text:not(:has(input[placeholder])) { grid-column: -2 / -1; width: 0; min-width: 0; }

/* 表单内容区太窄时塌成单列，否则右列只剩 100px 左右没法看。
   容器查询按「内容盒」量宽度（不含 padding）：
   联系页两栏版 5 列宽 = 内容盒 699px − 间距 48px，每列约 130px，够两列；
   首页那个 460px 表单内容盒只有 396px，落进这里变单列。
   容器的声明在上面 .gh-inquiry-form 规则里；这段必须放在字段规则之后 —— 同权重下后写的赢。 */
@container (max-width: 700px) {
	.gh-inquiry-form .wpforms-field-container { grid-template-columns: 1fr; }
	.gh-inquiry-form .wpforms-field[data-field-id] { grid-column: 1 / -1; grid-row: auto; }
	.gh-inquiry-form .wpforms-field[data-field-id="4"] { display: none; }
}



/* 设备下拉（WPForms modern = Choices.js 的收起式搜索下拉）。
   收起时只占一个输入框的高度，展开后面板浮在上层，不撑高表单。
   下面这组把插件默认的蓝色（#066aab）统一换成站点的深绿，否则一个绿主题里冒出个蓝色控件。 */
.gh-inquiry-form .wpforms-field-select .choices__inner {
	min-height: 46px;
	padding: 10px 32px 10px 14px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	font-family: inherit; font-size: 15px; color: var(--gh-ink);
}
.gh-inquiry-form .wpforms-field-select.is-focused .choices__inner,
.gh-inquiry-form .wpforms-field-select.is-open .choices__inner {
	border-color: var(--gh-green);
	box-shadow: 0 0 0 3px rgba(0, 110, 47, .12);
}
.gh-inquiry-form .wpforms-field-select .choices__inner .choices__placeholder { color: var(--gh-muted); opacity: 1; }

/* 展开面板：浮层，带描边和阴影，跟站点其它卡片一致 */
/* 面板背景/描边插件自带 !important，这里必须同等对待，否则蓝色覆盖不掉 */
.gh-inquiry-form .wpforms-field-select .choices__list--dropdown {
	margin-top: 4px;
	background: var(--gh-surface) !important;
	border: 1px solid var(--gh-line) !important;
	border-radius: var(--gh-radius) !important;
	box-shadow: 0 12px 32px rgba(19, 27, 46, .12);
	z-index: 110;
}
.gh-inquiry-form .wpforms-field-select .choices__list--dropdown .choices__item {
	padding: 10px 14px;
	font-size: 14.5px; color: var(--gh-ink);
}
.gh-inquiry-form .wpforms-field-select .choices__list--dropdown .choices__item--selectable.is-highlighted {
	background: var(--gh-surface-low) !important;
	color: var(--gh-green) !important;
}
/* 搜索框（面板顶部的输入条） */
.gh-inquiry-form .wpforms-field-select .choices__list--dropdown .choices__input {
	padding: 8px 14px;
	background: var(--gh-surface);
	border-radius: var(--gh-radius) var(--gh-radius) 0 0;
	font-size: 14.5px; color: var(--gh-ink);
}

/* 已选项的标签：站点绿浅底 + 绿描边，跟原来的卡片选中态同一套视觉 */
.gh-inquiry-form .wpforms-field-select .choices__list--multiple .choices__item {
	margin: 0 4px 0 0;
	padding: 5px 10px;
	background: rgba(0, 110, 47, .08);
	border: 1px solid rgba(0, 110, 47, .35);
	border-radius: var(--gh-radius);
	font-size: 13.5px; font-weight: 400; color: var(--gh-green);
}
.gh-inquiry-form .wpforms-field-select .choices__list--multiple .choices__item .choices__button {
	border-left-color: rgba(0, 110, 47, .35);
}

/* 没跑 JS（Choices.js 未初始化）时的兜底：原生多选列表 */
.gh-inquiry-form .wpforms-field-select select:not(.choices__input) {
	width: 100%;
	padding: 8px 10px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	font-family: inherit; font-size: 15px; color: var(--gh-ink);
}
.gh-inquiry-form .wpforms-field-select select:not(.choices__input):focus {
	outline: none;
	border-color: var(--gh-green);
	box-shadow: 0 0 0 3px rgba(0, 110, 47, .12);
}
.gh-inquiry-form .wpforms-field-select select:not(.choices__input)[multiple] { height: auto; min-height: 132px; padding: 0; }

/* =========================================================
   15.1 联系页询价版式（全宽横向两列）
   =========================================================
   联系页跟首页共用 .gh-inquiry-form 的卡片外壳；这里只覆盖字段落位。
   桌面：称呼 | 电话 / 邮箱 | 咨询设备 / 详细需求通栏。
   实时清单已去掉，.gh-contact-form 不再拆成左右两栏。
   @container 塌单列块必须写在字段规则之后（同权重后写的赢）。 */
.gh-contact-form {
	/* 跟通用规则同一张卡。container-type 再写一次，避免被同权重规则冲掉。 */
	container-type: inline-size;
}
.gh-form-title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }
.gh-form-sub { margin: 0 0 18px; color: var(--gh-muted); font-size: 14.5px; line-height: 1.7; }

.gh-contact-form .wpforms-field-container {
	column-gap: 32px;
	row-gap: 8px;
}
.gh-contact-form .wpforms-field-label {
	margin: 0 0 8px;
	padding: 0;
	border-bottom: 0;
	font-size: 14px; font-weight: 600; color: var(--gh-ink);
}
.gh-contact-form .wpforms-field-required { margin-left: 2px; font-size: 13px; font-weight: 400; color: #b3261e; }
.gh-contact-form .wpforms-field-description {
	margin: 6px 0 0;
	font-size: 12.5px; font-weight: 400; color: var(--gh-muted);
	line-height: 1.5;
}

/* 字段落位（选择器比通用规则多一层类，必定覆盖）。
   1 称呼 | 2 电话
   5 邮箱 | 6 咨询设备
   3 详细需求（通栏） */
.gh-contact-form .wpforms-field[data-field-id="1"] { grid-column: 1; grid-row: 1; }
.gh-contact-form .wpforms-field[data-field-id="2"] { grid-column: 2; grid-row: 1; }
.gh-contact-form .wpforms-field[data-field-id="5"] { grid-column: 1; grid-row: 2; }
.gh-contact-form .wpforms-field[data-field-id="6"] { grid-column: 2; grid-row: 2; order: 1; }
.gh-contact-form .wpforms-field[data-field-id="3"] { grid-column: 1 / -1; grid-row: 3; }
.gh-contact-form .wpforms-field[data-field-id="3"] textarea { min-height: 120px; }
/* 蜜罐：无 placeholder 的文本框是反垃圾填充（现为 4、7 两个，位置随机），
   不写死 ID，按属性认；压成 0 宽贴右列，不占高度。
   不能 display:none / visibility:hidden：AMP 下会被当实心输入跳过。 */
.gh-contact-form .wpforms-field-text:not(:has(input[placeholder])) { grid-column: -2 / -1; width: 0; min-width: 0; }

/* 窄屏塌单列。两个断点必须分开写：联系页全宽表单 ≤700 塌；
   首页那个 460px 表单内容盒只有 396px（≤430 时塌）。 */
@container (max-width: 700px) {
	.gh-contact-form .wpforms-field-container { grid-template-columns: 1fr; }
	.gh-contact-form .wpforms-field[data-field-id] { grid-column: 1 / -1; grid-row: auto; }
	.gh-contact-form .wpforms-field[data-field-id="4"] { display: none; }
}
@container (max-width: 430px) {
	.gh-inquiry-form .wpforms-field-container { grid-template-columns: 1fr; }
	.gh-inquiry-form .wpforms-field[data-field-id] { grid-column: 1 / -1; grid-row: auto; }
	.gh-inquiry-form .wpforms-field[data-field-id="4"] { display: none; }
}

.gh-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.gh-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gh-inquiry .gh-cta-inner h2 { color: var(--gh-ink); }

/* 产品中心列表页的分流通道：32 台设备 + 8 个系列，翻不到对口的型号很正常，
   在列表下方给一条明路，别让访客直接退出去。用绿色描边而非实心块，
   避免跟页脚深蓝条撞成两个抢眼的色块。 */
.gh-archive-cta {
	margin-top: 56px;
	padding: 40px 44px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-green);
	border-radius: var(--gh-radius-lg);
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; flex-wrap: wrap;
}
.gh-archive-cta .gh-archive-cta-title {
	margin: 0 0 8px;
	max-width: none;
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--gh-ink);
}
.gh-archive-cta p { margin: 0; max-width: 560px; color: var(--gh-muted); font-size: 15px; line-height: 1.7; }
.gh-archive-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 转化条里的关键词词条：承接本文词表，不做链接。
   正文标题/说明里是拆分、短语形态的词，这一行补的是精准形态。 */
.gh-archive-cta-keywords { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.gh-cta-kw {
	padding: 5px 10px;
	background: var(--gh-surface-low);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	color: var(--gh-ink);
	font-size: 13px;
}

/* =========================================================
   16. 页脚（服务覆盖 + 版权条）
   ========================================================= */
.gh-footer {
	background: var(--gh-primary);
	color: #bec6e0;
	padding: 0;
}

.gh-footer-service {
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.gh-footer-service-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	min-height: 56px;
	padding: 14px 0;
}
.gh-footer-centers {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
	min-width: 0;
}
.gh-footer-centers-label {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
}
.gh-footer-centers-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #d5dae8;
	font-size: 13px;
}
.gh-footer-centers-list .is-hq { color: #fff; font-weight: 700; }

.gh-footer-hotline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 8px 16px;
	background: var(--gh-green);
	border: 1px solid var(--gh-green);
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.gh-footer-hotline:hover { background: #005a26; border-color: #005a26; color: #fff; }
.gh-footer-hotline .gh-mono { color: var(--gh-green-soft); font-size: 11px; letter-spacing: .1em; }

.gh-footer-bar { padding: 22px 0 24px; }
.gh-footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}
.gh-footer-copy { min-width: 0; }
.gh-footer-copy p { margin: 0; font-size: 13px; line-height: 1.7; color: #8d96b0; }
.gh-footer-beian-line { margin-top: 2px; }
.gh-footer-beian-line a { color: inherit; }
.gh-footer-beian-line a:hover { color: var(--gh-green-soft); }

.gh-footer-meta {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-shrink: 0;
}
.gh-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	font-size: 13px;
	color: #bec6e0;
}
.gh-footer-legal a:hover { color: var(--gh-green-soft); }

.gh-footer-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.gh-footer-top:hover {
	background: var(--gh-green);
	border-color: var(--gh-green);
	color: #fff;
}

.gh-sitemap { display: grid; gap: 40px; }
.gh-sitemap-block h2 { margin: 0 0 14px; font-size: 18px; }
.gh-sitemap-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gh-sitemap-block a { color: var(--gh-ink); }
.gh-sitemap-block a:hover { color: var(--gh-green); }
.gh-sitemap-dense {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	column-gap: 24px;
}

/* =========================================================
   17. admin-bar 适配
   ========================================================= */
body.admin-bar .gh-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .gh-header { top: 46px; }
}

/* =========================================================
   18. 响应式
   ========================================================= */
@media (max-width: 1100px) {
	.gh-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-product-grid, .gh-product-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gh-contact-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.gh-container { width: min(100% - 40px, var(--gh-max)); }

	.gh-nav-toggle { display: flex; margin-left: auto; }
	.gh-navbar-cta { display: none; }
	.gh-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		margin: 0; padding: 12px 20px 20px;
		background: var(--gh-surface);
		border-bottom: 1px solid var(--gh-line);
		box-shadow: 0 16px 32px rgba(19, 27, 46, .1);
		display: none;
	}
	body.gh-nav-open .gh-nav { display: block; }
	.gh-navbar-inner { position: relative; }
	.gh-nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
	.gh-nav-list li { border-bottom: 1px solid var(--gh-line); }
	.gh-nav-list li:last-child { border-bottom: 0; }
	.gh-nav-list a { padding: 14px 0; }
	.gh-nav-list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 10px 16px; min-width: 0;
	}

	.gh-slide { min-height: 440px; }
	.gh-slide-inner { padding: 64px 0 88px; }
	.gh-single-grid { grid-template-columns: 1fr; gap: 32px; }
	.gh-single-body-grid { grid-template-columns: 1fr; gap: 40px; }
	.gh-single-aside { position: static; }
	.gh-about-split { grid-template-columns: 1fr; gap: 32px; }
	.gh-advantage-list { grid-template-columns: 1fr; }
	.gh-feature-grid-3 { grid-template-columns: 1fr 1fr; }
	.gh-inquiry-inner { grid-template-columns: 1fr; gap: 40px; }
	.gh-news-item { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.6fr) 24px; }
	.gh-news-excerpt { display: none; }
	.gh-news-feature { grid-template-columns: 1fr; gap: 24px; }
	.gh-news-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-post-thumb { margin-bottom: 24px; }
	.gh-archive-cta { padding: 32px 28px; gap: 24px; }
	.gh-section { padding: 64px 0; }
	.gh-page-head { padding: 48px 0 40px; }
	.gh-page-head-lg { padding: 64px 0 56px; }
	.gh-footer-service-inner,
	.gh-footer-bar-inner { flex-wrap: wrap; }
	.gh-footer-hotline { margin-left: auto; }
}

@media (max-width: 640px) {
	.gh-container { width: min(100% - 32px, var(--gh-max)); }
	.gh-topbar-kicker { display: none; }
	.gh-topbar-inner { justify-content: flex-end; }
	.gh-brand-text strong { font-size: 18px; }

	.gh-series-grid,
	.gh-feature-grid,
	.gh-feature-grid-3,
	.gh-product-grid,
	.gh-product-grid-4,
	.gh-case-grid,
	.gh-news-archive,
	.gh-gallery-grid { grid-template-columns: 1fr; }

	.gh-footer-service-inner,
	.gh-footer-bar-inner { flex-direction: column; align-items: flex-start; }
	.gh-footer-meta { width: 100%; justify-content: space-between; }
	.gh-footer-hotline { white-space: normal; margin-left: 0; }

	.gh-hero-stats { gap: 24px; }
	.gh-hero-stats .gh-mono { font-size: 22px; }
	.gh-slide { min-height: 380px; }
	.gh-slide-inner { padding: 52px 0 76px; }
	.gh-slider-ui { padding: 0 16px 16px 0; }
	.gh-slider-dots { display: none; }
	.gh-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gh-single-keyfact li { min-width: 120px; }
	.gh-single-attrs { grid-template-columns: 1fr; }
	.gh-news-item { grid-template-columns: 1fr 24px; gap: 12px; }
	.gh-news-item .gh-news-meta { grid-column: 1 / -1; flex-direction: row; gap: 10px; }
	.gh-cta-inner { flex-direction: column; align-items: flex-start; }
	/* 窄屏内边距收一点；列塌陷交给上面的容器查询按表单宽度处理 */
	.gh-inquiry-form { padding: 24px; }

	.gh-contact-facts { grid-template-columns: 1fr; padding: 22px 24px; }

}

/* =========================================================
   19. 右侧常驻转化条（微信二维码 / 电话）
   ---------------------------------------------------------
   贴右边缘竖排两个标签，鼠标悬停或键盘聚焦时向左展开小卡片。
   纯 CSS 实现（hover + :focus-within），没有额外 JS；卡片展开时鼠标
   能从标签无缝移到卡片上，不会被中途收回。
   手机上鼠标悬停不成立，所以窄屏直接换成底部动作条，见文件最末。
   ========================================================= */
.gh-rail {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	display: flex;
	flex-direction: column;
}

.gh-rail-tab { position: relative; }

/* 滑入：从右边缘外 12px 推入，不透明淡入。
   两个标签各延迟 40ms，展开时有先后次序，不是一起冒出来。 */
@keyframes gh-rail-in {
	from { opacity: 0; transform: translateX(12px); }
	to   { opacity: 1; transform: translateX(0); }
}
.gh-rail-tab { animation: gh-rail-in .5s cubic-bezier(.22, .61, .36, 1) both; }
.gh-rail-tab:nth-child(1) { animation-delay: .35s; }
.gh-rail-tab:nth-child(2) { animation-delay: .45s; }

.gh-rail-trigger {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	width: 78px;
	padding: 12px 8px 10px;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-right: 0;
	border-radius: var(--gh-radius-lg) 0 0 var(--gh-radius-lg);
	color: var(--gh-primary);
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(19, 27, 46, .1);
	transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.gh-rail-tab + .gh-rail-tab .gh-rail-trigger { margin-top: 8px; }

.gh-rail-icon { display: flex; align-items: center; justify-content: center; }
.gh-rail-icon svg { width: 22px; height: 22px; }
.gh-rail-label {
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: max-width .28s ease, opacity .2s ease;
	max-width: 90px;
}

/* hover / 键盘聚焦：绿底白字，并向左平移 3px 提示「可点」 */
.gh-rail-tab:hover .gh-rail-trigger,
.gh-rail-tab:focus-within .gh-rail-trigger,
.gh-rail-tab.is-open .gh-rail-trigger {
	background: var(--gh-green);
	border-color: var(--gh-green);
	color: #fff;
	transform: translateX(-3px);
	box-shadow: 0 12px 30px rgba(0, 110, 47, .26);
}

/* ---- 展开的小卡片 ----
   两张卡都从标签下方往左滑出。「滑动到对应」= 鼠标移上去，
   卡片贴着标签展开（不留缝：留缝的话鼠标从标签移向卡片时会经过空白区，
   hover 会断掉、卡片中途收回）。 */
.gh-rail-card {
	position: absolute;
	top: 50%;
	right: 100%;
	transform: translate(10px, -50%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: var(--gh-surface);
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius-lg) 0 0 var(--gh-radius-lg);
	box-shadow: 0 20px 48px rgba(19, 27, 46, .18);
	transition: opacity .24s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s;
}
.gh-rail-tab:hover .gh-rail-card,
.gh-rail-tab:focus-within .gh-rail-card,
.gh-rail-tab.is-open .gh-rail-card {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(0, -50%);
}

/* 二维码卡：白底留白，二维码本体 150px */
.gh-rail-tab-wechat .gh-rail-card { width: 202px; padding: 16px 16px 14px; text-align: center; }
.gh-rail-qr {
	display: block;
	width: 150px;
	height: 150px;
	margin: 0 auto;
	object-fit: contain;
	border: 1px solid var(--gh-line);
	border-radius: var(--gh-radius);
	background: #fff;
}

/* 电话卡：人名在上、号码用等宽字体放大，一眼能读 */
.gh-rail-tab-phone .gh-rail-card { width: 196px; padding: 16px 18px; text-align: left; }
.gh-rail-person {
	margin: 6px 0 0;
	color: var(--gh-ink);
	font-size: 13.5px;
	font-weight: 600;
}
.gh-rail-phone {
	margin: 2px 0 6px;
	color: var(--gh-green);
	font-family: var(--gh-font-mono);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .01em;
	white-space: nowrap;
}

.gh-rail-card-title { margin: 0 0 10px; color: var(--gh-primary); font-size: 13.5px; font-weight: 700; }
.gh-rail-tab-phone .gh-rail-card-title { margin-bottom: 0; }
.gh-rail-card-hint { margin: 10px 0 0; color: var(--gh-muted); font-size: 12px; line-height: 1.6; }

/* 窄到一定程度右侧会压住正文，这时候收起标签文字，只留图标。
   电话卡换成深色实底、二维码卡保持白底——两个标签贴在一起，光靠图标容易看串。 */
@media (max-width: 1240px) {
	.gh-rail-label { max-width: 0; opacity: 0; overflow: hidden; }
	.gh-rail-trigger { width: 54px; padding: 13px 8px; }
	.gh-rail-tab-phone .gh-rail-trigger { background: var(--gh-primary); border-color: var(--gh-primary); color: #fff; }
}

/* 触屏设备没有 hover，改成贴屏幕底部的动作条：
   左边电话（一键拨号）、右边微信（点开二维码卡）。
   微信卡改成从底部向上滑出，整条动作条考虑 iPhone 的底部安全区。 */
@media (max-width: 768px), (hover: none) {
	.gh-rail {
		top: auto;
		bottom: 0;
		right: 0;
		left: 0;
		transform: none;
		flex-direction: row;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--gh-surface);
		border-top: 1px solid var(--gh-line);
		box-shadow: 0 -6px 24px rgba(19, 27, 46, .08);
	}
	.gh-rail-tab { flex: 1 1 0; margin: 0; }

	.gh-rail-trigger {
		flex-direction: row;
		justify-content: center;
		gap: 8px;
		width: 100%;
		padding: 11px 12px;
		border: 1px solid var(--gh-line);
		border-radius: var(--gh-radius-lg);
		transform: none;
	}
	.gh-rail-tab + .gh-rail-tab .gh-rail-trigger { margin-top: 0; }
	.gh-rail-label { max-width: none; opacity: 1; font-size: 14px; }
	.gh-rail-tab-phone .gh-rail-trigger { background: var(--gh-green); border-color: var(--gh-green); color: #fff; }

	.gh-rail-card {
		top: auto;
		bottom: calc(100% + 10px);
		/* 两个标签各占一半宽度，卡片整幅铺开贴着屏幕左右边距。
		   卡片带 1px 边框，所以比标签各外扩 1px 对齐，不然框线看着是歪的。 */
		left: -1px;
		right: -1px;
		margin-right: 0;
		transform: translateY(10px);
	}
	.gh-rail-tab:hover .gh-rail-card,
	.gh-rail-tab:focus-within .gh-rail-card { transform: translateY(0); }

	/* 手机上卡片是通栏的，二维码 / 电话数字都可以放大一号 */
	.gh-rail-qr { width: 176px; height: 176px; }
	.gh-rail-person { text-align: center; }
	.gh-rail-phone { font-size: 24px; text-align: center; }
	.gh-rail-tab-phone .gh-rail-card { text-align: center; }
	.gh-rail-card-hint { text-align: center; }

	/* 底部动作条压住页脚最后一行，给 body 留出等高的空隙 */
	body { padding-bottom: 76px; }
}

/* 打印（客户常把设备参数页打出来存档）时不要印上转化条 */
@media print {
	.gh-rail { display: none; }
}
.gh-product-guide {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
}
.gh-product-guide a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

