/*
Theme Name: 磁力环保 Cili Metro
Theme URI: https://example.com/themes/cili-metro
Author: 方拓
Author URI: https://example.com/fangtuo
Description: 为常州磁力环保科技有限公司(虚构演示)打造的 Metro 磁贴风中文企业主题:白底之上,钴蓝/洋红/深青/琥珀四色实心磁贴密铺成“开始屏幕”,零圆角、零边框、零投影,轻字重大标题配小写英文辅助词,内置「磁贴商店」产品类型、翻转磁贴与数字翻牌。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: cili-metro
Tags: business, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   1. 设计令牌(Metro:纯色实心、直角、零边框零投影零渐变)
   ========================================================================== */
:root {
	--c-bg: #ffffff;
	--c-ink: #1f1f1f;
	--c-ink-soft: #5a5a5a;
	--c-paper: #f2f2f2;
	--c-paper-2: #f7f7f7;
	--c-cobalt: #1565c0;
	--c-cobalt-deep: #0d47a1;
	--c-magenta: #d81b60;
	--c-magenta-deep: #a3124a;
	--c-teal: #00838f;
	--c-teal-deep: #006064;
	--c-amber: #ff8f00;
	--c-amber-deep: #ef8500;
	--font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--gap: 8px;
}

/* ==========================================================================
   2. 基础
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	line-height: 1.2;
	margin: 0 0 .6em;
}

p { margin: 0 0 1.1em; }

b, strong { font-weight: 600; }

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

a { color: var(--c-cobalt); }
a:hover { color: var(--c-magenta); }

::selection { background: var(--c-cobalt); color: #fff; }

:focus-visible {
	outline: 2px solid var(--c-cobalt);
	outline-offset: 2px;
}
.site-head :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible,
.sysinfo :focus-visible,
.cta :focus-visible { outline-color: var(--c-amber); }

.container {
	width: min(1200px, 92vw);
	margin-inline: auto;
}

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

hr {
	border: 0;
	height: 8px;
	background: var(--c-paper);
	margin: 32px 0;
}

/* 无障碍 */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	width: auto;
	height: auto;
	z-index: 100000;
	top: 8px;
	left: 8px;
	padding: 12px 18px;
	background: var(--c-amber);
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.skip-link { position: fixed; }

/* WordPress 常规类 */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin: 24px auto; clear: both; }
.alignwide { margin-inline: -4vw; max-width: 100vw; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption {
	font-size: 13px;
	color: var(--c-ink-soft);
	padding: 8px 0;
}
.sticky { position: relative; }
.bypostauthor { position: relative; }

/* ==========================================================================
   3. 纯色工具类(四色轮换;琥珀贴一律深字,对比度≥4.5:1)
   ========================================================================== */
.bg-cobalt { background: var(--c-cobalt); color: #fff; }
.bg-magenta { background: var(--c-magenta); color: #fff; }
.bg-teal { background: var(--c-teal); color: #fff; }
.bg-amber { background: var(--c-amber); color: var(--c-ink); }
.bg-ink { background: var(--c-ink); color: #fff; }

/* ==========================================================================
   4. 小标眉(kicker:小色方块 + 小写英文 + 中文粗体)
   ========================================================================== */
.kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: lowercase;
	color: var(--c-ink-soft);
}
.kicker::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--c-cobalt);
	flex: none;
}
.kicker b {
	font-weight: 600;
	letter-spacing: .05em;
	color: var(--c-ink);
}
.kicker--magenta::before { background: var(--c-magenta); }
.kicker--teal::before { background: var(--c-teal); }
.kicker--amber::before { background: var(--c-amber); }
.kicker--onink { color: rgba(255, 255, 255, .66); }
.kicker--onink b { color: #fff; }

.section-title {
	font-size: clamp(30px, 4.5vw, 48px);
	font-weight: 300;
	margin: 6px 0 4px;
}
.section-sub {
	color: var(--c-ink-soft);
	font-size: 15px;
	margin: 0 0 26px;
}
.demo-note {
	font-size: 13px;
	color: var(--c-ink-soft);
	margin-top: 14px;
}

/* ==========================================================================
   5. 页头(near-black 反衬)
   ========================================================================== */
.site-head {
	background: var(--c-ink);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 60;
}
.site-head__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	transition: padding .2s ease;
}
.site-head.is-scrolled .site-head__inner { padding: 9px 0; }

.site-brand__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
}
.site-brand__mark {
	display: grid;
	grid-template-columns: 10px 10px;
	grid-auto-rows: 10px;
	gap: 2px;
	flex: none;
}
.site-brand__mark i { display: block; }
.site-brand__mark i:nth-child(1) { background: var(--c-cobalt); }
.site-brand__mark i:nth-child(2) { background: var(--c-magenta); }
.site-brand__mark i:nth-child(3) { background: var(--c-teal); }
.site-brand__mark i:nth-child(4) { background: var(--c-amber); }
.site-brand__text b {
	display: block;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: .02em;
}
.site-brand__text i {
	display: block;
	font-style: normal;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: lowercase;
	color: rgba(255, 255, 255, .6);
}
.custom-logo { display: block; max-height: 44px; width: auto; }

.site-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	display: block;
	padding: 10px 14px;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	transition: background .15s ease, color .15s ease;
}
.site-nav__list > li:nth-child(4n+1) > a:hover { background: var(--c-cobalt); }
.site-nav__list > li:nth-child(4n+2) > a:hover { background: var(--c-magenta); }
.site-nav__list > li:nth-child(4n+3) > a:hover { background: var(--c-teal); }
.site-nav__list > li:nth-child(4n) > a:hover { background: var(--c-amber); color: var(--c-ink); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { background: var(--c-cobalt); color: #fff; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle__bars i {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
	transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   6. 磁贴系统(核心识别:直角、8px 窄缝、无边框无投影)
   ========================================================================== */
.tile-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 150px;
	gap: var(--gap);
}
.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gap);
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}

.tile {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--c-cobalt);
	color: #fff;
	text-decoration: none;
	transition: transform .18s ease;
	will-change: transform;
}
.tile:hover { color: inherit; }
a.tile:hover { color: #fff; }
a.tile.bg-amber:hover { color: var(--c-ink); }
.tile:active { transform: scale(.985); }

.tile--l { grid-column: span 2; grid-row: span 2; }
.tile--w { grid-column: span 2; }

.tile__label {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .02em;
}
.tile__label small {
	display: block;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .14em;
	text-transform: lowercase;
	opacity: .82;
}
.tile__icon {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 26px;
	height: 26px;
}
.tile__icon svg { width: 100%; height: 100%; display: block; }

/* 数据磁贴:超大数字 */
.tile--stat {
	min-height: 170px;
	padding: 18px 16px 46px;
	display: flex;
	align-items: flex-start;
}
.stat-num {
	font-size: clamp(44px, 5.5vw, 68px);
	font-weight: 200;
	line-height: 1;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
}
.stat-num small {
	font-size: .32em;
	font-weight: 400;
	margin-left: 4px;
	letter-spacing: .04em;
}

/* 工艺步骤磁贴 */
.tile--step {
	min-height: 176px;
	padding: 16px 16px 44px;
}
.step-no {
	display: block;
	font-size: 44px;
	font-weight: 200;
	line-height: 1;
	opacity: .95;
}

/* 案例“人脉贴” */
.tile--person {
	min-height: 210px;
	padding: 18px 16px 64px;
}
.person-initial {
	display: block;
	font-size: 76px;
	font-weight: 200;
	line-height: 1;
}
.tile--person .ticket {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: .02em;
	opacity: .92;
	font-variant-numeric: tabular-nums;
}

/* 产品磁贴 */
.tile--product {
	min-height: 236px;
	padding: 20px 18px 76px;
}
.product-model {
	display: block;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 200;
	line-height: 1.05;
}
.product-sub {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	opacity: .95;
}

/* 开始屏内行高由网格行控制,取消最小高度避免叠行 */
.tile-grid .tile,
.tile-grid .tile-flip__face { min-height: 0; }

/* 喷淋塔磁贴(白色单线 SVG) */
.tile--tower {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 20px 56px;
}
.tile--tower svg {
	height: 100%;
	max-height: 250px;
	width: auto;
	max-width: 78%;
}
.tower-drop {
	animation: cili-drip 1.5s linear infinite;
	opacity: 0;
}
.tower-drop:nth-of-type(2) { animation-delay: .5s; }
.tower-drop:nth-of-type(3) { animation-delay: 1s; }
@keyframes cili-drip {
	0% { opacity: 0; transform: translateY(0); }
	18% { opacity: 1; }
	100% { opacity: 0; transform: translateY(26px); }
}

/* 翻转磁贴(3D flip) */
.tile--flip {
	background: transparent;
	overflow: visible;
	perspective: 900px;
	cursor: pointer;
}
.tile-flip__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform .55s ease;
}
.tile--flip:hover .tile-flip__inner,
.tile--flip:focus-visible .tile-flip__inner,
.tile--flip.is-flipped .tile-flip__inner { transform: rotateY(180deg); }
.tile-flip__face {
	position: absolute;
	inset: 0;
	padding: 16px 16px 44px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}
.tile-flip__face--back { transform: rotateY(180deg); }
.tile-flip__face--back p {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.5;
}

/* ==========================================================================
   7. 首页开始屏幕
   ========================================================================== */
.hero { padding: 52px 0 64px; }
.hero__title {
	font-size: clamp(44px, 7.5vw, 92px);
	font-weight: 200;
	letter-spacing: -.01em;
	line-height: 1.05;
	margin: 4px 0 10px;
}
.hero__title .ac { font-style: normal; color: var(--c-cobalt); }
.hero__sub {
	color: var(--c-ink-soft);
	font-size: 15px;
	margin: 0 0 30px;
}

/* ==========================================================================
   8. 全景横滑标题区(panorama:超宽标题溢出裁切)
   ========================================================================== */
.page-hero {
	background: var(--c-ink);
	color: #fff;
	overflow: hidden;
	padding: 52px 0 44px;
}
.page-hero__title {
	font-size: clamp(38px, 6.5vw, 76px);
	font-weight: 200;
	line-height: 1.08;
	margin: 8px 0 0;
	white-space: nowrap;
}
.page-hero__title .tail {
	font-size: .5em;
	letter-spacing: .12em;
	margin-left: .6em;
	color: rgba(255, 255, 255, .32);
	text-transform: lowercase;
	white-space: nowrap;
}
.page-hero--wrap .page-hero__title { white-space: normal; }
.page-hero__sub {
	margin: 14px 0 0;
	font-size: 15px;
	color: rgba(255, 255, 255, .72);
}
.push-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: center;
	margin-top: 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, .66);
	letter-spacing: .04em;
}

/* ==========================================================================
   9. 系统信息带 / CTA 带
   ========================================================================== */
.sysinfo {
	background: var(--c-ink);
	color: #fff;
	padding: 34px 0;
}
.sysinfo p { margin: 0; font-size: 15px; line-height: 1.9; }
.sysinfo .tag {
	display: inline-block;
	background: var(--c-teal);
	color: #fff;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: lowercase;
	padding: 4px 10px;
	margin-right: 12px;
	vertical-align: 2px;
}

.cta {
	background: var(--c-cobalt);
	color: #fff;
	padding: 72px 0;
}
.cta__title {
	font-size: clamp(34px, 5.5vw, 62px);
	font-weight: 200;
	margin: 6px 0 8px;
}
.cta__push {
	font-size: 15px;
	color: rgba(255, 255, 255, .85);
	margin: 0 0 28px;
}
.cta__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.cta__line {
	margin: 26px 0 0;
	font-size: 14px;
	color: rgba(255, 255, 255, .85);
}

/* ==========================================================================
   10. 按钮 / 表单 / 芯片(实心块,零圆角零边框)
   ========================================================================== */
.btn,
button.btn,
input[type="submit"] {
	display: inline-block;
	padding: 13px 26px;
	background: var(--c-cobalt);
	color: #fff;
	border: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}
.btn:hover,
input[type="submit"]:hover { background: var(--c-cobalt-deep); color: #fff; }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--c-ink); }
.btn--ink:hover { background: #000; }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--white:hover { background: var(--c-paper); color: var(--c-ink); }
.btn--amber { background: var(--c-amber); color: var(--c-ink); }
.btn--amber:hover { background: var(--c-amber-deep); color: var(--c-ink); }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	background: var(--c-paper);
	border: 0;
	padding: 12px 14px;
	font: inherit;
	color: var(--c-ink);
	width: 100%;
}
textarea { min-height: 140px; resize: vertical; }

.search-form {
	display: flex;
	gap: var(--gap);
}
.search-form .search-field { flex: 1 1 auto; width: auto; }
.search-form .search-submit {
	flex: none;
	background: var(--c-ink);
	color: #fff;
	border: 0;
	padding: 12px 22px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.search-form .search-submit:hover { background: var(--c-cobalt); }

.chip {
	display: inline-block;
	padding: 6px 12px;
	background: var(--c-paper);
	color: var(--c-ink);
	font-size: 13px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
a.chip:hover { background: var(--c-cobalt); color: #fff; }
.chip--amber { background: var(--c-amber); color: var(--c-ink); }
.chip--onink { background: rgba(255, 255, 255, .14); color: #fff; }
a.chip--onink:hover { background: var(--c-amber); color: var(--c-ink); }
.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	margin: 0 0 26px;
}

/* ==========================================================================
   11. 列表卡(推送流:斑马底,零边框)
   ========================================================================== */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}
.page-body { padding: 48px 0 72px; }

.post-list { display: flex; flex-direction: column; }
.entry-card {
	display: flex;
	gap: 20px;
	padding: 24px 18px;
}
.post-list > .entry-card:nth-child(even) { background: var(--c-paper-2); }
.entry-card__date {
	flex: none;
	width: 64px;
	height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
	text-decoration: none;
}
.entry-card__date b { font-size: 24px; font-weight: 300; }
.entry-card__date span { font-size: 11px; letter-spacing: .08em; }
.entry-card__meta {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .1em;
	color: var(--c-ink-soft);
	text-transform: lowercase;
}
.entry-card__title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.4;
}
.entry-card__title a { color: var(--c-ink); text-decoration: none; }
.entry-card__title a:hover { color: var(--c-cobalt); }
.entry-card__excerpt {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--c-ink-soft);
}
.entry-card__more {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* 首页更新推送行 */
.push-list { display: flex; flex-direction: column; }
.push-item {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 18px 16px;
	color: inherit;
	text-decoration: none;
}
.push-list > .push-item:nth-child(even) { background: var(--c-paper-2); }
.push-date {
	flex: none;
	width: 58px;
	height: 58px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.15;
}
.push-date b { font-size: 22px; font-weight: 300; }
.push-date span { font-size: 11px; letter-spacing: .08em; }
.push-item h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 6px 0 2px;
	line-height: 1.5;
}
.push-item p {
	margin: 0;
	font-size: 13px;
	color: var(--c-ink-soft);
	letter-spacing: .04em;
}
.push-item:hover h3 { color: var(--c-cobalt); }

/* ==========================================================================
   12. 正文排版
   ========================================================================== */
.entry-content { font-size: 16px; }
.entry-content > * { max-width: 100%; }
.entry-content h2,
.entry-content h3 {
	font-weight: 300;
	margin: 1.6em 0 .6em;
}
.entry-content h2::before,
.entry-content h3::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--c-cobalt);
	margin-right: 12px;
}
.entry-content h3::before { background: var(--c-teal); width: 10px; height: 10px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin: .3em 0; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 22px 26px;
	background: var(--c-cobalt);
	color: #fff;
	font-size: 17px;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code {
	background: var(--c-paper);
	padding: 2px 6px;
	font-size: .92em;
}
.entry-content pre {
	background: var(--c-ink);
	color: #fff;
	padding: 20px;
	overflow-x: auto;
}
.entry-content pre code { background: none; padding: 0; }
.entry-content table,
.specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
}
.entry-content th,
.entry-content td,
.specs-table th,
.specs-table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}
.entry-content thead th,
.specs-table thead th { background: var(--c-ink); color: #fff; font-weight: 600; }
.entry-content tbody tr:nth-child(odd) td,
.entry-content tbody tr:nth-child(odd) th,
.specs-table tbody tr:nth-child(odd) td,
.specs-table tbody tr:nth-child(odd) th { background: var(--c-paper); }
.specs-table th[scope="row"] {
	width: 32%;
	font-weight: 600;
}
.specs-table caption {
	text-align: left;
	font-size: 13px;
	letter-spacing: .12em;
	color: var(--c-ink-soft);
	text-transform: lowercase;
	padding: 0 0 10px;
}
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { display: block; width: 100%; }
.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	margin-top: 30px;
}
.page-links { margin: 20px 0; font-size: 14px; }
.page-links a,
.page-links > span {
	display: inline-block;
	min-width: 34px;
	text-align: center;
	padding: 6px 10px;
	background: var(--c-paper);
	text-decoration: none;
	margin-right: 4px;
}
.page-links > span.post-page-numbers { background: var(--c-cobalt); color: #fff; }

/* 上一条 / 下一条 */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	margin-top: 40px;
}
.post-nav a {
	display: block;
	background: var(--c-paper);
	color: var(--c-ink);
	padding: 18px 20px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
	font-size: 15px;
	line-height: 1.5;
}
.post-nav small {
	display: block;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: lowercase;
	color: var(--c-ink-soft);
	margin-bottom: 6px;
}
.post-nav a:hover { background: var(--c-cobalt); color: #fff; }
.post-nav a:hover small { color: rgba(255, 255, 255, .7); }
.post-nav__next { text-align: right; }

/* 分页 */
.pagination { margin-top: 36px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}
.pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 9px 14px;
	text-align: center;
	background: var(--c-paper);
	color: var(--c-ink);
	text-decoration: none;
	font-size: 14px;
	transition: background .15s ease, color .15s ease;
}
.pagination a.page-numbers:hover { background: var(--c-ink); color: #fff; }
.pagination .page-numbers.current { background: var(--c-cobalt); color: #fff; }

.result-count {
	background: var(--c-paper);
	padding: 14px 18px;
	font-size: 14px;
	margin: 0 0 26px;
}
.u-mt { margin-top: 26px; }
.result-count b { color: var(--c-cobalt); }

/* ==========================================================================
   13. 侧栏 / 小工具(纸灰实心块)
   ========================================================================== */
.site-aside {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}
.widget {
	background: var(--c-paper);
	padding: 22px;
}
.widget-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 14px;
}
.widget-title::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	background: var(--c-cobalt);
	margin-right: 10px;
}
.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget ul li { padding: 6px 0; }
.widget ul a {
	color: var(--c-ink);
	text-decoration: none;
}
.widget ul a:hover { color: var(--c-cobalt); }
.widget p { font-size: 14px; margin-bottom: 0; }
.widget .search-form .search-field { background: #fff; }

/* ==========================================================================
   14. 404
   ========================================================================== */
.error-hero { padding: 56px 0 72px; }
.tile--404 {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 44px;
}
.tile--404 .num {
	font-size: clamp(96px, 15vw, 180px);
	font-weight: 200;
	line-height: 1;
	letter-spacing: .02em;
}
.error-search { max-width: 560px; margin-top: 36px; }

/* ==========================================================================
   15. 产品单页
   ========================================================================== */
.product-hero {
	padding: 56px 0 48px;
	overflow: hidden;
}
.product-hero__title {
	font-size: clamp(44px, 7vw, 88px);
	font-weight: 200;
	line-height: 1.05;
	margin: 6px 0 10px;
	white-space: nowrap;
}
.product-hero__title .tail {
	font-size: .42em;
	letter-spacing: .12em;
	margin-left: .6em;
	color: rgba(255, 255, 255, .4);
	text-transform: lowercase;
	white-space: nowrap;
}
.product-hero__sub {
	margin: 0 0 18px;
	font-size: 16px;
	color: rgba(255, 255, 255, .88);
	max-width: 720px;
}
.product-body { padding: 52px 0 72px; }
.product-body .entry-content { max-width: 860px; }
.inquiry {
	margin-top: 48px;
	padding: 40px 36px;
}
.inquiry h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 300;
	margin: 4px 0 8px;
}
.inquiry p { color: rgba(255, 255, 255, .85); font-size: 14px; }
.inquiry .cta__row { margin-top: 18px; }

/* ==========================================================================
   16. 页脚
   ========================================================================== */
.site-footer {
	background: var(--c-ink);
	color: rgba(255, 255, 255, .78);
	padding: 64px 0 28px;
	font-size: 14px;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1.6fr;
	gap: 40px;
}
.footer-col h3 {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 16px;
}
.footer-col h3::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	background: var(--c-cobalt);
}
.site-footer__grid > .footer-col:nth-child(2) h3::before { background: var(--c-magenta); }
.site-footer__grid > .footer-col:nth-child(3) h3::before { background: var(--c-teal); }
.site-footer__grid > .footer-col:nth-child(4) h3::before { background: var(--c-amber); }
.footer-col h3 small {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .14em;
	text-transform: lowercase;
	color: rgba(255, 255, 255, .5);
	margin-left: 8px;
}
.footer-col p { margin: 0 0 .7em; line-height: 1.9; }
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-col ul li { padding: 4px 0; }
.footer-col a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-brandline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.site-footer__bottom {
	margin-top: 52px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
}
.site-footer__bottom p { margin: 0; }

/* ==========================================================================
   17. 入场动效(IntersectionObserver;no-js 直显)
   ========================================================================== */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}
.js .tile.reveal.is-visible { transition: transform .18s ease, opacity .3s ease; }

/* ==========================================================================
   18. 降级与偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	.tower-drop { animation: none !important; opacity: .9; }
	.tile--flip:hover .tile-flip__inner,
	.tile--flip:focus-visible .tile-flip__inner,
	.tile--flip.is-flipped .tile-flip__inner { transform: none; }
	.tile:active { transform: none; }
}

/* ==========================================================================
   19. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

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

@media (max-width: 768px) {
	.section { padding: 48px 0; }
	.nav-toggle { display: block; }
	.site-nav { display: none; }
	body.nav-open .site-nav {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--c-ink);
		padding: 6px 0 18px;
	}
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 14px 6vw; font-size: 17px; }
	.site-nav__list a::before {
		content: "";
		display: inline-block;
		width: 10px;
		height: 10px;
		margin-right: 14px;
		background: var(--c-cobalt);
	}
	.site-nav__list > li:nth-child(4n+2) > a::before { background: var(--c-magenta); }
	.site-nav__list > li:nth-child(4n+3) > a::before { background: var(--c-teal); }
	.site-nav__list > li:nth-child(4n) > a::before { background: var(--c-amber); }

	/* 磁贴降为两列 */
	.tile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 132px;
	}
	.hero { padding: 40px 0 52px; }
	.page-hero__title .tail { font-size: .6em; }
	.post-nav { grid-template-columns: 1fr; }
	.inquiry { padding: 28px 22px; }
}

@media (max-width: 600px) {
	.grid-3 { grid-template-columns: minmax(0, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.entry-card { gap: 14px; padding: 20px 12px; }
	.cta__row .btn { width: 100%; text-align: center; }
}
