/* ==========================================================================
   新能源科普站 · 设计系统
   1. 变量与基础  2. 通用组件  3. 页头  4. 首页  5. 列表与卡片
   6. 文章详情  7. 侧栏与目录  8. 页脚  9. 响应式  10. 深色模式

   兼容说明：不使用 color-mix() / light-dark() 等新特性，
   以显式 CSS 变量与 rgba 实现板块配色，兼容 Chromium 86+ 内核浏览器。
   ========================================================================== */

/* ---------- 1. 变量与基础 ---------- */
:root {
	--c-bg: #f5f7fb;
	--c-surface: #ffffff;
	--c-surface-2: #f0f4f9;
	--c-ink: #0d1526;
	--c-ink-2: #47526b;
	--c-ink-3: #7c8798;
	--c-line: #e3e9f2;
	--c-line-2: #d5deec;

	--c-brand: #2563eb;
	--c-brand-2: #0ea5e9;
	--c-accent: #0d9488;

	--sec: #6366f1;
	--sec-ink: #4338ca;
	--sec-soft: rgba(99, 102, 241, .12);
	--sec-soft-2: rgba(99, 102, 241, .06);
	--sec-strong: rgba(99, 102, 241, .4);

	--c-dark: #070d1a;
	--c-dark-2: #0c1526;
	--c-dark-line: rgba(255, 255, 255, .1);

	--grad-brand: linear-gradient(120deg, #38bdf8 0%, #6366f1 55%, #a855f7 100%);
	--grad-hero: linear-gradient(100deg, #7dd3fc 0%, #a5b4fc 45%, #fcd34d 100%);

	--r-sm: 12px;
	--r-md: 16px;
	--r-lg: 22px;

	--sh-1: 0 1px 2px rgba(13, 21, 38, .04), 0 2px 8px rgba(13, 21, 38, .04);
	--sh-2: 0 4px 12px rgba(13, 21, 38, .06), 0 12px 32px rgba(13, 21, 38, .06);
	--sh-3: 0 10px 30px rgba(13, 21, 38, .1), 0 30px 60px rgba(13, 21, 38, .08);

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

	--w-container: 1200px;
	--t: .24s cubic-bezier(.22, .61, .36, 1);
}

/* 板块配色：光伏=光伏金，储能=储能青，充电站=电光蓝，智能运维=监测紫 */
body.section-pv,
.sec-card--pv {
	--sec: #f59e0b;
	--sec-ink: #b45309;
	--sec-soft: rgba(245, 158, 11, .16);
	--sec-soft-2: rgba(245, 158, 11, .07);
	--sec-strong: rgba(245, 158, 11, .45);
}

body.section-ess,
.sec-card--ess {
	--sec: #10b981;
	--sec-ink: #047857;
	--sec-soft: rgba(16, 185, 129, .16);
	--sec-soft-2: rgba(16, 185, 129, .07);
	--sec-strong: rgba(16, 185, 129, .45);
}

body.section-charge,
.sec-card--charge {
	--sec: #3b82f6;
	--sec-ink: #1d4ed8;
	--sec-soft: rgba(59, 130, 246, .16);
	--sec-soft-2: rgba(59, 130, 246, .07);
	--sec-strong: rgba(59, 130, 246, .45);
}

body.section-smart-om,
.sec-card--smart-om {
	--sec: #8b5cf6;
	--sec-ink: #6d28d9;
	--sec-soft: rgba(139, 92, 246, .16);
	--sec-soft-2: rgba(139, 92, 246, .07);
	--sec-strong: rgba(139, 92, 246, .45);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

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;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--c-brand);
	text-decoration: none;
	transition: color var(--t), background var(--t), border-color var(--t), opacity var(--t);
}

a:hover {
	color: #1d4ed8;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--c-ink);
}

p {
	margin: 0;
}

/*
 * 列表重置：同时清掉项目符号。
 * 站内所有列表都自带样式——导航、卡片、目录用无符号列表，
 * 正文列表用 .entry__content 里的 ::before 自定义圆点/序号，
 * 因此全局关闭符号不会影响正文，却能避免新加的 ul/ol
 * 因为只清了 padding 而把原生圆点顶到内容区左上角。
 */
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	border: 0;
	background: none;
}

::selection {
	background: rgba(37, 99, 235, .18);
}

:focus-visible {
	outline: 2px solid var(--c-brand);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- 2. 通用组件 ---------- */
.container {
	width: 100%;
	max-width: var(--w-container);
	margin: 0 auto;
	padding: 0 24px;
}

.container--narrow {
	max-width: 860px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--c-ink);
	color: #fff;
	border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

.xny-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

.read-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 999;
	pointer-events: none;
}

.read-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--grad-brand);
	transition: width .1s linear;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--c-surface-2);
	color: var(--c-ink-2);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.6;
	border: 1px solid transparent;
}

.chip:hover {
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .25);
}

.chip--section {
	background: var(--sec-soft);
	color: var(--sec-ink);
}

.chip--lg {
	padding: 6px 14px;
	font-size: 13.5px;
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .92);
	border-color: rgba(255, 255, 255, .18);
}

.chip--lg:hover {
	background: rgba(255, 255, 255, .2);
	color: #fff;
	border-color: rgba(255, 255, 255, .3);
}

.chip--lg em {
	font-style: normal;
	opacity: .6;
	font-size: 11.5px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	color: var(--c-ink-2);
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--sh-1);
}

.tag-chip:hover {
	transform: translateY(-2px);
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .3);
	box-shadow: var(--sh-2);
}

.tag-chip em {
	font-style: normal;
	color: var(--c-ink-3);
	font-size: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
}

.btn--primary {
	background: #fff;
	color: var(--c-dark);
	box-shadow: var(--sh-2);
}

.btn--primary:hover {
	color: var(--c-dark);
	transform: translateY(-2px);
	box-shadow: var(--sh-3);
}

.btn--ghost {
	background: var(--c-surface);
	color: var(--c-ink);
	border: 1px solid var(--c-line-2);
	justify-content: center;
}

.btn--ghost:hover {
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .35);
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 14.5px;
	white-space: nowrap;
}

.link-more .xny-icon {
	transition: transform var(--t);
}

.link-more:hover .xny-icon {
	transform: translateX(3px);
}

.notice {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	margin: 0 0 28px;
	border-radius: var(--r-md);
	border: 1px solid var(--c-line);
	background: var(--c-surface);
	box-shadow: var(--sh-1);
}

.notice__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	flex: 0 0 auto;
	font-size: 18px;
}

.notice__body strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15.5px;
}

.notice__body p {
	color: var(--c-ink-2);
	font-size: 14.5px;
	line-height: 1.8;
}

.notice__body p + p {
	margin-top: 8px;
}

.notice--warn {
	border-color: rgba(245, 158, 11, .38);
	background: linear-gradient(180deg, rgba(245, 158, 11, .08), rgba(245, 158, 11, .02));
}

.notice--warn .notice__icon {
	background: rgba(245, 158, 11, .18);
	color: #b45309;
}

.notice--info {
	border-color: rgba(37, 99, 235, .22);
	background: linear-gradient(180deg, rgba(37, 99, 235, .05), transparent);
}

.notice--info .notice__icon {
	background: rgba(37, 99, 235, .12);
	color: var(--c-brand);
}

.ad-slot {
	position: relative;
	margin: 28px 0;
	padding: 16px 14px 10px;
	border-radius: var(--r-md);
	border: 1px dashed var(--c-line-2);
	background: repeating-linear-gradient(45deg, rgba(148, 163, 184, .05) 0 10px, transparent 10px 20px);
	overflow: hidden;
}

.ad-slot__label {
	position: absolute;
	top: 0;
	left: 0;
	padding: 1px 8px;
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--c-ink-3);
	background: var(--c-surface-2);
	border-radius: 0 0 8px 0;
}

.ad-slot--sidebar {
	margin-top: 0;
}

.ad-slot__holder {
	min-height: 60px;
}

.pager {
	margin: 44px 0 0;
}

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	color: var(--c-ink-2);
	font-weight: 600;
	box-shadow: var(--sh-1);
}

.pager .page-numbers:hover {
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .3);
}

.pager .page-numbers.current {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: #fff;
}

.pager .screen-reader-text {
	display: none;
}

.empty-state {
	padding: 48px 32px;
	text-align: center;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}

.empty-state h2 {
	font-size: 22px;
	margin-bottom: 10px;
}

.empty-state p {
	color: var(--c-ink-2);
	max-width: 560px;
	margin: 0 auto 22px;
}

.empty-state .search-form {
	margin: 0 auto;
	max-width: 460px;
}

/* ---------- 3. 页头 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--c-line);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 36px;
	min-height: 88px;
}

.brand__link {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--c-ink);
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--grad-brand);
	box-shadow: 0 8px 20px rgba(37, 99, 235, .26);
	flex: 0 0 auto;
}

.brand__mark svg {
	width: 100%;
	height: 100%;
}

.brand__mark--sm {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.24;
}

.brand__text strong {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: .02em;
}

.brand__text em {
	margin-top: 3px;
	font-style: normal;
	font-size: 12.5px;
	letter-spacing: .01em;
	color: var(--c-ink-3);
	white-space: nowrap;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.primary-nav .menu > li {
	position: relative;
}

.primary-nav .menu > li > a {
	display: block;
	padding: 11px 16px;
	border-radius: 10px;
	color: var(--c-ink-2);
	font-size: 15.5px;
	font-weight: 600;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-parent > a,
.primary-nav .menu > .current-menu-ancestor > a {
	color: var(--c-ink);
	background: var(--c-surface-2);
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 210px;
	padding: 10px;
	list-style: none;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	box-shadow: var(--sh-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all var(--t);
	z-index: 20;
}

.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 9px;
	color: var(--c-ink-2);
	font-size: 14px;
}

.primary-nav .sub-menu a:hover {
	color: var(--c-brand);
	background: var(--c-surface-2);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.search-form {
	position: relative;
	display: flex;
	align-items: center;
}

.search-form__input {
	width: 240px;
	height: 42px;
	padding: 0 46px 0 16px;
	border-radius: 999px;
	border: 1px solid var(--c-line-2);
	background: var(--c-surface);
	color: var(--c-ink);
	font-size: 14.5px;
	transition: all var(--t);
}

.search-form__input::placeholder {
	color: var(--c-ink-3);
}

.search-form__input:focus {
	outline: none;
	width: 300px;
	border-color: rgba(37, 99, 235, .5);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.search-form__submit {
	position: absolute;
	right: 5px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--grad-brand);
	color: #fff;
	font-size: 16px;
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--c-line-2);
	font-size: 20px;
}

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 86vw);
	padding: 20px;
	background: var(--c-surface);
	box-shadow: var(--sh-3);
	overflow-y: auto;
	animation: slideIn .28s cubic-bezier(.22, .61, .36, 1);
}

@keyframes slideIn {
	from {
		transform: translateX(24px);
		opacity: .6;
	}
}

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	font-weight: 700;
}

.mobile-nav__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--c-surface-2);
	font-size: 18px;
}

.mobile-nav .search-form {
	margin-bottom: 18px;
}

.mobile-nav .search-form__input,
.mobile-nav .search-form__input:focus {
	width: 100%;
}

.mobile-menu,
.mobile-nav .menu {
	list-style: none;
}

.mobile-menu > li > a,
.mobile-nav .menu > li > a {
	display: block;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
}

.mobile-menu .sub-menu,
.mobile-nav .sub-menu {
	list-style: none;
	padding: 6px 0 10px 14px;
}

.mobile-menu .sub-menu a,
.mobile-nav .sub-menu a {
	display: block;
	padding: 8px 0;
	font-size: 14.5px;
	color: var(--c-ink-2);
}

.mobile-nav__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--c-line);
	font-size: 13.5px;
}

.mobile-nav__mask {
	position: absolute;
	inset: 0;
	background: rgba(7, 13, 26, .45);
	z-index: -1;
}

/* ---------- 4. 首页 ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 64px;
	background: radial-gradient(1200px 520px at 50% -10%, #16233c 0%, var(--c-dark) 60%);
	color: #fff;
}

.hero__glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 300px at 12% 10%, rgba(56, 189, 248, .22), transparent 70%),
		radial-gradient(560px 320px at 88% 12%, rgba(168, 85, 247, .18), transparent 70%),
		linear-gradient(180deg, transparent 60%, rgba(7, 13, 26, .6));
	pointer-events: none;
}

.hero__glow::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
	mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
}

.hero__inner {
	position: relative;
	text-align: center;
	z-index: 2;
}

.hero__eyebrow {
	display: inline-block;
	margin-bottom: 20px;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
	font-size: 13.5px;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
}

.hero__title {
	font-size: clamp(32px, 5.4vw, 58px);
	line-height: 1.16;
	color: #fff;
	letter-spacing: -.02em;
}

.hero__title .grad {
	background: var(--grad-hero);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__lead {
	max-width: 720px;
	margin: 20px auto 0;
	color: rgba(255, 255, 255, .74);
	font-size: 16.5px;
	line-height: 1.85;
}

.hero__search {
	max-width: 520px;
	margin: 32px auto 0;
}

.hero__search .search-form__input {
	width: 100%;
	height: 52px;
	padding-left: 22px;
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .22);
	color: #fff;
	font-size: 15.5px;
}

.hero__search .search-form__input::placeholder {
	color: rgba(255, 255, 255, .6);
}

.hero__search .search-form__input:focus {
	width: 100%;
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .45);
}

.hero__search .search-form__submit {
	right: 8px;
	width: 38px;
	height: 38px;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 760px;
	margin: 44px auto 0;
	list-style: none;
}

.hero__stats li {
	padding: 16px 12px;
	border-radius: var(--r-md);
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .05);
}

.hero__stats strong {
	display: block;
	font-size: 24px;
	color: #fff;
	letter-spacing: -.01em;
}

.hero__stats span {
	font-size: 12.5px;
	color: rgba(255, 255, 255, .62);
}

.section-block {
	padding: 64px 0 8px;
}

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

.section-head h2 {
	font-size: clamp(22px, 3vw, 30px);
}

.section-head p {
	margin-top: 8px;
	color: var(--c-ink-2);
	font-size: 15px;
}

.section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.section-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.section-grid--compact {
	gap: 14px;
	margin-top: 24px;
}

.sec-card {
	position: relative;
	padding: 28px 26px 22px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
	overflow: hidden;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.sec-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--sec);
}

.sec-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sh-3);
	border-color: transparent;
}

.sec-card__link {
	display: block;
	color: inherit;
}

.sec-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--sec-soft);
	color: var(--sec-ink);
	font-size: 24px;
	margin-bottom: 16px;
}

.sec-card__en {
	font-size: 11.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-ink-3);
}

.sec-card__title {
	margin: 6px 0 10px;
	font-size: 24px;
}

.sec-card__desc {
	color: var(--c-ink-2);
	font-size: 14.5px;
	line-height: 1.8;
	min-height: 78px;
}

.sec-card__count {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sec-ink);
}

.sec-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--c-line-2);
}

.sec-card__tags a {
	font-size: 13px;
	color: var(--c-ink-2);
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--c-surface-2);
}

.sec-card__tags a:hover {
	color: var(--c-brand);
}

.sec-mini {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 20px;
	border-radius: var(--r-md);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	color: var(--c-ink);
	font-weight: 600;
	box-shadow: var(--sh-1);
}

.sec-mini:hover {
	color: var(--c-brand);
	transform: translateY(-2px);
	box-shadow: var(--sh-2);
}

.featured {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 24px;
}

.featured__list {
	padding: 8px 22px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
}

.post-list {
	list-style: none;
}

.post-list--sm .mini-item__link {
	padding: 12px 0;
}

.mini-item + .mini-item {
	border-top: 1px dashed var(--c-line);
}

.mini-item__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 15px 0;
	color: var(--c-ink);
}

.mini-item__title {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mini-item__link:hover .mini-item__title {
	color: var(--c-brand);
}

.mini-item__meta {
	font-size: 12.5px;
	color: var(--c-ink-3);
}

.col-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.col-block {
	padding: 22px 22px 12px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
}

.col-block__title {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 14px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--c-line);
	font-size: 17px;
}

.col-block__more {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sec);
	flex: 0 0 auto;
}

.dot--pv {
	background: #f59e0b;
}

.dot--ess {
	background: #10b981;
}

.dot--charge {
	background: #3b82f6;
}

.dot--smart-om {
	background: #8b5cf6;
}

.cta-band {
	margin-top: 72px;
	padding: 46px 0;
	background: radial-gradient(900px 280px at 20% 0%, #16233c, var(--c-dark));
	color: #fff;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

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

.cta-band p {
	margin-top: 8px;
	color: rgba(255, 255, 255, .72);
	max-width: 620px;
}

/* ---------- 5. 列表与卡片 ---------- */
.page-head {
	position: relative;
	padding: 40px 0 34px;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-line);
	overflow: hidden;
}

.page-head--section {
	background:
		radial-gradient(760px 320px at 12% 0%, var(--sec-strong), transparent 72%),
		linear-gradient(140deg, #0e1a2f, #0a1220);
	color: #fff;
	border-bottom: 0;
}

.page-head--section .crumbs,
.page-head--section .crumbs a,
.page-head--section .crumbs li[aria-current] {
	color: rgba(255, 255, 255, .78);
}

.page-head--section .crumbs a:hover {
	color: #fff;
}

.page-head__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 260px at 85% 10%, rgba(255, 255, 255, .18), transparent 70%);
	pointer-events: none;
}

.page-head .container {
	position: relative;
	z-index: 1;
}

.page-head__eyebrow {
	margin-top: 16px;
	font-size: 12.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-ink-3);
}

.page-head--section .page-head__eyebrow {
	color: rgba(255, 255, 255, .82);
}

.page-head__title {
	margin-top: 10px;
	font-size: clamp(26px, 4vw, 40px);
}

.page-head--section .page-head__title {
	color: #fff;
}

.page-head__lead {
	margin-top: 12px;
	max-width: 780px;
	color: var(--c-ink-2);
	font-size: 15.5px;
	line-height: 1.85;
}

.page-head--section .page-head__lead {
	color: rgba(255, 255, 255, .82);
}

.page-head__count {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--c-ink-3);
}

.page-head--section .page-head__count {
	color: rgba(255, 255, 255, .7);
}

.page-head__count strong {
	color: var(--c-ink);
	font-size: 15px;
}

.page-head--section .page-head__count strong {
	color: #fff;
}

.page-head__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.page-head__search {
	max-width: 520px;
	margin-top: 20px;
}

.page-head__search .search-form__input,
.page-head__search .search-form__input:focus {
	width: 100%;
}

.crumbs {
	margin-bottom: 4px;
	font-size: 13px;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
}

.crumbs li {
	color: var(--c-ink-3);
}

.crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--c-line-2);
}

.crumbs a {
	color: var(--c-ink-2);
}

.crumbs a:hover {
	color: var(--c-brand);
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
	padding: 48px 24px 72px;
	align-items: start;
}

.layout__main {
	min-width: 0;
}

.layout__aside {
	display: grid;
	gap: 22px;
	position: sticky;
	top: 100px;
	align-content: start;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.card-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh-1);
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sh-3);
	border-color: transparent;
}

.card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--c-surface-2);
	overflow: hidden;
}

.card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.card:hover .card__thumb img {
	transform: scale(1.04);
}

.card__thumb-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(140deg, var(--sec-soft), var(--sec-soft-2));
	color: var(--sec-ink);
	font-size: 44px;
}

.card--hero .card__thumb {
	aspect-ratio: 21 / 9;
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 22px 18px;
	flex: 1;
}

.card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12.5px;
	color: var(--c-ink-3);
}

.card__title {
	font-size: 17.5px;
	line-height: 1.55;
}

.card__title a {
	color: var(--c-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card__title a:hover {
	color: var(--c-brand);
}

.card__title--lg {
	font-size: clamp(20px, 2.6vw, 27px);
	line-height: 1.45;
}

.card__title--lg a {
	-webkit-line-clamp: 3;
}

.card__excerpt {
	color: var(--c-ink-2);
	font-size: 14.5px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--c-line);
	font-size: 13px;
	color: var(--c-ink-3);
}

/* ---------- 6. 文章详情 ---------- */
.entry {
	padding-bottom: 72px;
}

.entry__head {
	padding-top: 40px;
}

.entry__head--page {
	padding-bottom: 10px;
}

.entry__meta-top {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.entry__title {
	margin-top: 16px;
	font-size: clamp(26px, 4.2vw, 42px);
	line-height: 1.28;
	letter-spacing: -.02em;
}

.entry__standfirst {
	margin-top: 16px;
	max-width: 820px;
	padding-left: 16px;
	border-left: 3px solid var(--sec);
	color: var(--c-ink-2);
	font-size: 16px;
	line-height: 1.85;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--c-line);
	font-size: 13.5px;
	color: var(--c-ink-3);
}

.layout--entry {
	padding-top: 32px;
}

/* 文章主图：与板块横幅一致的圆角与大投影。 */
.entry__figure {
	margin: 26px 0 0;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--c-surface-2);
	box-shadow: var(--sh-3);
}

.entry__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.entry__content {
	font-size: 16.5px;
	line-height: 1.95;
	color: var(--c-ink);
}

.entry__content > * + * {
	margin-top: 20px;
}

.entry__content h2 {
	margin-top: 46px;
	padding-left: 16px;
	font-size: clamp(20px, 2.6vw, 26px);
	position: relative;
}

.entry__content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: .28em;
	bottom: .28em;
	width: 4px;
	border-radius: 4px;
	background: var(--sec);
}

.entry__content h3 {
	margin-top: 34px;
	font-size: 19px;
}

.entry__content h4 {
	margin-top: 26px;
	font-size: 17px;
	color: var(--c-ink-2);
}

.entry__content p {
	color: #1d2637;
}

.entry__content strong {
	font-weight: 700;
}

.entry__content a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.entry__content ul,
.entry__content ol {
	padding-left: 4px;
	list-style: none;
}

.entry__content li {
	position: relative;
	padding-left: 26px;
	color: #1d2637;
}

.entry__content li + li {
	margin-top: 10px;
}

.entry__content ul > li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: .72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sec);
}

.entry__content ol {
	counter-reset: xny-ol;
}

.entry__content ol > li {
	counter-increment: xny-ol;
}

.entry__content ol > li::before {
	content: counter(xny-ol);
	position: absolute;
	left: 0;
	top: .34em;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--sec-soft);
	color: var(--sec-ink);
	font-size: 12px;
	font-weight: 700;
}

.entry__content blockquote {
	margin: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--c-line-2);
	background: var(--c-surface);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	color: var(--c-ink-2);
}

.entry__content code {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--c-surface-2);
	color: #0f172a;
	font-family: var(--font-mono);
	font-size: .92em;
}

.entry__content pre {
	padding: 18px 20px;
	border-radius: var(--r-md);
	background: #0d1526;
	color: #e2e8f0;
	overflow-x: auto;
}

.entry__content pre code {
	background: none;
	color: inherit;
	padding: 0;
}

.entry__content img {
	border-radius: var(--r-md);
	box-shadow: var(--sh-2);
}

.entry__content figure {
	margin: 26px 0;
}

.entry__content figcaption {
	margin-top: 10px;
	text-align: center;
	font-size: 13.5px;
	color: var(--c-ink-3);
}

.entry__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: var(--c-surface);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
	display: block;
	overflow-x: auto;
}

.entry__content th,
.entry__content td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
	min-width: 120px;
}

.entry__content thead th {
	background: var(--c-surface-2);
	font-size: 14px;
	white-space: nowrap;
}

.entry__content tbody tr:last-child td {
	border-bottom: 0;
}

.entry__content hr {
	margin: 38px 0;
	border: 0;
	border-top: 1px dashed var(--c-line-2);
}

.entry__content--page h2::before {
	background: var(--c-brand);
}

.entry__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 40px 0 28px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
}

.entry__tags-label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--c-ink-3);
}

.related {
	margin-top: 44px;
}

.related__title {
	margin-bottom: 20px;
	font-size: 21px;
}

.entry__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.entry__nav-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border-radius: var(--r-md);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	color: var(--c-ink);
	box-shadow: var(--sh-1);
}

.entry__nav-item span {
	font-size: 12.5px;
	color: var(--c-ink-3);
}

.entry__nav-item strong {
	font-size: 15px;
	line-height: 1.6;
}

.entry__nav-item:hover {
	border-color: rgba(37, 99, 235, .3);
	box-shadow: var(--sh-2);
}

.entry__nav-item--next {
	text-align: right;
}

/* ---------- 7. 侧栏与目录 ---------- */
.sidebar {
	display: grid;
	gap: 22px;
	align-content: start;
}

.widget {
	padding: 22px 22px 20px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
}

.widget__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 16px;
}

.widget__empty {
	font-size: 14px;
	color: var(--c-ink-3);
}

.hot-list {
	list-style: none;
}

.hot-list li + li {
	border-top: 1px dashed var(--c-line);
}

.hot-list a {
	display: block;
	padding: 12px 0 4px;
	color: var(--c-ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.65;
}

.hot-list a:hover {
	color: var(--c-brand);
}

.hot-list__meta {
	display: block;
	padding-bottom: 12px;
	font-size: 12px;
	color: var(--c-ink-3);
}

.widget--cta {
	background: radial-gradient(400px 200px at 100% 0%, #1b2942, var(--c-dark));
	border-color: transparent;
	color: #fff;
}

.widget--cta .widget__title {
	color: #fff;
}

.widget--cta p {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .74);
}

.widget--cta .btn {
	width: 100%;
}

.toc {
	position: relative;
	padding: 20px 22px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
}

.toc--sticky {
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}

.toc__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 15px;
}

.toc__list {
	list-style: none;
}

.toc__item a {
	display: block;
	padding: 7px 0 7px 12px;
	border-left: 2px solid var(--c-line);
	color: var(--c-ink-2);
	font-size: 14px;
	line-height: 1.65;
}

.toc__item--h3 a {
	padding-left: 26px;
	font-size: 13.5px;
	color: var(--c-ink-3);
}

.toc__item a:hover,
.toc__item a.is-active {
	color: var(--c-brand);
	border-left-color: var(--c-brand);
}

.toc__item a.is-active {
	font-weight: 600;
}

.toc--mobile {
	display: none;
	margin: 24px 0 8px;
}

.toc--mobile summary {
	cursor: pointer;
	font-weight: 700;
	padding: 4px 0;
}

.toc--mobile .toc__list {
	margin-top: 10px;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
	background: var(--c-dark);
	color: rgba(255, 255, 255, .68);
	font-size: 14px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
	gap: 36px 44px;
	padding: 56px 24px 40px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: #fff;
	font-size: 17px;
}

.footer-col p {
	line-height: 1.9;
}

.footer-col__tagline {
	margin-bottom: 0;
	color: rgba(255, 255, 255, .62);
}

.footer-col__note {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: var(--r-sm);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--c-dark-line);
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .6);
}

.footer-col__contact {
	margin-top: 12px;
}

.footer-col h3 {
	margin-bottom: 16px;
	font-size: 15px;
	color: #fff;
}

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

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

.footer-col a {
	color: rgba(255, 255, 255, .68);
}

.footer-col a:hover {
	color: #fff;
}

.site-footer__bottom {
	border-top: 1px solid var(--c-dark-line);
}

.site-footer__bottom-inner {
	display: grid;
	gap: 10px;
	padding: 22px 24px 26px;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
	text-align: center;
}

/* 合规链接行在上，版权与备案行在最下面，各自居中 */
.footer-bottom__copy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0;
}

.footer-bottom__dot {
	color: rgba(255, 255, 255, .3);
}

/* 链接之间用细分隔线，比间隔点更整齐，也不会多出可点击区域 */
.footer-bottom__links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.footer-bottom__links a + a {
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, .16);
}

.site-footer__bottom a {
	color: rgba(255, 255, 255, .68);
}

.site-footer__bottom a:hover {
	color: #fff;
}

.to-top {
	position: fixed;
	right: 24px;
	bottom: 28px;
	z-index: 80;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--c-ink);
	color: #fff;
	font-size: 18px;
	box-shadow: var(--sh-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--t);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--c-brand);
	color: #fff;
}

/* WordPress 核心类适配 */
.alignwide {
	margin-left: -40px;
	margin-right: -40px;
	max-width: 900px;
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

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

.wp-caption-text,
.gallery-caption {
	font-size: 13.5px;
	color: var(--c-ink-3);
	text-align: center;
}

.sticky .card__title::after {
	content: "置顶";
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(37, 99, 235, .12);
	color: var(--c-brand);
	font-size: 11.5px;
	font-weight: 700;
	vertical-align: middle;
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1180px) {
	.search-form__input {
		width: 180px;
	}

	.search-form__input:focus {
		width: 220px;
	}
}

@media (max-width: 1080px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 36px;
	}

	.layout__aside,
	.sidebar,
	.toc--sticky {
		display: none;
	}

	.toc--mobile {
		display: block;
	}

	.featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.col-grid,
	.section-grid,
	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	/* 品牌列独占一整行，四个板块栏目按 2×2 排布 */
	.footer-col--brand {
		grid-column: 1 / -1;
	}

	.sec-card__desc {
		min-height: 0;
	}
}

@media (max-width: 860px) {
	.primary-nav,
	.header-actions .search-form {
		display: none;
	}

	.nav-toggle {
		display: grid;
	}

	.site-header__inner {
		min-height: 78px;
		gap: 16px;
	}

	/* 主导航隐藏后，入口按钮靠右对齐，与右侧留白形成平衡。 */
	.header-actions {
		margin-left: auto;
	}

	/* 品牌区允许收缩，避免副标题过长撑出横向滚动。 */
	.brand,
	.brand__link,
	.brand__text {
		min-width: 0;
	}

	.brand__text em {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.hero {
		padding: 52px 0 46px;
	}

	.hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.entry__nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.container {
		padding: 0 18px;
	}

	.layout {
		padding: 32px 18px 56px;
	}

	.section-block {
		padding: 46px 0 4px;
	}

	.col-grid,
	.section-grid,
	.section-grid--compact,
	.card-grid,
	.card-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	/* 移动端栏目按两列排布，避免页脚被拉得过长 */
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
		padding: 40px 18px 28px;
	}

	.site-footer__bottom-inner {
		gap: 8px;
		padding: 20px 18px 24px;
	}

	.entry__content {
		font-size: 16px;
	}

	.entry__meta {
		gap: 12px;
	}

	.to-top {
		right: 16px;
		bottom: 18px;
	}

	.card__body {
		padding: 18px;
	}

	/* 手机端副标题过长会挤占页头空间，仅保留站名。 */
	.brand__text em {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- 10. 深色模式 ---------- */
@media (prefers-color-scheme: dark) {
	:root {
		--c-bg: #070d1a;
		--c-surface: #0d1526;
		--c-surface-2: #131d33;
		--c-ink: #eef2f8;
		--c-ink-2: #a6b1c4;
		--c-ink-3: #7f8b9f;
		--c-line: #1c2740;
		--c-line-2: #26334f;
		--sh-1: 0 1px 2px rgba(0, 0, 0, .3);
		--sh-2: 0 6px 20px rgba(0, 0, 0, .35);
		--sh-3: 0 16px 44px rgba(0, 0, 0, .45);
	}

	body.section-pv,
	.sec-card--pv {
		--sec-ink: #fcd34d;
	}

	body.section-ess,
	.sec-card--ess {
		--sec-ink: #6ee7b7;
	}

	body.section-charge,
	.sec-card--charge {
		--sec-ink: #93c5fd;
	}

	body.section-smart-om,
	.sec-card--smart-om {
		--sec-ink: #c4b5fd;
	}

	:root {
		--sec-ink: #a5b4fc;
	}

	a:hover {
		color: #93c5fd;
	}

	.site-header {
		background: rgba(7, 13, 26, .88);
	}

	.entry__content p,
	.entry__content li {
		color: #cfd8e6;
	}

	.entry__content code {
		color: #e2e8f0;
	}

	.card__thumb-fallback {
		color: var(--sec-ink);
	}

	.pager .page-numbers.current {
		background: var(--c-brand);
		border-color: var(--c-brand);
	}

	.to-top {
		background: var(--c-surface-2);
		color: var(--c-ink);
	}

	.notice--warn {
		background: linear-gradient(180deg, rgba(245, 158, 11, .12), rgba(245, 158, 11, .03));
	}

	.notice--warn .notice__icon {
		color: #fcd34d;
	}
}

/* ---------- 11. 企业展示 ---------- */
.company-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
	gap: 20px;
}

.company-grid--page {
	grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
	gap: 24px;
}

.company-card {
	display: flex;
	flex-direction: column;
	padding: 22px 20px 18px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	text-align: center;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.company-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sh-3);
	border-color: transparent;
}

.company-card__logo {
	display: grid;
	place-items: center;
	height: 92px;
	margin-bottom: 16px;
	padding: 10px;
	border-radius: var(--r-md);
	background: var(--c-surface-2);
	overflow: hidden;
}

.company-card__logo a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.company-card__logo img {
	max-width: 100%;
	max-height: 64px;
	width: auto;
	object-fit: contain;
	transition: transform var(--t);
}

.company-card:hover .company-card__logo img {
	transform: scale(1.05);
}

.company-card__monogram {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	color: #fff;
	font-size: 23px;
	font-weight: 700;
	letter-spacing: .02em;
	box-shadow: 0 6px 16px rgba(13, 21, 38, .16);
}

.company-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.company-card__name {
	font-size: 16.5px;
	line-height: 1.5;
}

.company-card__name a {
	color: var(--c-ink);
}

.company-card__name a:hover {
	color: var(--c-brand);
}

.company-card__types {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.company-card__license {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(37, 99, 235, .08);
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.company-card__license .xny-icon {
	width: 1em;
	height: 1em;
}

.company-card__desc {
	color: var(--c-ink-3);
	font-size: 13.5px;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.company-card__actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--c-line);
}

.company-card__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.company-card__btn .xny-icon {
	width: 1em;
	height: 1em;
}

.company-card__btn--site {
	background: var(--grad-brand);
	color: #fff;
	box-shadow: 0 4px 12px rgba(37, 99, 235, .24);
}

.company-card__btn--site:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}

.company-card__btn--site .xny-icon {
	transition: transform var(--t);
}

.company-card__btn--site:hover .xny-icon {
	transform: translateX(3px);
}

.company-card__btn--contact {
	background: var(--c-surface);
	border: 1px solid var(--c-line-2);
	color: var(--c-ink-2);
}

.company-card__btn--contact:hover {
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .4);
	background: var(--c-surface-2);
}

.company-card__empty {
	font-size: 13px;
	color: var(--c-ink-3);
}

.company-footnote {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 26px;
	padding: 20px 24px;
	border-radius: var(--r-lg);
	background: var(--c-surface);
	border: 1px dashed var(--c-line-2);
}

.company-footnote p {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--c-ink-2);
	font-size: 13.5px;
	line-height: 1.8;
}

.company-footnote .xny-icon {
	margin-top: 3px;
	color: var(--c-brand);
	font-size: 17px;
}

.company-footnote strong {
	color: var(--c-ink);
}

.company-footnote .btn {
	flex: 0 0 auto;
}

.page-head--company {
	background:
		radial-gradient(760px 320px at 15% 0%, rgba(56, 189, 248, .28), transparent 72%),
		linear-gradient(140deg, #0e1a2f, #0a1220);
	color: #fff;
	border-bottom: 0;
}

.page-head--company .crumbs,
.page-head--company .crumbs a,
.page-head--company .crumbs li[aria-current] {
	color: rgba(255, 255, 255, .78);
}

.page-head--company .crumbs a:hover {
	color: #fff;
}

.page-head--company .page-head__eyebrow {
	color: rgba(255, 255, 255, .82);
}

.page-head--company .page-head__title {
	color: #fff;
}

.page-head--company .page-head__lead,
.page-head--company .page-head__count {
	color: rgba(255, 255, 255, .82);
}

.page-head--company .page-head__count strong {
	color: #fff;
}

/* 企业详情页 */
.company-single {
	padding-bottom: 72px;
}

.company-single__head {
	padding-top: 40px;
}

.company-single__top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 20px;
}

.company-single__logo {
	display: grid;
	place-items: center;
	width: 124px;
	height: 124px;
	padding: 14px;
	border-radius: 26px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	box-shadow: var(--sh-1);
	flex: 0 0 auto;
}

.company-single__logo img {
	max-width: 100%;
	max-height: 92px;
	object-fit: contain;
}

.company-single__logo .company-card__monogram {
	width: 74px;
	height: 74px;
	border-radius: 20px;
	font-size: 30px;
}

.company-single__title {
	font-size: clamp(24px, 3.6vw, 36px);
}

.company-single__types {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.company-single__license {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: var(--c-ink-2);
	font-size: 14.5px;
}

.layout--company {
	padding-top: 34px;
}

.widget__note {
	margin-top: 14px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--c-ink-3);
}

.mini-list {
	list-style: none;
}

.mini-list li {
	padding: 9px 0;
	border-bottom: 1px dashed var(--c-line);
	font-size: 14.5px;
	line-height: 1.6;
}

.mini-list li:last-child {
	border-bottom: 0;
}

.mini-list a {
	color: var(--c-ink);
	font-weight: 600;
}

.mini-list a:hover {
	color: var(--c-brand);
}

/* ---------- 12. 联系信息弹窗 ---------- */
.modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.modal[hidden] {
	display: none;
}

.modal__mask {
	position: absolute;
	inset: 0;
	background: rgba(7, 13, 26, .62);
	backdrop-filter: blur(3px);
}

.modal__panel {
	position: relative;
	width: min(460px, 100%);
	max-height: 86vh;
	overflow-y: auto;
	background: var(--c-surface);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
	animation: xnyModalIn .26s cubic-bezier(.22, .61, .36, 1);
}

@keyframes xnyModalIn {
	from {
		opacity: .5;
		transform: translateY(14px) scale(.98);
	}
}

.modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--c-line);
}

.modal__head strong {
	font-size: 16px;
}

.modal__close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--c-surface-2);
	color: var(--c-ink-2);
	font-size: 18px;
}

.modal__close:hover {
	color: var(--c-ink);
	background: var(--c-line);
}

.modal__body {
	padding: 18px 20px 22px;
}

.contact-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.contact-card__logo {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 5px;
	border-radius: 15px;
	background: var(--c-surface-2);
	overflow: hidden;
	flex: 0 0 auto;
}

.contact-card__logo img {
	max-width: 100%;
	max-height: 44px;
	object-fit: contain;
}

.contact-card__logo .company-card__monogram {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	font-size: 18px;
}

.contact-card__name {
	display: block;
	font-size: 16px;
	line-height: 1.5;
}

.contact-card__license {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--c-ink-3);
}

.contact-card__list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.contact-card__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 12px;
	background: var(--c-surface-2);
	font-size: 14.5px;
}

.contact-card__label {
	flex: 0 0 auto;
	min-width: 62px;
	color: var(--c-ink-3);
	font-size: 12.5px;
}

.contact-card__value {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	word-break: break-all;
}

.copy-btn {
	flex: 0 0 auto;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--c-line-2);
	background: var(--c-surface);
	color: var(--c-brand);
	font-size: 12.5px;
	font-weight: 700;
}

.copy-btn:hover {
	border-color: rgba(37, 99, 235, .45);
}

.copy-btn.is-copied {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}

.contact-card .btn {
	width: 100%;
	justify-content: center;
}

.contact-card__note {
	margin-top: 14px;
	color: var(--c-ink-3);
	font-size: 12.5px;
	line-height: 1.75;
}

.contact-card__list--plain .contact-card__row {
	background: transparent;
	border: 1px dashed var(--c-line-2);
}

.widget--company-contact .btn {
	width: 100%;
	margin-top: 16px;
}

body.xny-modal-open {
	overflow: hidden;
}

/* ---------- 13. 移动端细化 ---------- */
@media (max-width: 900px) {
	.company-grid,
	.company-grid--page {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.company-footnote {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.section-head--row {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.section-head h2 {
		font-size: 21px;
	}

	.section-head p {
		font-size: 14px;
	}

	.hero {
		padding: 44px 0 40px;
	}

	.hero__eyebrow {
		font-size: 12.5px;
		padding: 5px 13px;
	}

	.hero__lead {
		font-size: 15px;
		line-height: 1.8;
	}

	.hero__stats {
		margin-top: 32px;
	}

	.hero__stats li {
		padding: 12px 8px;
	}

	.hero__stats strong {
		font-size: 20px;
	}

	.hero__stats span {
		font-size: 11.5px;
	}

	.page-head {
		padding: 28px 0 26px;
	}

	.page-head__lead {
		font-size: 14.5px;
	}

	.entry__head {
		padding-top: 28px;
	}

	.entry__title {
		font-size: 25px;
		line-height: 1.34;
	}

	.entry__standfirst {
		font-size: 15px;
		padding-left: 12px;
	}

	.entry__meta {
		gap: 10px 16px;
		font-size: 12.5px;
	}

	.entry__content {
		line-height: 1.9;
	}

	.entry__content h2 {
		margin-top: 34px;
		padding-left: 13px;
		font-size: 20px;
	}

	.entry__content h3 {
		margin-top: 26px;
		font-size: 17.5px;
	}

	.card__excerpt {
		-webkit-line-clamp: 2;
	}

	.card__foot {
		font-size: 12.5px;
	}

	.crumbs {
		font-size: 12px;
	}

	.notice {
		padding: 15px 16px;
		gap: 11px;
	}

	.notice__body p {
		font-size: 13.5px;
	}

	.toc--mobile {
		padding: 16px 18px;
	}

	.pager .page-numbers {
		min-width: 38px;
		height: 38px;
		border-radius: 10px;
		font-size: 14px;
	}

	.tag-chip {
		padding: 7px 14px;
		font-size: 13.5px;
	}

	.btn {
		padding: 11px 20px;
		font-size: 14.5px;
	}

	.cta-band {
		margin-top: 52px;
		padding: 36px 0;
	}

	.cta-band .btn {
		width: 100%;
		justify-content: center;
	}

	.to-top {
		width: 42px;
		height: 42px;
	}

	/* 企业展示：两列 LOGO 墙，按钮整行不拥挤 */
	.company-card {
		padding: 14px 13px 13px;
		border-radius: var(--r-md);
	}

	.company-card__logo {
		height: 68px;
		margin-bottom: 12px;
		padding: 8px;
		border-radius: var(--r-sm);
	}

	.company-card__logo img {
		max-height: 48px;
	}

	.company-card__monogram {
		width: 44px;
		height: 44px;
		border-radius: 14px;
		font-size: 19px;
	}

	.company-card__name {
		font-size: 14.5px;
	}

	.company-card__license {
		font-size: 11.5px;
		padding: 2px 9px;
	}

	.company-card__desc {
		font-size: 12.5px;
		-webkit-line-clamp: 2;
	}

	.company-card__actions {
		flex-direction: column;
		gap: 8px;
		margin-top: 13px;
		padding-top: 13px;
	}

	.company-card__btn {
		width: 100%;
		min-height: 42px;
		font-size: 13px;
	}

	.company-footnote {
		padding: 16px 18px;
	}

	.company-footnote .btn {
		width: 100%;
		justify-content: center;
	}

	.company-single__head {
		padding-top: 26px;
	}

	.company-single__top {
		gap: 16px;
	}

	.company-single__logo {
		width: 92px;
		height: 92px;
		padding: 10px;
		border-radius: 20px;
	}

	.company-single__logo img {
		max-height: 64px;
	}

	.company-single__logo .company-card__monogram {
		width: 56px;
		height: 56px;
		border-radius: 16px;
		font-size: 24px;
	}

	/* 移动端弹窗改为底部抽屉，拇指可达 */
	.modal {
		align-items: flex-end;
		padding: 0;
	}

	.modal__panel {
		width: 100%;
		max-height: 88vh;
		border-radius: var(--r-lg) var(--r-lg) 0 0;
		animation: xnySheetIn .28s cubic-bezier(.22, .61, .36, 1);
	}

	.modal__head {
		padding: 15px 18px 13px;
	}

	.modal__body {
		padding: 16px 18px calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.contact-card__row {
		flex-wrap: wrap;
		gap: 8px 10px;
	}

	.contact-card__label {
		min-width: 0;
		width: 100%;
	}

	.contact-card__list--plain .contact-card__value {
		font-size: 15px;
	}
}

@keyframes xnySheetIn {
	from {
		transform: translateY(24px);
		opacity: .6;
	}
}

@media (max-width: 380px) {
	.company-grid,
	.company-grid--page {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- 14. 深色模式补充（企业展示与弹窗） ---------- */
@media (prefers-color-scheme: dark) {
	.company-card__logo,
	.contact-card__logo {
		background: var(--c-surface-2);
	}

	.company-card__license {
		background: rgba(56, 189, 248, .16);
		color: #7dd3fc;
	}

	.company-footnote {
		border-color: var(--c-line-2);
	}

	.modal__mask {
		background: rgba(0, 0, 0, .72);
	}

	.copy-btn {
		color: #93c5fd;
	}

	.company-card__btn--contact {
		color: var(--c-ink-2);
	}

	.company-card__btn--contact:hover {
		color: #93c5fd;
	}
}

/* ---------- 15. 文章分享 ---------- */
.share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 16px 18px;
	border-radius: var(--r-md);
	background: var(--c-surface-2);
	border: 1px solid var(--c-line);
}

/* 无标签时分享条直接跟在正文后，单独补上间距。 */
.entry__content + .share-bar {
	margin-top: 36px;
}

.share-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--c-ink-2);
}

.share-bar__label .xny-icon {
	color: var(--sec);
}

.share-bar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	padding: 7px 15px;
	border-radius: 999px;
	border: 1px solid var(--c-line-2);
	background: var(--c-surface);
	color: var(--c-ink-2);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	transition: color var(--t), background var(--t), border-color var(--t), transform var(--t);
}

.share-btn:hover {
	color: var(--c-brand);
	border-color: rgba(37, 99, 235, .45);
	transform: translateY(-1px);
}

.share-btn--wechat:hover {
	color: #16a34a;
	border-color: rgba(22, 163, 74, .45);
}

.share-btn.is-copied {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}

.share-bar__tip {
	flex: 1 0 100%;
	margin: 0;
	padding-top: 12px;
	border-top: 1px dashed var(--c-line-2);
	color: var(--c-ink-3);
	font-size: 13px;
	line-height: 1.85;
}

@media (max-width: 640px) {
	.share-bar {
		gap: 10px;
		padding: 14px 15px;
	}

	.share-bar__actions {
		margin-left: 0;
	}

	.share-btn {
		padding: 7px 13px;
	}
}

@media (prefers-color-scheme: dark) {
	.share-bar {
		border-color: var(--c-line-2);
	}

	.share-btn:hover {
		color: #93c5fd;
		border-color: rgba(147, 197, 253, .45);
	}
}

/* ---------- 16. 栏目/归档页横幅与列表排版 ---------- */

/* 板块色数字横幅：深色底 + 板块色光晕 + 细网格纹理。 */
.sec-hero {
	position: relative;
	padding: 26px 0 0;
	background:
		radial-gradient(820px 360px at 6% -18%, var(--sec-strong), transparent 70%),
		radial-gradient(620px 300px at 96% -10%, rgba(56, 189, 248, .26), transparent 72%),
		linear-gradient(152deg, #101e38 0%, #070d1a 68%);
	color: #fff;
	border-radius: 0 0 28px 28px;
	overflow: hidden;
}

.sec-hero--brand {
	background:
		radial-gradient(820px 360px at 6% -18%, rgba(99, 102, 241, .42), transparent 70%),
		radial-gradient(620px 300px at 96% -10%, rgba(56, 189, 248, .3), transparent 72%),
		linear-gradient(152deg, #101e38 0%, #070d1a 68%);
}

.sec-hero__glow {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 76%);
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 76%);
	pointer-events: none;
}

.sec-hero__inner {
	position: relative;
	z-index: 1;
	padding-bottom: 28px;
}

.sec-hero .crumbs,
.sec-hero .crumbs a,
.sec-hero .crumbs li,
.sec-hero .crumbs li[aria-current] {
	color: rgba(255, 255, 255, .72);
}

.sec-hero .crumbs a:hover {
	color: #fff;
}

.sec-hero .crumbs li + li::before {
	color: rgba(255, 255, 255, .32);
}

.sec-hero__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	margin-top: 20px;
}

.sec-hero__text {
	min-width: 0;
}

.sec-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .66);
}

.sec-hero__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--sec-soft);
	border: 1px solid var(--sec-strong);
	color: #fff;
	font-size: 19px;
}

.sec-hero__title {
	margin-top: 16px;
	font-size: clamp(27px, 3.6vw, 42px);
	line-height: 1.22;
	letter-spacing: .01em;
	color: #fff;
}

.sec-hero__lead {
	margin-top: 14px;
	max-width: 660px;
	font-size: 15.5px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .8);
}

.sec-hero__stats {
	display: flex;
	flex: 0 0 auto;
	gap: 14px;
	/* 基础重置只清了 padding，没有清项目符号，这里必须显式去掉。 */
	list-style: none;
}

.sec-hero__stats li {
	min-width: 112px;
	padding: 15px 18px;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .13);
	text-align: center;
}

.sec-hero__stats strong {
	display: block;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
}

.sec-hero__stats span {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .64);
}

/* 栏目胶囊导航：与上方数据区分隔，横向可滚动。 */
.sec-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.sec-nav__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .15);
	color: rgba(255, 255, 255, .86);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: all var(--t);
}

.sec-nav__item em {
	font-style: normal;
	font-size: 11.5px;
	opacity: .58;
}

.sec-nav__item:hover {
	background: rgba(255, 255, 255, .17);
	border-color: rgba(255, 255, 255, .32);
	color: #fff;
}

.sec-nav__item.is-active {
	background: #fff;
	border-color: transparent;
	color: var(--sec-ink);
	box-shadow: 0 8px 22px rgba(4, 9, 20, .35);
}

.sec-nav__item.is-active em {
	opacity: .5;
}

/* 列表流：首篇头条横向大卡，其余自适应网格，末行居中避免孤卡。 */
.post-flow {
	display: block;
	/* 上方 section-head 已带 28px 下边距，这里不再叠加。 */
	margin-top: 0;
}

.post-flow__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-top: 24px;
}

.post-flow__grid > .card {
	flex: 1 1 210px;
	max-width: calc(50% - 12px);
}

.card--spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
}

.card--spotlight .card__thumb {
	position: relative;
	aspect-ratio: auto;
	height: 100%;
	min-height: 290px;
}

.card--spotlight .card__body {
	padding: 30px 32px 26px;
	gap: 14px;
}

.card--spotlight .card__excerpt {
	font-size: 15px;
	-webkit-line-clamp: 4;
}

.card--spotlight .card__thumb-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 62px;
	background:
		radial-gradient(340px 260px at 76% 16%, rgba(255, 255, 255, .62), transparent 72%),
		linear-gradient(140deg, var(--sec-soft), var(--sec-soft-2));
}

.card--spotlight .card__thumb-fallback em {
	font-style: normal;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	opacity: .5;
}

.card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(7, 13, 26, .72);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
}

.chip--count em {
	font-style: normal;
	margin-left: 3px;
	font-size: 11.5px;
	opacity: .55;
}

/* 空栏目兜底：给出同板块栏目与搜索入口，不留死路。 */
.empty-state--rich {
	background:
		radial-gradient(520px 240px at 12% -20%, var(--sec-soft), transparent 70%),
		var(--c-surface);
	border-color: var(--c-line-2);
}

.empty-state__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 22px;
	max-width: 640px;
}

.empty-state__search {
	margin: 0 auto;
	max-width: 460px;
}

.empty-state__back {
	margin: 18px 0 0;
}

@media (max-width: 1080px) {
	.card--spotlight .card__body {
		padding: 26px 26px 22px;
	}
}

@media (max-width: 860px) {
	.sec-hero {
		border-radius: 0 0 22px 22px;
	}

	.sec-hero__top {
		flex-direction: column;
		align-items: stretch;
		gap: 26px;
	}

	.sec-hero__stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.sec-hero__stats li {
		min-width: 0;
		padding: 12px 10px;
	}

	.card--spotlight {
		grid-template-columns: minmax(0, 1fr);
	}

	.card--spotlight .card__thumb {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}

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

	.sec-hero__inner {
		padding-bottom: 22px;
	}

	.sec-hero__title {
		margin-top: 12px;
	}

	.sec-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 22px -18px 0;
		padding: 18px 18px 4px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.sec-nav::-webkit-scrollbar {
		display: none;
	}

	.post-flow__grid {
		gap: 18px;
	}

	.post-flow__grid > .card {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.card--spotlight .card__body {
		padding: 20px 20px 18px;
	}
}

@media (prefers-color-scheme: dark) {
	.sec-hero {
		background:
			radial-gradient(820px 360px at 6% -18%, var(--sec-strong), transparent 70%),
			radial-gradient(620px 300px at 96% -10%, rgba(56, 189, 248, .22), transparent 72%),
			linear-gradient(152deg, #0d1830 0%, #050a14 68%);
	}

	.empty-state--rich {
		background:
			radial-gradient(520px 240px at 12% -20%, var(--sec-soft), transparent 70%),
			var(--c-surface);
	}
}

/* ---------- 17. 区块小工具（古腾堡）兼容 ---------- */

/* 区块小工具与主题小工具统一成同一张卡片，标题层级也保持一致。 */
.sidebar .widget_block > * + * {
	margin-top: 14px;
}

.sidebar .widget_block .wp-block-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

/*
 * 核心搜索区块：WordPress 默认是方角输入框 + 深色方按钮，
 * 文字一多就会竖排换行。这里改造成主题统一的胶囊输入框 + 品牌色圆形按钮。
 * 核心样式用了 :where() 选择器（权重为 0），下面这些规则可以稳定覆盖。
 */
.wp-block-search .wp-block-search__label {
	display: block;
	margin-bottom: 14px;
	font-size: 16px;
	font-weight: 700;
}

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 10px;
	padding: 0;
	background: transparent;
	border: 0;
}

.wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--c-line-2);
	border-radius: 999px;
	background: var(--c-surface);
	color: var(--c-ink);
	font-size: 14.5px;
}

.wp-block-search__input::placeholder {
	color: var(--c-ink-3);
}

.wp-block-search__input:focus {
	outline: none;
	border-color: rgba(37, 99, 235, .5);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.wp-block-search__button {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	min-width: 44px;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--grad-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}

.wp-block-search__button:hover {
	background: var(--grad-brand);
	color: #fff;
	filter: brightness(1.07);
}

/* 近期文章 / 归档 / 分类等核心列表：沿用 hot-list 的虚线分隔样式。 */
.sidebar .wp-block-latest-posts__list,
.sidebar .wp-block-archives-list,
.sidebar .wp-block-categories-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar .wp-block-latest-posts__list li + li,
.sidebar .wp-block-archives-list li + li,
.sidebar .wp-block-categories-list li + li {
	border-top: 1px dashed var(--c-line);
}

.sidebar .wp-block-latest-posts__list a,
.sidebar .wp-block-archives-list a,
.sidebar .wp-block-categories-list a {
	display: block;
	padding: 12px 0;
	color: var(--c-ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.65;
}

.sidebar .wp-block-latest-posts__list a:hover,
.sidebar .wp-block-archives-list a:hover,
.sidebar .wp-block-categories-list a:hover {
	color: var(--c-brand);
}

.sidebar .wp-block-latest-posts__post-date,
.sidebar .wp-block-latest-posts__post-author {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--c-ink-3);
}

/* 评论列表（评论功能启用后才可能出现），保持与列表一致的节奏。 */
.sidebar .wp-block-latest-comments {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
}

.sidebar .wp-block-latest-comments__comment + .wp-block-latest-comments__comment {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--c-line);
}

