@charset "utf-8";
/* ==========================================================================
   明衡律师事务所 Mingheng Law Firm — 全站样式
   纯本地资源：无 CDN / 无外链字体 / 无外链图标，图标以内联 SVG sprite 提供
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --navy: #0b2540;
  --navy-deep: #061626;
  --navy-soft: #143457;
  --ink: #14212f;
  --gold: #c8a45c;
  --gold-soft: #e3cd9a;
  --paper: #f7f5f1;
  --paper-2: #efece5;
  --white: #ffffff;
  --line: #e4e0d8;
  --line-2: #d8d3c8;
  --text: #2b3542;
  --muted: #6d7a8a;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 64, .06);
  --shadow: 0 14px 40px rgba(11, 37, 64, .10);
  --shadow-lg: 0 26px 60px rgba(11, 37, 64, .16);
  --maxw: 1240px;
  --header-h: 76px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun",
    Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: .01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(28px, 5vw, 50px); }
h2 { font-size: clamp(23px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  max-width: 100%;
}

button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--navy-deep); }

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

/* ---------- 3. 布局工具 ---------- */
.container {
  width: min(100% - 36px, var(--maxw));
  margin-inline: auto;
}

.section { padding: clamp(46px, 7vw, 92px) 0; }
.section--tint { background: var(--paper); }
.section--deep { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--deep h2,
.section--deep h3 { color: #fff; }

.grid { display: grid; gap: 24px; min-width: 0; }
.grid > * { min-width: 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.section__sub {
  max-width: 62ch;
  color: var(--muted);
  margin: 10px 0 0;
}

.section--deep .section__sub { color: rgba(255, 255, 255, .66); }

/* ---------- 4. 按钮 ---------- */
.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.2;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .28s var(--ease), background .28s var(--ease),
    color .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

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

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 26px rgba(200, 164, 92, .3);
}
.btn--primary:hover { background: #d8b46c; transform: translateY(-2px); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); transform: translateY(-2px); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.text-link svg { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.text-link:hover { color: var(--gold); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 5. 顶部工具条 ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .7);
  font-size: 13.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}

.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.topbar a:hover { color: #fff; }

.topbar__social { display: flex; gap: 12px; }
.topbar__social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background .25s var(--ease);
}
.topbar__social a:hover { background: var(--gold); color: var(--navy-deep); }
.topbar__social svg { width: 14px; height: 14px; }

/* ---------- 6. 头部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}

.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  flex: none;
}

.logo__mark {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
}
.logo__mark svg { width: 24px; height: 24px; }

.logo__text { line-height: 1.15; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}
.logo__slogan {
  display: block;
  font-size: 10.5px;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.nav__link:hover { color: var(--gold); background: rgba(200, 164, 92, .1); }
.nav__item.is-active > .nav__link { color: var(--gold); }
.nav__link .caret { width: 12px; height: 12px; transition: transform .25s var(--ease); }

.nav__item { position: relative; }
.nav__item--has-sub:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 218px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all .28s var(--ease);
}
.nav__item--has-sub:hover .submenu,
.nav__item--has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text);
}
.submenu a:hover { background: var(--paper); color: var(--navy); padding-left: 20px; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all .25s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.header__phone {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header__phone svg { width: 17px; height: 17px; color: var(--gold); }
.header__phone small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--muted);
}

.nav-toggle { display: none; }

/* ---------- 7. 移动端抽屉导航 ---------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  z-index: 120;
  background: var(--navy-deep);
  color: #fff;
  padding: 22px 22px 40px;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__logo { font-family: var(--font-serif); font-size: 19px; color: #fff; letter-spacing: .06em; }
.drawer__close { color: #fff; width: 40px; height: 40px; display: grid; place-items: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 16.5px;
  font-weight: 600;
}
.drawer__nav a svg { width: 16px; height: 16px; color: var(--gold); }
.drawer__nav a:hover { color: var(--gold); padding-left: 10px; }
.drawer__contact { margin-top: 26px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.drawer__contact strong { display: block; font-family: var(--font-serif); font-size: 24px; color: var(--gold); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 22, 38, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- 8. 搜索浮层 ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 40px;
  background: rgba(6, 22, 38, .82);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease);
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 620px);
  padding: 8px 8px 8px 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.search-panel__form input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: none;
  font-size: 16px;
  background: transparent;
}
.search-panel__form button { flex: none; }
.search-panel__hint { width: min(100%, 620px); margin: 14px auto 0; color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.search-panel__close { position: absolute; top: 22px; right: 22px; color: #fff; }
.search-panel__close svg { width: 26px; height: 26px; }

/* ---------- 9. 首页 Banner ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 520px; height: 520px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
}
.hero__badge span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 12px;
}
.hero__title {
  margin: 22px 0 0;
  font-size: clamp(30px, 5.4vw, 58px);
  line-height: 1.22;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__desc {
  max-width: 52ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(15px, 1.5vw, 17px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__stats b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--gold);
  line-height: 1.1;
}
.hero__stats span { font-size: 13.5px; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; }
.hero__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .1);
}
.hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 260px;
}
.hero__card svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.hero__card b { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.hero__card span { font-size: 12.5px; color: var(--muted); }
.hero__card--1 { left: -18px; bottom: 44px; }
.hero__card--2 { right: -14px; top: 34px; }

/* ---------- 10. 分类信息（业务领域） ---------- */
.services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
    border-color .35s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--paper);
  color: var(--navy);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--navy); color: var(--gold); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: 4px 0 0; font-size: 19px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 6px; }
.service-card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--paper-2);
  line-height: 1;
  transition: color .3s var(--ease);
}
.service-card:hover .service-card__num { color: rgba(200, 164, 92, .28); }

/* ---------- 11. 带缩略图的文章卡片 ---------- */
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 26px; }

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.07); }

.post-card__cat {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(11, 37, 64, .88);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.post-card__title { margin: 0; font-size: 19px; line-height: 1.45; }
.post-card__title a { transition: color .25s var(--ease); }
.post-card:hover .post-card__title a { color: var(--navy); }
.post-card__excerpt {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__foot { margin-top: auto; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.post-meta li { display: flex; align-items: center; gap: 6px; }
.post-meta svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ---------- 12. 无缩略图文章列表（双列 / 三列） ---------- */
.columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 30px; }

.col-block {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.col-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--paper-2);
}
.col-block__head h3 { margin: 0; font-size: 18.5px; }

.num-list li { border-bottom: 1px dashed var(--line); }
.num-list li:last-child { border-bottom: 0; }
.num-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  transition: padding .28s var(--ease);
}
.num-list a:hover { padding-left: 6px; }
.num-list .num {
  flex: none;
  width: 24px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--line-2);
  transition: color .28s var(--ease);
}
.num-list a:hover .num { color: var(--gold); }
.num-list .txt { flex: 1; min-width: 0; font-size: 15.5px; color: var(--text); line-height: 1.6; }
.num-list a:hover .txt { color: var(--navy); }
.num-list .date { flex: none; font-size: 12.5px; color: var(--muted); }

/* ---------- 13. 表单提交模块 ---------- */
.consult { position: relative; overflow: hidden; }
.consult__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.consult__info h2 { color: #fff; }
.consult__info > p { color: rgba(255, 255, 255, .7); }

.consult__list { margin-top: 26px; display: grid; gap: 18px; }
.consult__list li { display: flex; gap: 13px; align-items: flex-start; }
.consult__list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.consult__list b { display: block; color: #fff; font-size: 15.5px; font-weight: 600; }
.consult__list span { font-size: 14px; color: rgba(255, 255, 255, .62); }

.consult__form {
  padding: clamp(24px, 3.4vw, 38px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.consult__form h3 { margin-bottom: 6px; }
.consult__form > p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: #d4553f; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fdfcfb;
  font-size: 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 37, 64, .08);
}
.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: #d4553f; }
.field__error { font-size: 12.5px; color: #d4553f; min-height: 0; display: none; }
.field.is-error .field__error { display: block; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); }
.checkbox input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.checkbox a { color: var(--navy); text-decoration: underline; }

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}
.form-msg.is-show { display: block; }
.form-msg--ok { background: #eef6f0; color: #2f6b45; border: 1px solid #cfe6d7; }
.form-msg--err { background: #fdf0ed; color: #a8412c; border: 1px solid #f2d4cc; }

/* ---------- 14. 友情链接 ---------- */
.links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.links__grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  color: var(--text);
  transition: all .28s var(--ease);
}
.links__grid a svg { width: 13px; height: 13px; color: var(--gold); opacity: 0; transition: opacity .28s var(--ease); }
.links__grid a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.links__grid a:hover svg { opacity: 1; }

/* ---------- 15. 页脚 ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .66);
  font-size: 14.5px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 48px);
}
.footer__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--gold);
}
.footer__about p { margin-bottom: 18px; }

.footer__contact { display: grid; gap: 13px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 4px; }
.footer__contact a:hover { color: #fff; }

.footer__links { display: grid; gap: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: transform .25s var(--ease); }
.footer__links a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
}
.footer__links a:hover { color: #fff; transform: translateX(4px); }

.footer__qr { display: flex; gap: 16px; align-items: center; }
.footer__qr img {
  width: 104px; height: 104px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  flex: none;
}
.footer__qr p { font-size: 13.5px; margin: 0; }

.footer__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__tags a {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 13px;
}
.footer__tags a:hover { border-color: var(--gold); color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer__bottom a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- 16. 内页 Banner + 面包屑 ---------- */
.page-banner {
  position: relative;
  background: var(--navy) url("../img/page-banner.svg") center / cover no-repeat;
  color: #fff;
  padding: clamp(40px, 6vw, 68px) 0 clamp(34px, 5vw, 54px);
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 38, .82), rgba(6, 22, 38, .5));
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { margin: 12px 0 0; color: #fff; }
.page-banner p { margin: 12px auto 0; max-width: 60ch; color: rgba(255, 255, 255, .72); }

.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold-soft); }

/* ---------- 17. 列表页（归档） ---------- */
.archive { padding: clamp(40px, 6vw, 72px) 0 clamp(50px, 7vw, 90px); }
.archive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  margin-bottom: 28px;
  background: var(--paper);
  border-radius: var(--radius);
}
.filter-bar__label { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--text);
  transition: all .26s var(--ease);
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.post-row {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.post-row + .post-row { margin-top: 20px; }
.post-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.post-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-row:hover .post-row__media img { transform: scale(1.06); }
.post-row__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post-row__title { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; }
.post-row:hover .post-row__title a { color: var(--navy); }
.post-row__excerpt { font-size: 14.5px; color: var(--muted); margin: 0; }
.post-row__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text);
  transition: all .25s var(--ease);
}
.pagination a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 18. 侧边栏挂件 ---------- */
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.widget__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 17.5px;
}
.widget__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--gold);
}
.widget--dark { background: var(--navy); color: rgba(255, 255, 255, .74); border-color: transparent; }
.widget--dark .widget__title { color: #fff; }
.widget--dark p { font-size: 14px; }
.widget--dark .btn { margin-top: 16px; }

.rank-list li + li { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rank-list a { display: flex; gap: 12px; align-items: flex-start; }
.rank-list .rk {
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.rank-list li:first-child .rk { background: var(--gold); color: var(--navy-deep); }
.rank-list .tx { font-size: 15px; line-height: 1.6; color: var(--text); }
.rank-list a:hover .tx { color: var(--navy); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
}
.tag-cloud a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 19. 文章页 ---------- */
.article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
.article { min-width: 0; }
.article__head { margin-bottom: 26px; }
.article__cat { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--navy); color: var(--gold-soft); font-size: 13px; font-weight: 600; }
.article__title { margin: 16px 0 0; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.32; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.article__meta span { display: flex; align-items: center; gap: 6px; }
.article__meta svg { width: 15px; height: 15px; color: var(--gold); }

.article__lead {
  margin: 26px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16.5px;
  color: var(--ink);
}

.article__body { font-size: 16.5px; line-height: 1.95; color: #39444f; }
.article__body h2 { margin: 1.9em 0 .7em; padding-left: 14px; border-left: 4px solid var(--gold); font-size: clamp(20px, 2.4vw, 25px); }
.article__body h3 { margin: 1.5em 0 .6em; font-size: 19px; }
.article__body h3::before { content: "▍"; color: var(--gold); margin-right: 4px; }
.article__body p { margin: 0 0 1.3em; }
.article__body ul { margin: 0 0 1.4em; display: grid; gap: 10px; }
.article__body ul li { position: relative; padding-left: 24px; }
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.article__body ol { margin: 0 0 1.4em; counter-reset: ol; display: grid; gap: 10px; }
.article__body ol li { position: relative; padding-left: 32px; counter-increment: ol; }
.article__body ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
.article__body blockquote {
  margin: 1.6em 0;
  padding: 22px 26px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
}
.article__body blockquote::before { content: "“"; color: var(--gold); font-size: 34px; line-height: 0; vertical-align: -8px; margin-right: 6px; }
.article__body figure { margin: 1.8em 0; }
.article__body figure img { width: 100%; border-radius: var(--radius); }
.article__body figcaption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--muted); }
.article__body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--gold); }
.article__body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.article__body th, .article__body td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.article__body th { background: var(--paper); color: var(--ink); }

.article__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 34px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.article__tags b { font-size: 14.5px; color: var(--ink); }
.article__tags a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.article__tags a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.article__share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.article__share b { font-size: 14.5px; color: var(--ink); }
.article__share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.article__share a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.article__share svg { width: 17px; height: 17px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.post-nav__item { padding: 18px 20px; background: var(--paper); border-radius: var(--radius); transition: background .28s var(--ease); min-width: 0; }
.post-nav__item:hover { background: var(--paper-2); }
.post-nav__item span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.post-nav__item span svg { width: 14px; height: 14px; }
.post-nav__item strong { display: block; margin-top: 6px; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.post-nav__item:hover strong { color: var(--navy); }
.post-nav__item--next { text-align: right; }
.post-nav__item--next span { justify-content: flex-end; }
.post-nav__item.is-empty { opacity: .5; pointer-events: none; }

.mini-block { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mini-block + .mini-block { margin-top: 24px; }
.mini-block__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-2); font-size: 18px; }
.mini-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.mini-list a { display: flex; align-items: baseline; gap: 12px; }
.mini-list .dot { flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--gold); }
.mini-list .tx { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.mini-list a:hover .tx { color: var(--navy); }
.mini-list .date { flex: none; font-size: 12.5px; color: var(--muted); }

.toc { padding: 22px; background: var(--paper); border-radius: var(--radius); }
.toc__title { margin: 0 0 12px; font-size: 16px; }
.toc ol { counter-reset: toc; display: grid; gap: 6px; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-family: var(--font-serif); font-weight: 700; flex: none; }
.toc a:hover, .toc a.is-active { background: #fff; color: var(--navy); }

/* ---------- 19.5 文章阅读进度条 ---------- */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #efdcb0);
  transition: width .12s linear;
}

/* ---------- 20. 关于页 / 联系页 ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 10 / 8; object-fit: cover; }

.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding: 26px;
  background: var(--paper);
  border-radius: var(--radius);
  text-align: center;
}
.stats-row b { display: block; font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 34px); color: var(--navy); }
.stats-row span { font-size: 13.5px; color: var(--muted); }

.team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-card__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.team-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card h3 { margin: 16px 0 2px; font-size: 18.5px; }
.team-card span { font-size: 13.5px; color: var(--gold); }
.team-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.team-card__social { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.team-card__social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.team-card__social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.team-card__social svg { width: 15px; height: 15px; }

.contact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.contact-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.contact-card__icon { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); color: var(--navy); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { margin: 0 0 6px; font-size: 17px; }
.contact-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

.map-box {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
  padding: 20px;
}
.map-box svg { width: 44px; height: 44px; color: var(--gold); margin-bottom: 12px; }

.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; text-align: left; font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.faq__q svg { width: 18px; height: 18px; flex: none; color: var(--gold); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 22px 20px; font-size: 15px; color: var(--muted); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 21. CTA 条 ---------- */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
}
.cta-strip h2 { margin: 0; color: #fff; font-size: clamp(21px, 2.8vw, 28px); }
.cta-strip p { margin: 8px 0 0; color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------- 22. 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
}
.back-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--navy-deep); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 23. 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. 响应式断点 ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 11px; font-size: 15px; }
  .header__phone { display: none; }
}

@media (max-width: 1024px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--navy);
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .archive__grid, .article__grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
  .consult__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__card--1 { left: 0; }
  .hero__card--2 { right: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .topbar__inner { justify-content: center; min-height: 38px; }
  .topbar__list li:nth-child(n+3) { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .hero__figure img { aspect-ratio: 16 / 10; }
  .hero__card--1 { bottom: -14px; }
  .hero__card--2 { top: -14px; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .post-row__media { aspect-ratio: 16 / 9; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav__item--next { text-align: left; }
  .post-nav__item--next span { justify-content: flex-start; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: min(100% - 28px, var(--maxw)); }
  .section__head { align-items: flex-start; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .logo__slogan { display: none; }
  .logo__name { font-size: 18px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 10px; }
  .logo__mark svg { width: 21px; height: 21px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__card { padding: 10px 14px; max-width: 200px; }
  .hero__card b { font-size: 13.5px; }
  .hero__card span { font-size: 11.5px; }
  .hero__card--2 { display: none; }
  .breadcrumb { font-size: 12.5px; }
  .article__meta { gap: 12px; font-size: 12.5px; }
  .article__body { font-size: 16px; line-height: 1.9; }
  .pagination a, .pagination span { min-width: 36px; height: 36px; font-size: 14px; }
  .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .cta-strip { text-align: center; justify-content: center; }
  .cta-strip .btn { width: 100%; }
}

@media (max-width: 400px) {
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
  .filter-chip { padding: 7px 13px; font-size: 13.5px; }
}

/* ---------- 25. 内联图标兜底尺寸 ---------- */
/* 所有图标均为页面内联 SVG（本地化，无 CDN / 无外链图标字体） */
svg { width: 1em; height: 1em; }
svg[style*="display:none"] { width: 0; height: 0; }
