/*
Theme Name: Eco Monitor 监测驾驶舱
Theme URI: https://example.com/themes/eco-monitor
Author: Chengdu Eco Themes
Author URI: https://example.com
Description: 为环保设备代理商打造的"监测驾驶舱"风主题。深空蓝黑底、信号绿数据点缀、等宽数字与网格质感，首屏内置设备运行总览示意面板、KPI 数字滚动与终端式 CTA；内置"产品设备"自定义文章类型与设备分类法，与合集内其他主题共享内容模型，切换主题内容不丢失。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: eco-monitor
Tags: business, news, dark, green, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ===== 变量与基础 ===== */
:root {
	--em-bg: #0a1420;
	--em-bg-deep: #081120;
	--em-panel: #111f30;
	--em-panel-2: #0f1b2b;
	--em-field: #0c1826;
	--em-line: rgba(126, 168, 214, 0.16);
	--em-line-strong: rgba(126, 168, 214, 0.32);
	--em-text: #e8f0f8;
	--em-body: #d5e2ee;
	--em-muted: #8ea5bc;
	--em-dim: #5f7690;
	--em-green: #2bd99f;
	--em-green-ink: #06251a;
	--em-amber: #f5b93f;
	--em-blue: #41a0ff;
	--em-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace;
	--em-radius: 12px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--em-bg);
	background-image:
		radial-gradient(900px 480px at 82% -8%, rgba(43, 217, 159, 0.09), transparent 70%),
		radial-gradient(760px 420px at -12% 28%, rgba(65, 160, 255, 0.07), transparent 70%);
	background-attachment: fixed;
	color: var(--em-body);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--em-green);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #6fe8c0;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--em-green);
	outline-offset: 2px;
}

::selection {
	background: rgba(43, 217, 159, 0.35);
	color: #fff;
}

.wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.section {
	padding: 72px 0 0;
}

.section:last-of-type {
	padding-bottom: 24px;
}

.section-head {
	margin-bottom: 36px;
}

.section-label {
	display: block;
	font-family: var(--em-mono);
	font-size: 13px;
	letter-spacing: 0.14em;
	color: var(--em-green);
	margin-bottom: 10px;
}

.section-head h2 {
	margin: 0;
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.3;
	color: #fff;
}

.section-head p {
	margin: 8px 0 0;
	color: var(--em-muted);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -48px;
	z-index: 200;
	background: var(--em-green);
	color: var(--em-green-ink);
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
}

.skip-link:focus {
	top: 8px;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
}

/* ===== 按钮 ===== */
.btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-primary {
	background: var(--em-green);
	color: var(--em-green-ink);
	border: 1px solid var(--em-green);
	font-family: var(--em-mono);
}

.btn-primary:hover {
	color: var(--em-green-ink);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(43, 217, 159, 0.35);
}

.btn-secondary {
	background: transparent;
	color: var(--em-text);
	border: 1px solid var(--em-line-strong);
}

.btn-secondary:hover {
	color: var(--em-green);
	border-color: var(--em-green);
	transform: translateY(-2px);
}

/* ===== 顶部状态条 ===== */
.statusbar {
	background: #071019;
	border-bottom: 1px solid var(--em-line);
}

.statusbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-top: 7px;
	padding-bottom: 7px;
	font-family: var(--em-mono);
	font-size: 12px;
	color: var(--em-muted);
}

.status-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--em-muted);
}

a.status-item:hover {
	color: var(--em-green);
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--em-green);
	box-shadow: 0 0 10px rgba(43, 217, 159, 0.9);
	animation: em-pulse 2s ease-in-out infinite;
}

/* ===== 页头 ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 20, 32, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--em-line);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
	background: rgba(8, 16, 26, 0.96);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 68px;
}

.site-branding {
	display: flex;
	align-items: center;
}

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

.site-logo-text {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-mark {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid var(--em-green);
	border-radius: 9px;
	background: rgba(43, 217, 159, 0.09);
	color: var(--em-green);
	font-family: var(--em-mono);
	font-weight: 700;
	font-size: 17px;
}

.logo-words {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.site-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.site-desc {
	font-size: 12px;
	color: var(--em-dim);
	font-family: var(--em-mono);
}

/* ===== 导航 ===== */
.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu li {
	position: relative;
}

.main-navigation .menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: #c8d8e8;
	font-size: 15px;
}

.main-navigation .menu a:hover {
	color: var(--em-green);
	background: rgba(43, 217, 159, 0.08);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--em-green);
	background: rgba(43, 217, 159, 0.1);
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 190px;
	background: var(--em-panel);
	border: 1px solid var(--em-line-strong);
	border-radius: 10px;
	padding: 6px;
	margin: 0;
	list-style: none;
	display: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	z-index: 60;
}

.main-navigation .menu li:hover > .sub-menu,
.main-navigation .menu li:focus-within > .sub-menu {
	display: block;
}

.main-navigation .sub-menu a {
	padding: 9px 12px;
	font-size: 14px;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--em-line-strong);
	border-radius: 9px;
	cursor: pointer;
	align-items: center;
}

.menu-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: #cfe2f4;
	border-radius: 2px;
}

/* ===== 首页首屏 ===== */
.hero {
	position: relative;
	padding: 76px 0 0;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(126, 168, 214, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(126, 168, 214, 0.06) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(70% 65% at 60% 30%, #000 20%, transparent 100%);
	mask-image: radial-gradient(70% 65% at 60% 30%, #000 20%, transparent 100%);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--em-line-strong);
	border-radius: 999px;
	padding: 6px 14px;
	font-family: var(--em-mono);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--em-muted);
}

.hero-tag b {
	color: var(--em-green);
	animation: em-pulse 2s ease-in-out infinite;
}

.hero-title {
	margin: 20px 0 16px;
	font-size: clamp(30px, 4.6vw, 50px);
	line-height: 1.2;
	color: #fff;
	letter-spacing: 0.01em;
}

.hero-title::after {
	content: "_";
	color: var(--em-green);
	animation: em-blink 1.1s steps(1) infinite;
}

.hero-text {
	margin: 0;
	max-width: 34em;
	color: var(--em-muted);
	font-size: 17px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

/* 运行总览面板 */
.monitor-panel {
	background: linear-gradient(180deg, #122236, #0e1c2d);
	border: 1px solid var(--em-line-strong);
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--em-line);
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-muted);
}

.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--em-green);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.live-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: em-pulse 1.6s ease-in-out infinite;
}

.panel-rows {
	padding: 6px 18px;
}

.p-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--em-line);
}

.p-row:last-child {
	border-bottom: 0;
}

.p-label {
	flex: 1;
	color: #c8d8e8;
	font-size: 14px;
}

.p-value {
	font-family: var(--em-mono);
	font-size: 14px;
	color: #fff;
}

.p-status {
	font-family: var(--em-mono);
	font-size: 12px;
	padding: 2px 9px;
	border-radius: 6px;
}

.p-status.ok {
	color: var(--em-green);
	background: rgba(43, 217, 159, 0.12);
	border: 1px solid rgba(43, 217, 159, 0.38);
}

.p-status.warn {
	color: var(--em-amber);
	background: rgba(245, 185, 63, 0.1);
	border: 1px solid rgba(245, 185, 63, 0.38);
}

.panel-bars {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 64px;
	padding: 12px 18px 0;
}

.panel-bars .bar {
	flex: 1;
	min-height: 8%;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(180deg, rgba(43, 217, 159, 0.9), rgba(43, 217, 159, 0.2));
}

.panel-note {
	margin: 0;
	padding: 10px 18px 15px;
	font-family: var(--em-mono);
	font-size: 12px;
	color: var(--em-dim);
}

/* KPI 数据带 */
.hero-metrics {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--em-line);
	border: 1px solid var(--em-line);
	border-radius: 14px;
	overflow: hidden;
	margin-top: 52px;
}

.metric {
	background: var(--em-panel-2);
	padding: 20px 18px;
}

.metric-num {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--em-mono);
	color: var(--em-green);
}

.metric-num b {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.metric-num i {
	font-style: normal;
	font-size: 18px;
	font-weight: 700;
}

.metric-label {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--em-dim);
}

/* ===== 设备矩阵 ===== */
.term-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.term-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--em-panel);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	padding: 18px;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.term-card:hover {
	transform: translateY(-3px);
	border-color: rgba(43, 217, 159, 0.55);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.term-idx {
	font-family: var(--em-mono);
	font-size: 12px;
	color: var(--em-dim);
	border: 1px solid var(--em-line);
	border-radius: 6px;
	padding: 4px 7px;
	white-space: nowrap;
}

.term-name {
	flex: 1;
	color: #fff;
	font-weight: 600;
}

.term-count {
	font-family: var(--em-mono);
	font-size: 12.5px;
	color: var(--em-dim);
	white-space: nowrap;
}

.term-arrow {
	color: var(--em-green);
	font-family: var(--em-mono);
}

/* ===== 设备卡片 ===== */
.equipment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.eq-card {
	display: flex;
	flex-direction: column;
	background: var(--em-panel);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.eq-card:hover {
	transform: translateY(-4px);
	border-color: rgba(43, 217, 159, 0.55);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

.eq-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	background: var(--em-field);
	overflow: hidden;
}

.eq-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.eq-card:hover .eq-thumb img {
	transform: scale(1.05);
}

.thumb-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--em-mono);
	font-size: 44px;
	font-weight: 700;
	color: rgba(43, 217, 159, 0.8);
	background-image:
		linear-gradient(rgba(126, 168, 214, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(126, 168, 214, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
}

.eq-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 16px 18px 18px;
}

.eq-terms {
	font-family: var(--em-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--em-green);
}

.eq-terms a {
	color: inherit;
}

.eq-title {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

.eq-title a {
	color: #eaf2fa;
}

.eq-title a:hover {
	color: var(--em-green);
}

.eq-note {
	margin: 0;
	font-size: 13.5px;
	color: var(--em-muted);
}

.eq-more {
	margin-top: auto;
	padding-top: 6px;
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-green);
}

/* ===== 运行保障 ===== */
.status-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.status-card {
	background: var(--em-panel);
	border: 1px solid var(--em-line);
	border-left: 3px solid var(--em-green);
	border-radius: var(--em-radius);
	padding: 22px 24px;
}

.status-check {
	font-family: var(--em-mono);
	font-size: 12.5px;
	letter-spacing: 0.08em;
	color: var(--em-green);
}

.status-card h3 {
	margin: 10px 0 8px;
	font-size: 18px;
	color: #fff;
}

.status-card p {
	margin: 0;
	font-size: 14.5px;
	color: var(--em-muted);
}

/* ===== 服务流程 ===== */
.flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.flow-item {
	position: relative;
	background: var(--em-panel-2);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	padding: 18px 16px;
}

.flow-item::after {
	content: "▸";
	position: absolute;
	right: -13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--em-dim);
	z-index: 1;
}

.flow-item:last-child::after {
	content: none;
}

.flow-idx {
	font-family: var(--em-mono);
	font-size: 12.5px;
	letter-spacing: 0.08em;
	color: var(--em-green);
}

.flow-title {
	margin: 8px 0 6px;
	font-size: 16.5px;
	color: #fff;
}

.flow-text {
	margin: 0;
	font-size: 13px;
	color: var(--em-dim);
}

/* ===== 新闻动态 ===== */
.news-list {
	display: grid;
	gap: 1px;
	background: var(--em-line);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	overflow: hidden;
}

.news-item {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 16px 20px;
	background: var(--em-panel-2);
	transition: background 0.2s ease;
}

.news-item:hover {
	background: #13233a;
}

.news-date {
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-dim);
	white-space: nowrap;
}

.news-title {
	flex: 1;
	color: #dbe7f3;
}

.news-item:hover .news-title {
	color: var(--em-green);
}

.news-arrow {
	font-family: var(--em-mono);
	color: var(--em-green);
}

/* ===== 终端 CTA ===== */
.cta-terminal {
	background: #0c1a2a;
	border: 1px solid var(--em-line-strong);
	border-radius: 16px;
	padding: 34px 40px 40px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.cta-terminal::before {
	content: "eco-monitor ~ 方案咨询";
	display: block;
	font-family: var(--em-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--em-dim);
	border-bottom: 1px solid var(--em-line);
	padding-bottom: 12px;
	margin-bottom: 24px;
}

.cta-prompt {
	margin: 0 0 12px;
	font-family: var(--em-mono);
	font-size: 14.5px;
	color: var(--em-green);
}

.cursor {
	display: inline-block;
	width: 9px;
	height: 17px;
	margin-left: 5px;
	vertical-align: -3px;
	background: var(--em-green);
	animation: em-blink 1s steps(1) infinite;
}

.cta-terminal h2 {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 30px);
	color: #fff;
}

.cta-terminal > p:not(.cta-prompt) {
	margin: 0;
	color: var(--em-muted);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

/* ===== 内页页头 ===== */
.page-head {
	padding: 60px 0 40px;
	border-bottom: 1px solid var(--em-line);
	background: linear-gradient(180deg, rgba(43, 217, 159, 0.06), transparent);
}

.page-title {
	margin: 0;
	font-size: clamp(26px, 3.6vw, 38px);
	line-height: 1.3;
	color: #fff;
}

.page-subtitle {
	margin: 10px 0 0;
	color: var(--em-muted);
}

.page-subtitle a {
	color: var(--em-green);
}

/* ===== 文章列表 ===== */
.post-list {
	display: grid;
	gap: 16px;
	max-width: 830px;
}

.post-item {
	background: var(--em-panel);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	padding: 22px 24px;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.post-item:hover {
	border-color: rgba(43, 217, 159, 0.5);
	transform: translateX(4px);
}

.post-item.sticky {
	border-left: 3px solid var(--em-amber);
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--em-mono);
	font-size: 12.5px;
	color: var(--em-dim);
}

.meta-type {
	color: var(--em-green);
	border: 1px solid rgba(43, 217, 159, 0.38);
	border-radius: 5px;
	padding: 1px 7px;
}

.entry-title {
	margin: 8px 0 6px;
	font-size: 19px;
	line-height: 1.5;
}

.entry-title a {
	color: #eaf2fa;
}

.entry-title a:hover {
	color: var(--em-green);
}

.entry-summary {
	margin: 0;
	font-size: 14.5px;
	color: var(--em-muted);
}

.no-results {
	background: var(--em-panel);
	border: 1px dashed var(--em-line-strong);
	border-radius: var(--em-radius);
	padding: 26px;
	color: var(--em-muted);
}

/* ===== 分页 ===== */
.pagination {
	margin-top: 36px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-block;
	font-family: var(--em-mono);
	font-size: 14px;
	padding: 8px 14px;
	border: 1px solid var(--em-line);
	border-radius: 8px;
	background: var(--em-panel);
	color: #c8d8e8;
}

a.page-numbers:hover {
	border-color: var(--em-green);
	color: var(--em-green);
}

.page-numbers.current {
	background: var(--em-green);
	border-color: var(--em-green);
	color: var(--em-green-ink);
	font-weight: 700;
}

.page-numbers.dots {
	border: none;
	background: none;
}

/* ===== 正文内容 ===== */
.article-wrap {
	max-width: 860px;
}

.single-thumb {
	margin-bottom: 28px;
	border: 1px solid var(--em-line);
	border-radius: 14px;
	overflow: hidden;
}

.single-thumb img {
	display: block;
	width: 100%;
}

.entry-content {
	font-size: 16.5px;
	color: var(--em-body);
}

.entry-content p {
	margin: 0 0 1.2em;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content h2 {
	margin: 1.7em 0 0.7em;
	padding-left: 14px;
	border-left: 3px solid var(--em-green);
	font-size: 24px;
	color: #fff;
}

.entry-content h3 {
	margin: 1.5em 0 0.6em;
	font-size: 20px;
	color: #fff;
}

.entry-content h4 {
	margin: 1.4em 0 0.5em;
	font-size: 17px;
	color: #fff;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
	margin: 0 0 1.2em;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 16px 20px;
	background: var(--em-panel);
	border-left: 3px solid var(--em-blue);
	border-radius: 0 10px 10px 0;
	color: var(--em-muted);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 14.5px;
}

.entry-content th {
	background: #12243a;
	color: var(--em-green);
	font-family: var(--em-mono);
	font-weight: 600;
	text-align: left;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--em-line-strong);
	padding: 10px 14px;
}

.entry-content tr:nth-child(even) td {
	background: rgba(126, 168, 214, 0.05);
}

.entry-content img {
	border-radius: 10px;
}

.entry-content code {
	font-family: var(--em-mono);
	font-size: 0.9em;
	background: #12243a;
	color: var(--em-green);
	padding: 2px 7px;
	border-radius: 5px;
}

.entry-content pre {
	background: var(--em-field);
	border: 1px solid var(--em-line);
	border-radius: 10px;
	padding: 16px 18px;
	overflow: auto;
}

.entry-content pre code {
	background: none;
	padding: 0;
}

.entry-content hr {
	border: 0;
	border-top: 1px dashed var(--em-line-strong);
	margin: 2em 0;
}

.page-links {
	margin-top: 1.6em;
	font-family: var(--em-mono);
	font-size: 14px;
	color: var(--em-dim);
}

.page-links a,
.page-links > span:not(.screen-reader-text) {
	display: inline-block;
	padding: 4px 11px;
	margin: 0 3px;
	border: 1px solid var(--em-line);
	border-radius: 6px;
}

.alignleft {
	float: left;
	margin: 0.4em 1.4em 0.8em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 0.8em 1.4em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-dim);
	text-align: center;
	padding: 6px 0;
}

.bypostauthor {
	display: block;
}

/* ===== 设备详情联系条 ===== */
.contact-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: 40px;
	padding: 26px 30px;
	background: linear-gradient(90deg, rgba(43, 217, 159, 0.13), rgba(65, 160, 255, 0.09));
	border: 1px solid rgba(43, 217, 159, 0.38);
	border-radius: 14px;
}

.contact-strip h3 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 19px;
}

.contact-strip p {
	margin: 0;
	font-size: 14.5px;
	color: var(--em-muted);
}

.contact-strip-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.related-title {
	margin: 52px 0 20px;
	font-size: 22px;
	color: #fff;
}

/* ===== 设备分类筛选 ===== */
.equipment-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.filter-pill {
	font-family: var(--em-mono);
	font-size: 13.5px;
	padding: 8px 17px;
	border: 1px solid var(--em-line-strong);
	border-radius: 999px;
	background: var(--em-panel);
	color: #c8d8e8;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
	border-color: var(--em-green);
	color: var(--em-green);
}

.filter-pill.is-active {
	background: var(--em-green);
	border-color: var(--em-green);
	color: var(--em-green-ink);
	font-weight: 700;
}

/* ===== 搜索表单 ===== */
.search-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
}

.search-field {
	flex: 1;
	background: var(--em-field);
	border: 1px solid var(--em-line-strong);
	border-radius: 9px;
	padding: 11px 15px;
	color: var(--em-text);
	font: inherit;
	font-size: 15px;
}

.search-field::placeholder {
	color: var(--em-dim);
}

.search-field:focus {
	outline: none;
	border-color: var(--em-green);
	box-shadow: 0 0 0 3px rgba(43, 217, 159, 0.18);
}

.search-submit {
	background: var(--em-green);
	color: var(--em-green-ink);
	border: 1px solid var(--em-green);
	border-radius: 9px;
	padding: 11px 20px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.search-submit:hover {
	box-shadow: 0 8px 24px rgba(43, 217, 159, 0.35);
}

/* ===== 404 ===== */
.error-404 {
	max-width: 560px;
	margin: 0 auto;
	padding: 110px 0 90px;
	text-align: center;
}

.error-code {
	font-family: var(--em-mono);
	font-size: 96px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--em-green);
	text-shadow: 0 0 44px rgba(43, 217, 159, 0.4);
	line-height: 1.1;
}

.error-404 h1 {
	margin: 8px 0 10px;
	color: #fff;
}

.error-note {
	color: var(--em-muted);
}

.error-search {
	display: flex;
	justify-content: center;
	margin: 24px 0;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ===== 评论 ===== */
.comments-area {
	max-width: 860px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--em-line);
}

.comments-title,
#reply-title {
	font-size: 20px;
	color: #fff;
}

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

.comment-list .comment,
.comment-list .pingback {
	background: var(--em-panel);
	border: 1px solid var(--em-line);
	border-radius: var(--em-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
}

.comment-list .children {
	list-style: none;
	margin: 14px 0 0;
	padding-left: 20px;
	border-left: 1px dashed var(--em-line-strong);
}

.comment-list .children .comment {
	margin-bottom: 10px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #fff;
}

.comment-author .avatar {
	border-radius: 8px;
}

.comment-metadata {
	font-family: var(--em-mono);
	font-size: 12px;
	color: var(--em-dim);
	margin: 4px 0 10px;
}

.comment-metadata a {
	color: inherit;
}

.comment-content {
	font-size: 15px;
	color: var(--em-body);
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply a {
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-green);
}

.comment-navigation {
	display: flex;
	justify-content: space-between;
	margin: 18px 0;
	font-size: 14px;
}

.no-comments {
	color: var(--em-dim);
}

.comment-respond {
	margin-top: 28px;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--em-mono);
	font-size: 13px;
	color: var(--em-muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--em-field);
	border: 1px solid var(--em-line-strong);
	border-radius: 9px;
	padding: 11px 14px;
	color: var(--em-text);
	font: inherit;
	font-size: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--em-green);
	box-shadow: 0 0 0 3px rgba(43, 217, 159, 0.18);
}

.comment-form .submit {
	background: var(--em-green);
	color: var(--em-green-ink);
	border: 1px solid var(--em-green);
	border-radius: 9px;
	padding: 12px 28px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.comment-form .submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(43, 217, 159, 0.35);
}

.comment-notes,
.logged-in-as {
	font-size: 13px;
	color: var(--em-dim);
	margin: 0;
}

#cancel-comment-reply-link {
	font-size: 13px;
	font-family: var(--em-mono);
	margin-left: 10px;
}

/* ===== 页脚 ===== */
.site-footer {
	margin-top: 84px;
	background: var(--em-bg-deep);
	border-top: 1px solid var(--em-line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
	padding-top: 56px;
	padding-bottom: 44px;
}

.footer-heading {
	margin: 0 0 14px;
	font-family: var(--em-mono);
	font-size: 14px;
	letter-spacing: 0.08em;
	color: #fff;
}

.footer-about p {
	margin: 0;
	font-size: 14px;
	color: var(--em-muted);
}

.footer-contact {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	font-family: var(--em-mono);
	font-size: 13.5px;
	color: #c8d8e8;
}

.footer-contact li {
	margin-bottom: 7px;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	color: var(--em-muted);
	font-size: 14px;
}

.footer-col a:hover {
	color: var(--em-green);
}

.footer-col .widget {
	margin-bottom: 18px;
}

.footer-bottom {
	border-top: 1px solid var(--em-line);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding-top: 18px;
	padding-bottom: 18px;
	font-family: var(--em-mono);
	font-size: 12.5px;
	color: var(--em-dim);
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	color: var(--em-dim);
}

.footer-menu a:hover {
	color: var(--em-green);
}

/* ===== 动画 ===== */
@keyframes em-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

@keyframes em-blink {
	50% { opacity: 0; }
}

.em-anim .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.em-anim .reveal.in {
	opacity: 1;
	transform: none;
}

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hero-metrics {
		grid-template-columns: repeat(2, 1fr);
	}

	.term-grid,
	.equipment-grid,
	.status-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.flow {
		grid-template-columns: repeat(2, 1fr);
	}

	.flow-item::after {
		content: none;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
	}

	.main-navigation {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #0c1826;
		border-bottom: 1px solid var(--em-line-strong);
		padding: 12px 24px 20px;
		box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.main-navigation .sub-menu {
		position: static;
		display: block;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0 0 0 16px;
	}
}

@media (max-width: 640px) {
	.section {
		padding-top: 56px;
	}

	.hero {
		padding-top: 52px;
	}

	.statusbar-inner {
		justify-content: center;
	}

	.status-tel {
		display: none;
	}

	.term-grid,
	.equipment-grid,
	.status-grid,
	.flow {
		grid-template-columns: 1fr;
	}

	.hero-metrics {
		margin-top: 40px;
	}

	.metric-num b {
		font-size: 25px;
	}

	.news-item {
		flex-wrap: wrap;
		gap: 8px 14px;
	}

	.news-title {
		flex-basis: 100%;
		order: 3;
	}

	.cta-terminal {
		padding: 26px 22px 30px;
	}

	.contact-strip {
		padding: 22px;
	}

	.post-item {
		padding: 18px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
