/*
Theme Name: Eco Terra 夯土地层
Theme URI: https://example.com/themes/eco-terra
Author: Chengdu Eco Themes
Author URI: https://example.com
Description: 夯土地层风环保设备主题 v2。整页如一幅土壤剖面：地表沙色渐入基岩深棕，首屏是带抽提井、注入井、监测井与地下水位线的地层剖面SVG，钻孔卡、标本柜设备卡与岩芯数据带，为土壤修复与地下水治理设备代理商定制。内置产品设备文章类型与设备分类法。
Version: 2.0.1
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-terra
Tags: brown, earth, warm, soil, custom-menu, custom-logo, featured-images
*/

/* ============ 变量与基础 ============ */
:root {
	--sand: #f5ecda;
	--sand-2: #efe3cb;
	--sand-3: #e7d7b8;
	--loam: #9a6b45;
	--clay: #b5793f;
	--earth: #6b4a32;
	--bedrock: #3e2f24;
	--bedrock-2: #33261c;
	--ink: #38291d;
	--muted: #7d6a55;
	--line: #e0d0b2;
	--copper: #c96f2f;
	--copper-deep: #a85720;
	--sprout: #4b7d4a;
	--water: #4f81a8;
	--serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
	--mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
	--shadow: 0 18px 40px rgba(107, 74, 50, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.78;
	color: var(--ink);
	background: var(--sand);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--earth); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--copper); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.3; margin: 0 0 0.5em; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
th, td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
th { background: var(--sand-2); font-weight: 700; }
blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 4px solid var(--copper); background: #fff; border-radius: 0 8px 8px 0; }
code, pre { font-family: var(--mono); background: var(--sand-2); border-radius: 6px; }
code { padding: 2px 6px; font-size: 0.9em; }
pre { padding: 16px; overflow: auto; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.sec-top { background: var(--sand-2); padding-bottom: 96px; }
.sec-strata { background: var(--sand-3); padding-bottom: 96px; }
.sec-cta { background: var(--sand); }

.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; }
.skip-link { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 0; top: 0; clip-path: none; width: auto; height: auto; }

/* 地层切边 */
.strata-cut { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; pointer-events: none; }
.strata-cut svg { width: 100%; height: 100%; display: block; }

/* ============ 浮现动画 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.bore-grid .bore:nth-child(2), .equipment-grid .eq-card:nth-child(2), .core-grid .core:nth-child(2) { transition-delay: 0.1s; }
.bore-grid .bore:nth-child(3), .equipment-grid .eq-card:nth-child(3), .core-grid .core:nth-child(3) { transition-delay: 0.2s; }
.bore-grid .bore:nth-child(4), .core-grid .core:nth-child(4) { transition-delay: 0.3s; }
.equipment-grid .eq-card:nth-child(5) { transition-delay: 0.1s; }
.equipment-grid .eq-card:nth-child(6) { transition-delay: 0.2s; }

/* ============ 按钮 ============ */
.btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary { background: linear-gradient(150deg, var(--copper), var(--copper-deep)); color: #fff; box-shadow: 0 10px 24px rgba(201, 111, 47, 0.35); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(201, 111, 47, 0.45); }
.btn-secondary { background: transparent; color: var(--earth); border-color: var(--earth); }
.btn-secondary:hover { background: var(--earth); color: #fff; }
.btn-light { background: #fff; color: var(--bedrock); }
.btn-light:hover { transform: translateY(-2px); color: var(--copper-deep); }

/* ============ 页头 ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(245, 236, 218, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1.5px solid var(--line);
	transition: box-shadow 0.3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 28px rgba(107, 74, 50, 0.12); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-branding { flex-shrink: 0; }
.site-logo-text { display: flex; align-items: center; gap: 12px; }
.logo-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 8px 8px 14px 14px;
	background:
		linear-gradient(180deg, var(--clay) 0 34%, var(--loam) 34% 68%, var(--earth) 68%);
	color: #fff;
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(107, 74, 50, 0.3);
}
.logo-words { display: flex; flex-direction: column; line-height: 1.25; }
.site-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.site-desc { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.custom-logo { max-height: 48px; width: auto; }

.main-navigation { margin-left: auto; }
.main-navigation .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-navigation a {
	display: block;
	padding: 9px 16px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 600;
	border-bottom: 3px solid transparent;
}
.main-navigation a:hover { color: var(--copper-deep); background: rgba(201, 111, 47, 0.08); }
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--copper-deep); border-bottom-color: var(--copper); background: rgba(201, 111, 47, 0.08); }
.main-navigation .sub-menu { display: none; }
.header-cta { padding: 10px 22px; font-family: var(--mono); font-size: 14px; flex-shrink: 0; }

.menu-toggle { display: none; background: none; border: 1.5px solid var(--earth); border-radius: 8px; padding: 10px; cursor: pointer; }
.menu-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ============ 地层首屏 ============ */
.dig { position: relative; padding: 80px 0 120px; background: linear-gradient(180deg, #faf4e6, var(--sand)); overflow: hidden; }
.dig-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 54px; align-items: center; }
.dig-eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.3em; color: var(--copper-deep); margin-bottom: 20px; }
.dig-eyebrow.light { color: #e8c9a8; }
.dig-title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 900; letter-spacing: 0.02em; margin-bottom: 18px; text-wrap: balance; }
.dig-text { font-size: 17px; color: var(--muted); max-width: 32em; margin-bottom: 28px; }
.dig-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.dig-marks { display: flex; gap: 10px; flex-wrap: wrap; }
.dig-marks span {
	font-family: var(--mono);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--earth);
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: 6px;
	padding: 6px 13px;
	box-shadow: 0 3px 0 var(--line);
}

/* 剖面图 */
.digsite {
	margin: 0;
	background: #fffaf0;
	border: 2.5px solid var(--earth);
	border-radius: 14px;
	padding: 18px 16px 12px;
	box-shadow: var(--shadow);
}
.digsite svg { width: 100%; height: auto; display: block; }
.t-surface { stroke: var(--sprout); stroke-width: 3.5; }
.t-sprout path { stroke: var(--sprout); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.t-sprout { transform-box: fill-box; transform-origin: bottom center; animation: tsway 4.5s ease-in-out infinite; }
.t-sprout.s2 { animation-delay: 1.6s; }
@keyframes tsway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.t-frame { stroke: var(--earth); stroke-width: 2.5; fill: none; }
.t-hatch { stroke: rgba(245, 236, 218, 0.28); stroke-width: 2; }
.t-water { stroke: #9fd0e8; stroke-width: 2.5; stroke-dasharray: 12 7; animation: twater 3.6s ease-in-out infinite; }
@keyframes twater { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.t-wsym { stroke: #cdeafa; stroke-width: 2.2; fill: none; }
.t-plume { fill: rgba(150, 60, 40, 0.3); stroke: #ffb08a; stroke-width: 2; stroke-dasharray: 6 6; transform-box: fill-box; transform-origin: center; animation: tplume 5.5s ease-in-out infinite; }
@keyframes tplume { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.92); } }
.t-well { fill: #fffaf0; stroke: var(--ink); stroke-width: 2.2; }
.t-well.thin { stroke-width: 1.8; }
.t-screen { stroke: var(--ink); stroke-width: 1.6; }
.t-bub { fill: #bfe4f5; transform-box: fill-box; animation: tup 2.6s ease-in infinite; }
.t-bub.u2 { animation-delay: 0.9s; }
.t-bub.u3 { animation-delay: 1.7s; }
@keyframes tup { 0% { transform: translateY(0); opacity: 0; } 16% { opacity: 1; } 100% { transform: translateY(-150px); opacity: 0; } }
.t-head { fill: var(--copper); stroke: var(--ink); stroke-width: 2; }
.t-unit { fill: var(--earth); stroke: var(--ink); stroke-width: 2; }
.t-pipe { stroke: var(--ink); stroke-width: 3; fill: none; }
.t-flow { stroke: var(--copper); stroke-width: 3; stroke-dasharray: 7 7; animation: tflow 1.2s linear infinite; }
@keyframes tflow { to { stroke-dashoffset: -28; } }
.t-inj { stroke: var(--sprout); stroke-width: 3; stroke-dasharray: 6 8; animation: tinj 1.6s linear infinite; }
@keyframes tinj { to { stroke-dashoffset: 28; } }
.t-arrsm { fill: var(--sprout); }
.t-probe { fill: var(--copper); stroke: var(--ink); stroke-width: 1.6; }
.t-sig { stroke: var(--copper); stroke-width: 2; fill: none; animation: tsig 2.4s ease-out infinite; }
.t-sig.g2 { animation-delay: 0.5s; }
@keyframes tsig { 0%, 20% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }
.t-ruler { stroke: var(--earth); stroke-width: 1.6; }
.t-el { fill: var(--earth); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.t-el.low { fill: #cbb79a; font-size: 12.5px; letter-spacing: 0.3em; }
.t-chip rect { fill: #fff; stroke: var(--earth); stroke-width: 1.6; }
.t-chip text { fill: var(--ink); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; }
.t-chip.dark rect { fill: rgba(56, 41, 29, 0.78); stroke: #ffb08a; }
.t-chip.dark text { fill: #ffd9bd; }
.t-lead { stroke: var(--earth); stroke-width: 1.4; stroke-dasharray: 3 4; }

/* ============ 区块标题 ============ */
.tr-head { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.tr-head .tr-el {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background: linear-gradient(150deg, var(--loam), var(--earth));
	border-radius: 6px;
	padding: 5px 12px;
}
.tr-head h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0; }
.tr-rule { flex: 1 1 40px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--clay) 0 14px, transparent 14px 22px); }
.tr-more { font-family: var(--mono); font-size: 14px; color: var(--copper-deep); font-weight: 700; }
.tr-more:hover { color: var(--earth); }
.tr-head-light h2 { color: #f6ead8; }
.tr-head-light .tr-rule { background: repeating-linear-gradient(90deg, rgba(246, 234, 216, 0.4) 0 14px, transparent 14px 22px); }

/* ============ 钻孔工艺卡 ============ */
.bore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bore {
	position: relative;
	background: #fffaf0;
	border: 1.5px solid var(--line);
	border-top: 6px solid var(--clay);
	border-radius: 10px;
	padding: 24px 22px 22px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.bore:nth-child(2) { border-top-color: var(--loam); }
.bore:nth-child(3) { border-top-color: var(--earth); }
.bore:nth-child(4) { border-top-color: var(--bedrock); }
.bore:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bore-depth { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--copper-deep); background: rgba(201, 111, 47, 0.1); border-radius: 5px; padding: 3px 9px; margin-bottom: 14px; }
.bore h3 { font-size: 18.5px; margin-bottom: 8px; }
.bore p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============ 设备标本柜 ============ */
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eq-card {
	background: #fffaf0;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eq-card::before {
	content: "";
	display: block;
	height: 8px;
	background: linear-gradient(90deg, var(--clay) 0 28%, var(--loam) 28% 58%, var(--earth) 58% 82%, var(--bedrock) 82%);
}
.eq-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.eq-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #f8f1e2, #fffaf0); overflow: hidden; }
.eq-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.eq-card:hover .eq-thumb img { transform: scale(1.04); }
.unit-no {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--earth);
	background: rgba(255, 250, 240, 0.92);
	border: 1.5px solid var(--earth);
	border-radius: 5px;
	padding: 3px 8px;
}
.thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--loam); }
.thumb-placeholder svg { width: 44%; height: auto; opacity: 0.8; }
.eq-body { padding: 18px 22px 22px; }
.eq-terms { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--copper-deep); margin-bottom: 8px; }
.eq-terms a { color: inherit; }
.eq-title { font-size: 17.5px; margin: 0 0 12px; }
.eq-title a { color: var(--ink); }
.eq-title a:hover { color: var(--copper-deep); }
.eq-more { font-size: 14px; font-weight: 700; color: var(--earth); }

/* ============ 岩芯数据带 ============ */
.core-band {
	background:
		radial-gradient(70% 100% at 90% 0%, rgba(201, 111, 47, 0.16), transparent 60%),
		linear-gradient(180deg, var(--bedrock), var(--bedrock-2));
	color: #f6ead8;
	padding: 84px 0 90px;
}
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.core { position: relative; padding-left: 24px; }
.core-dot {
	position: absolute;
	left: 0;
	top: 10px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--copper);
	box-shadow: 0 0 0 5px rgba(201, 111, 47, 0.25);
	animation: tcore 3s ease-in-out infinite;
}
@keyframes tcore { 0%, 100% { box-shadow: 0 0 0 5px rgba(201, 111, 47, 0.25); } 50% { box-shadow: 0 0 0 10px rgba(201, 111, 47, 0.08); } }
.core b { font-family: var(--mono); font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; color: #fff; line-height: 1; }
.core em { font-style: normal; font-family: var(--mono); font-size: 16px; color: var(--copper); margin-left: 4px; }
.core span { display: block; margin-top: 8px; font-size: 13.5px; letter-spacing: 0.1em; color: rgba(246, 234, 216, 0.66); }
.core .js-count { opacity: 1; transform: none; }

/* ============ 田野手记 ============ */
.field-list { display: grid; max-width: 900px; }
.field-item {
	display: grid;
	grid-template-columns: 118px 1fr;
	gap: 22px;
	padding: 24px 6px;
	border-bottom: 1.5px dashed var(--line);
	align-items: start;
}
.field-item:first-child { border-top: 1.5px dashed var(--line); }
.field-date { font-family: var(--mono); font-size: 13px; color: var(--copper-deep); letter-spacing: 0.06em; padding-top: 3px; }
.field-title { font-size: 18.5px; margin: 0 0 6px; }
.field-title a { color: var(--ink); }
.field-title a:hover { color: var(--copper-deep); }
.field-excerpt { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============ 大地 CTA ============ */
.digcta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	background: linear-gradient(150deg, var(--earth), var(--bedrock));
	border-radius: 18px;
	padding: 54px 56px;
	color: #f6ead8;
	overflow: hidden;
	box-shadow: 0 26px 54px rgba(62, 47, 36, 0.35);
}
.core-stack { position: absolute; right: 36px; top: -28px; display: flex; flex-direction: column; gap: 7px; opacity: 0.4; pointer-events: none; }
.core-stack i { width: 88px; height: 26px; border-radius: 999px; background: var(--clay); }
.core-stack i:nth-child(2) { background: var(--loam); width: 74px; }
.core-stack i:nth-child(3) { background: var(--copper); width: 92px; }
.core-stack i:nth-child(4) { background: var(--sand-3); width: 64px; }
.digcta-copy { position: relative; z-index: 2; max-width: 600px; }
.digcta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.digcta-sub { color: rgba(246, 234, 216, 0.78); margin: 0; }
.digcta-act { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.digcta-phone { font-family: var(--mono); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff; letter-spacing: 0.03em; }
.digcta-phone:hover { color: var(--copper); }

/* ============ 内页头部 ============ */
.page-head {
	position: relative;
	background:
		linear-gradient(180deg, var(--clay) 0 30%, var(--loam) 30% 62%, var(--earth) 62%);
	color: #fff;
	padding: 56px 0 62px;
	margin-bottom: 48px;
	overflow: hidden;
}
.page-head h1, .page-head .page-title { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 8px; text-shadow: 0 2px 0 rgba(56, 41, 29, 0.35); }
.page-head p, .page-head .archive-description { color: rgba(255, 248, 236, 0.85); margin: 0; max-width: 46em; }

/* ============ 设备筛选 ============ */
.equipment-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-pill {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 8px;
	border: 1.5px solid var(--earth);
	color: var(--earth);
	font-size: 14px;
	font-weight: 600;
	background: #fffaf0;
	transition: all 0.22s ease;
}
.filter-pill:hover { background: rgba(107, 74, 50, 0.08); color: var(--earth); }
.filter-pill.is-active, .filter-pill.current { background: var(--earth); color: #fff; box-shadow: 0 4px 0 var(--bedrock); }

/* ============ 文章列表 ============ */
.post-list { display: grid; gap: 22px; max-width: 880px; }
.post-item {
	background: #fffaf0;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 26px 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-item .entry-title, .post-item h2 { font-size: 20px; margin: 0 0 8px; }
.post-item .entry-title a, .post-item h2 a { color: var(--ink); }
.post-item .entry-title a:hover, .post-item h2 a:hover { color: var(--copper-deep); }
.entry-meta, .posted-on { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--copper-deep); }
.entry-meta a { color: inherit; }
.post-item .entry-summary, .post-item .entry-excerpt { color: var(--muted); font-size: 15px; }
.read-more, .more-link { font-weight: 700; font-size: 14px; color: var(--earth); }

/* ============ 正文页 ============ */
.article-wrap {
	max-width: 840px;
	margin: 0 auto;
	background: #fffaf0;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	padding: clamp(28px, 5vw, 54px);
	box-shadow: 0 14px 36px rgba(107, 74, 50, 0.08);
}
.article-wrap .entry-title { font-size: clamp(24px, 3.2vw, 34px); }
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 24px; margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--copper); }
.entry-content h3 { font-size: 19.5px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 10px; border: 1.5px solid var(--line); }
.page-links { margin: 1.4em 0; font-family: var(--mono); }
.entry-footer { margin-top: 2em; padding-top: 1.2em; border-top: 1.5px dashed var(--line); font-size: 14px; color: var(--muted); }
.cat-links a, .tags-links a { color: var(--copper-deep); }

.related-title { font-size: 22px; margin: 54px 0 24px; display: flex; align-items: center; gap: 12px; }
.related-title::before { content: ""; width: 26px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, var(--clay) 0 50%, var(--earth) 50%); }

.contact-strip {
	background: linear-gradient(150deg, var(--earth), var(--bedrock));
	color: #fff;
	border-radius: 14px;
	padding: 32px 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 54px;
}
.contact-strip h2, .contact-strip h3, .contact-strip p { color: #fff; margin: 0; }
.contact-strip .strip-phone, .contact-strip a.tel { font-family: var(--mono); font-size: 24px; font-weight: 800; color: var(--copper); }

/* ============ 分页与导航 ============ */
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; align-items: center; }
.nav-links a, .nav-links .page-numbers {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	padding: 9px 15px;
	border-radius: 8px;
	border: 1.5px solid var(--line);
	background: #fffaf0;
	color: var(--ink);
	font-size: 14px;
	font-family: var(--mono);
	transition: all 0.2s ease;
}
.nav-links a:hover { border-color: var(--copper); color: var(--copper-deep); }
.nav-links .current { background: var(--earth); border-color: var(--earth); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { max-width: 46%; }

/* ============ 搜索与评论 ============ */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form .search-field, .search-form input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	font-size: 15px;
	background: #fffaf0;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-form .search-field:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(201, 111, 47, 0.14); }
.search-form .search-submit, .search-form button {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	background: var(--earth);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.search-form .search-submit:hover { background: var(--copper-deep); }

.comments-area { max-width: 840px; margin: 54px auto 0; }
.comments-title, .comment-reply-title { font-size: 21px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { border-bottom: 1.5px dashed var(--line); padding: 20px 0; }
.comment-author { font-weight: 700; }
.comment-metadata { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.comment-form label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	margin-bottom: 14px;
	background: #fffaf0;
	outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--copper); }
.comment-form .submit { padding: 12px 30px; border: none; border-radius: 8px; background: var(--earth); color: #fff; font-weight: 700; cursor: pointer; }
.comment-form .submit:hover { background: var(--copper-deep); }

/* ============ 404 与空状态 ============ */
.error-404 { text-align: center; padding: 40px 0 20px; }
.error-404 .page-title { font-size: clamp(30px, 5vw, 46px); }
.error-404 .search-form { margin: 24px auto 0; }
.no-results { color: var(--muted); }

/* ============ 页脚 ============ */
.site-footer {
	position: relative;
	background: linear-gradient(180deg, var(--bedrock), var(--bedrock-2));
	color: #d8c6ab;
	margin-top: 96px;
	font-size: 14.5px;
}
.site-footer::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
	background: linear-gradient(180deg, transparent, rgba(62, 47, 36, 0.35));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding: 62px 24px 46px; }
.footer-heading { color: #fff; font-size: 17px; margin-bottom: 16px; letter-spacing: 0.05em; }
.site-footer p { color: rgba(216, 198, 171, 0.85); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d8c6ab; }
.site-footer a:hover { color: var(--copper); }
.footer-contact li { padding-left: 20px; position: relative; }
.footer-contact li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 9px; height: 9px; border-radius: 2px; background: var(--copper); }
.footer-bottom { border-top: 1px solid rgba(216, 198, 171, 0.18); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: rgba(216, 198, 171, 0.6); }
.footer-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
	.dig-grid { grid-template-columns: 1fr; gap: 44px; }
	.digsite { max-width: 640px; }
	.bore-grid { grid-template-columns: repeat(2, 1fr); }
	.equipment-grid { grid-template-columns: repeat(2, 1fr); }
	.core-grid { grid-template-columns: repeat(2, 1fr); gap: 38px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.digcta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
	.digcta-act { align-items: flex-start; }
}
@media (max-width: 680px) {
	.section { padding: 60px 0; }
	.dig { padding: 60px 0 100px; }
	.header-cta { display: none; }
	.menu-toggle { display: block; margin-left: auto; }
	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--sand);
		border-bottom: 1.5px solid var(--line);
		box-shadow: 0 22px 38px rgba(107, 74, 50, 0.14);
		padding: 12px 18px 18px;
		margin: 0;
	}
	.main-navigation.is-open { display: block; }
	.main-navigation .menu { flex-direction: column; gap: 2px; }
	.main-navigation a { padding: 12px 16px; }
	.bore-grid, .equipment-grid { grid-template-columns: 1fr; }
	.core-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.field-item { grid-template-columns: 1fr; gap: 6px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 46px; }
	.contact-strip { padding: 28px 24px; }
	.digcta { padding: 38px 26px; }
	.core-stack { display: none; }
}

/* ============ 动效降级 ============ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
