﻿/* ==========================================================================
   缘证生物亲子鉴定官网 - 暖珊瑚品牌样式
   ========================================================================== */

:root {
  --brand: #d96c5f;
  --brand-strong: #c4564d;
  --brand-deep: #a8433e;
  --brand-soft: #fdeee9;
  --brand-line: #f3d2c8;
  --warm: #e9a15c;
  --warm-strong: #d8893e;
  --warm-soft: #fff4e7;
  --page: #fdf6f1;
  --card: #ffffff;
  --ink: #332b28;
  --ink-2: #5d514c;
  --muted: #8f817a;
  --line: #f0e0d7;
  --line-strong: #e5cec2;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 4px 14px rgba(194, 93, 76, 0.10);
  --shadow-hover: 0 8px 22px rgba(194, 93, 76, 0.18);
  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--page);
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.4; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

button, .btn, .btn-primary, .btn-warm, .btn-ghost, .search-box button,
.pager a, .float-service a, .branch-actions a, .project-actions a {
  white-space: nowrap;
  word-break: keep-all;
}
button, .btn, .btn-primary, .btn-warm, .btn-ghost {
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
}

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

/* 顶部工具条：不展示电话和用户中心 */
.topbar {
  position: relative; z-index: 160;
  background: #fffaf6;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; min-height: 34px;
  gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.topbar .dot { color: var(--line-strong); }
.topbar .hot { color: var(--brand-strong); font-weight: 700; }

/* 城市切换 */
.city-switch { position: relative; flex: 0 0 auto; }
.js-city-toggle {
  display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent;
  color: var(--ink-2); cursor: pointer; padding: 5px 0; font-size: 13px; line-height: 1.2;
}
.js-city-toggle .city-pin { color: var(--brand-strong); font-size: 15px; }
.js-city-toggle .city-switch-more { color: var(--brand-strong); font-weight: 700; margin-left: 2px; }
.city-popover {
  display: none; position: absolute; left: 0; top: calc(100% + 9px); z-index: 170;
  width: min(520px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 92px));
  overflow: auto; background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(93, 47, 38, .18); padding: 16px;
}
.city-popover.is-open { display: block; }
.city-popover-head, .city-popover-actions { display: flex; align-items: center; }
.city-popover-head { justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.city-popover-head b { color: var(--ink); font-size: 17px; }
.city-popover-actions { gap: 10px; }
.city-home-link, .js-city-close {
  border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--brand-strong);
  border-radius: var(--radius-sm); font-size: 12px; line-height: 28px; padding: 0 10px; cursor: pointer;
}
.js-city-close { width: 28px; height: 28px; padding: 0; font-size: 16px; line-height: 26px; }
.city-tools { margin-top: 14px; }
.city-search { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.city-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); }
.city-search input::placeholder { color: #bfa89e; }
.city-search button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; }
.city-letters { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.city-letters button {
  min-width: 30px; height: 28px; padding: 0 7px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink-2); cursor: pointer; font-size: 12px;
}
.city-letters button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.city-hot-label { margin-top: 15px; margin-bottom: 8px; color: var(--ink); font-weight: 700; font-size: 13px; }
.city-hot { display: flex; flex-wrap: wrap; gap: 8px; }
.city-hot a {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 13px;
}
.city-hot a:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.city-groups { margin-top: 12px; }
.city-groups details { border-bottom: 1px solid var(--line); }
.city-groups details:last-child { border-bottom: 0; }
.city-groups summary { cursor: pointer; padding: 10px 4px; color: var(--ink); font-weight: 700; font-size: 14px; list-style: none; }
.city-groups summary::before { content: "▸"; display: inline-block; margin-right: 6px; color: var(--brand); transition: transform .2s ease; }
.city-groups details[open] summary::before { transform: rotate(90deg); }
.city-groups details > div { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 12px; }
.city-groups details a {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: var(--radius-sm);
  background: var(--page); color: var(--ink-2); font-size: 13px; white-space: nowrap;
}
.city-groups details a:hover, .city-groups details a.is-current { background: var(--brand-soft); color: var(--brand-strong); }
.city-groups details a.is-filtered { display: none; }
.city-empty { display: none; padding: 22px 0; color: var(--muted); text-align: center; font-size: 13px; }
.city-empty.is-visible { display: block; }

/* 品牌区 */
.masthead { background: #fffdfb; padding: 20px 0 18px; }
.masthead .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; min-width: 0; }
.brand-logo {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--warm) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(194, 93, 76, 0.32);
}
.brand-text { min-width: 0; }
.brand-text h1 { font-size: 26px; letter-spacing: .5px; }
.brand-text h1 em { font-style: normal; color: var(--brand-strong); }
.brand-text p { font-size: 13px; color: var(--muted); letter-spacing: 3px; margin-top: 2px; }

.masthead-side { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.search-box { display: flex; align-items: center; background: var(--brand-soft); border-radius: var(--radius-sm); height: 42px; }
.search-box input { border: 0; background: transparent; outline: none; padding: 0 14px; width: 240px; color: var(--ink); min-width: 0; }
.search-box input::placeholder { color: #bfa89e; }
.search-box button {
  border: 0; cursor: pointer; height: 42px; padding: 0 18px; color: #fff; font-size: 14px;
  background: var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.search-box button:hover { background: var(--brand-strong); }
.menu-toggle { display: none; }

/* 居中平铺主导航 */
.navbar { background: var(--brand); }
.navbar .wrap { display: flex; align-items: center; justify-content: center; height: 44px; }
.navbar nav {
  display: flex; flex: 1 1 auto; align-items: center; justify-content: center;
  max-width: 1080px; height: 44px; margin: 0 auto; width: 100%;
}
.nav-item { position: relative; flex: 1 1 0; max-width: 180px; text-align: center; }
.nav-item > a {
  display: block; height: 44px; line-height: 44px; padding: 0 10px; white-space: nowrap;
  color: #fff; font-size: 16px;
}
.nav-item > a:hover, .nav-item.active > a { background: var(--brand-deep); color: #fff; }
.nav-item .caret { font-size: 11px; margin-left: 4px; opacity: .85; }
.nav-item .dropdown {
  position: absolute; left: 0; top: 44px; min-width: 168px; background: #fff;
  border: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px 0; display: none; z-index: 60; text-align: left;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.nav-item .dropdown a { display: block; padding: 9px 18px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.nav-item .dropdown a:hover { background: var(--brand-soft); color: var(--brand-strong); }

/* 首页左侧固定目录 */
.home-side-nav { display: none; }
@media (min-width: 1360px) {
  .home-side-nav {
    position: fixed; left: max(0px, calc((100vw - var(--wrap)) / 2 - 88px)); top: 50%;
    transform: translateY(-50%); z-index: 95;
    display: flex; flex-direction: column; width: 80px; max-height: calc(100vh - 40px);
    padding: 7px; gap: 3px; overflow-y: auto;
    background: rgba(255, 253, 251, .96); border: 1px solid var(--brand-line);
    border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .home-side-nav a {
    display: block; padding: 9px 4px; border-radius: 5px; text-align: center;
    font-size: 13px; color: var(--ink-2); white-space: nowrap;
  }
  .home-side-nav a:hover, .home-side-nav a.active { background: var(--brand); color: #fff; }
}

/* 首页首屏大图 */
/* 城市分站页头 */
.station-hero { position: relative; margin-top: 22px; padding: 42px 0; overflow: hidden; background: linear-gradient(125deg, var(--brand) 0%, var(--brand-strong) 48%, var(--warm) 100%); }
.station-hero::after { content: ""; position: absolute; right: -50px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.station-hero .wrap { position: relative; z-index: 1; }
.station-eyebrow { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 12px; letter-spacing: 1px; }
.station-hero h2 { margin-top: 12px; color: #fff; font-size: 32px; }
.station-hero p:last-child { max-width: 660px; margin-top: 10px; color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.8; }
.station-hero .station-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.station-hero .btn-primary { background: #fff; color: var(--brand-strong); }
.station-hero .btn-primary:hover { background: var(--brand-soft); color: var(--brand-deep); }
.station-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.station-hero .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.station-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.station-trust article { min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.station-trust .trust-ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.station-trust b { display: block; color: var(--ink); font-size: 15px; }
.station-trust span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.home-hero { padding: 22px 0 2px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: stretch; }
.hero-main { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--radius); background: #d9a08f; }
.hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(72, 31, 25, .74) 0%, rgba(72, 31, 25, .40) 52%, rgba(72, 31, 25, .07) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 540px; padding: 52px 42px; color: #fff; }
.hero-kicker {
  display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); font-size: 13px; letter-spacing: 1px;
}
.hero-copy h2 { color: #fff; font-size: 32px; line-height: 1.35; }
.hero-copy > p:not(.hero-kicker) { margin-top: 14px; max-width: 470px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-side { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-side h3 { padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 18px; }
.hero-side a { display: block; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.hero-side a:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.hero-side b { display: block; color: var(--ink); font-size: 16px; }
.hero-side span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

/* 最新内容 */
.notice {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px; margin-top: 16px; font-size: 14px; overflow: hidden;
}
.notice b { color: var(--brand-strong); flex: 0 0 auto; }
.latest-content { padding: 0 16px; min-height: 46px; }
.latest-viewport { flex: 1 1 auto; height: 32px; overflow: hidden; min-width: 0; }
.latest-list { transition: transform .45s ease; }
.latest-list li { height: 32px; display: flex; align-items: center; gap: 14px; min-width: 0; }
.latest-list a {
  flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; color: var(--ink-2);
}
.latest-list a:hover { color: var(--brand-strong); }
.latest-list time { flex: 0 0 auto; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 16px; }
.quick-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px; text-align: center; transition: box-shadow .2s ease, transform .2s ease;
}
.quick-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.quick-ico {
  width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.quick-card h3 { font-size: 16px; }
.quick-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 标题栏 */
.section { margin-top: 22px; }
.section-head { display: flex; align-items: flex-end; border-bottom: 2px solid var(--brand-line); padding-bottom: 10px; }
.section-head h2 { font-size: 22px; }
.section-head h2::before {
  content: ""; display: inline-block; width: 5px; height: 20px; background: var(--brand);
  border-radius: 3px; margin-right: 10px; vertical-align: -3px;
}
.section-head .more { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.section-head .more:hover { color: var(--brand-strong); }

/* 鉴定服务中心 */
.cat-block { display: flex; gap: 16px; margin-top: 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cat-nav { flex: 0 0 200px; background: var(--brand-soft); padding: 12px 0; }
.cat-nav li a { display: block; padding: 14px 20px; font-size: 15px; color: var(--ink-2); border-left: 4px solid transparent; }
.cat-nav li a:hover, .cat-nav li.active a, .cat-nav li a.active { background: #fff; color: var(--brand-strong); border-left-color: var(--brand); font-weight: 600; }
.cat-body { flex: 1; padding: 18px 20px; min-width: 0; }
.cat-panel { display: none; }
.cat-panel.active { display: block; }
.cat-panel[hidden] { display: none; }
.cat-panel-head { display: flex; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.cat-panel-head h3 { font-size: 17px; }
.cat-panel-head .note { margin-left: auto; font-size: 13px; color: var(--muted); }

.project-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.project-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.project-card h4 { font-size: 16px; }
.project-card h4 a { color: var(--ink); }
.project-card h4 a:hover { color: var(--brand-strong); }
.project-card .tag { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 4px; background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; }
.project-card .desc { font-size: 16px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.project-card .meta { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.project-card .meta .price { color: var(--warm-strong); font-weight: 700; }
.project-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 9px; }
.project-actions .btn { height: 36px; padding: 0 15px; font-size: 14px; }

.branch-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.branch-list > .branch { display: none; }
.branch-list > .branch.is-visible { display: flex; }
.branch { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.branch:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.branch-pic {
  flex: 0 0 78px; height: 78px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-soft), var(--warm-soft));
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  font-weight: 700; font-size: 13px; text-align: center; padding: 4px;
}
.branch-info { min-width: 0; }
.branch-info h4 { font-size: 16px; line-height: 1.45; }
.branch-info h4 a { color: var(--ink); }
.branch-info h4 a:hover { color: var(--brand-strong); }
.branch-meta { font-size: 13px; color: var(--muted); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.branch-meta .price { color: var(--warm-strong); font-weight: 700; }
.branch-desc { font-size: 16px; color: var(--ink-2); margin-top: 6px; line-height: 1.65; overflow-wrap: anywhere; }
.branch-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.branch-actions .btn { height: 34px; padding: 0 13px; font-size: 13px; }
.box-expand { display: flex; justify-content: center; margin-top: 14px; }
.expand-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.expand-actions .btn { border: 1px solid var(--brand-line); background: #fff; color: var(--brand-strong); height: 38px; padding: 0 18px; }
.expand-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.box-expand .btn { border: 1px solid var(--brand-line); background: #fff; color: var(--brand-strong); height: 38px; padding: 0 18px; }

.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.city-grid a { display: block; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-grid a:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand-line); }

/* 资讯区 */
.content-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 22px; align-items: start; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0 16px; gap: 4px; min-width: 0; overflow-x: auto; }
.tabs button {
  background: transparent; border: 0; cursor: pointer; padding: 13px 14px; font-size: 16px; color: var(--ink-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs button.active { color: var(--brand-strong); border-bottom-color: var(--brand); font-weight: 700; }

.news-list { padding: 6px 16px 12px; }
.news-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line-strong); }
.news-item:last-child { border-bottom: 0; }
.news-thumb {
  flex: 0 0 168px; height: 108px; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--warm-soft));
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  font-size: 13px; font-weight: 600; text-align: center; padding: 6px;
}
.news-body { min-width: 0; flex: 1; }
.news-body h3 { font-size: 18px; line-height: 1.45; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--brand-strong); }
.news-body .card-desc { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: 8px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.news-meta .cat { color: var(--brand-strong); background: var(--brand-soft); border-radius: 4px; padding: 2px 8px; }
.news-item.text-only .news-thumb { display: none; }
.empty-state { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 15px; }

/* 侧栏 */
.side-block { margin-bottom: 16px; }
.side-head { display: flex; align-items: center; padding: 0 16px; height: 46px; border-bottom: 1px solid var(--line); }
.side-head h3 { font-size: 17px; }
.side-head h3::before {
  content: ""; display: inline-block; width: 4px; height: 16px; background: var(--brand);
  border-radius: 2px; margin-right: 8px; vertical-align: -2px;
}
.side-head .more { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.side-body { padding: 12px 16px 16px; }
.expert { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.expert:last-child { border-bottom: 0; }
.expert-avatar {
  flex: 0 0 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--warm)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.expert-info h4 { font-size: 16px; }
.expert-info p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.links-cloud { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.links-cloud a { font-size: 13px; color: var(--muted); white-space: nowrap; }
.links-cloud a:hover { color: var(--brand-strong); }
.contact-list li { font-size: 14px; color: var(--ink-2); padding: 7px 0; border-bottom: 1px dashed var(--line-strong); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { color: var(--brand-strong); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 22px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; border: 0; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-warm { background: var(--warm); color: #fff; }
.btn-warm:hover { background: var(--warm-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-strong); border: 1px solid var(--brand-line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }

/* 页脚 */
.footer { background: #fffaf6; border-top: 1px solid var(--line); margin-top: 26px; padding: 26px 0 30px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer-nav a { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.footer-legal { text-align: center; color: var(--muted); font-size: 13px; padding-top: 16px; line-height: 2; }
.footer-legal .brandline { color: var(--brand-strong); font-weight: 600; }

/* 右侧悬浮工具：右下、按钮不换行 */
.float-service {
  position: fixed; right: 16px; top: auto; bottom: 104px; transform: none; z-index: 90;
  display: flex; flex-direction: column; gap: 8px; width: max-content;
}
.float-service a {
  width: max-content; max-width: 120px; min-width: 62px; padding: 9px 8px; border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow); text-align: center; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line); white-space: nowrap; word-break: keep-all;
}
.float-service a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.float-service .ico { display: block; font-size: 20px; line-height: 1; margin-bottom: 3px; }

/* 面包屑 */
.crumb { background: #fff; border-bottom: 1px solid var(--line); }
.crumb .wrap { height: 46px; display: flex; align-items: center; font-size: 14px; color: var(--muted); }
.crumb a:hover { color: var(--brand-strong); }
.crumb .sep { margin: 0 8px; }

/* 文章详情 */
.article-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 18px; align-items: start; }
.article-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px 32px; }
.article-card h1 { font-size: 28px; line-height: 1.45; overflow-wrap: anywhere; }
.article-sub { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lead { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.lead b { color: var(--brand-strong); }

.article-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); margin-top: 22px; overflow-wrap: anywhere; }
.article-body p { font-size: 16px; margin: 16px 0; text-align: justify; }
.article-body h3 { font-size: 19px; margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article-body h4 { font-size: 17px; margin: 20px 0 8px; color: var(--brand-deep); }
.article-body ul { margin: 12px 0 12px 4px; }
.article-body ul li { position: relative; padding-left: 18px; font-size: 16px; margin: 8px 0; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.article-body a { color: var(--brand-strong); border-bottom: 1px solid var(--brand-line); }
.article-body img { border-radius: var(--radius-sm); margin: 16px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
.article-body th, .article-body td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--brand-soft); color: var(--brand-deep); }

.tags { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 14px; color: var(--muted); }
.tags a { display: inline-block; margin: 4px 6px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 13px; white-space: nowrap; }

.cta-card { margin-top: 22px; border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 16px 18px; background: linear-gradient(180deg, #fff, var(--warm-soft)); }
.cta-card .cta-title { font-size: 16px; color: var(--ink); font-weight: 700; }
.cta-card .cta-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cta-card .cta-btns { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }

.prevnext { margin-top: 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 20px; }
.prevnext a { display: flex; gap: 10px; padding: 13px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.prevnext .prevnext-empty { display: flex; gap: 10px; padding: 13px 0; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.prevnext a:last-child { border-bottom: 0; }
.prevnext a b { color: var(--muted); font-weight: 400; flex: 0 0 auto; }

.comment-card { margin-top: 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.comment-body { padding: 18px 20px; }
.comment-tip { font-size: 15px; color: var(--ink-2); }
.comment-tip a { color: var(--brand-strong); }
.comment-body textarea { width: 100%; min-height: 96px; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; resize: vertical; outline: none; font-size: 16px; }
.comment-body textarea:focus { border-color: var(--brand); }
.comment-body .btn { margin-top: 12px; }

.author-card { padding: 18px 16px; text-align: center; }
.author-card .expert-avatar { width: 66px; height: 66px; margin: 0 auto 10px; font-size: 20px; }
.author-card h3 { font-size: 17px; }
.author-card .author-desc { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.author-stats { display: flex; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.author-stats div { flex: 1; }
.author-stats b { display: block; font-size: 18px; color: var(--brand-strong); }
.author-stats span { font-size: 13px; color: var(--muted); }

.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--line-strong); font-size: 15px; }
.side-list li:last-child { border-bottom: 0; }
.side-list li a { display: block; color: var(--ink-2); line-height: 1.5; }
.side-list li span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* 项目列表页 */
.list-cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.filter-card { padding: 16px; }
.filter-card h3 { font-size: 16px; margin-bottom: 10px; }
.filter-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-card .chips:last-child { margin-bottom: 0; }
.filter-card .chips a, .filter-card .chips button {
  font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--card);
  color: var(--brand-strong); border: 1px solid var(--brand-line); cursor: pointer; white-space: nowrap;
}
.filter-card .chips a:hover, .filter-card .chips a.active,
.filter-card .chips button:hover, .filter-card .chips button.active { background: var(--brand); color: #fff; }
.list-main { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 20px 16px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pager a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-2); }
.pager a.active, .pager a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 推荐产品/文章卡片 */
.mini-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; min-width: 0; }
.mini-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.mini-thumb {
  height: 92px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-soft), var(--warm-soft));
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  font-size: 13px; font-weight: 600; margin-bottom: 10px; text-align: center; padding: 6px;
}
.mini-card h4 { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.mini-card h4 a { color: var(--ink); }
.mini-card h4 a:hover { color: var(--brand-strong); }
.mini-card .tag { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--brand-strong); background: var(--brand-soft); border-radius: 4px; padding: 2px 7px; }
.mini-card .desc { font-size: 16px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }

/* 预约表单 */
.booking-intro { display: grid; grid-template-columns: 1fr; gap: 12px; }
.booking-intro .info {
  border: 1px dashed var(--brand-line); border-radius: var(--radius); padding: 16px;
  background: var(--warm-soft); font-size: 16px; line-height: 1.8; color: var(--ink-2);
}
.booking-intro .info b { color: var(--brand-deep); }
.appointment-wrap { max-width: 860px; margin: 18px auto 0; }
.app-form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; color: var(--ink); }
.form-field label i { color: var(--brand-strong); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: 16px; color: var(--ink); outline: none; background: #fff; width: 100%;
}
.form-field textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); }
.form-hint { font-size: 13px; color: var(--muted); }
.form-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.form-consent input { width: 16px; height: 16px; margin-top: 4px; flex: 0 0 auto; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.form-feedback { margin-top: 12px; font-size: 15px; color: var(--brand-deep); }
.form-feedback.error { color: #c0392b; }

/* 关于我们/联系我们 */
.about-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; margin-top: 18px; }
.about-main { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.about-main p { font-size: 16px; line-height: 1.9; color: var(--ink-2); margin: 12px 0; }
.about-main h3 { font-size: 19px; margin: 20px 0 8px; padding-left: 12px; border-left: 4px solid var(--brand); }
.about-main ul { margin: 10px 0 10px 4px; }
.about-main li { position: relative; padding-left: 18px; font-size: 16px; margin: 7px 0; color: var(--ink-2); }
.about-main li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.about-main .expert { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.about-main .expert:last-child { border-bottom: 0; }

/* 移动端底部导航 */
/* 在线咨询弹窗 */
.consult-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.consult-modal.is-open { display: flex; }
.consult-mask { position: absolute; inset: 0; border: 0; background: rgba(45, 27, 24, .58); cursor: pointer; }
.consult-mask { width: 100%; }
.consult-dialog { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(45, 27, 24, .24); padding: 24px; }
.consult-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--page); color: var(--ink-2); cursor: pointer; font-size: 22px; line-height: 32px; }
.consult-head { padding-right: 34px; }
.consult-head h3 { font-size: 21px; }
.consult-head p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.consult-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.consult-option { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink-2); text-align: left; cursor: pointer; }
.consult-option { width: 100%; }
.consult-option:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--ink-2); }
.consult-option .option-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; }
.consult-option b { color: var(--ink); font-size: 16px; }
.consult-option .consult-value { color: var(--brand-strong); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.consult-toast {
  position: absolute; top: 18px; left: 50%; z-index: 3; min-width: 150px;
  padding: 9px 14px; border-radius: 6px; background: rgba(51, 43, 40, .94); color: #fff;
  font-size: 14px; text-align: center; pointer-events: none; box-shadow: 0 8px 22px rgba(45, 27, 24, .22);
  opacity: 0; transform: translate(-50%, -10px); transition: opacity .2s ease, transform .2s ease;
}
.consult-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.mobile-bar { display: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .home-side-nav { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-side h3 { grid-column: 1 / -1; }
  .content-cols, .article-cols, .about-cols { grid-template-columns: minmax(0, 1fr); }
  .list-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .wrap { width: 100%; padding: 0 14px; }
  .topbar-left .hide-m, .topbar-right .hide-m { display: none; }
  .city-switch { display: block; }
  .topbar .wrap { gap: 10px; }
  .topbar-left, .topbar-right { gap: 10px; min-width: 0; }
  .topbar-left, .topbar-right { font-size: 12px; }

  .masthead { padding: 12px 0; }
  .masthead .wrap { gap: 12px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 12px; font-size: 20px; }
  .brand-text h1 { font-size: 19px; }
  .brand-text p { display: none; }
  .search-box { display: none; }
  .masthead-side { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm); font-size: 20px; color: var(--brand-strong);
  }

  .navbar { background: var(--page); border-bottom: 1px solid var(--line); }
  .navbar .wrap { height: auto; padding: 0; display: block; }
  .navbar nav { display: none; flex-direction: column; align-items: stretch; height: auto; padding: 6px 0; max-width: none; }
  .navbar.open nav { display: flex; }
  .nav-item { flex: 0 0 auto; width: 100%; max-width: none; text-align: left; }
  .nav-item > a { height: 42px; line-height: 42px; color: var(--ink-2); padding: 0 16px; border-bottom: 1px solid var(--line); }
  .nav-item > a:hover, .nav-item.active > a { background: var(--brand-soft); color: var(--brand-strong); }
  .nav-item .dropdown { position: static; display: flex; flex-wrap: wrap; border: 0; box-shadow: none; padding: 6px 10px; background: var(--page); }
  .nav-item .caret { display: none; }

  .hero-main { min-height: 340px; }
  .hero-copy { max-width: 620px; padding: 32px 26px; }
  .hero-copy h2 { font-size: 28px; }
  .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .quick { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .quick-card { padding: 14px 8px; }
  .quick-ico { width: 40px; height: 40px; font-size: 19px; }
  .quick-card h3 { font-size: 14px; }
  .quick-card p { display: none; }

  .cat-block { flex-direction: column; min-width: 0; }
  .cat-body { min-width: 0; }
  .cat-nav { flex: none; display: flex; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; padding: 0; background: var(--brand-soft); }
  .cat-nav li { flex: 0 0 auto; }
  .cat-nav li a { border-left: 0; border-bottom: 3px solid transparent; padding: 12px 16px; white-space: nowrap; }
  .cat-nav li a:hover, .cat-nav li.active a, .cat-nav li a.active { border-left-color: transparent; border-bottom-color: var(--brand); background: #fff; }
  .branch-list { grid-template-columns: 1fr; }
  .project-cards, .mini-list, .form-grid, .about-cols { grid-template-columns: minmax(0, 1fr); }
  .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .news-thumb { flex-basis: 112px; height: 84px; }
  .news-body h3 { font-size: 16px; }
  .section-head h2 { font-size: 19px; }
  .article-card { padding: 20px 16px 24px; }
  .article-card h1 { font-size: 21px; }

  .float-service { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    background: #fffaf6; border-top: 1px solid var(--line); z-index: 120; box-shadow: 0 -2px 10px rgba(194, 93, 76, .10);
  }
  .mobile-bar a { padding: 8px 0 10px; text-align: center; font-size: 12px; color: var(--ink-2); }
  .mobile-bar a .ico { display: block; font-size: 20px; color: var(--brand-strong); margin-bottom: 2px; }
  .mobile-bar a.active { color: var(--brand-strong); }
  body { padding-bottom: 62px; }
  .tabs { overflow-x: auto; padding: 0 10px; }
  .tabs button { white-space: nowrap; padding: 11px 12px; font-size: 15px; }

  .app-form { padding: 18px 14px; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .topbar .wrap { height: auto; min-height: 34px; flex-wrap: wrap; gap: 4px 10px; padding-top: 6px; padding-bottom: 6px; }
  .topbar-left { width: 100%; justify-content: flex-start; }
  .city-switch { width: 100%; }
  .js-city-toggle { width: 100%; justify-content: flex-start; }
  .city-popover { left: -12px; top: calc(100% + 10px); width: calc(100vw - 24px); max-height: calc(100vh - 72px); padding: 13px; }
  .topbar-left, .topbar-right { gap: 8px; }
  .topbar-left > a:not(:first-child),
  .topbar-left > .dot,
  .topbar-right > .dot { display: none; }
  .masthead .wrap { flex-wrap: nowrap; gap: 8px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text h1 { font-size: 18px; white-space: nowrap; }
  .masthead-side { flex: 0 0 auto; }
  .hero-main { min-height: 360px; }
  .hero-main img { object-position: 58% center; }
  .hero-copy { padding: 26px 20px; }
  .hero-copy h2 { font-size: 25px; line-height: 1.4; }
  .hero-copy > p:not(.hero-kicker) { margin-top: 10px; font-size: 15px; line-height: 1.7; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px; }
  .hero-side a { padding: 10px 12px; }
  .latest-content { padding: 9px 12px; min-height: 50px; }
  .latest-viewport { height: 34px; }
  .latest-list li { height: 34px; }
  .latest-list a { font-size: 13px; }
  .latest-list time { font-size: 11px; white-space: nowrap; }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-card { min-width: 0; padding: 14px 8px; }
  .cat-block, .cat-body, .cat-nav { min-width: 0; max-width: 100%; }
  .cat-nav li a { padding: 11px 13px; }
  .branch { padding: 10px; }
  .branch-pic { display: none; }
  .branch-meta { gap: 5px 9px; }
  .content-cols, .article-cols, .list-cols, .about-cols { min-width: 0; }
  .tabs { scrollbar-width: none; }
  .tabs::-webkit-scrollbar, .cat-nav::-webkit-scrollbar { display: none; }
  .news-body h3 { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
  .news-meta { flex-wrap: wrap; gap: 6px 10px; }
  .article-card { padding: 19px 15px 22px; }
  .article-card h1 { font-size: 20px; line-height: 1.55; }
  .article-sub { gap: 6px 12px; }
  .lead { padding: 12px 14px; }
  .cta-card { padding: 14px; }
  .cta-card .cta-btns { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 7px 14px; }
  .footer-legal { overflow-wrap: anywhere; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-cards { grid-template-columns: minmax(0, 1fr); }
  .article-body table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
  .station-hero { padding: 30px 0; }
  .station-hero h2 { font-size: 26px; }
  .station-hero p:last-child { font-size: 15px; }
  .station-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-trust article { padding: 12px; gap: 9px; }
  .station-trust .trust-ico { width: 36px; height: 36px; flex-basis: 36px; font-size: 17px; }
  .station-trust b { font-size: 14px; }
  .consult-options { grid-template-columns: minmax(0, 1fr); }
  .consult-dialog { padding: 20px 16px; }
  .news-thumb { display: none; }
  .news-item { padding: 14px 0; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .city-popover-head { align-items: flex-start; }
  .city-popover-head b { font-size: 16px; }
  .city-letters { gap: 4px; }
  .city-letters button { min-width: 27px; padding: 0 5px; }
  .topbar { font-size: 11px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
  .brand-text h1 { font-size: 16px; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero-main { min-height: 370px; }
  .hero-kicker { margin-bottom: 8px; font-size: 12px; }
  .hero-copy h2 { font-size: 22px; }
  .hero-copy > p:not(.hero-kicker) { font-size: 14px; }
  .hero-actions .btn { height: 38px; padding: 0 16px; font-size: 14px; }
  .latest-content { grid-template-columns: auto minmax(0, 1fr); display: grid; }
  .section-head h2 { font-size: 18px; }
  .section-head .more { font-size: 12px; }
  .quick-card { padding: 12px 4px; }
  .quick-card h3 { font-size: 14px; }
  .cat-nav li a { padding: 10px 11px; font-size: 14px; }
  .article-card { padding: 17px 12px 20px; }
  .article-body p { text-align: left; }
}

/* 移动端底部导航收窄至 56px，正文预留安全距离 */
@media (max-width: 900px) {
  .mobile-bar { height: 56px; min-height: 56px; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a {
    height: 100%; padding: 5px 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
  }
  .mobile-bar .ico { font-size: 19px; line-height: 1; margin-bottom: 3px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* 站点图片：图片全部来自共享图片目录（D:\共用图片\缘证生物3），各图片框尺寸保持不变 */
.hero-main img[data-hero-cover] { object-fit: cover; }
.news-thumb.has-img, .mini-thumb.has-img { padding: 0; overflow: hidden; }
.news-thumb img, .mini-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.expert-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.expert-avatar.has-img { padding: 0; overflow: hidden; background: var(--brand-soft); }
.branch-pic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Logo：使用共享 logo 图片，占位方框高度与原来一致（56 / 44 / 40），宽度按原始比例自适应 */
.brand-logo { width: auto; min-width: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.brand-logo img { display: block; height: 56px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 900px) {
  .brand-logo img { height: 44px; max-width: 168px; }
}
@media (max-width: 380px) {
  .brand-logo img { height: 40px; max-width: 150px; }
}

/* 头部与主导航固定置顶（masthead 97px / 移动端 68px） */
.masthead{position:sticky;top:0;z-index:150;box-shadow:0 1px 0 rgba(0,0,0,.05)}
.navbar{position:sticky;top:97px;z-index:140}
@media (max-width:900px){
  .masthead{padding-top:12px;padding-bottom:12px}
  .navbar{top:68px}
}

/* 详情页上下页下面的相关推荐 */
.related-block{margin-top:22px;padding-top:18px;border-top:1px dashed #e3e9f0}
.related-block-title{font-size:18px;margin:0 0 12px;padding-left:10px;border-left:3px solid #0ea5a4;color:#17233b}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.related-card{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e8edf3;border-radius:8px;padding:12px 14px;color:#17233b}
.related-card:hover{border-color:#0ea5a4;transform:translateY(-2px)}
.related-card-tag{font-size:12px;color:#0ea5a4}
.related-card strong{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-card p{margin:0;font-size:12px;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:640px){
  .related-grid{grid-template-columns:1fr}
}

/* ===== 站点内容索引（给搜索引擎 / AI 抓取的完整页面清单） ===== */
.seo-index-wrap{
  background:#f7f9fc;
  border-top:1px solid #e3e9f0;
  padding:34px 0 12px;
}
.seo-index{max-width:1100px;margin:0 auto 26px;padding:0 16px}
.seo-index h2{
  font-size:17px;color:#17233b;margin:0 0 12px;padding-left:10px;
  border-left:3px solid #e14d34;line-height:1.3;
}
.seo-index ul{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:0 24px;
}
.seo-index li{
  font-size:13px;color:#64748b;line-height:1.9;
  border-bottom:1px dashed #e3e9f0;padding:3px 0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.seo-index li:hover{border-bottom-color:#e14d34}
.seo-index a{color:#17233b;text-decoration:none}
.seo-index a:hover{color:#e14d34}
@media (max-width:640px){
  .seo-index ul{grid-template-columns:1fr}
  .seo-index li{white-space:normal}
}

/* ===== 常见问题：列表式问答 + 相关问题推荐 ===== */
.faq-list { display:flex; flex-direction:column; gap:14px; margin-top:6px; }
.faq-item { background:var(--card); border:1px solid var(--line); border-radius:var(--radius-sm); padding:14px 16px; }
.faq-q { font-size:17px; font-weight:700; color:var(--ink); line-height:1.55; }
.faq-a { margin-top:8px; font-size:15px; line-height:1.85; color:var(--ink-2); }
.faq-a-label { color:var(--brand-strong); font-weight:700; margin-right:4px; }
.faq-related { margin-top:24px; }
.faq-related h3 { font-size:17px; color:var(--ink); padding-left:10px; border-left:3px solid var(--brand); margin-bottom:10px; }
.faq-related-list { list-style:none; margin:0; padding:0; }
.faq-related-list li { padding:10px 0; border-bottom:1px dashed var(--line); }
.faq-related-list a { display:block; font-size:15px; color:var(--ink); font-weight:600; line-height:1.55; }
.faq-related-list a:hover { color:var(--brand-strong); }
.faq-related-list .faq-related-a { display:block; margin-top:4px; font-size:13px; color:var(--muted); line-height:1.7; }
.faq-related-list b.q { color:var(--brand-strong); }
.faq-related-list b.a { color:var(--brand); }
@media (max-width:640px) { .faq-q { font-size:16px; } .faq-item { padding:12px; } }

/* ===== 常见问题列表缩略图（左图右文；图片来自共享图片库「鉴定资讯」，按问答 id 固定，刷新不变） ===== */
.faq-list .faq-item.has-thumb { display:flex; gap:14px; align-items:flex-start; }
.faq-thumb { flex:0 0 160px; width:160px; height:112px; display:block; overflow:hidden; border-radius:var(--radius); background:var(--brand-soft); border:1px solid var(--brand-line); }
.faq-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.faq-item.has-thumb .faq-main { flex:1 1 auto; min-width:0; }
@media (max-width:760px) { .faq-thumb { flex:0 0 112px; width:112px; height:84px; } }
@media (max-width:420px) { .faq-item.has-thumb { gap:10px; } .faq-thumb { flex:0 0 92px; width:92px; height:70px; } }

/* ===== 常见问题详情页（对齐 2001 问答详情） ===== */
.faq-crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.faq-crumb a { color: var(--muted); }
.faq-crumb a:hover { color: var(--brand-strong); }
.faq-crumb .sep { margin: 0 6px; }
.answerer-row { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.answerer-avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; display: block; }
.answerer-meta { display: flex; flex-direction: column; gap: 2px; }
.answerer-name { color: var(--ink); font-size: 14px; }
.answerer-date { color: var(--muted); font-size: 12px; }
.answer-label { font-weight: 700; color: var(--brand-strong); margin-bottom: 8px; font-size: 16px; }
a.faq-q { display: block; color: var(--ink); text-decoration: none; }
a.faq-q:hover { color: var(--brand-strong); }

/* 栏目筛选按钮（全部 / 栏目1 …）：跟随站点砖红品牌色 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips a, .chips button {
  font-size: 13px; padding: 5px 14px; border-radius: 999px; background: var(--card);
  color: var(--brand-strong); border: 1px solid var(--brand-line); cursor: pointer; white-space: nowrap;
}
.chips a:hover, .chips a.active,
.chips button:hover, .chips button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 栏目按钮里的数量不要斜体 */
.chips em, .filter-card .chips em { font-style: normal; font-size: 12px; opacity: .85; margin-left: 2px; }

/* ===== 亲子鉴定文章表格（jd-* class）===== */
.jd-count{font-size:13px;color:#888;margin:0 0 8px;line-height:1.6}
.jd-decl{font-size:13px;color:#888;margin:8px 0 0;line-height:1.6}
.jd-table{width:100%;margin:16px 0}
.jd-table table{width:100%;border-collapse:collapse;border:1px solid #ddd;font-size:14px;table-layout:fixed}
.jd-table th{background-color:#f5f5f5;border:1px solid #ddd;padding:10px 8px;text-align:center;font-weight:bold;vertical-align:middle}
.jd-table td{border:1px solid #ddd;padding:10px 8px;text-align:left;vertical-align:middle !important;word-break:break-word;white-space:normal;line-height:1.7}
.jd-table.jd-dir3 col:nth-child(1){width:7%}
.jd-table.jd-dir3 col:nth-child(2){width:52%}
.jd-table.jd-dir3 col:nth-child(3){width:41%}
.jd-table.jd-dir3 td:nth-child(1){text-align:center}
.jd-table.jd-dir4 col:nth-child(1){width:7%}
.jd-table.jd-dir4 col:nth-child(2){width:32%}
.jd-table.jd-dir4 col:nth-child(3){width:36%}
.jd-table.jd-dir4 col:nth-child(4){width:25%}
.jd-table.jd-dir4 td:nth-child(1){text-align:center}
.jd-table.jd-four col:nth-child(1){width:12%}
.jd-table.jd-four col:nth-child(2){width:29%}
.jd-table.jd-four col:nth-child(3){width:29%}
.jd-table.jd-four col:nth-child(4){width:30%}
.jd-table.jd-four td:nth-child(1){text-align:center}
@media (max-width:768px){
  .jd-table table{font-size:13px}
  .jd-table th,.jd-table td{padding:8px 6px}
  .jd-count,.jd-decl{font-size:12px}
}
