/*
Theme Name: 淄博华信环保设备 Huaxin Classic
Theme URI: https://example.com/
Author: 刘建国
Author URI: https://example.com/
Description: 淄博华信环保设备有限公司官网主题——「二十年环保路,华信伴您行」,2003年建厂的老牌 HX-PLT 系列 PP 喷淋塔厂家口吻,经典中文企业站风格。企业蓝 #1e5bb8 + 白 + 浅灰配色,顶部深蓝欢迎电话条,蓝底白字导航,JS 自动轮播 Banner,内页左侧产品分类竖栏 + 右侧内容的传统布局,新闻列表左侧日期方块,板块标题居中带蓝色短下划线,整体方正稳重、文风持重。演示主题,公司为虚构。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huaxin-classic
Tags: blue, corporate, two-columns, custom-logo, custom-menu, translation-ready
*/

/* ==========================================================================
   1. 变量与基础
   ========================================================================== */
:root {
	--hx-blue: #1e5bb8;
	--hx-blue-hover: #2568cc;
	--hx-blue-dark: #164a99;
	--hx-blue-deep: #123c78;
	--hx-blue-navy: #0f2f5c;
	--hx-gray: #f2f5fa;
	--hx-border: #dde4ee;
	--hx-text: #333333;
	--hx-text-light: #777777;
	--hx-white: #ffffff;
	--hx-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	font-family: var(--hx-font);
	font-size: 15px;
	line-height: 1.75;
	color: var(--hx-text);
	background: var(--hx-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hx-blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--hx-blue-hover); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.hx-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 9999;
	width: auto; height: auto;
	clip: auto;
	background: var(--hx-blue);
	color: #fff;
	padding: 10px 18px;
	border-radius: 3px;
}

/* WordPress 常规类 */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--hx-text-light); text-align: center; padding: 6px 0; }
.sticky { display: block; }
.bypostauthor { display: block; }
.gallery-caption { font-size: 13px; }

/* 按钮 */
.hx-btn {
	display: inline-block;
	background: var(--hx-blue);
	color: #fff;
	padding: 12px 34px;
	font-size: 15px;
	border: 1px solid var(--hx-blue);
	border-radius: 3px;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.hx-btn:hover { background: var(--hx-blue-hover); border-color: var(--hx-blue-hover); color: #fff; }
.hx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.hx-btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hx-btn--white { background: #fff; color: var(--hx-blue); border-color: #fff; }
.hx-btn--white:hover { background: var(--hx-gray); border-color: var(--hx-gray); color: var(--hx-blue-dark); }

/* 滚动入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.hx-slide { transition: none !important; }
}

/* ==========================================================================
   2. 顶部欢迎条
   ========================================================================== */
.hx-topbar {
	background: var(--hx-blue-deep);
	color: #cfe0f7;
	font-size: 13px;
	line-height: 2.6;
}
.hx-topbar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; }
.hx-topbar-contact span { margin-left: 22px; }
.hx-topbar-contact strong { color: #fff; font-weight: 600; letter-spacing: .5px; }

/* ==========================================================================
   3. 页头 Logo 区
   ========================================================================== */
.hx-header { background: #fff; border-bottom: 1px solid var(--hx-border); }
.hx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
}
.hx-logo-link { display: flex; align-items: center; gap: 14px; }
.hx-logo .custom-logo-link { display: block; }
.hx-logo .custom-logo { max-height: 64px; width: auto; }
.hx-logo-mark {
	width: 56px; height: 56px;
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(150deg, var(--hx-blue) 0%, var(--hx-blue-deep) 100%);
	border-radius: 6px;
}
.hx-logo-mark svg { width: 34px; height: 34px; }
.hx-logo-text strong {
	display: block;
	font-size: 24px;
	color: #222;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
}
.hx-logo-text em {
	display: block;
	font-style: normal;
	font-size: 13px;
	color: var(--hx-text-light);
	letter-spacing: 2px;
	margin-top: 2px;
}
.hx-header-phone { display: flex; align-items: center; gap: 12px; }
.hx-header-phone-icon {
	width: 46px; height: 46px;
	border: 2px solid var(--hx-blue);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--hx-blue);
}
.hx-header-phone-icon svg { width: 22px; height: 22px; }
.hx-header-phone-text small { display: block; font-size: 13px; color: var(--hx-text-light); }
.hx-header-phone-text strong { display: block; font-size: 22px; color: var(--hx-blue); font-weight: 700; letter-spacing: .5px; line-height: 1.3; }

/* ==========================================================================
   4. 主导航(蓝底白字)
   ========================================================================== */
.hx-nav {
	background: var(--hx-blue);
	position: sticky;
	top: 0;
	z-index: 200;
	transition: box-shadow .3s ease;
}
.hx-nav.is-scrolled { box-shadow: 0 4px 16px rgba(15, 47, 92, .3); }
.hx-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.hx-menu { display: flex; flex-wrap: wrap; }
.hx-menu li { position: relative; }
.hx-menu > li > a {
	display: block;
	color: #fff;
	font-size: 16px;
	padding: 15px 30px;
	transition: background .25s ease;
}
.hx-menu > li > a:hover,
.hx-menu > li.current-menu-item > a,
.hx-menu > li.current_page_item > a,
.hx-menu > li.current-menu-ancestor > a {
	background: var(--hx-blue-dark);
	color: #fff;
}
/* 二级菜单 */
.hx-menu .sub-menu {
	position: absolute;
	left: 0; top: 100%;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--hx-border);
	border-top: 3px solid var(--hx-blue);
	box-shadow: 0 8px 22px rgba(15, 47, 92, .15);
	display: none;
	z-index: 300;
}
.hx-menu li:hover > .sub-menu { display: block; }
.hx-menu .sub-menu a {
	display: block;
	padding: 11px 18px;
	color: var(--hx-text);
	font-size: 14px;
	border-bottom: 1px solid var(--hx-gray);
}
.hx-menu .sub-menu a:hover { background: var(--hx-gray); color: var(--hx-blue); }

/* 导航内搜索 */
.hx-nav-search .hx-search-form { display: flex; }
.hx-nav-search .hx-search-field {
	width: 170px;
	border: none;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	padding: 8px 12px;
	border-radius: 3px 0 0 3px;
	outline: none;
}
.hx-nav-search .hx-search-field::placeholder { color: #bcd2f0; }
.hx-nav-search .hx-search-submit {
	background: var(--hx-blue-dark);
	border: none;
	color: #fff;
	padding: 0 13px;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
}
.hx-nav-search .hx-search-submit svg { width: 16px; height: 16px; display: block; }

/* 汉堡按钮(移动端) */
.hx-nav-toggle {
	display: none;
	background: none;
	border: none;
	padding: 14px 4px;
	cursor: pointer;
}
.hx-nav-toggle span {
	display: block;
	width: 26px; height: 3px;
	background: #fff;
	border-radius: 2px;
	margin: 5px 0;
	transition: transform .3s ease, opacity .3s ease;
}
.hx-nav.is-open .hx-nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hx-nav.is-open .hx-nav-toggle span:nth-child(2) { opacity: 0; }
.hx-nav.is-open .hx-nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   5. 首页轮播 Banner
   ========================================================================== */
.hx-slider { position: relative; height: 520px; overflow: hidden; background: var(--hx-blue-navy); }
.hx-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility .9s ease;
}
.hx-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hx-slide--1 { background: linear-gradient(135deg, #0f2f5c 0%, #1e5bb8 58%, #2f7fe0 100%); }
.hx-slide--2 { background: linear-gradient(135deg, #123c78 0%, #17539f 50%, #3a8fd0 100%); }
.hx-slide--3 { background: linear-gradient(135deg, #16294d 0%, #1e5bb8 62%, #5a95dd 100%); }
.hx-slide::before {
	content: "";
	position: absolute;
	right: -140px; top: -140px;
	width: 480px; height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 68%);
}
.hx-slide::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 120px;
	background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px);
}
.hx-slide-inner { position: relative; z-index: 2; width: 100%; }
.hx-slide-tag {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, .6);
	color: #dcebff;
	font-size: 14px;
	letter-spacing: 3px;
	padding: 5px 18px;
	border-radius: 2px;
	margin-bottom: 22px;
}
.hx-slide-title {
	color: #fff;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.35;
	margin-bottom: 16px;
	text-shadow: 0 3px 12px rgba(10, 30, 62, .4);
}
.hx-slide-sub {
	color: #d5e5fb;
	font-size: 17px;
	letter-spacing: 1px;
	margin-bottom: 34px;
	max-width: 640px;
}
.hx-dots {
	position: absolute;
	left: 0; right: 0; bottom: 24px;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 5;
}
.hx-dot {
	width: 12px; height: 12px;
	border-radius: 6px;
	border: none;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	padding: 0;
	transition: width .3s ease, background .3s ease;
}
.hx-dot.is-active { width: 28px; background: #fff; }

/* ==========================================================================
   6. 通用板块与标题(居中 + 蓝色短下划线)
   ========================================================================== */
.hx-section { padding: 72px 0; }
.hx-section--gray { background: var(--hx-gray); }
.hx-section--navy { background: var(--hx-blue-navy); }
.hx-sec-head { text-align: center; margin-bottom: 46px; }
.hx-sec-head h2 {
	font-size: 30px;
	color: #222;
	font-weight: 700;
	letter-spacing: 2px;
}
.hx-sec-head h2::after {
	content: "";
	display: block;
	width: 54px; height: 4px;
	background: var(--hx-blue);
	border-radius: 2px;
	margin: 14px auto 0;
}
.hx-sec-en {
	display: block;
	font-size: 13px;
	color: #9aa7bd;
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.hx-sec-head p { color: #888; font-size: 15px; margin-top: 14px; letter-spacing: 1px; }
.hx-sec-head--light h2 { color: #fff; }
.hx-sec-head--light h2::after { background: #fff; }
.hx-sec-head--light p { color: #b9cdea; }
.hx-sec-more { text-align: center; margin-top: 40px; }

.hx-demo-note {
	text-align: center;
	font-size: 13px;
	color: #98a4b8;
	margin-top: 26px;
}

.hx-empty {
	background: #fff;
	border: 1px dashed var(--hx-border);
	border-radius: 4px;
	padding: 46px 30px;
	text-align: center;
	color: var(--hx-text-light);
}
.hx-empty h3 { color: var(--hx-text); font-size: 18px; margin-bottom: 10px; }

/* ==========================================================================
   7. 企业优势四格
   ========================================================================== */
.hx-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hx-adv-item {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	text-align: center;
	padding: 40px 22px 34px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hx-adv-item:hover {
	transform: translateY(-6px);
	border-color: var(--hx-blue);
	box-shadow: 0 12px 28px rgba(30, 91, 184, .14);
}
.hx-adv-icon {
	width: 86px; height: 86px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--hx-gray);
	color: var(--hx-blue);
	display: flex; align-items: center; justify-content: center;
	transition: background .3s ease, color .3s ease;
}
.hx-adv-item:hover .hx-adv-icon { background: var(--hx-blue); color: #fff; }
.hx-adv-icon svg { width: 42px; height: 42px; }
.hx-adv-item h3 { font-size: 18px; color: #222; margin-bottom: 10px; letter-spacing: 1px; }
.hx-adv-item p { font-size: 14px; color: var(--hx-text-light); line-height: 1.8; }

/* ==========================================================================
   8. 产品卡片
   ========================================================================== */
.hx-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hx-prod-grid--2col { grid-template-columns: repeat(2, 1fr); }
.hx-prod-card {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hx-prod-card:hover {
	transform: translateY(-5px);
	border-color: var(--hx-blue);
	box-shadow: 0 14px 30px rgba(30, 91, 184, .15);
}
.hx-prod-thumb {
	height: 216px;
	background: linear-gradient(160deg, #e8f0fb 0%, #f7fafe 60%, #eef4fc 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--hx-border);
	overflow: hidden;
}
.hx-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hx-prod-thumb .hx-tower-svg { width: 150px; height: auto; }
.hx-prod-body { padding: 20px 22px 22px; }
.hx-prod-body h3 { font-size: 17px; color: #222; margin-bottom: 4px; transition: color .25s ease; }
.hx-prod-card:hover .hx-prod-body h3 { color: var(--hx-blue); }
.hx-prod-model { font-size: 13px; color: var(--hx-blue); margin-bottom: 8px; }
.hx-prod-body p { font-size: 14px; color: var(--hx-text-light); line-height: 1.8; margin-bottom: 12px; }
.hx-prod-more { font-size: 14px; color: var(--hx-blue); }
.hx-prod-more::after { content: " »"; }

/* ==========================================================================
   9. 材质与工艺(战略合作 PP 板材)
   ========================================================================== */
.hx-material { display: flex; gap: 50px; align-items: center; }
.hx-material-text { flex: 1; min-width: 0; }
.hx-material-text h3 { font-size: 22px; color: #222; margin-bottom: 16px; letter-spacing: 1px; }
.hx-material-text > p { color: #555; margin-bottom: 14px; }
.hx-material-supplier {
	background: #eaf1fb;
	border-left: 4px solid var(--hx-blue);
	padding: 16px 20px;
	margin: 20px 0;
	border-radius: 0 4px 4px 0;
}
.hx-material-supplier strong { color: var(--hx-blue-dark); }
.hx-feature-list { margin-top: 18px; }
.hx-feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 7px 0;
	color: #444;
}
.hx-feature-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--hx-blue); margin-top: 4px; }
.hx-material-figure {
	width: 420px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 6px;
	padding: 26px 20px 16px;
	box-shadow: 0 10px 30px rgba(30, 91, 184, .08);
}
.hx-material-figure svg { width: 100%; height: auto; }
.hx-material-figure figcaption {
	text-align: center;
	font-size: 13px;
	color: var(--hx-text-light);
	padding-top: 10px;
}

/* ==========================================================================
   10. 应用行业
   ========================================================================== */
.hx-ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-ind-item {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	padding: 24px 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.hx-ind-item:hover { border-color: var(--hx-blue); box-shadow: 0 8px 20px rgba(30, 91, 184, .12); }
.hx-ind-icon {
	width: 52px; height: 52px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--hx-gray);
	color: var(--hx-blue);
	display: flex; align-items: center; justify-content: center;
}
.hx-ind-icon svg { width: 26px; height: 26px; }
.hx-ind-item h3 { font-size: 16px; color: #222; margin-bottom: 2px; }
.hx-ind-item p { font-size: 13px; color: var(--hx-text-light); line-height: 1.6; }

/* ==========================================================================
   11. 工程业绩
   ========================================================================== */
.hx-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hx-case-card {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.hx-case-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(30, 91, 184, .15); }
.hx-case-thumb {
	height: 190px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .9);
}
.hx-case-thumb--1 { background: linear-gradient(140deg, #1e5bb8, #123c78); }
.hx-case-thumb--2 { background: linear-gradient(140deg, #2a72cf, #16437e); }
.hx-case-thumb--3 { background: linear-gradient(140deg, #17539f, #0f2f5c); }
.hx-case-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}
.hx-case-thumb svg { width: 96px; height: 96px; opacity: .85; position: relative; z-index: 1; }
.hx-case-tag {
	position: absolute;
	left: 14px; top: 14px;
	z-index: 2;
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .5);
	color: #fff;
	font-size: 12px;
	padding: 3px 12px;
	border-radius: 2px;
	letter-spacing: 1px;
}
.hx-case-body { padding: 20px 22px 22px; }
.hx-case-body h3 { font-size: 17px; color: #222; margin-bottom: 10px; line-height: 1.5; }
.hx-case-meta { font-size: 13px; color: var(--hx-text-light); line-height: 2; }
.hx-case-meta strong { color: var(--hx-blue); font-weight: 600; }

/* ==========================================================================
   12. 新闻中心(首页卡片 + 列表日期方块)
   ========================================================================== */
.hx-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hx-news-card {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	padding: 24px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.hx-news-card:hover { border-color: var(--hx-blue); box-shadow: 0 10px 24px rgba(30, 91, 184, .12); }
.hx-news-card h3 { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.hx-news-card h3 a { color: #222; }
.hx-news-card h3 a:hover { color: var(--hx-blue); }
.hx-news-card p { font-size: 13px; color: var(--hx-text-light); }

.hx-date-block {
	width: 74px;
	flex-shrink: 0;
	text-align: center;
	background: var(--hx-gray);
	border: 1px solid var(--hx-border);
	border-radius: 3px;
	overflow: hidden;
	transition: background .3s ease, border-color .3s ease;
}
.hx-date-day {
	display: block;
	font-size: 30px;
	font-weight: 700;
	color: var(--hx-blue);
	line-height: 1.2;
	padding-top: 8px;
	transition: color .3s ease;
}
.hx-date-ym {
	display: block;
	font-size: 12px;
	color: #98a4b8;
	padding-bottom: 8px;
	transition: color .3s ease;
}
.hx-news-card:hover .hx-date-block,
.hx-news-item:hover .hx-date-block { background: var(--hx-blue); border-color: var(--hx-blue); }
.hx-news-card:hover .hx-date-day,
.hx-news-item:hover .hx-date-day { color: #fff; }
.hx-news-card:hover .hx-date-ym,
.hx-news-item:hover .hx-date-ym { color: #c8dcf7; }

/* 列表页新闻条目 */
.hx-news-item {
	display: flex;
	gap: 22px;
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	padding: 24px;
	margin-bottom: 20px;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.hx-news-item:hover { border-color: var(--hx-blue); box-shadow: 0 10px 24px rgba(30, 91, 184, .12); }
.hx-news-body { flex: 1; min-width: 0; }
.hx-news-body h2 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.hx-news-body h2 a { color: #222; }
.hx-news-body h2 a:hover { color: var(--hx-blue); }
.hx-news-body p { font-size: 14px; color: var(--hx-text-light); margin-bottom: 8px; }
.hx-news-body .hx-prod-more { font-size: 13px; }

/* ==========================================================================
   13. 公司简介
   ========================================================================== */
.hx-about { display: flex; gap: 50px; align-items: center; }
.hx-about-text { flex: 1; min-width: 0; }
.hx-about-text h3 { font-size: 22px; color: #222; margin-bottom: 16px; letter-spacing: 1px; }
.hx-about-text p { color: #555; margin-bottom: 14px; }
.hx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.hx-stat {
	background: var(--hx-gray);
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	text-align: center;
	padding: 18px 8px;
}
.hx-stat strong { display: block; font-size: 26px; color: var(--hx-blue); font-weight: 700; }
.hx-stat span { font-size: 13px; color: var(--hx-text-light); }
.hx-about-figure {
	width: 440px;
	flex-shrink: 0;
	border: 1px solid var(--hx-border);
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(160deg, #e8f0fb, #f6f9fe);
}
.hx-about-figure svg { width: 100%; height: auto; display: block; }
.hx-about-figure figcaption {
	text-align: center;
	font-size: 13px;
	color: var(--hx-text-light);
	padding: 10px 0;
	background: #fff;
	border-top: 1px solid var(--hx-border);
}

/* ==========================================================================
   14. 联系 CTA
   ========================================================================== */
.hx-cta {
	background: linear-gradient(120deg, var(--hx-blue-deep) 0%, var(--hx-blue) 70%, #2f7fe0 100%);
	padding: 58px 0;
	color: #fff;
}
.hx-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.hx-cta h2 { font-size: 28px; letter-spacing: 1px; margin-bottom: 10px; }
.hx-cta p { color: #d5e5fb; font-size: 15px; }
.hx-cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hx-cta-phone { text-align: right; }
.hx-cta-phone small { display: block; font-size: 13px; color: #bcd2f0; }
.hx-cta-phone strong { font-size: 26px; font-weight: 700; letter-spacing: 1px; }

/* ==========================================================================
   15. 页脚(深蓝大页脚)
   ========================================================================== */
.hx-footer { background: var(--hx-blue-navy); color: #a9bedd; font-size: 14px; }
.hx-footer a { color: #a9bedd; }
.hx-footer a:hover { color: #fff; }
.hx-footer-cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-top: 54px;
	padding-bottom: 40px;
}
.hx-footer-title {
	color: #fff;
	font-size: 17px;
	letter-spacing: 1px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	position: relative;
}
.hx-footer-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 34px; height: 3px;
	background: var(--hx-blue);
	border-radius: 2px;
}
.hx-footer-about p { line-height: 1.9; margin-bottom: 12px; }
.hx-footer-menu li { padding: 5px 0; }
.hx-footer-menu a::before { content: "» "; color: #5f7ba8; }
.hx-footer-contact li {
	display: flex;
	gap: 10px;
	padding: 5px 0;
	align-items: flex-start;
	line-height: 1.7;
}
.hx-footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: #6f8cba; }
.hx-footer-links {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 16px 0;
	font-size: 13px;
	color: #7e95ba;
}
.hx-footer-links a { margin-right: 18px; color: #7e95ba; }
.hx-footer-links a:hover { color: #fff; }
.hx-footer-links strong { color: #a9bedd; font-weight: 600; margin-right: 10px; }
.hx-footer-bottom {
	background: #0b2447;
	padding: 15px 0;
	font-size: 13px;
	color: #6f87ad;
}
.hx-footer-bottom .hx-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   16. 内页 Banner 与面包屑
   ========================================================================== */
.hx-page-banner {
	background: linear-gradient(120deg, var(--hx-blue-deep) 0%, var(--hx-blue) 65%, #2f7fe0 100%);
	color: #fff;
	padding: 52px 0;
	position: relative;
	overflow: hidden;
}
.hx-page-banner::after {
	content: "";
	position: absolute;
	right: -100px; top: -120px;
	width: 340px; height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 70%);
}
.hx-page-banner h1 { font-size: 30px; letter-spacing: 2px; margin-bottom: 8px; position: relative; z-index: 1; }
.hx-breadcrumb { font-size: 13px; color: #b9cdea; position: relative; z-index: 1; }
.hx-breadcrumb a { color: #d5e5fb; }
.hx-breadcrumb a:hover { color: #fff; }
.hx-breadcrumb .sep { margin: 0 8px; color: #7e9cc9; }

/* ==========================================================================
   17. 内页两栏布局(左侧产品分类竖栏)
   ========================================================================== */
.hx-main-layout {
	display: flex;
	gap: 30px;
	padding-top: 50px;
	padding-bottom: 60px;
	align-items: flex-start;
}
.hx-side { width: 262px; flex-shrink: 0; }
.hx-content-area { flex: 1; min-width: 0; }

.hx-side-box {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 24px;
}
.hx-side-box-title {
	background: var(--hx-blue);
	color: #fff;
	font-size: 17px;
	letter-spacing: 2px;
	padding: 14px 20px;
	position: relative;
}
.hx-side-box-title::before {
	content: "";
	display: inline-block;
	width: 4px; height: 16px;
	background: #fff;
	border-radius: 2px;
	margin-right: 10px;
	vertical-align: -2px;
}
.hx-side-cats li { border-bottom: 1px solid var(--hx-gray); }
.hx-side-cats li:last-child { border-bottom: none; }
.hx-side-cats a {
	display: block;
	padding: 13px 20px;
	color: #444;
	font-size: 15px;
	transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.hx-side-cats a::before { content: "» "; color: #a8b8d2; }
.hx-side-cats a:hover,
.hx-side-cats li.current-cat > a {
	background: var(--hx-gray);
	color: var(--hx-blue);
	padding-left: 28px;
}
.hx-side-contact-body { padding: 18px 20px; background: var(--hx-blue-deep); color: #cfe0f7; font-size: 14px; }
.hx-side-contact-body p { display: flex; gap: 8px; padding: 4px 0; align-items: flex-start; line-height: 1.7; }
.hx-side-contact-body svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: #8fb0e0; }
.hx-side-contact-body strong { color: #fff; font-size: 18px; letter-spacing: .5px; }

/* 侧栏小工具 */
.hx-side .widget {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	margin-bottom: 24px;
	padding: 0 0 12px;
	overflow: hidden;
}
.hx-side .widget-title,
.hx-side .widget .wp-block-heading {
	background: var(--hx-blue);
	color: #fff;
	font-size: 17px;
	letter-spacing: 2px;
	padding: 14px 20px;
	margin-bottom: 10px;
}
.hx-side .widget ul { padding: 0 20px; }
.hx-side .widget li { padding: 6px 0; border-bottom: 1px dashed var(--hx-gray); font-size: 14px; }
.hx-side .widget li:last-child { border-bottom: none; }
.hx-side .widget p { padding: 0 20px; font-size: 14px; }

/* ==========================================================================
   18. 文章与正文样式
   ========================================================================== */
.hx-article {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	padding: 36px 40px 40px;
}
.hx-article-title { font-size: 26px; color: #222; line-height: 1.5; margin-bottom: 14px; }
.hx-article-meta {
	font-size: 13px;
	color: #98a4b8;
	padding-bottom: 18px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--hx-gray);
}
.hx-article-meta span { margin-right: 20px; }

.hx-entry { font-size: 15px; color: #444; }
.hx-entry p { margin-bottom: 16px; }
.hx-entry h2 {
	font-size: 21px;
	color: #222;
	margin: 30px 0 14px;
	padding-left: 12px;
	border-left: 4px solid var(--hx-blue);
	line-height: 1.4;
}
.hx-entry h3 { font-size: 18px; color: #222; margin: 24px 0 12px; }
.hx-entry h4 { font-size: 16px; color: #222; margin: 20px 0 10px; }
.hx-entry ul, .hx-entry ol { margin: 0 0 16px 26px; }
.hx-entry ul { list-style: disc; }
.hx-entry ol { list-style: decimal; }
.hx-entry li { margin-bottom: 6px; }
.hx-entry blockquote {
	background: var(--hx-gray);
	border-left: 4px solid var(--hx-blue);
	padding: 16px 20px;
	margin: 0 0 16px;
	color: #555;
	border-radius: 0 4px 4px 0;
}
.hx-entry img { border-radius: 4px; margin: 10px auto; }
.hx-entry a { text-decoration: underline; }
.hx-entry table { margin-bottom: 18px; }
.hx-entry table th, .hx-entry table td { border: 1px solid var(--hx-border); padding: 10px 14px; text-align: left; }
.hx-entry table th { background: var(--hx-gray); }
.hx-entry pre { background: #f5f7fb; border: 1px solid var(--hx-border); padding: 14px; overflow-x: auto; border-radius: 4px; margin-bottom: 16px; }

.hx-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--hx-gray);
	font-size: 14px;
}
.hx-post-nav a { color: #555; }
.hx-post-nav a:hover { color: var(--hx-blue); }
.hx-post-nav .nav-next { text-align: right; }

/* 分页 */
.hx-pagination { margin-top: 30px; text-align: center; }
.hx-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hx-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 3px;
	color: #555;
	font-size: 14px;
	text-align: center;
}
.hx-pagination .page-numbers.current,
.hx-pagination .page-numbers:hover { background: var(--hx-blue); border-color: var(--hx-blue); color: #fff; }

/* 评论区 */
.hx-comments {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	padding: 30px 40px 36px;
	margin-top: 30px;
}
.hx-comments-title,
.hx-comment-reply-title {
	font-size: 20px;
	color: #222;
	line-height: 1.4;
	padding-left: 12px;
	border-left: 4px solid var(--hx-blue);
	margin-bottom: 22px;
}
.hx-comment-list { list-style: none; margin: 0 0 6px; }
.hx-comment-list .children { list-style: none; margin-left: 28px; }
.hx-comment-list li.comment,
.hx-comment-list li.pingback,
.hx-comment-list li.trackback {
	padding: 18px 0;
	border-bottom: 1px dashed var(--hx-border);
}
.hx-comment-list > li:last-child { border-bottom: none; }
.hx-comment-list .comment-body { font-size: 14px; color: #444; }
.hx-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #222; }
.hx-comment-list .comment-author .avatar { border-radius: 50%; flex-shrink: 0; }
.hx-comment-list .comment-author .says { color: var(--hx-text-light); font-size: 13px; }
.hx-comment-list .comment-metadata { font-size: 12px; margin: 6px 0 10px; }
.hx-comment-list .comment-metadata a { color: #98a4b8; }
.hx-comment-list .comment-metadata a:hover { color: var(--hx-blue); }
.hx-comment-list .comment-content p { margin-bottom: 10px; }
.hx-comment-list .comment-awaiting-moderation { font-size: 13px; color: var(--hx-text-light); }
.hx-comment-list .reply { margin-top: 4px; }
.hx-comment-list .reply a { font-size: 13px; color: var(--hx-blue); }
.hx-comment-list .reply a:hover { color: var(--hx-blue-hover); }
.hx-comments .comment-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	font-size: 14px;
}
.hx-comments .comment-navigation a { color: #555; }
.hx-comments .comment-navigation a:hover { color: var(--hx-blue); }
.hx-no-comments { font-size: 14px; color: var(--hx-text-light); margin: 14px 0; }

/* 评论表单 */
.hx-comments .comment-respond { margin-top: 8px; }
.hx-comment-list .comment-respond { margin-top: 16px; }
.hx-comments .comment-notes,
.hx-comments .logged-in-as { font-size: 13px; color: var(--hx-text-light); margin-bottom: 14px; }
.hx-comments .comment-form p { margin-bottom: 14px; }
.hx-comments .comment-form label { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.hx-comments .comment-form input[type="text"],
.hx-comments .comment-form input[type="email"],
.hx-comments .comment-form input[type="url"],
.hx-comments .comment-form textarea {
	width: 100%;
	max-width: 560px;
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: 3px;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--hx-text);
	transition: border-color .25s ease;
}
.hx-comments .comment-form input:focus,
.hx-comments .comment-form textarea:focus { outline: none; border-color: var(--hx-blue); }
.hx-comments .comment-form .comment-form-cookies-consent { display: flex; align-items: baseline; gap: 8px; }
.hx-comments .comment-form .comment-form-cookies-consent label { display: inline; margin-bottom: 0; }
.hx-comments .comment-form .form-submit { margin-bottom: 0; }
.hx-comment-submit { cursor: pointer; }

/* ==========================================================================
   19. 产品详情页
   ========================================================================== */
.hx-prod-top { display: flex; gap: 34px; margin-bottom: 34px; }
.hx-prod-gallery {
	width: 420px;
	flex-shrink: 0;
	border: 1px solid var(--hx-border);
	border-radius: 4px;
	background: linear-gradient(160deg, #e8f0fb 0%, #f7fafe 60%, #eef4fc 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	overflow: hidden;
}
.hx-prod-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hx-prod-gallery .hx-tower-svg { width: 230px; height: auto; }
.hx-prod-summary { flex: 1; min-width: 0; }
.hx-prod-summary h1 { font-size: 26px; color: #222; margin-bottom: 12px; }
.hx-prod-summary .hx-prod-intro { color: #666; font-size: 14px; margin-bottom: 18px; }
.hx-params-table { font-size: 14px; margin-bottom: 20px; }
.hx-params-table caption {
	text-align: left;
	font-size: 16px;
	font-weight: 700;
	color: #222;
	padding-bottom: 10px;
}
.hx-params-table caption::before {
	content: "";
	display: inline-block;
	width: 4px; height: 15px;
	background: var(--hx-blue);
	border-radius: 2px;
	margin-right: 8px;
	vertical-align: -2px;
}
.hx-params-table th, .hx-params-table td { border: 1px solid var(--hx-border); padding: 10px 14px; text-align: left; }
.hx-params-table th { background: var(--hx-gray); width: 118px; color: #444; font-weight: 600; white-space: nowrap; }
.hx-prod-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hx-prod-actions .hx-tel { font-size: 20px; font-weight: 700; color: var(--hx-blue); }

.hx-inquiry {
	background: linear-gradient(120deg, var(--hx-blue-deep), var(--hx-blue));
	border-radius: 4px;
	color: #fff;
	padding: 30px 34px;
	margin: 34px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.hx-inquiry h3 { font-size: 20px; margin-bottom: 6px; }
.hx-inquiry p { color: #d5e5fb; font-size: 14px; }

.hx-related h2 {
	font-size: 20px;
	color: #222;
	margin-bottom: 20px;
	padding-left: 12px;
	border-left: 4px solid var(--hx-blue);
}
.hx-related .hx-prod-grid { grid-template-columns: repeat(3, 1fr); }
.hx-related .hx-prod-thumb { height: 160px; }
.hx-related .hx-prod-thumb .hx-tower-svg { width: 110px; }

/* ==========================================================================
   20. 搜索表单 / 404
   ========================================================================== */
.hx-search-form { display: flex; }
.hx-content-area .hx-search-form,
.hx-404 .hx-search-form { max-width: 460px; }
.hx-content-area .hx-search-field,
.hx-404 .hx-search-field {
	flex: 1;
	border: 1px solid var(--hx-border);
	padding: 11px 14px;
	border-radius: 3px 0 0 3px;
	outline: none;
}
.hx-content-area .hx-search-field:focus,
.hx-404 .hx-search-field:focus { border-color: var(--hx-blue); }
.hx-content-area .hx-search-submit,
.hx-404 .hx-search-submit {
	background: var(--hx-blue);
	color: #fff;
	border: none;
	padding: 0 20px;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
}
.hx-content-area .hx-search-submit svg,
.hx-404 .hx-search-submit svg { width: 17px; height: 17px; display: block; }

.hx-404 { text-align: center; padding: 90px 20px 100px; }
.hx-404 .hx-404-code {
	font-size: 110px;
	font-weight: 700;
	color: var(--hx-blue);
	line-height: 1;
	letter-spacing: 6px;
	text-shadow: 0 10px 30px rgba(30, 91, 184, .25);
}
.hx-404 h1 { font-size: 24px; color: #222; margin: 18px 0 10px; }
.hx-404 p { color: var(--hx-text-light); margin-bottom: 26px; }
.hx-404-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.hx-404 .hx-search-form { margin: 0 auto; }

/* ==========================================================================
   21. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
	.hx-adv-grid, .hx-ind-grid { grid-template-columns: repeat(2, 1fr); }
	.hx-prod-grid, .hx-case-grid, .hx-news-grid { grid-template-columns: repeat(2, 1fr); }
	.hx-material, .hx-about { flex-direction: column; }
	.hx-material-figure, .hx-about-figure { width: 100%; }
	.hx-header-phone { display: none; }
	.hx-slide-title { font-size: 34px; }
	.hx-prod-top { flex-direction: column; }
	.hx-prod-gallery { width: 100%; }
}

@media (max-width: 768px) {
	.hx-topbar-welcome { display: none; }
	.hx-topbar-inner { justify-content: center; }
	.hx-logo-text strong { font-size: 19px; }
	.hx-logo-text em { letter-spacing: 1px; font-size: 12px; }

	/* 汉堡导航 */
	.hx-nav-toggle { display: block; }
	.hx-nav-inner { flex-wrap: wrap; }
	.hx-nav-search { display: none; }
	.hx-nav-collapse {
		display: none;
		width: 100%;
		order: 3;
	}
	.hx-nav.is-open .hx-nav-collapse { display: block; }
	.hx-menu { flex-direction: column; }
	.hx-menu > li > a {
		padding: 13px 8px;
		border-top: 1px solid rgba(255, 255, 255, .12);
	}
	.hx-menu .sub-menu {
		position: static;
		display: block;
		background: rgba(0, 0, 0, .12);
		border: none;
		box-shadow: none;
	}
	.hx-menu .sub-menu a { color: #cfe0f7; border-bottom: none; padding: 10px 24px; }

	.hx-slider { height: 380px; }
	.hx-slide-title { font-size: 26px; letter-spacing: 1px; }
	.hx-slide-sub { font-size: 14px; }
	.hx-slide-tag { font-size: 12px; letter-spacing: 2px; }

	.hx-section { padding: 50px 0; }
	.hx-sec-head h2 { font-size: 24px; }
	.hx-adv-grid, .hx-ind-grid, .hx-prod-grid, .hx-prod-grid--2col, .hx-case-grid, .hx-news-grid { grid-template-columns: 1fr; }
	.hx-stats { grid-template-columns: repeat(2, 1fr); }

	.hx-main-layout { flex-direction: column; }
	.hx-side { width: 100%; order: 2; }
	.hx-content-area { order: 1; width: 100%; }

	.hx-article { padding: 24px 20px 28px; }
	.hx-article-title { font-size: 21px; }
	.hx-comments { padding: 22px 20px 26px; }
	.hx-comment-list .children { margin-left: 14px; }
	.hx-news-item { flex-direction: row; padding: 18px; gap: 16px; }
	.hx-date-block { width: 62px; }
	.hx-date-day { font-size: 24px; }

	.hx-cta-inner { flex-direction: column; text-align: center; }
	.hx-cta-phone { text-align: center; }
	.hx-footer-cols { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
	.hx-footer-bottom .hx-container { justify-content: center; text-align: center; }
	.hx-related .hx-prod-grid { grid-template-columns: 1fr; }
	.hx-page-banner { padding: 36px 0; }
	.hx-page-banner h1 { font-size: 24px; }
}
