/*
Theme Name: Eco Swiss 瑞士栅格
Theme URI: https://example.com/themes/eco-swiss
Author: Chengdu Eco Themes
Author URI: https://example.com
Description: 为环保设备代理商打造的瑞士国际主义排版风主题。纯白底、正红与纯黑三色，外露栅格线与分区编号（01/ 1.1 2.3），超大加粗标题、方角细黑边设备卡、黑白照片悬停显色、黑底海报式 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-swiss
Tags: business, news, light, red, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ===== 变量与基础 ===== */
:root {
	--es-red: #e10600;
	--es-black: #111111;
	--es-ink: #1a1a1a;
	--es-mid: #555555;
	--es-gray: #767676;
	--es-light: #dddddd;
	--es-hair: #e5e5e3;
	--es-paper: #fafaf8;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--es-ink);
	font-family: "Helvetica Neue", Helvetica, Arial, "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(--es-black);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--es-red);
}

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

:focus-visible {
	outline: 2px solid var(--es-red);
	outline-offset: 2px;
}

::selection {
	background: var(--es-red);
	color: #fff;
}

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

.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(--es-black);
	color: #fff;
	padding: 10px 16px;
	font-weight: 700;
}

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

/* ===== 按钮（方角） ===== */
.btn {
	display: inline-block;
	padding: 13px 30px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.5;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
	background: var(--es-black);
	color: #fff;
	border: 2px solid var(--es-black);
}

.btn-primary:hover {
	background: var(--es-red);
	border-color: var(--es-red);
	color: #fff;
}

.btn-secondary {
	background: #fff;
	color: var(--es-black);
	border: 2px solid var(--es-black);
}

.btn-secondary:hover {
	color: var(--es-red);
	border-color: var(--es-red);
}

/* ===== 页头 ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 2px solid var(--es-black);
}

.site-header.is-stuck {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

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

.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: 22px;
	height: 22px;
	background: var(--es-red);
	display: inline-block;
	flex-shrink: 0;
}

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

.site-title {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--es-black);
}

.site-desc {
	font-size: 12px;
	color: var(--es-gray);
	letter-spacing: 0.06em;
}

/* ===== 导航 ===== */
.main-navigation {
	display: flex;
	align-items: center;
	gap: 10px;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.main-navigation .menu a {
	display: block;
	padding: 10px 14px;
	color: var(--es-black);
	font-size: 15px;
	font-weight: 600;
	border-bottom: 2px solid transparent;
}

.main-navigation .menu a:hover {
	color: var(--es-red);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	border-bottom-color: var(--es-red);
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	min-width: 190px;
	background: #fff;
	border: 1px solid var(--es-black);
	padding: 4px;
	margin: 0;
	list-style: none;
	display: none;
	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;
	border-bottom: none;
}

.header-tel {
	margin-left: 12px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.02em;
	color: var(--es-red);
	white-space: nowrap;
}

.header-tel:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #fff;
	border: 2px solid var(--es-black);
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--es-black);
}

/* ===== 首页首屏 ===== */
.hero {
	padding: 88px 0 0;
}

.hero-top {
	position: relative;
}

.hero-top::before,
.hero-top::after {
	content: "+";
	position: absolute;
	top: -34px;
	font-size: 20px;
	font-weight: 400;
	color: var(--es-black);
	line-height: 1;
}

.hero-top::before {
	left: 22px;
}

.hero-top::after {
	right: 22px;
}

.hero-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: var(--es-black);
	text-transform: uppercase;
}

.red-sq {
	width: 10px;
	height: 10px;
	background: var(--es-red);
	display: inline-block;
	flex-shrink: 0;
}

.hero-title {
	margin: 28px 0 24px;
	font-size: clamp(44px, 8.4vw, 92px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-weight: 800;
	color: var(--es-black);
	max-width: 13em;
}

.red-dot {
	display: inline-block;
	width: 0.16em;
	height: 0.16em;
	background: var(--es-red);
	margin-left: 0.1em;
}

.hero-text {
	margin: 0;
	max-width: 37em;
	font-size: 17.5px;
	color: #444;
}

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

/* 外露栅格数据带 */
.data-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--es-light);
	border-top: 2px solid var(--es-black);
	border-bottom: 2px solid var(--es-black);
	margin-top: 68px;
}

.data-cell {
	background: #fff;
	padding: 28px 24px 24px;
}

.data-num {
	display: flex;
	align-items: baseline;
	gap: 3px;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--es-black);
}

.data-num i {
	font-style: normal;
	font-size: 0.55em;
	font-weight: 800;
	color: var(--es-red);
}

.data-label {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	letter-spacing: 0.16em;
	color: var(--es-gray);
}

/* ===== 分区（首页带外露横线） ===== */
.home .section > .wrap {
	border-top: 2px solid var(--es-black);
	padding-top: 36px;
	padding-bottom: 76px;
}

.home .section {
	padding: 0;
}

.home .section:first-of-type > .wrap {
	margin-top: 76px;
}

.section .wrap {
	padding-top: 44px;
	padding-bottom: 72px;
}

.section-head {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin-bottom: 42px;
}

.sec-no {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--es-red);
}

.section-head h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--es-black);
}

/* ===== 能力三栏 ===== */
.cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.cap-card {
	border-top: 1px solid var(--es-black);
	padding-top: 18px;
}

.cap-idx {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--es-red);
}

.cap-card h3 {
	margin: 10px 0 8px;
	font-size: 20px;
	letter-spacing: -0.01em;
	color: var(--es-black);
}

.cap-card p {
	margin: 0;
	font-size: 15px;
	color: var(--es-mid);
}

/* ===== 分类行表 ===== */
.term-rows,
.news-rows,
.flow-rows {
	border-top: 2px solid var(--es-black);
}

.term-row,
.news-row {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding: 20px 4px;
	border-bottom: 1px solid var(--es-hair);
	color: var(--es-black);
}

.term-no {
	min-width: 44px;
	font-size: 14px;
	font-weight: 800;
	color: var(--es-red);
}

.term-name {
	flex: 1;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.term-row:hover .term-name {
	color: var(--es-red);
}

.term-count {
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--es-gray);
	white-space: nowrap;
}

.term-arrow {
	font-size: 18px;
	font-weight: 800;
	transition: transform 0.15s ease, color 0.15s ease;
}

.term-row:hover .term-arrow,
.news-row:hover .term-arrow {
	transform: translateX(6px);
	color: var(--es-red);
}

/* ===== 设备卡片（方角细黑边） ===== */
.equipment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.eq-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--es-black);
	transition: border-color 0.15s ease;
}

.eq-card:hover {
	border-color: var(--es-red);
}

.eq-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-bottom: 1px solid var(--es-black);
	background: #fff;
}

.eq-card:hover .eq-thumb {
	border-bottom-color: var(--es-red);
}

.eq-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(1);
	transition: filter 0.25s ease;
}

.eq-card:hover .eq-thumb img {
	filter: none;
}

.thumb-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 56px;
	font-weight: 800;
	color: var(--es-red);
	background-image:
		linear-gradient(var(--es-hair) 1px, transparent 1px),
		linear-gradient(90deg, var(--es-hair) 1px, transparent 1px);
	background-size: 24px 24px;
}

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

.eq-terms {
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--es-gray);
}

.eq-terms a {
	color: inherit;
}

.eq-terms a:hover {
	color: var(--es-red);
}

.eq-title {
	margin: 0;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.eq-title a {
	color: var(--es-black);
}

.eq-title a:hover {
	color: var(--es-red);
}

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

.eq-more {
	margin-top: auto;
	padding-top: 8px;
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--es-black);
}

.eq-card:hover .eq-more {
	color: var(--es-red);
}

/* ===== 流程行 ===== */
.step-row {
	display: flex;
	gap: 26px;
	padding: 22px 4px;
	border-bottom: 1px solid var(--es-hair);
}

.step-idx {
	min-width: 44px;
	padding-top: 2px;
	font-size: 15px;
	font-weight: 800;
	color: var(--es-red);
}

.step-title {
	margin: 0 0 4px;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: var(--es-black);
}

.step-text {
	margin: 0;
	font-size: 14.5px;
	color: var(--es-mid);
}

/* ===== 新闻行 ===== */
.news-date {
	min-width: 96px;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--es-gray);
	white-space: nowrap;
}

.news-title {
	flex: 1;
	font-weight: 600;
}

.news-row:hover .news-title {
	color: var(--es-red);
}

/* ===== 黑底海报 CTA ===== */
.cta-black {
	background: var(--es-black);
	color: #fff;
	margin-top: 96px;
}

.cta-black .wrap {
	padding-top: 84px;
	padding-bottom: 88px;
}

.cta-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.26em;
	color: #999;
}

.cta-title {
	margin: 18px 0 14px;
	font-size: clamp(34px, 5.6vw, 64px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.cta-text {
	margin: 0;
	font-size: 16.5px;
	color: #bbbbbb;
}

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

.cta-black .btn-primary {
	background: #fff;
	border-color: #fff;
	color: var(--es-black);
}

.cta-black .btn-primary:hover {
	background: var(--es-red);
	border-color: var(--es-red);
	color: #fff;
}

.cta-black .btn-secondary {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.cta-black .btn-secondary:hover {
	border-color: var(--es-red);
	color: var(--es-red);
}

/* ===== 内页页头 ===== */
.page-head {
	padding-top: 68px;
}

.page-head .wrap {
	border-bottom: 2px solid var(--es-black);
	padding-bottom: 36px;
}

.page-title {
	margin: 0;
	font-size: clamp(34px, 5.5vw, 56px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--es-black);
}

.page-subtitle {
	margin: 14px 0 0;
	color: var(--es-gray);
}

.page-subtitle a {
	color: var(--es-black);
	text-decoration: underline;
	text-decoration-color: var(--es-red);
	text-underline-offset: 3px;
}

.page-subtitle a:hover {
	color: var(--es-red);
}

/* ===== 文章列表（行表式） ===== */
.post-list {
	max-width: 860px;
	border-top: 2px solid var(--es-black);
}

.post-item {
	padding: 26px 4px;
	border-bottom: 1px solid var(--es-hair);
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: var(--es-gray);
}

.meta-type {
	color: var(--es-red);
	border: 1px solid var(--es-red);
	padding: 1px 8px;
	font-weight: 700;
}

.entry-title {
	margin: 8px 0 6px;
	font-size: 22px;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.entry-title a {
	color: var(--es-black);
}

.entry-title a:hover {
	color: var(--es-red);
}

.entry-summary {
	margin: 0;
	font-size: 15px;
	color: var(--es-mid);
}

.post-item.sticky .entry-title::before {
	content: "★ ";
	color: var(--es-red);
}

.no-results {
	border: 1px dashed var(--es-gray);
	padding: 26px;
	color: var(--es-mid);
	background: #fff;
}

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

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

.page-numbers {
	display: inline-block;
	padding: 9px 15px;
	border: 1px solid var(--es-black);
	color: var(--es-black);
	font-weight: 700;
	font-size: 14px;
}

a.page-numbers:hover {
	border-color: var(--es-red);
	color: var(--es-red);
}

.page-numbers.current {
	background: var(--es-black);
	color: #fff;
}

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

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

.single-thumb {
	margin-bottom: 30px;
	border: 1px solid var(--es-black);
}

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

.entry-content {
	font-size: 16.5px;
	color: #222;
}

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

.entry-content a {
	color: var(--es-black);
	text-decoration: underline;
	text-decoration-color: var(--es-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--es-red);
}

.entry-content h2 {
	margin: 1.7em 0 0.6em;
	font-size: 26px;
	letter-spacing: -0.015em;
	color: var(--es-black);
}

.entry-content h3 {
	margin: 1.5em 0 0.55em;
	font-size: 21px;
	letter-spacing: -0.01em;
	color: var(--es-black);
}

.entry-content h4 {
	margin: 1.4em 0 0.5em;
	font-size: 17.5px;
	color: var(--es-black);
}

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

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

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--es-red);
	color: var(--es-mid);
}

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

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

.entry-content th {
	background: var(--es-black);
	color: #fff;
	font-weight: 700;
	text-align: left;
}

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

.entry-content tr:nth-child(even) td {
	background: var(--es-paper);
}

.entry-content code {
	background: #f2f2f0;
	color: var(--es-black);
	padding: 2px 7px;
	font-size: 0.9em;
}

.entry-content pre {
	background: var(--es-paper);
	border: 1px solid var(--es-light);
	padding: 16px 18px;
	overflow: auto;
}

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

.entry-content hr {
	border: 0;
	border-top: 2px solid var(--es-black);
	margin: 2.2em 0;
}

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

.page-links a,
.page-links > span:not(.screen-reader-text) {
	display: inline-block;
	padding: 4px 11px;
	margin: 0 3px;
	border: 1px solid var(--es-black);
	font-weight: 700;
}

.page-links a:hover {
	border-color: var(--es-red);
	color: var(--es-red);
}

.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-size: 13px;
	color: var(--es-gray);
	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: 48px;
	padding: 30px 34px;
	background: var(--es-black);
	color: #fff;
}

.contact-strip h3 {
	margin: 0 0 6px;
	font-size: 20px;
	letter-spacing: -0.01em;
	color: #fff;
}

.contact-strip p {
	margin: 0;
	font-size: 14.5px;
	color: #aaaaaa;
}

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

.contact-strip .btn-primary {
	background: #fff;
	border-color: #fff;
	color: var(--es-black);
}

.contact-strip .btn-primary:hover {
	background: var(--es-red);
	border-color: var(--es-red);
	color: #fff;
}

.contact-strip .btn-secondary {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.contact-strip .btn-secondary:hover {
	border-color: var(--es-red);
	color: var(--es-red);
}

.related-title {
	margin: 56px 0 22px;
	font-size: 24px;
	letter-spacing: -0.015em;
	color: var(--es-black);
}

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

.filter-pill {
	padding: 8px 18px;
	border: 1px solid var(--es-black);
	color: var(--es-black);
	font-size: 14px;
	font-weight: 700;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.filter-pill:hover {
	border-color: var(--es-red);
	color: var(--es-red);
}

.filter-pill.is-active {
	background: var(--es-black);
	border-color: var(--es-black);
	color: #fff;
}

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

.search-field {
	flex: 1;
	background: #fff;
	border: 1px solid var(--es-black);
	padding: 12px 14px;
	color: var(--es-ink);
	font: inherit;
	font-size: 15px;
}

.search-field::placeholder {
	color: var(--es-gray);
}

.search-field:focus {
	outline: none;
	border-color: var(--es-red);
	box-shadow: inset 0 0 0 1px var(--es-red);
}

.search-submit {
	background: var(--es-black);
	color: #fff;
	border: 1px solid var(--es-black);
	padding: 12px 22px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.search-submit:hover {
	background: var(--es-red);
	border-color: var(--es-red);
}

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

.error-code {
	font-size: clamp(96px, 14vw, 150px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--es-black);
}

.error-code::after {
	content: "";
	display: inline-block;
	width: 0.14em;
	height: 0.14em;
	background: var(--es-red);
	margin-left: 0.06em;
}

.error-404 h1 {
	margin: 14px 0 10px;
	color: var(--es-black);
	letter-spacing: -0.01em;
}

.error-note {
	color: var(--es-mid);
}

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

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

/* ===== 评论 ===== */
.comments-area {
	max-width: 830px;
	margin-top: 52px;
	border-top: 2px solid var(--es-black);
	padding-top: 30px;
}

.comments-title,
#reply-title {
	font-size: 21px;
	letter-spacing: -0.01em;
	color: var(--es-black);
}

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

.comment-list .comment,
.comment-list .pingback {
	padding: 18px 0;
	border-bottom: 1px solid var(--es-hair);
}

.comment-list .children {
	list-style: none;
	margin: 14px 0 0;
	padding-left: 22px;
	border-left: 2px solid var(--es-black);
}

.comment-list .children .comment {
	border-bottom: none;
	padding-bottom: 8px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--es-black);
}

.comment-metadata {
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--es-gray);
	margin: 4px 0 10px;
}

.comment-metadata a {
	color: inherit;
}

.comment-content {
	font-size: 15px;
	color: #222;
}

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

.reply a {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--es-red);
}

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

.no-comments {
	color: var(--es-gray);
}

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

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

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--es-black);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--es-black);
	padding: 11px 14px;
	color: var(--es-ink);
	font: inherit;
	font-size: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--es-red);
	box-shadow: inset 0 0 0 1px var(--es-red);
}

.comment-form .submit {
	background: var(--es-black);
	color: #fff;
	border: 2px solid var(--es-black);
	padding: 13px 30px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.comment-form .submit:hover {
	background: var(--es-red);
	border-color: var(--es-red);
}

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

#cancel-comment-reply-link {
	font-size: 13px;
	color: var(--es-red);
	margin-left: 10px;
}

/* ===== 页脚 ===== */
.site-footer {
	margin-top: 0;
	background: #fff;
	border-top: 2px solid var(--es-black);
}

body:not(.home) .site-footer {
	margin-top: 96px;
}

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

.footer-heading {
	margin: 0 0 16px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--es-black);
}

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

.footer-contact {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	font-size: 14px;
	color: var(--es-black);
}

.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(--es-mid);
	font-size: 14px;
}

.footer-col a:hover {
	color: var(--es-red);
}

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

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

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

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

.footer-menu a {
	color: var(--es-gray);
}

.footer-menu a:hover {
	color: var(--es-red);
}

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
	.data-strip {
		grid-template-columns: repeat(2, 1fr);
	}

	.cap-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 26px;
	}

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

	.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: #fff;
		border-bottom: 2px solid var(--es-black);
		padding: 10px 24px 20px;
	}

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

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

	.main-navigation .menu a {
		border-bottom: 1px solid var(--es-hair);
	}

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

	.header-tel {
		display: inline-block;
		margin: 14px 0 0;
	}
}

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

	.hero-top::before,
	.hero-top::after {
		content: none;
	}

	.data-strip {
		margin-top: 48px;
	}

	.cap-grid,
	.equipment-grid {
		grid-template-columns: 1fr;
	}

	.home .section > .wrap {
		padding-bottom: 56px;
	}

	.section-head {
		flex-direction: column;
		gap: 6px;
		margin-bottom: 30px;
	}

	.term-row,
	.news-row {
		flex-wrap: wrap;
		gap: 8px 14px;
	}

	.term-name,
	.news-title {
		flex-basis: 60%;
	}

	.term-count {
		order: 4;
	}

	.step-row {
		gap: 16px;
	}

	.cta-black .wrap {
		padding-top: 60px;
		padding-bottom: 64px;
	}

	.contact-strip {
		padding: 24px;
	}

	.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 {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
