/*
Theme Name: 骆驼之路
Description: 骆驼之路出海Agent 官网主题。支持后台模块化 DIY（首页与应用详情页各自可配置）、主题设置（Customizer 实时预览）、应用自定义文章类型与分类归档，并可选单独 DIY 每个应用详情页。
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: camel-road
Tags: custom-colors, custom-logo, custom-menu, featured-images, translation-ready, blog, portfolio
*/

/* ==========================================================================
   骆驼之路 — 全站样式
   设计变量提取自原设计稿导出物（0.png-html/_original/styles.css），不新造色板与尺度。
   首屏在 ≥1717px 下按原稿坐标像素对齐；<1717px 转流式。
   Customizer 会输出一段覆盖 :root 变量的内联样式（在 wp_head 中，晚于本文件），
   因此主题设置改色不需要改动这里。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 色板：取自原稿 */
  --brand: #2b5cff;
  --brand-dark: #1e46d6;
  --brand-soft: rgba(43, 92, 255, .08);
  --brand-line: rgba(43, 92, 255, .22);

  --ink: #111827;
  --ink-2: #374151;
  --body: #4b5563;
  --muted: #6b7280;
  --placeholder: #9aa1ac;

  --line: #eef0f3;
  --line-2: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-page: #eef0f4;

  /* 尺度：取自原稿 */
  --radius-card: 10px;
  --radius-btn: 4px;
  --radius-pill: 17px;
  --shadow-card: 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-float: 0 8px 28px rgba(15, 23, 42, .10);
  --shadow-pop: 0 12px 32px rgba(43, 92, 255, .12);

  --header-h: 73px;
  --content: 1439px;      /* 1439 = 1717 - 139*2，原稿内容宽度 */
  --shell: 1487px;        /* 1439 + 左右各 24px 内边距 */

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 键盘可达性 */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius-btn);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 布局助手 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: clamp(56px, 6vw, 88px) 0; }
.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 860px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}

.section-title {
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .5px;
  line-height: 1.3;
}

.section-desc {
  margin-top: 18px;
  font-size: 15px;
  line-height: 28px;
  color: var(--body);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  margin-bottom: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 30px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }

.btn--outline {
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
  border: 1px solid var(--brand);
}
.btn--outline:hover { background: #fff; }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--sm { height: 38px; padding: 0 22px; font-size: 14px; }

/* 文字链接箭头 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 5. 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
}

.header-inner {
  max-width: 1717px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* 原稿：logo 左 58px、右侧动作区右 56px */
  padding-left: clamp(20px, 3.38vw, 58px);
  padding-right: clamp(20px, 3.26vw, 56px);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand-logo { width: 58px; height: 58px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .2px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 12px; color: var(--muted); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  /* 1024–1399 的紧凑档；更宽时在下面逐档放大，1717 起与原稿一致 */
  margin-left: 16px;
  height: var(--header-h);
}

@media (min-width: 1400px) {
  .nav { gap: 34px; margin-left: 40px; }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .18s;
}
.nav-link:hover { color: var(--brand); }

.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;               /* 原稿下划线位于 y≈68–71 */
  width: 32px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.lang-globe { width: 16px; height: 16px; }
.lang-chevron { width: 10px; height: 10px; }
.lang-divider { width: 1px; height: 20px; background: var(--line-2); }
.login-link { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.login-link:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }
.site-header.nav-open .nav-toggle .icon-menu { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b0f19;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(48px, 5.6vw, 62px) 24px clamp(40px, 5vw, 56px);
}

.hero-badge {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 34px;
  padding: 0 18px;
  background: rgba(43, 92, 255, .85);
  color: #fff;
  font-size: 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.15;
  font-weight: 700;
  color: #0b0f19;
  letter-spacing: 1px;
}

.hero-subtitle {
  margin-top: 25px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}

.hero-desc {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16px;
  line-height: 28px;
  color: #1f2937;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* ≥1717px：锁死原稿坐标，与 _original/index.html 逐像素对齐 */
@media (min-width: 1717px) {
  .hero { height: 505px; }
  .hero-inner { padding-top: 62px; padding-bottom: 0; }
  .hero-badge { font-size: 14px; }
  .hero-title { font-size: 62px; margin-top: 20px; }
  .hero-subtitle { font-size: 30px; margin-top: 25px; }
  .hero-desc { font-size: 16px; line-height: 28px; width: 520px; max-width: none; margin-top: 22px; }
  .hero-actions { margin-top: 28px; }
  .nav { gap: 42px; margin-left: 156px; }   /* 原稿：导航起点 x=470 */
}

/* 窄屏：背景图裁切过狠会压住文字，加一层浅色蒙版保可读性 */
@media (max-width: 767px) {
  .hero-bg { object-position: 72% center; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .80) 60%, rgba(255, 255, 255, .92) 100%);
  }
}

/* ---------- 7. 五宫格功能条 ---------- */
.feature-wrap { position: relative; z-index: 5; }

.feature-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: 28px 46px;
}

.feature-item {
  flex: 1 1 100%;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.feature-icon { width: 46px; height: 46px; flex: none; color: var(--brand); }
.feature-icon svg { width: 100%; height: 100%; }

.feature-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feature-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.feature-desc { font-size: 12px; line-height: 18px; color: var(--muted); max-width: 200px; }

/* ≥1200px：功能条上浮压住 hero 底部（原稿 y=496，hero 底 578 → 上浮 82px） */
@media (min-width: 1200px) {
  .feature-wrap { margin-top: -82px; }
  .hero-inner { padding-bottom: 108px; }
  .feature-bar { flex-wrap: nowrap; gap: 0; padding: 0 46px; min-height: 122px; }
  .feature-item { flex: 1 1 0; }
}

/* 768–1199：五宫格折成两列，上浮量减半，避免压住 hero 文案 */
@media (min-width: 768px) and (max-width: 1199px) {
  .feature-wrap { margin-top: -56px; }
  .hero-inner { padding-bottom: 80px; }
  .feature-item { flex: 1 1 calc(50% - 16px); }
  .feature-bar { gap: 28px 32px; }
}

/* ---------- 8. 产品功能（左右图文交替） ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 6vw, 84px); }

.feature-row-media { order: 2; }
.feature-row:nth-child(even) .feature-row-media { order: 0; }

.feature-row-index {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.feature-row-title {
  margin-top: 16px;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.feature-row-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 28px;
  color: var(--body);
}

.feature-row-points {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.feature-row-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 24px;
  color: var(--ink-2);
}

.feature-row-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}

.feature-row-actions { margin-top: 26px; }

.feature-art {
  position: relative;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #eef3ff 0%, #f7f9ff 55%, #eaf0ff 100%);
  border: 1px solid #e6ecfb;
  padding: clamp(20px, 3vw, 36px);
  overflow: hidden;
}
.feature-art svg { width: 100%; height: auto; display: block; }

/* ---------- 9. 解决方案 ---------- */
.sol-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
}

.sol-card {
  position: relative;
  display: block;
  min-height: 150px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.sol-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
  border-color: var(--brand-line);
}

.sol-num { font-size: 14px; font-weight: 600; color: var(--brand); letter-spacing: .3px; }
.sol-title { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sol-desc { margin-top: 10px; max-width: 190px; font-size: 12px; line-height: 18px; color: var(--muted); }
.sol-art {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 150px;
  height: 150px;
  color: var(--brand);
  opacity: .85;
  pointer-events: none;
}

/* ---------- 10. 工作流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-step { position: relative; text-align: center; padding: 0 8px; }

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 44px);
  width: calc(100% - 88px);
  height: 1px;
  background: var(--line-2);
}

.flow-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}
.flow-dot svg { width: 26px; height: 26px; }

.flow-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.flow-desc { margin-top: 10px; font-size: 13px; line-height: 22px; color: var(--muted); }

/* ---------- 11. 占位块（内容政策：不放任何编造数据） ---------- */
.ph {
  display: grid;
  place-items: center;
  background: #f4f6f9;
  border: 1px dashed #d7dbe2;
  border-radius: 8px;
  color: var(--placeholder);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.ph--media { aspect-ratio: 16 / 10; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }

.ph-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--placeholder);
}
.ph-note svg { width: 15px; height: 15px; flex: none; }

/* ---------- 12. 行业案例 ---------- */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.case-body { padding: 22px 24px 26px; }
.case-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}
.case-title { margin-top: 12px; font-size: 18px; font-weight: 700; color: var(--ink); }
.case-desc { margin-top: 10px; font-size: 13px; line-height: 22px; color: var(--muted); }
.case-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- 13. 资源中心 ---------- */
.res-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.res-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.res-card:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); border-color: var(--brand-line); }

.res-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.res-icon svg { width: 24px; height: 24px; }

.res-title { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--ink); }
.res-desc { margin-top: 10px; font-size: 13px; line-height: 22px; color: var(--muted); flex: 1; }
.res-foot { margin-top: 20px; }

/* ---------- 14. 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-text p { font-size: 15px; line-height: 30px; color: var(--body); }
.about-text p + p { margin-top: 16px; }

.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 24px; color: var(--ink-2); }
.about-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

.contact-list { display: grid; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.contact-value { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- 15. 价格方案 ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.price-card--featured { border-color: var(--brand); box-shadow: var(--shadow-pop); }

.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.price-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}
.price-for { margin-top: 10px; font-size: 13px; line-height: 22px; color: var(--muted); }

.price-amount {
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
}
.price-amount span { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--placeholder); }

.price-features { margin-top: 22px; display: grid; gap: 12px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 23px; color: var(--ink-2); }
.price-features svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

.price-cta { margin-top: 28px; }
.price-cta .btn { width: 100%; }

/* ---------- 16. CTA 横幅 ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #2b5cff 0%, #4a76ff 55%, #6b8dff 100%);
  color: #fff;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(40px, 5vw, 56px) 0;
}
.cta-title { font-size: clamp(22px, 2vw, 30px); font-weight: 700; }
.cta-desc { margin-top: 12px; max-width: 640px; font-size: 15px; line-height: 27px; color: rgba(255, 255, 255, .88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta .btn--primary { background: #fff; color: var(--brand); }
.cta .btn--primary:hover { background: #eef3ff; }
.cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta .btn--outline:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 17. 页脚 ---------- */
.site-footer { background: #0f1421; color: #9aa4b8; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding: clamp(48px, 5vw, 64px) 0 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; flex: none; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-size: 18px; font-weight: 700; color: #fff; }
.footer-sub { font-size: 12px; color: #6b7688; }
.footer-about { margin-top: 18px; max-width: 320px; font-size: 13px; line-height: 24px; color: #7d8798; }

.footer-col-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 13px; color: #9aa4b8; transition: color .18s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #6b7688;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- 18. 内页通用 ---------- */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 4vw, 56px) 0 clamp(32px, 4vw, 48px);
}

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: #cbd2dc; }
.breadcrumb .current { color: var(--ink-2); }

.page-title {
  margin-top: 18px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.page-desc { margin-top: 16px; max-width: 760px; font-size: 15px; line-height: 28px; color: var(--body); }

/* ---------- 19. 产品列表页 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-2);
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow-float); transform: translateY(-3px); border-color: var(--brand-line); }
.product-card[hidden] { display: none; }

.product-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.product-icon svg { width: 28px; height: 28px; }

.product-name { margin-top: 20px; font-size: 19px; font-weight: 700; color: var(--ink); }
.product-tagline { margin-top: 8px; font-size: 13px; color: var(--brand); font-weight: 500; }
.product-summary { margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--muted); flex: 1; }

.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.product-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--muted);
}

.product-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

.empty-state {
  display: none;
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.empty-state.show { display: block; }

/* ---------- 20. 产品详情页 ---------- */
.detail-head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* 详情页首个容器补上与 page-hero 的间距 */
.detail-mount > .container:first-child { padding-top: clamp(40px, 5vw, 64px); }

.detail-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.detail-icon svg { width: 32px; height: 32px; }

.detail-title { margin-top: 20px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.3; }
.detail-tagline { margin-top: 12px; font-size: 16px; color: var(--brand); font-weight: 500; }
.detail-desc { margin-top: 18px; font-size: 15px; line-height: 30px; color: var(--body); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.detail-aside {
  padding: 28px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.detail-aside-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.detail-aside-list { margin-top: 18px; display: grid; gap: 16px; }
.detail-aside-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 22px; color: var(--body); }
.detail-aside-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.cap-index { font-size: 14px; font-weight: 600; color: var(--brand); }
.cap-title { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--ink); }
.cap-desc { margin-top: 10px; font-size: 13px; line-height: 23px; color: var(--muted); }

/* 使用流程：带序号的时间线 */
.steps { display: grid; gap: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.step-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); padding-top: 14px; }
.step-desc { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--muted); }

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1199px) {
  .sol-cards { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .case-cards, .res-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1279px) {
  /* 7 项中文导航 + 语言切换 + 登录 + CTA 在 1280 以下放不下，折成抽屉 */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    margin-left: 0;
    padding: 8px 24px 20px;
    background: #fff;
    box-shadow: var(--shadow-float);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav-link { height: 52px; border-bottom: 1px solid var(--line); }
  .nav-link:last-child { border-bottom: 0; }
  .nav-link.active { font-weight: 600; }
  .nav-link.active::after { display: none; }

  .nav-toggle { display: inline-flex; margin-left: 12px; }
  /* 动作区仍需靠右，否则会贴住品牌名 */
  .header-actions { margin-left: auto; gap: 16px; }

  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row-media,
  .feature-row:nth-child(even) .feature-row-media { order: 0; }

  .about-grid, .detail-head { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .flow-step:not(:last-child)::after { display: none; }
  .price-cards { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .lang-switch, .lang-divider { display: none; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .brand-logo { width: 46px; height: 46px; }

  .sol-cards, .case-cards, .res-cards,
  .product-grid, .cap-grid { grid-template-columns: 1fr; }

  .feature-bar { padding: 24px; }
  .feature-desc { max-width: none; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions .btn, .detail-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 479px) {
  .login-link { display: none; }
  .header-actions { gap: 8px; }
  /* 375 宽度下品牌名与按钮会贴死，这里逐项让出空间 */
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 10px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 16px; }
  .nav-toggle { width: 36px; height: 36px; margin-left: 8px; }
  .header-actions .btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
  .section-title { font-size: 22px; }
  .flow { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-dot { width: 44px; height: 44px; font-size: 16px; }
  .step:not(:last-child)::before { left: 21px; top: 44px; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   21.5 新增板块：市场现状 / 运营场景 / 合作政策
   ========================================================================== */

/* 主色超浅底，用于让相邻板块有区分又不跳出配色体系 */
.section--tint { background: var(--brand-soft); }

/* ---------- 市场现状 ---------- */
.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.market-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
  border-color: var(--brand-line);
}

.market-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.market-icon svg { width: 26px; height: 26px; }

.market-title { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.market-desc { margin-top: 12px; font-size: 13px; line-height: 24px; color: var(--muted); }

/* ---------- 运营场景 ---------- */
.scene-cards {
  display: grid;
  gap: 20px;
}
.scene-cards--2 { grid-template-columns: repeat(2, 1fr); }
.scene-cards--3 { grid-template-columns: repeat(3, 1fr); }
.scene-cards--4 { grid-template-columns: repeat(4, 1fr); }

.scene-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.scene-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
  border-color: var(--brand-line);
}

.scene-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.scene-icon svg { width: 23px; height: 23px; }

.scene-title { margin-top: 18px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.scene-desc { margin-top: 10px; font-size: 13px; line-height: 23px; color: var(--muted); flex: 1; }

.scene-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
}
.scene-more svg { width: 15px; height: 15px; transition: transform .18s; }
a.scene-card:hover .scene-more svg { transform: translateX(3px); }

/* ---------- 合作政策 ---------- */
.policy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.policy-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.policy-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.policy-for { margin-top: 10px; font-size: 13px; line-height: 22px; color: var(--muted); }

.policy-points {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  flex: 1;
}
.policy-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 23px; color: var(--ink-2); }
.policy-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

.policy-cta { margin-top: 26px; }
.policy-cta .btn { width: 100%; }

@media (max-width: 1199px) {
  .market-cards { grid-template-columns: repeat(2, 1fr); }
  .scene-cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .scene-cards--2,
  .scene-cards--3,
  .scene-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .policy-cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .market-cards,
  .scene-cards--2,
  .scene-cards--3,
  .scene-cards--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   22. WordPress 适配
   ========================================================================== */

/* ---------- 导航：WP 输出的 li 结构 ---------- */
.nav > li {
  display: flex;
  align-items: center;
  height: var(--header-h);
  position: relative;
}

.nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 168px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s, visibility .16s;
  z-index: 70;
}
.nav > li:hover > .sub-menu,
.nav > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.nav .sub-menu li { display: block; height: auto; }
.nav .sub-menu .nav-link,
.nav .sub-menu a {
  display: block;
  height: auto;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav .sub-menu a:hover { background: var(--bg-soft); color: var(--brand); }

/* 当前页高亮：用 WP 自带的类，而不是 JS 猜 */
.nav > .current-menu-item > .nav-link,
.nav > .current-menu-ancestor > .nav-link,
.nav > .current_page_item > .nav-link,
.nav > .current_page_parent > .nav-link,
.nav > .current_page_ancestor > .nav-link,
.nav-link.active {
  color: var(--brand);
  font-weight: 600;
}

.nav > .current-menu-item > .nav-link::after,
.nav > .current-menu-ancestor > .nav-link::after,
.nav > .current_page_item > .nav-link::after,
.nav > .current_page_parent > .nav-link::after,
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 32px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

/* 折叠态下把下划线去掉 */
@media (max-width: 1279px) {
  .nav > li { height: auto; width: 100%; }
  .nav > .current-menu-item > .nav-link::after,
  .nav > .current-menu-ancestor > .nav-link::after,
  .nav > .current_page_item > .nav-link::after,
  .nav-link.active::after { display: none; }
  .nav .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav .sub-menu .nav-link { height: 44px; display: flex; align-items: center; }
}

/* ---------- 登录状态下的管理栏偏移 ---------- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
body.admin-bar { --header-h: 73px; }

/* ---------- 栅格列数 ---------- */
.product-grid--2 { grid-template-columns: repeat(2, 1fr); }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1199px) {
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .product-grid--2,
  .product-grid--4 { grid-template-columns: 1fr; }
}

.section-more { margin-top: 40px; text-align: center; }

/* ---------- 应用卡片里的标题链接 ---------- */
.product-name a { color: inherit; }
.product-name a:hover { color: var(--brand); }
.product-tag { transition: border-color .18s, color .18s; }
a.product-tag:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 案例配图 ---------- */
.case-media { background: var(--bg-soft); }
.case-media__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.case-media--empty {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: #f4f6f9;
  border-bottom: 1px dashed #d7dbe2;
  color: #c4cad4;
}
.case-media--empty svg { width: 48px; height: 48px; }

/* ---------- 详情页首个容器间距 ---------- */
.detail-mount-top { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- 分类筛选条选中态 ---------- */
.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

/* ---------- 正文排版 ---------- */
.entry-content { font-size: 15px; line-height: 30px; color: var(--body); }
.entry-content--narrow { max-width: 860px; margin: 0 auto; }
.entry-content--wide { max-width: none; }
.about-body { margin-top: 20px; }

.entry-content > * + * { margin-top: 18px; }
.entry-content h2 { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.entry-content h4 { font-size: 17px; font-weight: 700; color: var(--ink); }
.entry-content ul,
.entry-content ol { padding-left: 22px; list-style: revert; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 8px; }
.entry-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 0;
  padding: 16px 22px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--ink-2);
}
.entry-content img { border-radius: var(--radius-card); height: auto; }
.entry-content code {
  padding: 2px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
}
.entry-content pre {
  padding: 18px 20px;
  background: #0f1421;
  color: #d7deeb;
  border-radius: var(--radius-card);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.entry-content pre code { background: none; border: 0; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th,
.entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.entry-content figure { margin: 0; }
.entry-content figcaption,
.wp-caption-text {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.entry-thumb { margin-bottom: 28px; }
.entry-thumb img { width: 100%; height: auto; border-radius: var(--radius-card); }

/* 对齐类 */
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }

/* ---------- 文章列表 ---------- */
.post-list { display: grid; gap: 28px; }
.post-item {
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.post-item__title { font-size: 20px; font-weight: 700; color: var(--ink); }
.post-item__title a:hover { color: var(--brand); }
.post-item__meta { margin-top: 8px; font-size: 13px; color: var(--muted); }
.post-item__excerpt { margin-top: 12px; font-size: 14px; line-height: 26px; color: var(--body); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.post-nav a:hover { color: var(--brand); }

/* ---------- 搜索表单 ---------- */
.search-form { display: flex; gap: 10px; }
.search-field {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
}
.search-field:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }

/* ---------- 分页 ---------- */
.camel-pagination { margin-top: 48px; }
.camel-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.camel-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
}
.camel-pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.camel-pagination .page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.camel-pagination .page-numbers.dots { border: 0; background: none; }

/* ---------- 评论 ---------- */
.comments-area { margin-top: 56px; }
.comments-title,
.comment-reply-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; display: grid; gap: 20px; }
.comment-list .children { list-style: none; padding-left: 28px; margin-top: 20px; display: grid; gap: 20px; }
.comment-body {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-author { font-weight: 700; color: var(--ink); }
.comment-content { margin-top: 10px; font-size: 14px; line-height: 26px; color: var(--body); }
.comment-respond { margin-top: 36px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
}
.comment-form .form-submit { margin: 0; }
.comment-form input[type="submit"] {
  height: 44px;
  padding: 0 30px;
  font-size: 15px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: var(--radius-btn);
  cursor: pointer;
}
.comment-form input[type="submit"]:hover { background: var(--brand-dark); }

/* ---------- 屏幕阅读器文本 ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  clip: auto;
  background: #fff;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-float);
  z-index: 100000;
}

/* ---------- 编辑器里也保持一致的图片处理 ---------- */
.wp-block-image img { height: auto; }
.wp-block-quote { margin: 0; }
.wp-block-button__link { border-radius: var(--radius-btn); }

