/* ==========================================================================
   HKX Industrial —— 主样式
   设计基调：深藏蓝 + 工业橙，直角与细线为主，信息密度高，强调工艺感。
   所有尺寸用 rem / clamp，容器 1200px，断点 1080 / 860 / 640。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 变量
   ----------------------------------------------------------------------- */
:root {
	--hkx-ink: #0e1a2b;
	--hkx-ink-2: #16263d;
	--hkx-steel: #2b3d55;
	--hkx-accent: #e2571e;
	--hkx-accent-dark: #c24614;
	--hkx-paper: #ffffff;
	--hkx-mist: #f5f7fa;
	--hkx-line: #e2e6ec;
	--hkx-text: #1c2430;
	--hkx-muted: #64707f;
	--hkx-radius: 2px;
	--hkx-container: 1200px;
	--hkx-header-h: 76px;
	--hkx-shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06);
	--hkx-shadow-md: 0 6px 20px rgba(14, 26, 43, 0.1);
	--hkx-shadow-lg: 0 18px 48px rgba(14, 26, 43, 0.16);
	--hkx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
	--hkx-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	--hkx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. 重置
   ----------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hkx-header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--hkx-font);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hkx-text);
	background: var(--hkx-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--hkx-accent-dark);
	text-decoration: none;
	transition: color 0.18s var(--hkx-ease);
}

a:hover {
	color: var(--hkx-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--hkx-ink);
}

h1 {
	font-size: clamp(1.9rem, 4vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
	font-size: clamp(1.15rem, 1.6vw, 1.5rem);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

figure {
	margin: 0;
}

button {
	font: inherit;
	cursor: pointer;
}

.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;
}

.hkx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 20px;
	background: var(--hkx-ink);
	color: #fff;
}

.hkx-skip:focus {
	left: 12px;
	top: 12px;
}

/* --------------------------------------------------------------------------
   3. 容器与栅格
   ----------------------------------------------------------------------- */
.hkx-container {
	width: 100%;
	max-width: var(--hkx-container);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.hkx-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.hkx-grid--1 { grid-template-columns: 1fr; }
.hkx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hkx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hkx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
	.hkx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.hkx-grid--3,
	.hkx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.hkx-grid--2,
	.hkx-grid--3,
	.hkx-grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. 按钮
   ----------------------------------------------------------------------- */
.hkx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.9em 1.7em;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	border-radius: var(--hkx-radius);
	text-decoration: none;
	transition: background 0.18s var(--hkx-ease), color 0.18s var(--hkx-ease),
		border-color 0.18s var(--hkx-ease), transform 0.18s var(--hkx-ease);
	cursor: pointer;
}

.hkx-btn:active {
	transform: translateY(1px);
}

.hkx-btn--primary {
	background: var(--hkx-accent);
	color: #fff;
}

.hkx-btn--primary:hover {
	background: var(--hkx-accent-dark);
	color: #fff;
}

.hkx-btn--outline {
	background: transparent;
	color: var(--hkx-ink);
	border-color: var(--hkx-line);
}

.hkx-btn--outline:hover {
	border-color: var(--hkx-ink);
	color: var(--hkx-ink);
}

.hkx-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

.hkx-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.hkx-btn--light {
	background: #fff;
	color: var(--hkx-ink);
}

.hkx-btn--light:hover {
	background: var(--hkx-mist);
	color: var(--hkx-ink);
}

.hkx-btn--sm {
	padding: 0.65em 1.2em;
	font-size: 0.875rem;
}

.hkx-btn--block {
	width: 100%;
}

/* --------------------------------------------------------------------------
   5. 顶部信息条 + 头部
   ----------------------------------------------------------------------- */
.hkx-topbar {
	background: var(--hkx-ink);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8125rem;
}

.hkx-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 38px;
}

.hkx-topbar__claim {
	margin: 0;
	letter-spacing: 0.01em;
}

.hkx-topbar__contact {
	display: flex;
	gap: 1.5rem;
}

.hkx-topbar__contact a {
	color: rgba(255, 255, 255, 0.86);
	display: inline-flex;
	gap: 0.4em;
}

.hkx-topbar__contact a:hover {
	color: #fff;
}

.hkx-topbar__label {
	color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 860px) {
	.hkx-topbar__claim { display: none; }
	.hkx-topbar__inner { justify-content: center; }
	.hkx-topbar__contact { gap: 1rem; font-size: 0.75rem; }
	.hkx-topbar__label { display: none; }
}

.hkx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: var(--hkx-header-h);
}

.hkx-brand__text,
.hkx-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.hkx-brand__mark {
	display: inline-grid;
	place-items: center;
	padding: 0.3em 0.5em;
	background: var(--hkx-ink);
	color: #fff;
	font-family: var(--hkx-mono);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-radius: var(--hkx-radius);
}

.hkx-brand__name {
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--hkx-ink);
	letter-spacing: -0.01em;
}

.custom-logo {
	max-height: 46px;
	width: auto;
}

.hkx-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-nav__list > li {
	position: relative;
}

.hkx-nav__list > li > a {
	display: block;
	padding: 0.5rem 0;
	color: var(--hkx-ink);
	font-size: 0.9375rem;
	font-weight: 550;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color 0.18s var(--hkx-ease), color 0.18s var(--hkx-ease);
}

.hkx-nav__list > li > a:hover,
.hkx-nav__list > li.current-menu-item > a,
.hkx-nav__list > li.current-menu-ancestor > a {
	color: var(--hkx-accent);
	border-bottom-color: var(--hkx-accent);
}

/* 二级菜单 */
.hkx-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	box-shadow: var(--hkx-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s var(--hkx-ease), transform 0.18s var(--hkx-ease), visibility 0.18s;
}

.hkx-nav__list > li:hover > .sub-menu,
.hkx-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hkx-nav__list .sub-menu a {
	display: block;
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
	color: var(--hkx-text);
}

.hkx-nav__list .sub-menu a:hover {
	background: var(--hkx-mist);
	color: var(--hkx-accent);
}

/* 三级菜单：从父项右侧弹出 */
.hkx-nav__list .sub-menu > li {
	position: relative;
}

.hkx-nav__list .sub-menu .sub-menu {
	top: -0.5rem;
	left: 100%;
	margin-left: 0.3rem;
}

.hkx-nav__list .sub-menu > li:hover > .sub-menu,
.hkx-nav__list .sub-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 带子项的二级条目右侧加一个指示箭头 */
.hkx-nav__list .sub-menu > li.menu-item-has-children > a::after {
	content: "›";
	float: right;
	margin-left: 1rem;
	color: var(--hkx-muted);
	font-size: 1.1em;
	line-height: 1;
}

/* 分组标题（指向 # 的二级项）：不可点，做小标题用 */
.hkx-nav__list .sub-menu > li.hkx-menu-group > a {
	padding-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hkx-muted);
	cursor: default;
}

.hkx-nav__list .sub-menu > li.hkx-menu-group > a:hover {
	background: transparent;
	color: var(--hkx-muted);
}

.hkx-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hkx-burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.hkx-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--hkx-ink);
	transition: transform 0.2s var(--hkx-ease), opacity 0.2s var(--hkx-ease);
}

.hkx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hkx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hkx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.hkx-nav { display: none; }
	.hkx-burger { display: flex; }
	.hkx-header__actions .hkx-btn { display: none; }
}

/* --------------------------------------------------------------------------
   6. 移动端抽屉
   ----------------------------------------------------------------------- */
.hkx-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(86vw, 360px);
	z-index: 200;
	background: #fff;
	box-shadow: var(--hkx-shadow-lg);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.28s var(--hkx-ease);
	overflow-y: auto;
}

.hkx-drawer.is-open {
	transform: translateX(0);
}

.hkx-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-drawer__title {
	font-weight: 700;
	color: var(--hkx-ink);
}

.hkx-drawer__close {
	width: 36px;
	height: 36px;
	background: transparent;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	font-size: 1.25rem;
	line-height: 1;
	color: var(--hkx-ink);
}

.hkx-drawer__list {
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
}

.hkx-drawer__list a {
	display: block;
	padding: 0.85rem 1.25rem;
	color: var(--hkx-ink);
	font-weight: 550;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-drawer__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--hkx-mist);
}

.hkx-drawer__list .sub-menu a {
	padding-left: 2.25rem;
	font-weight: 400;
	font-size: 0.9rem;
}

.hkx-drawer__foot {
	margin-top: auto;
	padding: 1.25rem;
	border-top: 1px solid var(--hkx-line);
}

.hkx-drawer__foot p {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--hkx-muted);
}

.hkx-drawer__mask {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(14, 26, 43, 0.5);
	opacity: 0;
	transition: opacity 0.28s var(--hkx-ease);
}

.hkx-drawer__mask.is-open {
	opacity: 1;
}

body.hkx-locked {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. 首屏
   ----------------------------------------------------------------------- */
.hkx-hero {
	position: relative;
	isolation: isolate;
	background: var(--hkx-ink);
	color: #fff;
	overflow: hidden;
}

.hkx-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hkx-hero__media img,
.hkx-hero__media .hkx-block-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hkx-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		180deg,
		rgba(14, 26, 43, 0.9) 0%,
		rgba(14, 26, 43, 0.62) 45%,
		rgba(14, 26, 43, 0.88) 100%
	);
}

.hkx-hero__inner {
	padding-block: clamp(4rem, 11vw, 8rem) clamp(3rem, 7vw, 5rem);
	max-width: 780px;
	margin-inline: 0;
}

.hkx-hero__eyebrow {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.35em 0.75em;
	font-family: var(--hkx-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(226, 87, 30, 0.9);
	border-radius: var(--hkx-radius);
}

.hkx-hero__title {
	margin: 0 0 1.25rem;
	color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.hkx-hero__sub {
	margin: 0 0 2rem;
	max-width: 40em;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.8);
}

.hkx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hkx-hero__stats {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(9, 17, 29, 0.55);
	backdrop-filter: blur(4px);
}

.hkx-hero__stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hkx-stat {
	padding: 1.5rem 0;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hkx-stat:last-child {
	border-right: 0;
}

.hkx-stat strong {
	display: block;
	font-family: var(--hkx-mono);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.hkx-stat span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 640px) {
	.hkx-hero__stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hkx-stat:nth-child(2n) { border-right: 0; }
	.hkx-stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

/* --------------------------------------------------------------------------
   8. 区块通用
   ----------------------------------------------------------------------- */
.hkx-section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hkx-section--features { background: var(--hkx-paper); }
.hkx-section--products { background: var(--hkx-mist); }
.hkx-section--quotes { background: var(--hkx-paper); }
.hkx-section--posts { background: var(--hkx-mist); }

.hkx-section__head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hkx-eyebrow {
	margin: 0 0 0.75rem;
	font-family: var(--hkx-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hkx-accent);
}

.hkx-section__title {
	margin: 0 0 0.5rem;
	text-wrap: balance;
}

.hkx-section__intro {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--hkx-muted);
}

.hkx-section__more {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	text-align: center;
}

.hkx-empty {
	padding: 3rem 0;
	text-align: center;
	color: var(--hkx-muted);
}

/* --------------------------------------------------------------------------
   9. 优势网格
   ----------------------------------------------------------------------- */
.hkx-feature {
	padding: 1.75rem 1.5rem;
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	transition: border-color 0.2s var(--hkx-ease), box-shadow 0.2s var(--hkx-ease),
		transform 0.2s var(--hkx-ease);
}

.hkx-feature:hover {
	border-color: rgba(226, 87, 30, 0.5);
	box-shadow: var(--hkx-shadow-md);
	transform: translateY(-2px);
}

.hkx-feature__num {
	display: block;
	margin-bottom: 1rem;
	font-family: var(--hkx-mono);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--hkx-accent);
}

.hkx-feature__title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 650;
	color: var(--hkx-ink);
}

.hkx-feature__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--hkx-muted);
}

/* --------------------------------------------------------------------------
   10. 卡片
   ----------------------------------------------------------------------- */
.hkx-card {
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	overflow: hidden;
	transition: border-color 0.2s var(--hkx-ease), box-shadow 0.2s var(--hkx-ease),
		transform 0.2s var(--hkx-ease);
}

.hkx-card:hover {
	border-color: rgba(226, 87, 30, 0.45);
	box-shadow: var(--hkx-shadow-md);
	transform: translateY(-3px);
}

.hkx-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.hkx-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--hkx-mist);
	overflow: hidden;
}

.hkx-card__media img,
.hkx-card__media .hkx-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--hkx-ease);
}

.hkx-card:hover .hkx-card__media img {
	transform: scale(1.03);
}

.hkx-thumb--placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--hkx-ink-2), var(--hkx-steel));
}

.hkx-thumb--placeholder span {
	font-family: var(--hkx-mono);
	font-size: 2.5rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.28);
}

.hkx-card__badge {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	padding: 0.25em 0.6em;
	background: rgba(14, 26, 43, 0.82);
	color: #fff;
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--hkx-radius);
}

.hkx-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.35rem;
}

.hkx-card__kicker {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--hkx-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hkx-accent);
}

.hkx-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.4;
	color: var(--hkx-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hkx-card__excerpt {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--hkx-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hkx-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px solid var(--hkx-line);
	font-size: 0.8125rem;
	color: var(--hkx-muted);
}

.hkx-card__more {
	font-weight: 600;
	color: var(--hkx-accent);
}

/* --------------------------------------------------------------------------
   11. 图文分栏
   ----------------------------------------------------------------------- */
.hkx-split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hkx-split__media {
	position: relative;
	border-radius: var(--hkx-radius);
	overflow: hidden;
	background: var(--hkx-mist);
}

.hkx-split__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hkx-split__text {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--hkx-muted);
}

.hkx-checklist {
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

.hkx-checklist li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.7rem;
	font-size: 0.9375rem;
	color: var(--hkx-text);
}

.hkx-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 9px;
	height: 9px;
	background: var(--hkx-accent);
	border-radius: 1px;
}

@media (max-width: 860px) {
	.hkx-split { grid-template-columns: 1fr; }
	.hkx-split__media { order: -1; }
}

/* --------------------------------------------------------------------------
   12. 数据条
   ----------------------------------------------------------------------- */
.hkx-stats {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--hkx-mist);
}

.hkx-stats--dark {
	background: var(--hkx-ink);
}

.hkx-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.hkx-stats__item {
	text-align: center;
	padding: 0.75rem;
}

.hkx-stats__item strong {
	display: block;
	font-family: var(--hkx-mono);
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--hkx-ink);
}

.hkx-stats--dark .hkx-stats__item strong {
	color: #fff;
}

.hkx-stats__item span {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.875rem;
	color: var(--hkx-muted);
}

.hkx-stats--dark .hkx-stats__item span {
	color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
	.hkx-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   13. 客户评价
   ----------------------------------------------------------------------- */
.hkx-quote {
	margin: 0;
	padding: 1.75rem 1.6rem;
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-left: 3px solid var(--hkx-accent);
	border-radius: var(--hkx-radius);
}

.hkx-quote blockquote {
	margin: 0 0 1rem;
}

.hkx-quote blockquote p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--hkx-text);
}

.hkx-quote blockquote p::before {
	content: "\201C";
	margin-right: 0.1em;
	color: var(--hkx-accent);
	font-size: 1.4em;
	line-height: 0;
}

.hkx-quote figcaption {
	font-size: 0.8125rem;
	color: var(--hkx-muted);
	font-style: normal;
}

/* 客户 logo 墙：默认灰度，悬停恢复彩色 */
.hkx-clients {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-clients__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hkx-clients__item:hover {
	border-color: var(--hkx-accent);
	box-shadow: var(--hkx-shadow-sm);
}

.hkx-clients__item img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 46px;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.hkx-clients__item:hover img {
	filter: grayscale(0);
	opacity: 1;
}

@media (max-width: 640px) {
	.hkx-clients {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.6rem;
	}

	.hkx-clients__item {
		min-height: 68px;
		padding: 0.6rem;
	}

	.hkx-clients__item img {
		max-height: 36px;
	}
}

/* --------------------------------------------------------------------------
   14. CTA 条
   ----------------------------------------------------------------------- */
.hkx-cta {
	background: var(--hkx-ink);
	color: #fff;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hkx-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.hkx-cta__title {
	margin: 0 0 0.4rem;
	color: #fff;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.hkx-cta__sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	max-width: 46ch;
}

/* --------------------------------------------------------------------------
   15. 询盘
   ----------------------------------------------------------------------- */
.hkx-section--inquiry {
	background: var(--hkx-mist);
}

.hkx-inquiry {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.hkx-inquiry__text {
	font-size: 1rem;
	color: var(--hkx-muted);
}

.hkx-inquiry__contact {
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.hkx-inquiry__contact li {
	display: flex;
	gap: 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--hkx-line);
	font-size: 0.9375rem;
}

.hkx-inquiry__contact span {
	width: 3.5rem;
	flex: none;
	color: var(--hkx-muted);
	font-size: 0.8125rem;
	padding-top: 0.15em;
}

.hkx-form {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	box-shadow: var(--hkx-shadow-sm);
}

.hkx-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.hkx-form label {
	display: block;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-weight: 550;
	color: var(--hkx-ink);
}

.hkx-form label span {
	color: var(--hkx-accent);
}

.hkx-form input[type="text"],
.hkx-form input[type="email"],
.hkx-form input[type="tel"],
.hkx-form textarea {
	display: block;
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.7em 0.85em;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--hkx-text);
	background: #fff;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	transition: border-color 0.18s var(--hkx-ease), box-shadow 0.18s var(--hkx-ease);
}

.hkx-form input:focus,
.hkx-form textarea:focus {
	outline: none;
	border-color: var(--hkx-accent);
	box-shadow: 0 0 0 3px rgba(226, 87, 30, 0.12);
}

.hkx-form textarea {
	resize: vertical;
	min-height: 120px;
}

.hkx-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hkx-form__note {
	margin: 0.85rem 0 0;
	font-size: 0.75rem;
	color: var(--hkx-muted);
}

@media (max-width: 860px) {
	.hkx-inquiry { grid-template-columns: 1fr; }
	.hkx-form__row { grid-template-columns: 1fr; gap: 0; }
}

.hkx-notice {
	max-width: var(--hkx-container);
	margin: 1rem auto 0;
	padding: 0.9rem 1.2rem;
	border-radius: var(--hkx-radius);
	font-size: 0.9375rem;
}

.hkx-notice--ok {
	background: #ecfdf3;
	border: 1px solid #abefc6;
	color: #067647;
}

.hkx-notice--err {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: #b42318;
}

/* --------------------------------------------------------------------------
   16. Logo / 行业墙
   ----------------------------------------------------------------------- */
.hkx-section--logos {
	padding-block: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--hkx-line);
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-logos__title {
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hkx-muted);
}

.hkx-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-logos li {
	font-size: 1rem;
	font-weight: 600;
	color: var(--hkx-steel);
	opacity: 0.75;
}

/* --------------------------------------------------------------------------
   17. 页脚
   ----------------------------------------------------------------------- */
.hkx-footer {
	background: var(--hkx-ink);
	color: rgba(255, 255, 255, 0.72);
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.hkx-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hkx-footer__brand {
	margin-bottom: 1rem;
	color: #fff;
	font-weight: 700;
}

.hkx-footer__brand .hkx-brand__mark {
	background: rgba(255, 255, 255, 0.1);
}

.hkx-footer__desc {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.58);
	max-width: 34ch;
}

.hkx-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.hkx-footer__contact li {
	display: flex;
	gap: 0.75rem;
	padding: 0.35rem 0;
}

.hkx-footer__contact span {
	width: 2.5rem;
	flex: none;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8125rem;
}

.hkx-footer__contact a {
	color: rgba(255, 255, 255, 0.85);
}

.hkx-footer__contact a:hover {
	color: #fff;
}

.hkx-footer__title {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.hkx-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-footer__list li {
	margin-bottom: 0.55rem;
}

.hkx-footer__list a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
}

.hkx-footer__list a:hover {
	color: #fff;
}

.hkx-footer__cta-text {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 1rem;
}

.hkx-footer__hours {
	margin: 0.85rem 0 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.42);
}

.hkx-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 1.25rem;
}

.hkx-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.hkx-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45);
}

.hkx-footer__legal {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
}

.hkx-footer__legal a {
	color: rgba(255, 255, 255, 0.55);
}

.hkx-footer__legal a:hover {
	color: #fff;
}

@media (max-width: 1080px) {
	.hkx-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.hkx-footer__grid { grid-template-columns: 1fr; }
	.hkx-footer__bottom-inner { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   18. 回到顶部
   ----------------------------------------------------------------------- */
.hkx-totop {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	width: 44px;
	height: 44px;
	background: var(--hkx-ink);
	color: #fff;
	border: 0;
	border-radius: var(--hkx-radius);
	font-size: 1.1rem;
	box-shadow: var(--hkx-shadow-md);
	opacity: 0;
	transition: opacity 0.2s var(--hkx-ease), background 0.2s var(--hkx-ease);
}

.hkx-totop.is-visible {
	opacity: 1;
}

.hkx-totop:hover {
	background: var(--hkx-accent);
}

/* --------------------------------------------------------------------------
   18b. 移动端固定底栏
   桌面隐藏；≤767px 固定贴底，五项：首页 / WhatsApp / 询价 / 电话 / 微信。
   ----------------------------------------------------------------------- */
.hkx-mobilebar {
	display: none;
}

@media (max-width: 767px) {
	body {
		/* 给固定底栏留出空间，否则页脚最后一行会被盖住 */
		padding-bottom: calc(62px + env(safe-area-inset-bottom));
	}

	.hkx-mobilebar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 95;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		margin: 0;
		padding: 0 0 env(safe-area-inset-bottom);
		background: var(--hkx-ink);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: 0 -4px 16px rgba(14, 26, 43, 0.18);
	}

	.hkx-mobilebar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 62px;
		padding: 0.35rem 0.15rem 0.4rem;
		font-size: 0.6875rem;
		line-height: 1;
		color: rgba(255, 255, 255, 0.82);
		text-decoration: none;
		background: none;
		border: 0;
		cursor: pointer;
	}

	.hkx-mobilebar__item svg {
		width: 21px;
		height: 21px;
		fill: currentColor;
	}

	.hkx-mobilebar__item:hover,
	.hkx-mobilebar__item:focus-visible {
		color: var(--hkx-accent);
	}

	/* 微信：details 做二维码弹层，不依赖 JS */
	.hkx-mobilebar__qr {
		position: relative;
		display: flex;
	}

	.hkx-mobilebar__qr > summary {
		width: 100%;
		list-style: none;
	}

	.hkx-mobilebar__qr > summary::-webkit-details-marker {
		display: none;
	}

	.hkx-qr-pop {
		position: absolute;
		right: 0.5rem;
		bottom: calc(100% + 0.6rem);
		width: 148px;
		padding: 0.6rem;
		text-align: center;
		background: #fff;
		border: 1px solid var(--hkx-line);
		border-radius: 6px;
		box-shadow: var(--hkx-shadow-lg);
	}

	.hkx-qr-pop img {
		display: block;
		width: 100%;
		height: auto;
	}

	.hkx-qr-pop p {
		margin: 0.35rem 0 0;
		font-size: 0.75rem;
		color: var(--hkx-muted);
	}

	/* 回到顶部按钮抬到底栏上方，别被盖住 */
	.hkx-totop {
		bottom: calc(62px + 1rem + env(safe-area-inset-bottom));
	}
}

/* --------------------------------------------------------------------------
   19. 内容区 / 文章
   ----------------------------------------------------------------------- */
.hkx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.hkx-layout__main {
	min-width: 0;
}

body.no-sidebar .hkx-layout {
	grid-template-columns: minmax(0, 1fr);
}

.hkx-sidebar {
	position: sticky;
	top: calc(var(--hkx-header-h) + 1.5rem);
}

.hkx-sidebar .widget {
	margin-bottom: 1.75rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-widget-title,
.hkx-sidebar h3 {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hkx-muted);
}

.hkx-sidebar__cta {
	padding: 1.5rem;
	background: var(--hkx-mist);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
}

.hkx-sidebar__cta h3 {
	color: var(--hkx-ink);
	text-transform: none;
	letter-spacing: 0;
	font-size: 1.0625rem;
}

.hkx-sidebar__cta p {
	font-size: 0.9rem;
	color: var(--hkx-muted);
}

/* 侧边栏区块：产品分类 + 询盘表单 */
.hkx-sidebar__block {
	margin-bottom: 1.75rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-sidebar__block:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.hkx-sidebar__title {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hkx-muted);
}

.hkx-sidebar__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-sidebar__list li + li {
	border-top: 1px solid var(--hkx-line);
}

.hkx-sidebar__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 0;
	font-size: 0.9375rem;
	color: var(--hkx-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hkx-sidebar__list a:hover,
.hkx-sidebar__list a:focus-visible {
	color: var(--hkx-accent);
}

.hkx-sidebar__count {
	font-size: 0.75rem;
	color: var(--hkx-muted);
	font-variant-numeric: tabular-nums;
}

.hkx-sidebar__hint {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: var(--hkx-muted);
}

/* 窄栏里的表单：单列、紧凑 */
.hkx-form--sidebar {
	display: grid;
	gap: 0.75rem;
}

.hkx-form--sidebar label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.8125rem;
	color: var(--hkx-muted);
}

.hkx-form--sidebar input[type="text"],
.hkx-form--sidebar input[type="email"],
.hkx-form--sidebar input[type="tel"],
.hkx-form--sidebar textarea {
	width: 100%;
	padding: 0.55rem 0.7rem;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--hkx-ink);
	background: #fff;
	border: 1px solid var(--hkx-line);
	border-radius: 6px;
}

.hkx-form--sidebar input:focus,
.hkx-form--sidebar textarea:focus {
	outline: 2px solid var(--hkx-accent);
	outline-offset: 1px;
	border-color: var(--hkx-accent);
}

.hkx-form--sidebar textarea {
	resize: vertical;
	min-height: 5rem;
}

.hkx-sidebar__contact {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.hkx-sidebar__contact a {
	color: var(--hkx-accent);
	text-decoration: none;
}

.hkx-sidebar__contact a:hover {
	text-decoration: underline;
}

@media (max-width: 1080px) {
	.hkx-layout { grid-template-columns: minmax(0, 1fr); }
	.hkx-sidebar { position: static; }
}

.hkx-pagehead {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.hkx-pagehead__title {
	margin: 0 0 0.5rem;
}

.hkx-pagehead__desc {
	font-size: 1.0625rem;
	color: var(--hkx-muted);
	max-width: 46rem;
}

.hkx-pagehead__count {
	margin: 0.5rem 0 0;
	font-family: var(--hkx-mono);
	font-size: 0.8125rem;
	color: var(--hkx-muted);
}

.hkx-article__head {
	margin-bottom: 1.75rem;
}

.hkx-article__title {
	margin: 0 0 0.75rem;
}

.hkx-article__hero {
	margin: 0 0 2rem;
	border-radius: var(--hkx-radius);
	overflow: hidden;
}

.hkx-article__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hkx-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: var(--hkx-muted);
}

.hkx-meta .sep {
	color: var(--hkx-line);
}

.hkx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.hkx-tags a {
	padding: 0.3em 0.75em;
	font-size: 0.8125rem;
	color: var(--hkx-muted);
	background: var(--hkx-mist);
	border-radius: var(--hkx-radius);
}

.hkx-tags a:hover {
	color: #fff;
	background: var(--hkx-accent);
}

/* 正文排版 */
.hkx-prose {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--hkx-text);
}

.hkx-prose > * + * {
	margin-top: 1.25em;
}

.hkx-prose h2 {
	margin-top: 2em;
	padding-top: 0.2em;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.hkx-prose h3 {
	margin-top: 1.75em;
	font-size: clamp(1.15rem, 1.6vw, 1.375rem);
}

.hkx-prose h2 + h3 {
	margin-top: 1em;
}

.hkx-prose ul,
.hkx-prose ol {
	padding-left: 1.4em;
}

.hkx-prose li {
	margin-bottom: 0.4em;
}

.hkx-prose li::marker {
	color: var(--hkx-accent);
}

.hkx-prose img {
	border-radius: var(--hkx-radius);
	margin-block: 1.5em;
}

.hkx-prose blockquote {
	margin: 1.75em 0;
	padding: 1.25rem 1.5rem;
	background: var(--hkx-mist);
	border-left: 3px solid var(--hkx-accent);
	border-radius: 0 var(--hkx-radius) var(--hkx-radius) 0;
	font-size: 1rem;
	color: var(--hkx-steel);
}

.hkx-prose blockquote p:last-child {
	margin-bottom: 0;
}

.hkx-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	margin-block: 1.75em;
}

.hkx-prose th,
.hkx-prose td {
	padding: 0.7em 0.9em;
	border: 1px solid var(--hkx-line);
	text-align: left;
	vertical-align: top;
}

.hkx-prose thead th {
	background: var(--hkx-mist);
	font-weight: 650;
	color: var(--hkx-ink);
}

.hkx-prose tbody tr:nth-child(even) {
	background: rgba(245, 247, 250, 0.5);
}

.hkx-prose code {
	padding: 0.15em 0.4em;
	font-family: var(--hkx-mono);
	font-size: 0.875em;
	background: var(--hkx-mist);
	border-radius: 2px;
	color: var(--hkx-accent-dark);
}

.hkx-prose pre {
	padding: 1.1rem 1.25rem;
	background: var(--hkx-ink);
	color: #e6edf3;
	border-radius: var(--hkx-radius);
	overflow-x: auto;
	font-size: 0.875rem;
}

.hkx-prose pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.hkx-prose hr {
	margin-block: 2.5em;
	border: 0;
	border-top: 1px solid var(--hkx-line);
}

/* 宽表格在窄屏内滚动，不把整页撑开 */
.hkx-prose table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
}

@media (min-width: 861px) {
	.hkx-prose table {
		display: table;
		overflow: visible;
	}
}

.hkx-pagebreak {
	margin-top: 2rem;
	font-size: 0.9rem;
}

/* 上下篇 */
.hkx-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--hkx-line);
}

.hkx-postnav__item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	color: var(--hkx-text);
	transition: border-color 0.18s var(--hkx-ease);
}

.hkx-postnav__item:hover {
	border-color: var(--hkx-accent);
	color: var(--hkx-text);
}

.hkx-postnav__item span {
	font-size: 0.75rem;
	color: var(--hkx-muted);
}

.hkx-postnav__item strong {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
}

.hkx-postnav__item--next {
	text-align: right;
}

@media (max-width: 640px) {
	.hkx-postnav { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. FAQ
   ----------------------------------------------------------------------- */
.hkx-faq-archive,
.hkx-faq-single {
	padding-block: clamp(2rem, 4vw, 3.5rem);
	max-width: 860px;
}

.hkx-faq-group {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hkx-faq-group__title {
	margin: 0 0 1rem;
	padding-bottom: 0.6rem;
	font-size: 1.125rem;
	border-bottom: 2px solid var(--hkx-ink);
}

.hkx-faq-item {
	margin-bottom: 0.5rem;
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	transition: border-color 0.18s var(--hkx-ease);
}

.hkx-faq-item[open] {
	border-color: rgba(226, 87, 30, 0.45);
}

.hkx-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	color: var(--hkx-ink);
}

.hkx-faq-item summary::-webkit-details-marker {
	display: none;
}

.hkx-faq-item__icon {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
}

.hkx-faq-item__icon::before,
.hkx-faq-item__icon::after {
	content: "";
	position: absolute;
	background: var(--hkx-accent);
	transition: transform 0.2s var(--hkx-ease);
}

.hkx-faq-item__icon::before {
	left: 0;
	top: 6px;
	width: 14px;
	height: 2px;
}

.hkx-faq-item__icon::after {
	left: 6px;
	top: 0;
	width: 2px;
	height: 14px;
}

.hkx-faq-item[open] .hkx-faq-item__icon::after {
	transform: scaleY(0);
}

.hkx-faq-item__a {
	padding: 0 1.25rem 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--hkx-muted);
	border-top: 1px solid var(--hkx-line);
	padding-top: 1rem;
}

.hkx-faq-cta {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background: var(--hkx-ink);
	color: #fff;
	border-radius: var(--hkx-radius);
	text-align: center;
}

.hkx-faq-cta h2 {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.hkx-faq-cta p {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.7);
}

.hkx-related {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--hkx-line);
}

.hkx-related__title {
	margin: 0 0 1rem;
	font-size: 1rem;
	letter-spacing: 0.02em;
}

.hkx-related__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-related__list li {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--hkx-line);
	font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   21. 面包屑 / 分页 / 筛选
   ----------------------------------------------------------------------- */
.hkx-breadcrumb {
	margin-bottom: 1.25rem;
	font-size: 0.8125rem;
	color: var(--hkx-muted);
}

.hkx-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.hkx-breadcrumb li + li::before {
	content: "/";
	color: var(--hkx-line);
}

.hkx-breadcrumb a {
	color: var(--hkx-muted);
}

.hkx-breadcrumb a:hover {
	color: var(--hkx-accent);
}

.hkx-breadcrumb li[aria-current="page"] {
	color: var(--hkx-text);
	font-weight: 550;
}

.hkx-pagination {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.hkx-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hkx-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75em;
	font-size: 0.875rem;
	color: var(--hkx-text);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
}

.hkx-pagination .page-numbers:hover {
	border-color: var(--hkx-accent);
	color: var(--hkx-accent);
}

.hkx-pagination .page-numbers.current {
	background: var(--hkx-ink);
	border-color: var(--hkx-ink);
	color: #fff;
}

.hkx-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-filter__item {
	padding: 0.45em 1em;
	font-size: 0.875rem;
	color: var(--hkx-text);
	background: var(--hkx-paper);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
}

.hkx-filter__item:hover {
	border-color: var(--hkx-accent);
	color: var(--hkx-accent);
}

.hkx-filter__item.is-active {
	background: var(--hkx-ink);
	border-color: var(--hkx-ink);
	color: #fff;
}

/* --------------------------------------------------------------------------
   22. 搜索 / 404
   ----------------------------------------------------------------------- */
.hkx-search {
	display: flex;
	gap: 0.5rem;
	max-width: 520px;
}

.hkx-search__field {
	flex: 1;
	padding: 0.7em 0.9em;
	font: inherit;
	font-size: 0.9375rem;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
}

.hkx-search__field:focus {
	outline: none;
	border-color: var(--hkx-accent);
	box-shadow: 0 0 0 3px rgba(226, 87, 30, 0.12);
}

.hkx-search__btn {
	padding: 0.7em 1.4em;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--hkx-ink);
	border: 0;
	border-radius: var(--hkx-radius);
}

.hkx-search__btn:hover {
	background: var(--hkx-accent);
}

.hkx-searchbar {
	margin-bottom: 2rem;
}

.hkx-404 {
	padding-block: clamp(4rem, 10vw, 8rem);
	text-align: center;
	max-width: 640px;
}

.hkx-404__code {
	margin: 0 0 0.5rem;
	font-family: var(--hkx-mono);
	font-size: clamp(3rem, 10vw, 6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--hkx-line);
}

.hkx-404__title {
	margin: 0 0 0.75rem;
}

.hkx-404__desc {
	color: var(--hkx-muted);
	margin-bottom: 2rem;
}

.hkx-404__search {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.hkx-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   23. 评论
   ----------------------------------------------------------------------- */
.hkx-comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hkx-line);
}

.hkx-comments__title {
	margin: 0 0 1.5rem;
	font-size: 1.125rem;
}

.hkx-comments__list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.hkx-comments__list .comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--hkx-line);
}

.hkx-comments__list .children {
	margin: 0;
	padding-left: 1.5rem;
	list-style: none;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 550;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7em 0.85em;
	font: inherit;
	font-size: 0.9375rem;
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
}

/* --------------------------------------------------------------------------
   24. 区块编辑器内容在页面里的间距兜底
   ----------------------------------------------------------------------- */
.hkx-page__blocks > .wp-block-group,
.hkx-page__blocks > .wp-block-cover {
	margin-block: 0;
}

.hkx-main > .wp-block-group:first-child,
.hkx-main > .hkx-section:first-child {
	margin-top: 0;
}

/* 对齐选项 */
.alignwide {
	max-width: var(--hkx-container);
	margin-inline: auto;
}

.alignfull {
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

/* --------------------------------------------------------------------------
   25. 产品图集：详情页「主图 + 缩略图条」与卡片上的图片计数
   ----------------------------------------------------------------------- */
.hkx-card__count {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	padding: 0.15em 0.55em;
	font-family: var(--hkx-mono);
	font-size: 0.6875rem;
	line-height: 1.5;
	color: #fff;
	background: rgba(14, 26, 43, 0.72);
	border-radius: 999px;
	pointer-events: none;
}

.hkx-gallery {
	max-width: 560px;
	margin: 0 0 1.75rem;
}

.hkx-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--hkx-mist);
	border: 1px solid var(--hkx-line);
	overflow: hidden;
}

.hkx-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hkx-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.hkx-gallery__thumb {
	display: block;
	width: 78px;
	height: 78px;
	padding: 0;
	background: var(--hkx-mist);
	border: 1px solid var(--hkx-line);
	border-radius: var(--hkx-radius);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s var(--hkx-ease), box-shadow 0.2s var(--hkx-ease);
}

.hkx-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hkx-gallery__thumb:hover {
	border-color: var(--hkx-steel);
}

.hkx-gallery__thumb.is-active {
	border-color: var(--hkx-accent);
	box-shadow: 0 0 0 2px rgba(226, 87, 30, 0.22);
}

.hkx-gallery__thumb:focus-visible {
	outline: 2px solid var(--hkx-accent);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.hkx-gallery__thumb {
		width: 62px;
		height: 62px;
	}
}
