/*
Theme Name: Hangtong Technology
Theme URI: https://www.hangtongtech.com.cn/
Author: Hangtong Technology
Author URI: https://www.hangtongtech.com.cn/
Description: 杭通科技企业官网主题 —— 面向芯片分销与电子元器件供应链企业。内置「行业方案 / 技术案例 / 品牌产品线 / 服务承诺」自定义内容模型，首页各区块数据可由后台维护，并深度适配 Rank Math SEO（面包屑、Organization / LocalBusiness 结构化数据、站点地图与社交分享）。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hangtong
Tags: business, corporate, custom-logo, custom-menu, featured-images, translation-ready, full-width-template, block-styles, wide-blocks, sticky-post
*/

/* ==========================================================================
   杭通科技主题样式
   1) 基础设计系统（Design Tokens / 组件 / 响应式）
   2) WordPress 专用补充（对齐、文章内容、分页、评论、无障碍）
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy:       #0A1B33;
  --navy-2:     #10294A;
  --navy-3:     #1A3C6B;
  --blue:       #1668E3;
  --blue-dark:  #0F4FB0;
  --blue-soft:  #EAF2FF;
  --cyan:       #22C3E6;
  --amber:      #FF8A2B;
  --amber-soft: #FFF3E6;

  --ink:        #0E1726;
  --body:       #51617A;
  --muted:      #8A99AE;
  --line:       #E5EBF3;
  --line-soft:  #F0F4FA;
  --bg:         #FFFFFF;
  --bg-soft:    #F5F8FD;
  --bg-mist:    #EFF5FF;

  --ok:         #12A76A;
  --red:        #E5484D;

  --radius-s:   8px;
  --radius:     14px;
  --radius-l:   22px;

  --shadow-s:   0 2px 8px rgba(14, 34, 64, .06);
  --shadow:     0 10px 30px rgba(14, 34, 64, .08);
  --shadow-l:   0 24px 60px rgba(10, 27, 51, .14);

  --container:  1200px;
  --head-h:     72px;

  --ease:       cubic-bezier(.22, .68, .32, 1);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", "Source Han Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, var(--font);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; color: var(--ink); font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }
::selection { background: rgba(22, 104, 227, .16); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--mist { background: linear-gradient(180deg, #F7FAFF 0%, #EEF4FE 100%); }
.section--dark { background: var(--navy); color: #C6D4E8; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--body); margin: 0; }
.section--dark .section-head p { color: #9FB3CE; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--blue); text-transform: uppercase;
  background: var(--blue-soft); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px;
}
.section--dark .eyebrow { background: rgba(34, 195, 230, .14); color: var(--cyan); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; transition: all .25s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(22, 104, 227, .28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 104, 227, .34); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(255, 138, 43, .3); }
.btn-amber:hover { background: #F07A1C; color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy); color: #93A9C6;
  font-size: 13px; letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.topbar-list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; opacity: .75; }
.topbar a { color: #93A9C6; }
.topbar a:hover { color: #fff; }
.topbar-tag { color: var(--cyan); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(14, 34, 64, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--head-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--blue) 0%, #0B47A0 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(22, 104, 227, .3);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-cn { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .06em; }
.logo-en { font-size: 9.5px; font-weight: 600; color: var(--muted); letter-spacing: .19em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: all .2s var(--ease);
}
.nav a:hover { color: var(--blue); background: var(--blue-soft); }
.nav a.active { color: var(--blue); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-tel small { font-size: 11px; color: var(--muted); }
.header-tel strong { font-family: var(--font-num); font-size: 16px; color: var(--ink); letter-spacing: .02em; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, #0A1B33 0%, rgba(10, 27, 51, 0) 180px),
    radial-gradient(1000px 520px at 78% 42%, rgba(34, 195, 230, .14), transparent 62%),
    radial-gradient(760px 460px at 8% 92%, rgba(22, 104, 227, .24), transparent 60%),
    linear-gradient(160deg, #0A1B33 0%, #0C2544 48%, #123763 100%);
  color: #D6E3F5; padding: 104px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: -140px; width: 780px; height: 780px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 104, 227, .28), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; color: #B8CEEA; margin-bottom: 26px;
}
.hero-eyebrow b {
  background: var(--cyan); color: #06243B; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .06em;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  color: #fff; line-height: 1.2; margin-bottom: 22px; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-sub { font-size: 18px; color: #A8BEDC; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: #8FA8C8; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--cyan); }

/* Hero stat strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 8px;
}
.hero-stat { padding: 22px 4px 0; border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat b {
  display: block; font-family: var(--font-num);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.01em;
}
.hero-stat b i { font-style: normal; font-size: .62em; color: var(--cyan); margin-left: 1px; }
.hero-stat span { font-size: 13px; color: #8FA8C8; }

/* Hero side card */
.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-l);
  padding: 30px; backdrop-filter: blur(14px);
  box-shadow: var(--shadow-l);
}
.hero-card h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.hero-card > p { color: #9FB6D4; font-size: 14.5px; margin-bottom: 22px; }
.hero-card-list { display: grid; gap: 12px; margin-bottom: 24px; }
.hero-card-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; color: #CFDCEE;
  background: rgba(255, 255, 255, .05); border-radius: var(--radius-s); padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .07);
}
.hero-card-list svg { width: 17px; height: 17px; color: var(--cyan); flex: none; margin-top: 3px; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-card-foot small { color: #8FA8C8; font-size: 12.5px; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 14px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; }
.stat-item b {
  display: block; font-family: var(--font-num); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--blue); line-height: 1.15; letter-spacing: -.01em;
}
.stat-item b i { font-style: normal; font-size: .6em; }
.stat-item span { font-size: 13.5px; color: var(--body); }
.stat-band--light .stat-item { border-color: rgba(255, 255, 255, .12); }
.stat-band--light .stat-item b { color: #fff; }
.stat-band--light .stat-item span { color: #93A9C6; }

/* ---------- Pain / problem cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.pain-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--amber)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pain-card:hover::before { transform: scaleX(1); }
.pain-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #FFF1EC, #FFE4DA); margin-bottom: 18px;
}
.pain-icon svg { width: 23px; height: 23px; color: #D9542E; }
.pain-card h3 { font-size: 17px; margin-bottom: 10px; }
.pain-card p { font-size: 14px; margin: 0; color: var(--body); }
.pain-card .pain-hint {
  display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--red); font-weight: 600;
}

/* ---------- Philosophy (杭通之道) ---------- */
.philosophy { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.quote-block {
  position: relative; padding: 40px 36px;
  background: linear-gradient(150deg, #0C2544, #123763);
  border-radius: var(--radius-l); color: #C6D4E8; overflow: hidden;
  box-shadow: var(--shadow-l);
}
.quote-block::after {
  content: "\201C"; position: absolute; right: 20px; top: -30px;
  font-size: 180px; font-family: Georgia, serif; color: rgba(255, 255, 255, .06); line-height: 1;
}
.quote-block .quote-cn { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .1em; margin-bottom: 8px; }
.quote-block .quote-en { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.quote-block p { color: #A8BEDC; font-size: 15px; position: relative; z-index: 1; margin: 0; }
.philosophy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.phil-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: all .3s var(--ease);
}
.phil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(22, 104, 227, .28); }
.phil-card .phil-idx {
  font-family: var(--font-num); font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 3px 9px; display: inline-block; margin-bottom: 14px;
}
.phil-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.phil-card p { font-size: 14px; margin: 0; color: var(--body); }

/* ---------- Promise cards ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
  transition: all .3s var(--ease);
}
.promise-card::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 104, 227, .1), transparent 70%);
  transition: transform .45s var(--ease);
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.promise-card:hover::after { transform: scale(1.5); }
.promise-no {
  font-family: var(--font-num); font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--line); margin-bottom: 14px; letter-spacing: -.02em;
}
.promise-card h3 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.promise-card h3 svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.promise-card > p { font-size: 14.5px; margin-bottom: 18px; }
.promise-meta { display: grid; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--line); }
.promise-meta div { display: flex; gap: 10px; font-size: 13.5px; }
.promise-meta dt { flex: none; width: 62px; color: var(--muted); }
.promise-meta dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- Case cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; transition: all .3s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.case-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--blue); background: var(--blue-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.case-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.case-result {
  font-size: 15px; font-weight: 700; color: var(--ok); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.case-result svg { width: 17px; height: 17px; flex: none; }
.case-card p { font-size: 14px; color: var(--body); margin-bottom: 20px; }
.case-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.case-figures { display: flex; gap: 18px; }
.case-figure b { display: block; font-family: var(--font-num); font-size: 17px; color: var(--ink); font-weight: 800; line-height: 1.2; }
.case-figure span { font-size: 12px; color: var(--muted); }

/* ---------- Linecard / brands ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.cat-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: all .3s var(--ease);
}
.cat-card:hover { border-color: rgba(22, 104, 227, .35); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.cat-icon {
  width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h4 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; margin: 0; color: var(--body); }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 124px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff;
  transition: all .25s var(--ease); text-align: center; padding: 8px;
}
.brand-chip:hover { border-color: var(--blue); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.brand-chip b { font-family: var(--font-num); font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.brand-chip span { font-size: 11.5px; color: var(--muted); }

/* ---------- Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-card {
  position: relative; overflow: hidden; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: all .3s var(--ease);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.industry-card .ind-count {
  font-size: 12px; font-weight: 700; color: var(--amber);
  background: var(--amber-soft); border-radius: 999px; padding: 3px 11px; display: inline-block; margin-bottom: 16px;
}
.industry-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.industry-card:hover h4 { color: var(--blue); }
.industry-card p { font-size: 13.5px; margin: 0 0 16px; }
.industry-card .ind-link { font-size: 13.5px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; }
.industry-card .ind-link svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.industry-card:hover .ind-link svg { transform: translateX(3px); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-thumb {
  height: 158px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0C2544, #17457C 55%, #1668E3);
  display: grid; place-items: center;
}
.news-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.news-thumb svg { width: 54px; height: 54px; color: rgba(255, 255, 255, .3); position: relative; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news-date .d {
  font-family: var(--font-num); font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1;
}
.news-date .m { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.news-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 12px; }
.news-card:hover h3 { color: var(--blue); }
.news-card p { font-size: 13.5px; color: var(--body); margin-bottom: 18px; }
.news-body .link-arrow { margin-top: auto; font-size: 14px; }

/* ---------- Feature list / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; gap: 18px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .fi-icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; margin: 0; }

/* ---------- Panels (used on inner pages) ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 40px; box-shadow: var(--shadow-s);
}
.panel--soft { background: var(--bg-soft); box-shadow: none; }

.page-hero {
  position: relative; overflow: hidden; padding: 76px 0 68px; color: #C6D4E8;
  background:
    radial-gradient(760px 380px at 82% 0%, rgba(34, 195, 230, .2), transparent 60%),
    linear-gradient(150deg, #08182E, #0E2C52 60%, #16426F);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  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: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 90% at 40% 40%, #000 20%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { color: #A8BEDC; font-size: 17px; max-width: 720px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #8FA8C8; margin-bottom: 20px; }
.breadcrumb a { color: #8FA8C8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.breadcrumb .current { color: var(--cyan); }

/* Industry detail blocks */
.ind-detail { border-top: 1px solid var(--line); padding: 64px 0; }
.ind-detail:first-of-type { border-top: 0; }
.ind-detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 52px; }
.ind-detail-head .ind-no {
  font-family: var(--font-num); font-size: 13px; font-weight: 800; color: var(--blue);
  letter-spacing: .14em; margin-bottom: 12px; display: block;
}
.ind-detail-head h2 { font-size: 26px; margin-bottom: 12px; }
.ind-detail-head p { font-size: 15px; color: var(--body); }
.ind-value {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-mist);
  border-left: 3px solid var(--blue);
}
.ind-value small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.ind-value strong { font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.6; }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ind-box { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.ind-box--pain { background: #FFF8F6; border-color: #FFE1D6; }
.ind-box--sol { background: #F5F9FF; border-color: #D7E6FF; }
.ind-box h4 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.ind-box h4 svg { width: 18px; height: 18px; }
.ind-box--pain h4 { color: #C4441F; }
.ind-box--sol h4 { color: var(--blue); }
.ind-box p { font-size: 14.5px; margin: 0; color: var(--ink); }
.brand-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.brand-tags .bt-label { font-size: 13px; color: var(--muted); margin-right: 4px; align-self: center; }
.brand-tag {
  font-size: 13px; font-weight: 600; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
}

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 15px; color: var(--ink); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 227, .12);
}
.field-hint { font-size: 12.5px; color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-s);
  background: #EAF9F2; color: #0B7A4D; border: 1px solid #BFEAD6; font-size: 14px; font-weight: 600;
}
.form-success.show { display: block; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: all .3s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .cc-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 18px;
}
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 16px; margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; margin: 0; color: var(--ink); font-weight: 500; line-height: 1.75; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  padding: 58px 56px; color: #C6D4E8;
  background:
    radial-gradient(600px 300px at 88% 12%, rgba(34, 195, 230, .22), transparent 60%),
    linear-gradient(140deg, #0A1B33, #12395F 70%, #1668E3);
  box-shadow: var(--shadow-l);
}
.cta-band::before {
  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: 44px 44px; opacity: .6;
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 10px; }
.cta-inner p { color: #A8BEDC; margin: 0; font-size: 16px; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #8FA8C8; padding: 72px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 600; }
.site-footer .logo-cn, .site-footer .logo-en { color: #fff; }
.site-footer .logo-en { color: #7C93B3; }
.footer-about p { margin: 18px 0 0; color: #8FA8C8; font-size: 13.5px; line-height: 1.85; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #8FA8C8; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { margin-bottom: 14px; font-size: 13.5px; display: flex; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan); flex: none; margin-top: 3px; }
.footer-contact b { color: #fff; font-family: var(--font-num); font-size: 17px; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #6D84A3;
}
.footer-bottom a { color: #6D84A3; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .philosophy { grid-template-columns: 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-band { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .stat-item:nth-child(4) { border-left: 0; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .g-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-tel { display: none; }
  .nav {
    position: fixed; inset: calc(var(--head-h) + 38px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 22px; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav-open .nav { max-height: 76vh; overflow-y: auto; padding-top: 12px; padding-bottom: 22px; }
  .nav a { padding: 13px 12px; border-radius: 8px; font-size: 15.5px; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--blue-soft); }
  .header-actions .btn { display: none; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .promise-grid, .case-grid, .news-grid, .cat-grid, .contact-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .topbar .container { justify-content: center; }
  .topbar-list .topbar-mail { display: none; }
  .hero { padding: 62px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stat { padding-left: 20px; }
  .hero-stat:first-child, .hero-stat:nth-child(3) { padding-left: 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .philosophy-cards { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .panel { padding: 28px 22px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(odd) { border-left: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .ind-cols { grid-template-columns: 1fr; }
  .quote-block { padding: 30px 24px; }
  .quote-block .quote-cn { font-size: 22px; }
}

/* ==========================================================================
   2) WordPress 专用补充样式
   ========================================================================== */

/* ---------- 无障碍：屏幕阅读器文本 / 跳转链接 ---------- */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; border-radius: 4px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip-path: none; color: var(--blue); display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 16px; line-height: normal; padding: 14px 22px; text-decoration: none;
  top: 16px; width: auto; z-index: 100000;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100000; }

/* ---------- 文章正文排版（编辑器内容） ---------- */
.entry-content { font-size: 16.5px; line-height: 1.9; color: var(--body); }
.entry-content > * { margin-bottom: 1.4em; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; padding-left: 16px; border-left: 4px solid var(--blue); }
.entry-content h3 { font-size: 1.28rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content a.btn, .entry-content a.link-arrow { text-decoration: none; }
.entry-content blockquote {
  margin: 0 0 1.4em; padding: 26px 30px; border-radius: var(--radius);
  background: var(--bg-mist); border-left: 4px solid var(--blue);
  font-size: 16.5px; color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px;
  padding: 2px 7px; font-size: .9em; color: #C4441F;
}
.entry-content pre {
  background: var(--navy); color: #C6D4E8; padding: 24px 26px; border-radius: var(--radius);
  overflow: auto; font-size: 14px; line-height: 1.75;
}
.entry-content pre code { background: none; border: 0; color: inherit; padding: 0; }
.entry-content img, .entry-content iframe, .entry-content video { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 12px 15px; text-align: left; }
.entry-content th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* 图片对齐 */
.alignleft { float: left; margin: .4em 1.6em 1.2em 0; }
.alignright { float: right; margin: .4em 0 1.2em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); width: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption, figcaption {
  font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px;
}
.sticky .entry-title::before { content: "★ "; color: var(--amber); }

/* 区块通用微调 */
.wp-block-button__link { border-radius: 999px; padding: 13px 26px; font-weight: 600; }
.wp-block-quote { border-left-width: 4px; }
.entry-content .wp-block-group { padding: 0; }

/* ---------- 文章头部 / 元信息 ---------- */
.entry-header { margin-bottom: 26px; }
.entry-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: 13.5px; color: var(--muted);
}
.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--blue); }
.entry-meta .sep { opacity: .5; }
.entry-meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }
.entry-meta__item { display: inline-flex; align-items: center; }

.entry-thumb { margin-bottom: 30px; border-radius: var(--radius-l); overflow: hidden; }
.entry-thumb img { width: 100%; height: auto; }

.entry-footer {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
}
.entry-footer a { color: var(--ink); font-weight: 500; }
.entry-footer a:hover { color: var(--blue); }
.tagcloud-inline a {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 13px; font-size: 13px !important; margin: 0 6px 6px 0;
}

/* ---------- 列表布局（归档 / 搜索） ---------- */
.post-list { display: grid; gap: 22px; }
.post-list--grid { grid-template-columns: repeat(3, 1fr); }
.post-list--list { grid-template-columns: 1fr; }

.post-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post-item__thumb { height: 168px; overflow: hidden; background: var(--bg-soft); flex: none; }
.post-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.post-item:hover .post-item__thumb img { transform: scale(1.05); }
.post-item__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-item__body .entry-meta { margin-bottom: 12px; }
.post-item__title { font-size: 17.5px; line-height: 1.5; margin-bottom: 12px; }
.post-item:hover .post-item__title { color: var(--blue); }
.post-item__excerpt { font-size: 14px; color: var(--body); margin-bottom: 18px; }
.post-item__body .link-arrow { margin-top: auto; font-size: 14px; }

.post-item--row { flex-direction: row; }
.post-item--row .post-item__thumb { width: 300px; height: auto; }
@media (max-width: 700px) {
  .post-item--row { flex-direction: column; }
  .post-item--row .post-item__thumb { width: 100%; height: 190px; }
}

/* ---------- 分页 ---------- */
.pagination, .navigation.pagination { margin-top: 52px; display: flex; justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 600; transition: all .22s var(--ease);
}
.nav-links .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.nav-links .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.nav-links .page-numbers.dots { border: 0; background: none; color: var(--muted); }

.post-navigation { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; justify-content: stretch; }
.post-navigation .nav-previous, .post-navigation .nav-next { min-width: 0; }
.post-navigation a {
  display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: all .28s var(--ease); height: 100%;
}
.post-navigation a:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .meta-nav { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: .08em; }
.post-navigation .post-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.55; }

/* ---------- 评论 ---------- */
.comments-area { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 20px; margin-bottom: 26px; }
.comment-list { display: grid; gap: 22px; margin-bottom: 44px; }
.comment-list .children { margin-top: 22px; padding-left: 34px; display: grid; gap: 22px; }
.comment-body {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; position: relative;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-author .avatar { width: 44px; height: 44px; border-radius: 50%; }
.comment-author .fn { font-weight: 700; color: var(--ink); font-style: normal; font-size: 15px; }
.comment-metadata { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.comment-metadata a { color: var(--muted); }
.comment-content { font-size: 15px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 12px; }
.comment-reply-link {
  font-size: 13.5px; font-weight: 600; color: var(--blue);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 15px;
}
.comment-reply-link:hover { border-color: var(--blue); }
.comment-form { display: grid; gap: 18px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 15px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.comment-form input:focus, .comment-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 227, .12);
}
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
  background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 34px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s var(--ease);
}
.comment-form .submit:hover { background: var(--blue-dark); transform: translateY(-2px); }
.comment-notes, .logged-in-as { font-size: 13.5px; color: var(--muted); }
.comment-respond { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px; }

/* ---------- 404 / 空状态 ---------- */
.empty-state, .error-404 {
  text-align: center; padding: 96px 0;
}
.error-404 .error-code {
  font-family: var(--font-num); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800;
  line-height: 1; color: var(--blue); opacity: .14; letter-spacing: -.03em; margin-bottom: -18px;
}
.error-404 h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.error-404 p { max-width: 520px; margin: 0 auto 30px; }
.error-404 .btn-row { justify-content: center; }
.no-results .search-form { max-width: 480px; margin: 28px auto 0; }

/* ---------- 搜索表单 ---------- */
.search-form { display: flex; gap: 10px; align-items: stretch; }
.search-form .search-field {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-form .search-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 227, .12); }
.search-form .search-submit {
  background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 26px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s var(--ease);
}
.search-form .search-submit:hover { background: var(--blue-dark); }

/* ---------- WordPress 管理栏偏移 ---------- */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .nav { inset: calc(var(--head-h) + 38px) 0 auto 0; }
}

/* ---------- 区块编辑器 / 小工具 ---------- */
.widget { margin-bottom: 34px; }
.widget-title { font-size: 15px; color: var(--ink); margin-bottom: 18px; font-weight: 600; }
.widget ul li { margin-bottom: 11px; }
.widget a { color: var(--body); font-size: 14px; }
.widget a:hover { color: var(--blue); }

/* ---------- 打印 ---------- */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .cta-band, .comments-area { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .entry-content a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 1100px) {
  .post-list--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .alignwide, .alignfull { margin-left: 0; margin-right: 0; max-width: 100%; width: auto; }
  .comment-respond { padding: 26px 22px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
}
@media (max-width: 640px) {
  .post-list--grid { grid-template-columns: 1fr; }
  .post-list--grid, .post-list--list { grid-template-columns: 1fr; }
  .alignleft, .alignright { float: none; margin: 0 0 1.2em; }
}

/* ==========================================================================
   3) Rank Math SEO 面包屑适配 + 主题补充
   ========================================================================== */

/* Rank Math 输出结构：<nav class="rank-math-breadcrumb"><p><a>..</a><span class="separator">..</span><span class="last">..</span></p></nav> */
.breadcrumb.rank-math-breadcrumb p { margin: 0; font-size: 13.5px; color: #8FA8C8; }
.breadcrumb.rank-math-breadcrumb a { color: #8FA8C8; }
.breadcrumb.rank-math-breadcrumb a:hover { color: #fff; }
.breadcrumb.rank-math-breadcrumb .separator {
  display: inline-block; margin: 0 9px; opacity: .55;
  font-size: 12px; transform: translateY(-1px);
}
.breadcrumb.rank-math-breadcrumb .last { color: var(--cyan); font-weight: 600; }

/* 浅色背景下的面包屑（用于普通页面顶部） */
.page-hero--light .breadcrumb.rank-math-breadcrumb p,
.page-hero--light .breadcrumb.rank-math-breadcrumb a { color: var(--muted); }
.page-hero--light .breadcrumb.rank-math-breadcrumb a:hover { color: var(--blue); }

/* ---------- 缩略图占位 ---------- */
.thumb-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(140deg, #0C2544, #17457C 55%, #1668E3);
  color: rgba(255, 255, 255, .32);
}
.thumb-placeholder svg { width: 54px; height: 54px; }

/* ---------- 窄内容容器（用于文章 / 页面正文） ---------- */
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1320px; }

/* ---------- 侧栏式两栏（可选） ---------- */
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1020px) {
  .layout-with-sidebar { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- 正文内的小组件 ---------- */
.info-box {
  border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line);
  background: var(--bg-soft); margin-bottom: 1.5em;
}
.info-box strong { color: var(--ink); }

/* ---------- 文章目录 / 归档统计 ---------- */
.archive-meta { font-size: 14px; color: var(--muted); margin-top: -34px; margin-bottom: 44px; text-align: center; }

/* ---------- 导航当前项高亮（WordPress 动态类名适配） ---------- */
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_ancestor > a,
.nav .current-menu-parent > a {
  color: var(--blue); font-weight: 700;
}
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after,
.nav .current-menu-parent > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
@media (max-width: 900px) {
  .nav .current-menu-item > a::after,
  .nav .current_page_item > a::after,
  .nav .current-menu-ancestor > a::after,
  .nav .current-menu-parent > a::after { display: none; }
}

/* ---------- 导航子菜单（WordPress 二级菜单） ---------- */
.nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; z-index: 210;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .24s var(--ease);
}
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav .sub-menu a { display: block; padding: 9px 14px; font-size: 14.5px; font-weight: 500; border-radius: 8px; }
@media (max-width: 900px) {
  .nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; padding: 0 0 0 12px; margin: 4px 0 8px 12px;
    display: none;
  }
  .nav li.is-open > .sub-menu { display: block; }
}

/* ---------- 自定义 Logo 图片尺寸 ---------- */
.logo--image .custom-logo-link { display: block; }
.logo--image img.custom-logo { max-height: 44px; width: auto; }

/* ---------- WordPress 菜单结构适配 ----------
   wp_nav_menu 输出 <nav class="nav"><ul class="nav-menu"><li>…</li></ul></nav>，
   需要把桌面端的横向布局与列表默认样式适配到内层 ul / li。 */
.nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .nav .nav-menu {
    display: block;
  }
  .nav .nav-menu > li + li { margin-top: 2px; }
}

/* ---------- Logo 图标 + 文字组合布局 ---------- */
.logo--image { display: flex; align-items: center; gap: 10px; }

/* ---------- 页脚 Logo（图片 + 文字组合，深色底适配） ---------- */
.footer-about .logo--footer { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-about .logo--footer .custom-logo-link { display: block; line-height: 0; }
.footer-about .logo--footer img.custom-logo { max-height: 42px; width: auto; }

/* ==========================================================================
   4) 深色页头（与顶部信息条 / Hero 配色统一）
   ========================================================================== */
.site-header {
  background: var(--navy);
  border-bottom: 0;
}
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(3, 10, 24, .5); }

.logo-cn { color: #fff; }
.logo-en { color: #7C93B3; }

.nav a { color: #C7D6EC; }
.nav a:hover { color: #fff; background: rgba(22, 104, 227, .24); }
.nav a.active { color: var(--cyan); }
.nav a.active::after { background: var(--cyan); }

/* WordPress 动态当前项高亮 */
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_ancestor > a,
.nav .current-menu-parent > a { color: var(--cyan); font-weight: 700; }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after,
.nav .current-menu-parent > a::after { background: var(--cyan); }

.header-tel small { color: #7C93B3; }
.header-tel strong { color: #fff; }

.nav-toggle { border-color: rgba(124, 158, 210, .3); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #E5EEFA; }

/* 桌面端下拉子菜单 */
.nav .sub-menu {
  background: var(--navy-2);
  border: 1px solid rgba(124, 158, 210, .18);
  box-shadow: 0 18px 44px rgba(3, 10, 24, .5);
}
.nav .sub-menu a { color: #C7D6EC; }
.nav .sub-menu a:hover { color: #fff; background: rgba(22, 104, 227, .24); }

/* 移动端下拉面板同步深色 */
@media (max-width: 900px) {
  .nav {
    background: var(--navy-2);
    border-bottom: 1px solid rgba(124, 158, 210, .16);
  }
  .nav a { color: #C7D6EC; }
  .nav a.active { background: rgba(22, 104, 227, .26); }
  .nav .sub-menu { border-left-color: rgba(124, 158, 210, .2); }
  .nav li.is-open > .sub-menu a { color: #9FB3D0; }
}

/* ---------- 品牌卡片 logo ---------- */
.brand-chip img.brand-logo { max-height: 72px; max-width: 100%; object-fit: contain; }

/* ---------- 语言切换器（导航末尾） ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: 14px; padding-left: 14px;
  border-left: 1px solid rgba(124, 158, 210, .25);
  font-family: var(--font-num);
}
.lang-item {
  font-size: 13px; font-weight: 600; color: #7C93B3;
  padding: 4px 8px; border-radius: 6px; transition: all .2s var(--ease);
}
.lang-item:hover { color: #fff; }
.lang-item.is-active { color: var(--cyan); background: rgba(34, 195, 230, .12); }
.lang-sep { color: rgba(124, 158, 210, .4); font-size: 12px; }
@media (max-width: 900px) {
  .lang-switch { margin: 6px 0 10px 14px; padding-left: 14px; }
}
