/* =========================================================
   wpdaiwei 2.0 —— "Ops Console" 设计体系（浅色暖白版）
   ---------------------------------------------------------
   概念：暖白底 + 橙色信号色 + 深色终端锚点，
     · 等宽字体编号版块头（01 / 02 …）+ 贯通橙线
     · 终端窗卡片保持深色（页面上的"亮窗"变"暗窗"，层次对比）
     · 网格坐标底纹 / 柔和辉光 / 渐变文字
     · 主按钮：确认稿渐变胶囊（#FFAE52 → #F97316 → #EF6A18）
   --------------------------------------------------------- */

:root {
	--wpdw-bg: #FBFAF7;
	--wpdw-bg-2: #F3EFE8;
	--wpdw-panel: #FFFFFF;
	--wpdw-ink: #1C150D;
	--wpdw-ink-2: #52463A;
	--wpdw-muted: #8B7B69;
	--wpdw-line: rgba(28, 21, 13, 0.14);
	--wpdw-line-soft: rgba(28, 21, 13, 0.07);
	--wpdw-primary: #F97316;
	--wpdw-primary-dark: #EF6A18;
	--wpdw-amber: #E8790A;
	--wpdw-grad: linear-gradient(96deg, #FFAE52 0%, #F97316 52%, #EF6A18 100%);
	--wpdw-glow: 0 18px 50px rgba(249, 115, 22, 0.14);
	--wpdw-green: #0E9F6E;
	--wpdw-tty-bg: #17120D;
	--wpdw-tty-fg: #E9DFD0;
	--wpdw-tty-dim: #8B7B69;
	--wpdw-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans", sans-serif;
	--wpdw-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
	--wpdw-radius: 14px;
	--wpdw-radius-lg: 20px;
	--wpdw-wrap: 90%;
	--wpdw-pad-section: clamp(60px, 7vw, 92px);
	--wpdw-pad-hero: clamp(60px, 7.5vw, 100px);
	--wpdw-shadow-btn: 0 10px 28px rgba(242, 113, 28, 0.35);
}

/* ---------- 基础 ---------- */

body {
	background: var(--wpdw-bg);
	color: var(--wpdw-ink);
	font-family: var(--wpdw-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { letter-spacing: -0.025em; color: var(--wpdw-ink); }

a { color: inherit; }

::selection { background: rgba(249, 115, 22, 0.35); color: #fff; }

/* max-width:none 用于解除 WP 约束布局强加的 760px 内容列上限 */
.wpdw-shell { width: var(--wpdw-wrap); max-width: none; margin-inline: auto; }

/* 渐变文字（AI 风格重点色） */
.wpdw-grad-text {
	background: var(--wpdw-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- 1. 头部 ---------- */

.wpdw-site-header {
	position: sticky;
	top: 0;
	z-index: 99;
	background: rgba(251, 250, 247, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--wpdw-line-soft);
	padding-block: 12px;
	transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.wpdw-site-header.is-scrolled {
	padding-block: 8px;
	box-shadow: 0 10px 32px rgba(28, 21, 13, 0.09);
	border-bottom-color: var(--wpdw-line-soft);
}

.wpdw-header-inner {
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: var(--wpdw-wrap);
	margin-inline: auto;
	padding-inline: 0;
}

/* 品牌：靠左，把导航与操作区整体推向右侧成组 */
.wpdw-site-header .wp-block-site-title { flex-shrink: 0; margin-right: auto; }

.wpdw-site-header .wp-block-site-title a {
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
	color: var(--wpdw-ink);
	text-decoration: none;
	white-space: nowrap;
}

.wpdw-site-header .wp-block-site-title a::after {
	content: "_ops";
	font-family: var(--wpdw-mono);
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--wpdw-primary);
	margin-left: 6px;
	vertical-align: 2px;
}

/* 导航：经典单行菜单，胶囊链接悬停浮橙色药丸底 */
.wpdw-site-header .wp-block-navigation {
	font-size: 0.86rem;
	font-weight: 550;
	flex-wrap: nowrap;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.wpdw-site-header .wp-block-navigation::-webkit-scrollbar { display: none; }
.wpdw-site-header .wp-block-navigation .wp-block-navigation__container { flex-wrap: nowrap; }

.wpdw-site-header .wp-block-navigation .wp-block-navigation-item { white-space: nowrap; }

.wpdw-site-header .wp-block-navigation .wp-block-navigation-item__content {
	display: inline-block;
	padding: 7px 13px;
	border-radius: 999px;
	color: var(--wpdw-ink-2);
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.wpdw-site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: rgba(249, 115, 22, 0.09);
	color: var(--wpdw-primary-dark);
}

/* 当前页：常亮橙字 + 浅橙底 */
.wpdw-site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wpdw-site-header .wp-block-navigation .current_page_item > .wp-block-navigation-item__content {
	background: rgba(249, 115, 22, 0.08);
	color: var(--wpdw-primary-dark);
	font-weight: 700;
}

/* 下拉子菜单：白色圆角卡片 */
.wpdw-site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #FFFFFF;
	border: 1px solid var(--wpdw-line);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(28, 21, 13, 0.16);
	padding: 6px;
	min-width: 200px;
}

.wpdw-site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--wpdw-ink-2);
}

.wpdw-site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: rgba(249, 115, 22, 0.09);
	color: var(--wpdw-primary-dark);
}

.wpdw-site-header .wp-block-navigation .wp-block-navigation__submenu-icon { stroke: var(--wpdw-muted); }

/* 内置导航（wpdw/nav）：固定单行，胶囊悬停 */
.wpdw-nav { min-width: 0; }

.wpdw-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.wpdw-nav-list::-webkit-scrollbar { display: none; }

.wpdw-nav-item a {
	display: inline-block;
	padding: 7px 13px;
	border-radius: 999px;
	color: var(--wpdw-ink-2);
	font-size: 0.86rem;
	font-weight: 550;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.wpdw-nav-item a:hover { background: rgba(249, 115, 22, 0.09); color: var(--wpdw-primary-dark); }

.wpdw-nav-item.is-active a {
	background: rgba(249, 115, 22, 0.08);
	color: var(--wpdw-primary-dark);
	font-weight: 700;
}

/* 报价按钮：渐变主 CTA */
.wpdw-site-header .wpdw-header-quote {
	font-family: var(--wpdw-mono);
	font-size: 0.8rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	padding: 9px 20px;
	background: var(--wpdw-grad);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(242, 113, 28, 0.30);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	white-space: nowrap;
}

.wpdw-site-header .wpdw-header-quote:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 10px 26px rgba(242, 113, 28, 0.42);
}

.wpdw-site-header .wpdw-header-quote:active { transform: translateY(0); }

/* 语言切换 */
.wpdw-lang-switch { position: relative; font-family: var(--wpdw-mono); font-size: 0.78rem; flex-shrink: 0; }
.wpdw-lang-list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.wpdw-lang-item a { text-decoration: none; color: var(--wpdw-muted); }
.wpdw-lang-item.is-active a { color: var(--wpdw-primary-dark); font-weight: 700; }
.wpdw-lang-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	color: var(--wpdw-ink-2);
	background: transparent;
	border: 1px solid var(--wpdw-line);
	border-radius: 999px;
	padding: 8px 14px;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}
.wpdw-lang-trigger:hover {
	border-color: rgba(249, 115, 22, 0.45);
	background: rgba(249, 115, 22, 0.07);
	color: var(--wpdw-primary-dark);
}
.wpdw-lang-trigger .wpdw-lang-caret { transition: transform 0.18s ease; }
.wpdw-lang-switch:hover .wpdw-lang-caret,
.wpdw-lang-switch:focus-within .wpdw-lang-caret { transform: rotate(180deg); }
.wpdw-lang-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 60;
	min-width: 150px;
	background: #FFFFFF;
	border: 1px solid var(--wpdw-line);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(28, 21, 13, 0.16);
	list-style: none;
	margin: 0;
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.wpdw-lang-switch:hover .wpdw-lang-dropdown,
.wpdw-lang-switch:focus-within .wpdw-lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.wpdw-lang-dropdown li a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--wpdw-ink-2);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.14s ease, color 0.14s ease;
}
.wpdw-lang-dropdown li a:hover { background: rgba(249, 115, 22, 0.09); color: var(--wpdw-ink); }
.wpdw-lang-dropdown li.is-active a { color: var(--wpdw-primary-dark); font-weight: 700; }

@media (max-width: 1200px) {
	.wpdw-site-header .wp-block-navigation { font-size: 0.82rem; }
	.wpdw-site-header .wp-block-navigation .wp-block-navigation-item__content { padding: 6px 9px; }
	.wpdw-site-header .wpdw-header-quote { padding: 8px 14px; }
}

/* ---------- 2. 按钮 ---------- */

.wp-block-button__link {
	background: var(--wpdw-grad);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: var(--wpdw-shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	text-shadow: 0 1px 1px rgba(178, 68, 0, 0.2);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background: linear-gradient(96deg, #FF9C3D 0%, #EE6A15 55%, #E05F0F 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 34px rgba(242, 113, 28, 0.45), 0 0 40px rgba(249, 115, 22, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wpdw-amber);
	border: 1.5px solid rgba(249, 115, 22, 0.45);
	box-shadow: none;
	text-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(249, 115, 22, 0.10);
	transform: none;
	box-shadow: 0 0 30px rgba(249, 115, 22, 0.15);
}

/* ---------- 3. Hero ---------- */

.wpdw-hero {
	padding-block: var(--wpdw-pad-hero);
	position: relative;
	background:
		radial-gradient(760px 380px at 88% 0%, rgba(249, 115, 22, 0.10), transparent 70%),
		radial-gradient(600px 300px at 0% 100%, rgba(255, 174, 82, 0.06), transparent 70%),
		linear-gradient(rgba(28, 21, 13, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(28, 21, 13, 0.045) 1px, transparent 1px);
	background-size: auto, auto, 72px 72px, 72px 72px;
}

.wpdw-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(40px, 5vw, 72px);
	align-items: center;
}

.wpdw-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--wpdw-mono);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	color: var(--wpdw-green);
	margin-bottom: 22px;
}

.wpdw-hero-kicker::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wpdw-green);
	box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.15), 0 0 14px rgba(14, 159, 110, 0.45);
	animation: wpdw-pulse 2.4s ease-out infinite;
}

@keyframes wpdw-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.35); }
	70%  { box-shadow: 0 0 0 9px rgba(14, 159, 110, 0); }
	100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0); }
}

.wpdw-hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.7rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 22px;
	color: var(--wpdw-ink);
}

.wpdw-hero .wpdw-hero-sub {
	font-size: clamp(1.02rem, 1.5vw, 1.16rem);
	line-height: 1.75;
	color: var(--wpdw-ink-2);
	margin: 0 0 30px;
	max-width: 34em;
}

/* Hero 按钮：两个并排一行 + 尺寸加大 */
.wpdw-hero .wp-block-button {
	display: inline-block;
	margin: 0 14px 0 0;
	vertical-align: middle;
}

.wpdw-hero .wp-block-button:last-child { margin-right: 0; }

.wpdw-hero .wp-block-button__link {
	font-size: 1rem;
	line-height: 1.2;
	padding: 15px 32px;
}

.wpdw-hero-note {
	margin-top: 26px;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	color: var(--wpdw-muted);
}

/* 终端窗：深色站里的"亮窗" */
.wpdw-tty {
	background: #0A0805;
	border: 1px solid rgba(249, 115, 22, 0.22);
	border-radius: var(--wpdw-radius);
	box-shadow: 0 30px 80px rgba(28, 21, 13, 0.22), var(--wpdw-glow);
	overflow: hidden;
}

.wpdw-tty-head {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid var(--wpdw-line-soft);
}

.wpdw-tty-head i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.wpdw-tty-head i:nth-child(1) { background: #FF5F57; }
.wpdw-tty-head i:nth-child(2) { background: #FEBC2E; }
.wpdw-tty-head i:nth-child(3) { background: #28C840; }

.wpdw-tty-title {
	margin-left: 8px;
	font-family: var(--wpdw-mono);
	font-size: 0.75rem;
	color: var(--wpdw-tty-dim);
	letter-spacing: 0.04em;
}

.wpdw-tty-body {
	padding: 20px 22px 24px;
	font-family: var(--wpdw-mono);
	font-size: 0.82rem;
	line-height: 2.0;
	color: var(--wpdw-tty-fg);
	white-space: pre-wrap;
}

.wpdw-tty-body .p   { color: #FFAE52; font-weight: 700; }
.wpdw-tty-body .ok  { color: var(--wpdw-green); }
.wpdw-tty-body .dim { color: var(--wpdw-tty-dim); }
.wpdw-tty-body .hl  { color: #FFD9AD; }

.wpdw-tty-cursor {
	display: inline-block;
	width: 8px;
	height: 15px;
	margin-left: 2px;
	background: #FFAE52;
	box-shadow: 0 0 12px rgba(255, 174, 82, 0.7);
	vertical-align: -2px;
	animation: wpdw-blink 1.1s steps(1) infinite;
}

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

/* ---------- 4. 版块骨架 ---------- */

.wpdw-section { padding-block: var(--wpdw-pad-section); }

.wpdw-section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.wpdw-section-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.wpdw-section-num {
	font-family: var(--wpdw-mono);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--wpdw-primary);
	text-shadow: none;
}

.wpdw-section-tag {
	font-family: var(--wpdw-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: var(--wpdw-muted);
	text-transform: uppercase;
}

.wpdw-section-rule {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(249, 115, 22, 0.45), rgba(249, 115, 22, 0.08));
}

.wpdw-section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; margin: 0 0 14px; }

.wpdw-section-sub { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--wpdw-ink-2); margin: 0; max-width: 40em; }

/* ---------- 5. 服务：终端路径卡 ---------- */

.wpdw-services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

.wpdw-svc {
	grid-column: span 2;
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line-soft);
	border-radius: var(--wpdw-radius);
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 10px 28px rgba(28, 21, 13, 0.05);
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wpdw-svc:hover {
	border-color: rgba(249, 115, 22, 0.55);
	transform: translateY(-3px);
	box-shadow: 0 18px 44px rgba(28, 21, 13, 0.12);
}

.wpdw-svc-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--wpdw-bg-2);
	border-bottom: 1px solid var(--wpdw-line-soft);
	font-family: var(--wpdw-mono);
	font-size: 0.72rem;
	color: var(--wpdw-muted);
}

.wpdw-svc-bar i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wpdw-green);
	box-shadow: 0 0 8px rgba(14, 159, 110, 0.45);
	flex: 0 0 auto;
}

.wpdw-svc-body { padding: 22px 22px 24px; }

.wpdw-svc-body h3 { font-size: 1.12rem; font-weight: 750; margin: 0 0 10px; }

.wpdw-svc-body p { margin: 0; font-size: 0.92rem; line-height: 1.75; color: var(--wpdw-ink-2); }

.wpdw-svc-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 18px;
	padding: 9px 20px;
	border: 1px solid rgba(249, 115, 22, 0.45);
	border-radius: 8px;
	background: transparent;
	color: var(--wpdw-primary-dark);
	font-family: var(--wpdw-mono);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpdw-svc-more::after { content: "→"; transition: transform 0.2s ease; }

.wpdw-svc-more:hover {
	background: var(--wpdw-grad);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 20px rgba(242, 113, 28, 0.26);
}

.wpdw-svc-more:hover::after { transform: translateX(3px); }

.wpdw-svc-more:active { transform: translateY(1px); }

.wpdw-svc:nth-child(4),
.wpdw-svc:nth-child(5),
.wpdw-svc:nth-child(6) { grid-column: span 2; }

/* ---------- 6. 流程：日志时间线 ---------- */

.wpdw-log {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.wpdw-log::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 0;
	right: 0;
	border-top: 1px dashed rgba(249, 115, 22, 0.35);
}

.wpdw-log-step { position: relative; padding-top: 34px; }

.wpdw-log-step::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--wpdw-grad);
	box-shadow: 0 0 0 5px var(--wpdw-bg), 0 0 16px rgba(249, 115, 22, 0.5);
}

.wpdw-log-t {
	font-family: var(--wpdw-mono);
	font-size: 0.72rem;
	color: var(--wpdw-primary);
	letter-spacing: 0.1em;
}

.wpdw-log-step h3 { font-size: 1.08rem; font-weight: 750; margin: 8px 0 8px; }

.wpdw-log-step p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--wpdw-ink-2); }

/* ---------- 7. 数据行 ---------- */

.wpdw-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--wpdw-line); }

.wpdw-metric { padding: 34px 26px; border-left: 1px solid var(--wpdw-line); }

.wpdw-metric:first-child { border-left: 0; }

.wpdw-metric-num {
	font-family: var(--wpdw-mono);
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 700;
	background: var(--wpdw-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.wpdw-metric-label {
	margin-top: 6px;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	color: var(--wpdw-muted);
	letter-spacing: 0.06em;
}

/* ---------- 8. 案例 ---------- */

.wpdw-case-card {
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line-soft);
	border-radius: var(--wpdw-radius);
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 10px 28px rgba(28, 21, 13, 0.05);
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wpdw-case-card:hover { border-color: rgba(249, 115, 22, 0.5); transform: translateY(-3px); }

.wpdw-case-card-body { padding: 20px 22px 22px; }

.wpdw-case-title { font-size: 1.05rem; font-weight: 750; margin: 8px 0; }

.wpdw-case-title a { text-decoration: none; }
.wpdw-case-title a:hover { color: var(--wpdw-amber); }

.wpdw-case-foot {
	display: flex;
	gap: 14px;
	font-family: var(--wpdw-mono);
	font-size: 0.75rem;
	color: var(--wpdw-muted);
}

.wpdw-case-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }

.wpdw-case-prev,
.wpdw-case-next {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--wpdw-line);
	background: transparent;
	color: var(--wpdw-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.wpdw-case-prev:hover,
.wpdw-case-next:hover { border-color: rgba(249, 115, 22, 0.5); color: var(--wpdw-amber); }

.wpdw-case-dots { display: flex; gap: 6px; }

.wpdw-case-dots button {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: var(--wpdw-line);
	cursor: pointer;
}

.wpdw-case-dots button.is-active { background: var(--wpdw-primary); box-shadow: 0 0 10px rgba(249, 115, 22, 0.6); }

.wpdw-case-carousel { margin-top: 34px; }

.wpdw-case-viewport { scrollbar-width: none; }
.wpdw-case-viewport::-webkit-scrollbar { display: none; }

.wpdw-case-track { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }

.wpdw-case-slide { width: calc((100% - 36px) / 3); display: flex; }
.wpdw-case-slide .wpdw-case-card { display: flex; flex-direction: column; width: 100%; }

.wpdw-case-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--wpdw-line-soft); }
.wpdw-case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wpdw-case-ph {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(255, 174, 82, 0.18), rgba(239, 106, 24, 0.10) 60%, rgba(251, 250, 247, 0) 100%), var(--wpdw-panel);
	font-family: var(--wpdw-mono);
	font-size: 2rem;
	font-weight: 700;
	color: var(--wpdw-amber);
}

.wpdw-case-quote { margin: 10px 0 0; font-size: 0.88rem; line-height: 1.7; color: var(--wpdw-ink-2); }

.wpdw-case-result {
	margin: 12px 0 0;
	padding: 8px 12px;
	border: 1px dashed rgba(249, 115, 22, 0.4);
	border-radius: 6px;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	color: var(--wpdw-amber);
}

.wpdw-case-stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }

.wpdw-rating-stars { position: relative; display: inline-block; font-size: 0.85rem; line-height: 1; }
.wpdw-rating-bg { color: var(--wpdw-line); }
.wpdw-rating-fg {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	white-space: nowrap;
	background: var(--wpdw-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wpdw-rating-num { font-family: var(--wpdw-mono); font-size: 0.75rem; color: var(--wpdw-muted); }

.wpdw-case-foot { margin-top: auto; padding-top: 14px; }

.wpdw-card-more {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}
.wpdw-card-more a { color: var(--wpdw-primary); text-decoration: none; }
.wpdw-card-more a:hover { color: var(--wpdw-amber); }

/* ---------- 9. 套餐 ---------- */

.wpdw-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }

.wpdw-plan {
	position: relative;
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line-soft);
	border-radius: var(--wpdw-radius-lg);
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 10px 28px rgba(28, 21, 13, 0.05);
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
}

.wpdw-plan h3 { font-size: 1.15rem; font-weight: 780; margin: 0 0 6px; }

.wpdw-plan-desc { margin: 0 0 18px; font-size: 0.9rem; color: var(--wpdw-ink-2); }

.wpdw-plan-price {
	font-family: var(--wpdw-mono);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--wpdw-ink);
	font-variant-numeric: tabular-nums;
	margin: 0 0 20px;
}

.wpdw-plan-price small { font-size: 0.85rem; color: var(--wpdw-muted); font-weight: 400; }

.wpdw-plan ul {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 0.9rem;
	color: var(--wpdw-ink-2);
}

.wpdw-plan ul li::before { content: "+ "; font-family: var(--wpdw-mono); color: var(--wpdw-primary); font-weight: 700; }

.wpdw-plan-btn {
	margin-top: auto;
	display: block;
	text-align: center;
	padding: 12px 20px;
	border-radius: 999px;
	background: transparent;
	border: 1.5px solid rgba(249, 115, 22, 0.45);
	color: var(--wpdw-amber);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	transition: all 0.22s ease;
}

.wpdw-plan-btn:hover { background: rgba(249, 115, 22, 0.10); }

/* 主推档：橙色描边 + 辉光 */
.wpdw-plan.is-featured {
	background: linear-gradient(180deg, rgba(249, 115, 22, 0.10), rgba(249, 115, 22, 0.02));
	border-color: rgba(249, 115, 22, 0.55);
	box-shadow: var(--wpdw-glow), 0 26px 60px rgba(28, 21, 13, 0.14);
}

.wpdw-plan.is-featured::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--wpdw-grad);
}

.wpdw-plan.is-featured .wpdw-plan-btn {
	background: var(--wpdw-grad);
	border: 0;
	color: #fff;
	box-shadow: var(--wpdw-shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wpdw-plan.is-featured .wpdw-plan-btn:hover {
	background: linear-gradient(96deg, #FF9C3D 0%, #EE6A15 55%, #E05F0F 100%);
	transform: translateY(-1px);
}

.wpdw-plan-badge {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--wpdw-grad);
	color: #fff;
	font-family: var(--wpdw-mono);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.wpdw-plans-note {
	text-align: center;
	margin-top: 26px;
	font-family: var(--wpdw-mono);
	font-size: 0.8rem;
	color: var(--wpdw-muted);
}

/* ---------- 10. FAQ ---------- */

.wpdw-faq { border-top: 1px solid var(--wpdw-line); }

.wpdw-faq details { border-bottom: 1px solid var(--wpdw-line); }

.wpdw-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 22px 44px 22px 0;
	position: relative;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--wpdw-ink);
}

.wpdw-faq summary::-webkit-details-marker { display: none; }

.wpdw-faq summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wpdw-mono);
	font-size: 1.3rem;
	color: var(--wpdw-primary);
	transition: transform 0.2s ease;
}

.wpdw-faq details[open] summary::after { content: "−"; }

.wpdw-faq .wpdw-faq-a {
	padding: 0 0 24px;
	color: var(--wpdw-ink-2);
	line-height: 1.8;
	margin: 0;
	max-width: 52em;
}

/* ---------- 11. CTA 横幅 ---------- */

.wpdw-cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(560px 260px at 50% -40%, rgba(249, 115, 22, 0.22), transparent 70%),
		#17120D;
border: 1px solid rgba(249, 115, 22, 0.30);
	border-radius: var(--wpdw-radius-lg);
	padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 72px);
	text-align: center;
	color: var(--wpdw-tty-fg);
	box-shadow: var(--wpdw-glow);
}

.wpdw-cta-band::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--wpdw-grad);
}

.wpdw-cta-kicker {
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	color: var(--wpdw-amber);
	letter-spacing: 0.12em;
	margin: 0 0 14px;
}

.wpdw-cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 14px; }

.wpdw-cta-band p { color: #C7B9A6; margin: 0 0 30px; }

/* ---------- 12. 页脚 ---------- */

.wpdw-site-footer {
	background: #0A0805;
	border-top: 1px solid var(--wpdw-line-soft);
	color: #B7A992;
	margin-top: 40px;
}

.wpdw-site-footer .wp-block-columns { max-width: var(--wpdw-wrap); margin-inline: auto; }

.wpdw-footer-cols { padding: 64px 0 48px; gap: 40px; }

.wpdw-site-footer a { color: #B7A992; text-decoration: none; }

.wpdw-site-footer a:hover { color: #FFAE52; }

.wpdw-site-footer h3 {
	color: #FFAE52;
	font-family: var(--wpdw-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.wpdw-site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }

.wpdw-site-footer ul a::before { content: "$ "; color: rgba(249, 115, 22, 0.5); font-family: var(--wpdw-mono); }

.wpdw-footer-bottom { border-top: 1px solid var(--wpdw-line-soft); padding: 20px 0; }

.wpdw-footer-bottom-inner {
	max-width: var(--wpdw-wrap);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	justify-content: space-between;
	font-family: var(--wpdw-mono);
	font-size: 0.75rem;
	color: var(--wpdw-muted);
}

/* 桌面端强制单行：版权与链接文字都不折行，整行放不下时只在窄屏回退为多行 */
@media (min-width: 1024px) {
	.wpdw-footer-bottom-inner { flex-wrap: nowrap; }
	.wpdw-footer-bottom-inner a,
	.wpdw-footer-bottom-inner p { white-space: nowrap; margin: 0; }
}

.wpdw-site-footer .wpdw-footer-bottom-inner a { color: var(--wpdw-muted); }
.wpdw-site-footer .wpdw-footer-bottom-inner a:hover { color: #FFAE52; }

/* 底栏链接编组：法律页 / 技术文件各成一组，整组换行，避免 space-between 把 6 个条目拉成两行 */
.wpdw-footer-bottom-inner .wpdw-footer-legal,
.wpdw-footer-bottom-inner .wpdw-footer-tech {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
}
@media (max-width: 600px) {
	.wpdw-footer-bottom-inner .wpdw-footer-legal { flex-wrap: wrap; gap: 8px 18px; }
}

/* ---------- 13. 页头/文章 ---------- */

.wpdw-page-hero {
	padding: clamp(44px, 6vw, 72px) 0 clamp(26px, 3.5vw, 40px);
	background:
		radial-gradient(640px 280px at 85% 0%, rgba(249, 115, 22, 0.12), transparent 70%),
		linear-gradient(rgba(28, 21, 13, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(28, 21, 13, 0.04) 1px, transparent 1px),
		var(--wpdw-bg-2);
	background-size: auto, 64px 64px, 64px 64px, auto;
	border-bottom: 1px solid var(--wpdw-line-soft);
}

.wpdw-page-hero .wp-block-post-title,
.wpdw-page-hero .wp-block-query-title,
.wpdw-page-hero h1 {
	font-size: clamp(1.85rem, 3.2vw, 2.5rem);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.025em;
}

.wpdw-page-hero .wpdw-section-sub { margin: 14px 0 0; }

.wpdw-page-breadcrumb {
	font-family: var(--wpdw-mono);
	font-size: 0.76rem;
	color: var(--wpdw-muted);
	margin-bottom: 14px;
	letter-spacing: 0.04em;
}

.wpdw-page-breadcrumb a { color: var(--wpdw-muted); text-decoration: none; }
.wpdw-page-breadcrumb a:hover { color: var(--wpdw-primary-dark); }

/* ---------- 13b. 正文排版 ---------- */

.wpdw-content {
	max-width: 820px;
	margin-inline: auto;
	font-size: 1.02rem;
	line-height: 1.9;
	color: var(--wpdw-ink-2);
}

.wpdw-content > * + * { margin-top: 1.15em; }

.wpdw-content h1,
.wpdw-content h2,
.wpdw-content h3,
.wpdw-content h4 { color: var(--wpdw-ink); letter-spacing: -0.02em; }

.wpdw-content h2 {
	position: relative;
	font-size: 1.5rem;
	line-height: 1.35;
	margin: 2.2em 0 0.8em;
	padding-left: 16px;
}

.wpdw-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.22em;
	bottom: 0.22em;
	width: 3px;
	border-radius: 3px;
	background: var(--wpdw-grad);
}

.wpdw-content h3 { font-size: 1.22rem; margin: 1.7em 0 0.6em; }

.wpdw-content p { margin: 0; }

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

.wpdw-content ul li,
.wpdw-content ol li { margin: 0.42em 0; }

.wpdw-content ul li::marker { color: var(--wpdw-primary); }
.wpdw-content ol li::marker { color: var(--wpdw-primary); font-family: var(--wpdw-mono); }

.wpdw-content a {
	color: var(--wpdw-primary-dark);
	text-decoration: none;
	border-bottom: 1px solid rgba(239, 106, 24, 0.35);
	transition: border-color 0.16s ease;
}

.wpdw-content a:hover { border-bottom-color: var(--wpdw-primary-dark); }

.wpdw-content strong { color: var(--wpdw-ink); font-weight: 700; }

.wpdw-content img { border-radius: 12px; }

.wpdw-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.wpdw-content th,
.wpdw-content td {
	border: 1px solid var(--wpdw-line);
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.wpdw-content th { background: var(--wpdw-bg-2); font-weight: 700; color: var(--wpdw-ink); }

.wpdw-content hr { border: 0; border-top: 1px solid var(--wpdw-line); margin: 2.2em 0; }

/* ---------- 13c. 询价表单控件 ---------- */

.wpdw-form-wrap {
	max-width: none;
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line);
	border-radius: var(--wpdw-radius-lg);
	padding: clamp(20px, 3vw, 32px);
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 12px 32px rgba(28, 21, 13, 0.06);
}

.wpdw-form-title {
	margin: 0 0 6px;
	font-size: 1.3rem;
	letter-spacing: -0.02em;
	color: var(--wpdw-ink);
}

.wpdw-form-desc { color: var(--wpdw-muted); margin: 0 0 20px; font-size: 0.92rem; }

.wpdw-inquiry-form { gap: 14px 20px; }

.wpdw-form-field { display: flex; flex-direction: column; gap: 6px; }

.wpdw-form-field label {
	font-size: 0.85rem;
	font-weight: 650;
	color: var(--wpdw-ink);
	letter-spacing: 0.01em;
}

.wpdw-form-field input[type="text"],
.wpdw-form-field input[type="email"],
.wpdw-form-field input[type="tel"],
.wpdw-form-field select,
.wpdw-form-field textarea {
	width: 100%;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--wpdw-ink);
	background: #FFFFFF;
	border: 1px solid var(--wpdw-line);
	border-radius: 9px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.wpdw-form-field input:focus,
.wpdw-form-field select:focus,
.wpdw-form-field textarea:focus {
	outline: none;
	border-color: var(--wpdw-primary);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.wpdw-form-field textarea { min-height: 120px; resize: vertical; }

.wpdw-form-field select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%238B7B69'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.wpdw-req { color: var(--wpdw-primary); }
.wpdw-opt { color: var(--wpdw-muted); font-weight: 400; font-size: 0.8em; }

.wpdw-form-ref,
.wpdw-form-note,
.wpdw-form-secure,
.wpdw-form-file-hint { font-size: 0.82rem; color: var(--wpdw-muted); }

.wpdw-form-ref {
	padding: 10px 14px;
	background: var(--wpdw-bg-2);
	border: 1px dashed var(--wpdw-line);
	border-radius: 9px;
}

.wpdw-form-file input[type="file"] {
	width: 100%;
	font-size: 0.88rem;
	color: var(--wpdw-ink-2);
	background: var(--wpdw-bg-2);
	border: 1px dashed var(--wpdw-line);
	border-radius: 9px;
	padding: 10px 12px;
	cursor: pointer;
}

.wpdw-form-file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 7px 14px;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--wpdw-primary-dark);
	background: #FFFFFF;
	border: 1px solid rgba(249, 115, 22, 0.4);
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.16s ease;
}

.wpdw-form-file input[type="file"]::file-selector-button:hover {
	background: rgba(249, 115, 22, 0.08);
}

.wpdw-form-submit { border-radius: 999px !important; }

@media (max-width: 640px) {
	.wpdw-inquiry-form { grid-template-columns: 1fr; }
}

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

.wpdw-content blockquote {
	border-left: 3px solid var(--wpdw-primary);
	margin: 1.5em 0;
	padding: 0.2em 0 0.2em 1.2em;
	color: var(--wpdw-ink-2);
}

.wpdw-content pre,
.wpdw-content code { font-family: var(--wpdw-mono); font-size: 0.88em; }

.wpdw-content pre {
	background: #0A0805;
	border: 1px solid var(--wpdw-line-soft);
	color: var(--wpdw-tty-fg);
	border-radius: 10px;
	padding: 18px 20px;
	overflow: auto;
}

/* 文章列表：网格 + 图文卡片（/blog、分类/标签归档、搜索共用） */

.wpdw-post-grid.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpdw-post-grid > li { display: flex; min-width: 0; margin: 0; }

.wpdw-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line-soft);
	border-radius: var(--wpdw-radius-lg);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 10px 28px rgba(28, 21, 13, 0.05);
}

/* .wpdw-reveal 自带过渡，这里补上卡片自身的动效属性（同时压过 reveal 的 transition） */
.wpdw-post-card.wpdw-reveal {
	transition: opacity 0.7s ease, transform 0.3s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.wpdw-post-card.wpdw-reveal:hover,
.wpdw-post-card.wpdw-reveal:focus-within {
	transform: translateY(-4px);
	border-color: rgba(249, 115, 22, 0.45);
	box-shadow: 0 18px 44px rgba(28, 21, 13, 0.11);
}

/* 没有特色图时补一块同比例占位，栅格仍然对齐 */
.wpdw-post-card:not(:has(.wpdw-post-thumb img))::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(120% 120% at 18% 0%, rgba(249, 115, 22, 0.2), transparent 62%),
		repeating-linear-gradient(135deg, rgba(28, 21, 13, 0.05) 0 1px, transparent 1px 11px),
		var(--wpdw-bg-2);
	border-bottom: 1px solid var(--wpdw-line-soft);
}

.wpdw-post-thumb { margin: 0 !important; overflow: hidden; border-radius: 0; }
.wpdw-post-thumb a { display: block; height: 100%; }

.wpdw-post-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wpdw-post-card:hover .wpdw-post-thumb img { transform: scale(1.045); }

.wpdw-post-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }

.wpdw-post-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.wpdw-post-cat.wp-block-post-terms,
.wpdw-post-tags.wp-block-post-terms { margin: 0; line-height: 1.5; }

.wpdw-post-cat.wp-block-post-terms {
	font-family: var(--wpdw-mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wpdw-post-cat a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(249, 115, 22, 0.24);
	background: rgba(249, 115, 22, 0.1);
	color: var(--wpdw-primary-dark);
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wpdw-post-cat a:hover { background: var(--wpdw-grad); border-color: transparent; color: #fff; }

.wpdw-post-date.wp-block-post-date {
	margin: 0 0 0 auto;
	font-family: var(--wpdw-mono);
	font-size: 0.7rem;
	color: var(--wpdw-muted);
	white-space: nowrap;
}

.wpdw-post-title.wp-block-post-title {
	margin: 0;
	font-size: 1.03rem;
	font-weight: 750;
	line-height: 1.5;
	letter-spacing: -0.015em;
}

.wpdw-post-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--wpdw-ink);
	text-decoration: none;
	transition: color 0.18s ease;
}

.wpdw-post-title a:hover { color: var(--wpdw-primary-dark); }

.wpdw-post-excerpt.wp-block-post-excerpt,
.wpdw-post-excerpt .wp-block-post-excerpt__excerpt { margin: 0; }

.wpdw-post-excerpt .wp-block-post-excerpt__excerpt {
	font-size: 0.875rem;
	line-height: 1.72;
	color: var(--wpdw-ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 列表里不显示摘要尾巴的「Read more」，标题整行可点 */
.wpdw-post-excerpt .wp-block-post-excerpt__more-link { display: none; }

.wpdw-post-tags.wp-block-post-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 12px;
	font-size: 0.7rem;
	border-top: 1px dashed var(--wpdw-line-soft);
}

.wpdw-post-tags .wp-block-post-terms__separator { display: none; }

.wpdw-post-tags a {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid var(--wpdw-line);
	background: rgba(28, 21, 13, 0.02);
	color: var(--wpdw-muted);
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.wpdw-post-tags a:hover {
	color: var(--wpdw-primary-dark);
	border-color: rgba(249, 115, 22, 0.45);
	background: rgba(249, 115, 22, 0.07);
}

/* 栏目页网格（插件自动维护的 /tech-articles、/seo-guides 共用类名） */
.wpdw-content:has(.wpdw-blog-grid) { max-width: 100%; }

.wpdw-blog-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.wpdw-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--wpdw-panel);
	border: 1px solid var(--wpdw-line-soft);
	border-radius: var(--wpdw-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(28, 21, 13, 0.04), 0 10px 28px rgba(28, 21, 13, 0.05);
	transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.wpdw-blog-card:hover {
	border-color: rgba(249, 115, 22, 0.5);
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(28, 21, 13, 0.10);
}

.wpdw-blog-thumb { margin: 0; }
.wpdw-blog-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 0; }

.wpdw-blog-card > *:not(.wpdw-blog-thumb) { padding-inline: 18px; }

.wpdw-blog-card h3 {
	margin: 14px 0 6px;
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.45;
}

.wpdw-blog-card h3 a { color: var(--wpdw-ink); text-decoration: none; }
.wpdw-blog-card h3 a:hover { color: var(--wpdw-primary-dark); }

.wpdw-blog-card p { margin: 0 0 12px; font-size: 0.88rem; line-height: 1.7; color: var(--wpdw-ink-2); }

.wpdw-blog-card time,
.wpdw-blog-card .wp-block-post-date {
	font-family: var(--wpdw-mono);
	font-size: 0.74rem;
	color: var(--wpdw-muted);
	margin-top: auto;
}


.wp-block-query-pagination {
	margin-top: 32px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wpdw-mono);
	font-size: 0.85rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--wpdw-line);
	border-radius: 8px;
	color: var(--wpdw-ink-2);
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .page-numbers:hover {
	border-color: rgba(249, 115, 22, 0.45);
	background: rgba(249, 115, 22, 0.07);
	color: var(--wpdw-primary-dark);
}

.wp-block-query-pagination .current {
	border-color: transparent;
	background: var(--wpdw-grad);
	color: #fff;
	font-weight: 700;
}

/* ---------- 14. 浮动联系 / Cookie 条 ---------- */

.wpdw-contact-floater {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 90;
	background: #FFFFFF;
	border: 1px solid rgba(249, 115, 22, 0.35);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(28, 21, 13, 0.16), var(--wpdw-glow);
	padding: 14px 16px;
	font-size: 0.86rem;
}

.wpdw-cookie-consent {
	position: fixed;
	left: 22px;
	bottom: 22px;
	z-index: 95;
	max-width: 420px;
	background: #FFFFFF;
	border: 1px solid var(--wpdw-line);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(28, 21, 13, 0.16);
	padding: 16px 18px;
	font-size: 0.85rem;
	color: var(--wpdw-ink-2);
}

.wpdw-cookie-actions { display: flex; gap: 10px; margin-top: 12px; }

.wpdw-cookie-btn {
	border: 1px solid var(--wpdw-line);
	background: transparent;
	color: var(--wpdw-ink);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 0.8rem;
	cursor: pointer;
}

.wpdw-cookie-accept {
	background: var(--wpdw-grad);
	border: 0;
	color: #fff;
	font-weight: 700;
}

/* ---------- 15. 404 ---------- */

.wpdw-notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 24px; }

.wpdw-notfound code {
	font-family: var(--wpdw-mono);
	font-size: clamp(3rem, 8vw, 5rem);
	color: var(--wpdw-primary);
	text-shadow: 0 0 40px rgba(249, 115, 22, 0.25);
}

/* ---------- 16. 动效 ---------- */

.wpdw-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.wpdw-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.wpdw-reveal { opacity: 1; transform: none; transition: none; }
	.wpdw-tty-cursor, .wpdw-hero-kicker::before { animation: none; }
}

/* ---------- 17. 响应式 ---------- */

@media (max-width: 960px) {
	.wpdw-blog-grid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpdw-post-grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpdw-hero-grid { grid-template-columns: 1fr; }
	.wpdw-services-grid { grid-template-columns: repeat(2, 1fr); }
	.wpdw-svc { grid-column: span 1; }
	.wpdw-log { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.wpdw-log::before { display: none; }
	.wpdw-metrics { grid-template-columns: repeat(2, 1fr); }
	.wpdw-metric:nth-child(3) { border-left: 0; }
	.wpdw-metric:nth-child(n+3) { border-top: 1px solid var(--wpdw-line); }
	.wpdw-plans-grid { grid-template-columns: 1fr; }
	.wpdw-case-slide { width: calc((100% - 18px) / 2); }
}

@media (max-width: 640px) {
	.wpdw-blog-grid .wp-block-post-template { grid-template-columns: 1fr; }
	.wpdw-post-grid.wp-block-post-template { grid-template-columns: 1fr; }
	.wpdw-services-grid { grid-template-columns: 1fr; }
	.wpdw-post-body { padding: 16px 16px 20px; }
	.wpdw-log { grid-template-columns: 1fr; }
	.wpdw-metrics { grid-template-columns: 1fr; }
	.wpdw-metric { border-left: 0; border-top: 1px solid var(--wpdw-line); padding: 22px 6px; }
	.wpdw-metric:first-child { border-top: 0; }
	.wpdw-case-slide { width: 86%; }
	.wpdw-footer-cols { padding: 48px 0 36px; }
}
