/* ============================================================
   咸宁装修网 — 视觉系统 v3（大胆撞色 · 扁平色块版）
   奶油底 + 深翠绿 + 活力橘 + 亮黄；全站无渐变，硬底边按钮
   Design tokens → 布局 → 组件 → 广告位 → 后台 → 响应式
   ============================================================ */
:root {
  /* 主色：深翠绿（信任） */
  --green: #0B6B45;
  --green-d: #085238;
  --green-x: #05392A;
  --green-50: #E5F3EB;
  --green-100: #C2E3D0;
  /* 撞色：活力橘 + 亮黄 */
  --orange: #FF5C28;
  --orange-d: #D9430F;
  --orange-50: #FFE9DF;
  --yellow: #FFC53D;
  --yellow-d: #DFA21C;
  --yellow-50: #FFF3D1;
  /* 点缀纯色（栏目图标等） */
  --blue: #2563EB;
  --purple: #7C3AED;
  /* 中性：暖纸底 */
  --ink: #17181C;
  --ink-2: #3D454E;
  --gray: #757D88;
  --line: #E7E2D6;
  --line-2: #F0EDE3;
  --bg: #F7F3EA;
  --card: #ffffff;
  --warn: #9A5B00;
  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(23,24,28,.04), 0 1px 3px rgba(23,24,28,.06);
  --sh-2: 0 4px 14px rgba(23,24,28,.08), 0 2px 4px rgba(23,24,28,.04);
  --sh-3: 0 12px 32px rgba(23,24,28,.10), 0 4px 8px rgba(23,24,28,.04);
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--green-x); color: rgba(255,255,255,.8); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar b { color: var(--yellow); font-weight: 700; letter-spacing: .5px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 16px; }
.topbar-r a { color: rgba(255,255,255,.9); }
.topbar-r a:hover { color: var(--yellow); text-decoration: underline; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }

/* ---------------- 头部 ---------------- */
.site-header { background: var(--card); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 30; }
.header-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 rgba(23,24,28,.14); }
.logo-mark .ico { width: 21px; height: 21px; stroke-width: 1.8; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 19px; letter-spacing: .3px; }
.logo-txt b i { font-style: normal; color: var(--orange); }
.logo-txt span { font-size: 11px; color: var(--gray); letter-spacing: .2px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 8px 13px; border-radius: var(--r-sm); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nav a.on { background: var(--yellow); color: var(--ink); font-weight: 700; }
.nav a:hover { color: var(--ink); background: var(--yellow-50); }
.search-box { display: flex; flex-shrink: 0; }
.search-box input { border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm);
  padding: 8px 12px; width: 178px; font-size: 13px; outline: none; background: #fff; transition: .15s; }
.search-box input:focus { background: #fff; border-color: var(--ink); }
.search-box button { border: 0; background: var(--orange); color: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0 15px; cursor: pointer; display: flex; align-items: center; }
.search-box button:hover { background: var(--orange-d); }
.header-cta { flex-shrink: 0; background: var(--yellow); color: var(--ink);
  font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 3px 0 var(--yellow-d); }
.header-cta:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--yellow-d); }

/* ---------------- 通用：栅格 / 面板 ---------------- */
main.wrap { padding-top: 24px; padding-bottom: 8px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 22px; align-items: start; }
.col-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--sh-1); }
.panel + .panel { margin-top: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head h1, .panel-head h2 { font-size: 19px; letter-spacing: .2px; display: flex; align-items: center; gap: 9px; }
.panel-head h1::before, .panel-head h2::before { content: ""; width: 4px; height: 17px; border-radius: 3px;
  background: var(--orange); flex-shrink: 0; }
.more { color: var(--green); font-size: 13px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.more:hover { color: var(--orange); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; border-radius: 20px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--sh-2); }
.hero-in { display: grid; grid-template-columns: 1.06fr .94fr; gap: 0; align-items: stretch; }
.hero-copy { padding: 40px 36px 34px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--yellow); color: var(--ink);
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero-badge .ico { width: 15px; height: 15px; }
.hero h1 { font-size: 33px; line-height: 1.3; letter-spacing: -.4px; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--orange);
  text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 7px; text-underline-offset: 5px; }
.hero-lead { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; max-width: 460px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 10px; border: 0; cursor: pointer; transition: .15s;
  background: var(--green); color: #fff;
  box-shadow: 0 3px 0 var(--green-d); }
.btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--green-d); }
.btn.ghost { background: #fff; color: var(--green-d); border: 1.5px solid var(--green-100); box-shadow: none; }
.btn.ghost:hover { background: var(--green-50); transform: none; }
.btn.gold { background: var(--orange); box-shadow: 0 3px 0 var(--orange-d); }
.btn.gold:hover { box-shadow: 0 2px 0 var(--orange-d); }
.hero-stats { display: flex; gap: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.hero-stats b { display: block; font-size: 22px; color: var(--green-d); letter-spacing: -.5px; line-height: 1.3; }
.hero-stats span { font-size: 12.5px; color: var(--gray); }
.hero-media { position: relative; min-height: 340px; border-left: 2px solid var(--ink); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 2;
  background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r);
  padding: 13px 15px; box-shadow: 4px 4px 0 rgba(23,24,28,.12); display: flex; align-items: center; gap: 12px; }
.hero-float .av { width: 38px; height: 38px; border-radius: 10px; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float b { font-size: 13.5px; display: block; }
.hero-float span { font-size: 12px; color: var(--gray); }

/* ---------------- 栏目入口卡 ---------------- */
.tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 24px 0 28px; }   /* 与上下版块的呼吸间距 */
.tile { position: relative; background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 20px 34px 20px 18px;
  display: flex; gap: 14px; align-items: center; transition: .18s; box-shadow: var(--sh-1); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tile-ico { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); }
.tile-ico .ico { width: 26px; height: 26px; stroke-width: 2.2; }
.i-news { background: var(--blue); }
.i-gl { background: var(--green); }
.i-wd { background: var(--orange); }
.i-al { background: var(--yellow-d); }
.tile b { font-size: 16.5px; display: block; margin-bottom: 3px; letter-spacing: .2px; }
.tile .tile-desc { font-size: 13px; color: var(--ink-2); display: block; line-height: 1.5; }
.tile .tile-go { position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 1; color: var(--ink); opacity: .35; transition: .18s; }
.tile:hover .tile-go { opacity: 1; transform: translateY(-50%) translateX(3px); }
/* 每栏目专属浅底 + 描边，四张卡一眼可辨 */
.tile.t-news { background: #EEF4FF; border-color: #C7DAFA; }
.tile.t-news:hover { border-color: var(--blue); }
.tile.t-gl   { background: var(--green-50); border-color: var(--green-100); }
.tile.t-gl:hover { border-color: var(--green); }
.tile.t-wd   { background: var(--orange-50); border-color: #FFD2BE; }
.tile.t-wd:hover { border-color: var(--orange); }
.tile.t-al   { background: var(--yellow-50); border-color: #F3DC9E; }
.tile.t-al:hover { border-color: var(--yellow-d); }

/* ---------------- 列表 ---------------- */
.item-list { list-style: none; }
.item-list li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.item-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.item-list li > a { color: var(--ink); transition: .12s; }
.item-list li > a:hover { color: var(--orange); }
.item-list time { color: var(--gray); font-size: 12.5px; white-space: nowrap; flex-shrink: 0; }
.item-list.big li { display: block; padding: 14px 0; }
.item-list.big .t { font-weight: 600; font-size: 16.5px; line-height: 1.5; }
.item-list.big .t:hover { color: var(--orange); }
.rank-list li { align-items: center; padding: 11px 0; }
.rank-no { width: 20px; height: 20px; border-radius: 6px; background: var(--line-2); color: var(--gray);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-right: 10px; }
.rank-list li:nth-child(1) .rank-no { background: var(--orange); color: #fff; }
.rank-list li:nth-child(2) .rank-no { background: var(--yellow); color: var(--ink); }
.rank-list li:nth-child(3) .rank-no { background: var(--green); color: #fff; }
.rank-list li > a { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-list li > a:hover { color: var(--orange-d); }
.muted { color: var(--gray); font-size: 13px; }
.meta { color: var(--gray); font-size: 12.5px; margin-top: 5px; }
.meta a { color: var(--gray); }

/* ============================================================
   列表 v4：编目式条目（首页 / 频道页 / 分站页 / 搜索页）
   每条 = 左侧日期锚点 + 右侧标题摘要 + 尾部箭头；悬停整行浮起
   ============================================================ */
.lv-list { list-style: none; }
.lv-item {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) 24px;
  gap: 18px; align-items: start;
  padding: 18px 14px; border-bottom: 1px dashed var(--line);
  border-radius: var(--r); transition: background .18s, box-shadow .18s;
}
.lv-item:last-child { border-bottom: 0; }
.lv-item:hover { background: var(--green-50); box-shadow: inset 3px 0 0 var(--orange); }

/* 日期锚点：悬停转为实心橙 */
.lv-date { width: 62px; height: 62px; border-radius: 14px; flex: none;
  background: var(--yellow-50); border: 1px solid #F3DC9E;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.12; transition: .18s; }
.lv-date b { font-size: 16px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); }
.lv-date span { font-size: 10.5px; color: var(--gray); margin-top: 3px; letter-spacing: .6px; }
.lv-item:hover .lv-date { background: var(--orange); border-color: var(--orange);
  box-shadow: 3px 3px 0 rgba(23,24,28,.12); }
.lv-item:hover .lv-date b, .lv-item:hover .lv-date span { color: #fff; }

.lv-main { min-width: 0; }
.lv-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.45;
  color: var(--ink); letter-spacing: .1px; transition: color .15s; }
.lv-title:hover { color: var(--orange-d); }
.lv-sum { margin-top: 7px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px;
  font-size: 12.5px; color: var(--gray); }
.lv-meta .lv-sep { width: 3px; height: 3px; border-radius: 50%; background: #CDC6B6; }
.lv-views { display: inline-flex; align-items: center; gap: 4px; }
.lv-views .ico { width: 13px; height: 13px; color: var(--green); }
.lv-chip { background: var(--green-50); color: var(--green-d); border-radius: 6px;
  padding: 1px 8px; font-size: 12px; font-weight: 600; }
.lv-chip.new { background: var(--orange); color: #fff; }
.lv-chip.gray { background: var(--line-2); color: var(--gray); font-weight: 400; }
.lv-go { align-self: center; font-size: 22px; line-height: 1; color: var(--ink);
  opacity: .16; transition: .18s; }
.lv-item:hover .lv-go { opacity: 1; color: var(--orange); transform: translateX(3px); }

/* 头条：更大标题、摘要三行 */
.lv-item.is-lead .lv-title { font-size: 20px; letter-spacing: -.2px; }
.lv-item.is-lead .lv-sum { -webkit-line-clamp: 3; }

/* 空状态 */
.lv-empty { display: block; flex: 1 0 100%; padding: 34px 0; text-align: center;
  color: var(--gray); font-size: 13.5px; }
.lv-empty::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px;
  background: var(--line); margin: 0 auto 14px; }

/* ---- 小栏目列表（攻略 / 问答 / 案例）：序号 + 两行标题 + 日期 ---- */
.lv-mini { list-style: none; }
.lv-mini li { display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 10px; border-radius: 10px; border-bottom: 1px dashed var(--line-2);
  transition: .16s; }
.lv-mini li:last-child { border-bottom: 0; }
.lv-mini li:hover { background: var(--green-50); border-bottom-color: transparent; }
.lv-no { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  background: var(--line-2); color: var(--gray); font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: .16s; }
.lv-mini li:hover .lv-no { background: var(--orange); color: #fff; }
.lv-mt { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-mt:hover { color: var(--orange-d); }
.lv-mini time { flex: none; font-size: 12px; color: var(--gray); margin-top: 3px; white-space: nowrap; }

/* ---- 频道页头部：统计 + 说明条 ---- */
.list-stat { font-size: 13px; color: var(--gray); display: inline-flex; align-items: baseline; gap: 6px; }
.list-stat b { font-size: 19px; color: var(--orange); font-weight: 700; letter-spacing: -.4px; }
.list-lead { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 16px;
  padding: 11px 15px; background: var(--bg); border-left: 3px solid var(--green-100);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.list-lead .ico { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 4px; }

/* ---------------- 卡片 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 17px 18px; display: block;
  transition: .18s; position: relative; background: #fff; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--orange); }
.card h2, .card h3 { font-size: 16px; margin: 4px 0 6px; }
.card p { font-size: 13px; color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 4px; background: var(--green-50); color: var(--green-d);
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge.gray { background: var(--line-2); color: var(--gray); }
.badge.gold { background: var(--yellow-50); color: var(--warn); }
.badge .ico { width: 12px; height: 12px; }
.fact-mini { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px; padding-top: 9px;
  border-top: 1px dashed var(--line); }
.fact-mini span { font-size: 12px; color: var(--gray); }

/* ------------- 企业特色卡（图文） ------------- */
.company-feature { display: grid; grid-template-columns: 300px 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.company-feature-img { position: relative; min-height: 210px; }
.company-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.company-feature-body { padding: 22px 24px; }
.company-feature-body .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.company-feature-body h3 { font-size: 21px; }
.company-feature-body ul { list-style: none; margin: 12px 0 16px; display: grid; gap: 7px; }
.company-feature-body li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.company-feature-body li .ico { color: var(--green); flex-shrink: 0; margin-top: 4px; }

/* ---------------- 侧栏 ---------------- */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden; }
.side-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; }
.side-head span.l { display: flex; align-items: center; gap: 8px; }
.side-head .ico { color: var(--orange); }
.side-body { padding: 14px 18px 18px; }
.side-body ul { list-style: none; }
.side-body li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; display: flex;
  justify-content: space-between; gap: 10px; line-height: 1.6; }
.side-body li:last-child { border-bottom: 0; }
.side-body li a:hover { color: var(--orange); }
.side-body .tel-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.side-body .tel-row .ico { color: var(--green); }

/* ---------------- 广告位 ---------------- */
.ad-slot { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.ad-tag { position: absolute; top: 8px; right: 8px; z-index: 3; background: rgba(23,24,28,.72); color: #fff;
  font-size: 10.5px; padding: 2px 7px; border-radius: 4px; letter-spacing: .5px; }
/* A 侧栏：亮黄撞色卡 */
.ad-side { background: var(--yellow); border: 1.5px solid var(--ink);
  padding: 20px 18px 18px; box-shadow: 4px 4px 0 rgba(23,24,28,.14); }
.ad-side h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.ad-side p { font-size: 13px; color: #4A3A10; margin-bottom: 14px; }
.ad-side .btn { width: 100%; justify-content: center; padding: 10px 16px; font-size: 14px; }
.ad-side .ad-contacts { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.ad-side-bg { position: absolute; right: -26px; top: -26px; width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.32); }
.ad-banner { margin: 26px 0 8px; }
/* B 底部通栏：深绿 + 黄按钮 */
.ad-banner .ad-slot { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 168px;
  background: var(--green-x); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 rgba(23,24,28,.16); }
.ad-banner-copy { padding: 28px 30px; color: #fff; position: relative; z-index: 2; }
.ad-banner-copy h3 { font-size: 23px; letter-spacing: -.3px; margin-bottom: 8px; }
.ad-banner-copy h3 mark { background: none; color: var(--yellow); }
.ad-banner-copy p { font-size: 14px; color: rgba(255,255,255,.78); margin-bottom: 18px; max-width: 460px; }
.ad-banner-copy .btn { background: var(--yellow); color: var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--yellow-d); }
.ad-banner-copy .btn:hover { background: #FFD060; box-shadow: 0 2px 0 var(--yellow-d); }
.ad-banner-img { position: relative; }
.ad-banner-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- 信任条 ---------------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-i { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 17px; }
.trust-i .ico { width: 20px; height: 20px; color: var(--orange); }
.trust-i b { display: block; font-size: 14.5px; margin: 7px 0 3px; }
.trust-i span { font-size: 12.5px; color: var(--gray); line-height: 1.6; }

/* ---------------- FAQ ---------------- */
.faq details { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 19px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 9px; color: var(--ink-2); font-size: 14px; }

/* ---------------- 装修流程 ---------------- */
.flow-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: center; }
.flow-grid img { border-radius: var(--r); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 rgba(23,24,28,.12); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; font-size: 14px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px;
  border-radius: 8px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.steps li b { display: block; color: var(--ink); font-size: 14.5px; }

/* ---------------- 面包屑 / 文章 ---------------- */
.crumb { color: var(--gray); font-size: 13px; margin: 22px 0 4px; display: flex; gap: 7px; flex-wrap: wrap; }
.crumb a:hover { color: var(--orange); }
.article h1 { font-size: 26px; line-height: 1.42; letter-spacing: -.3px; margin-bottom: 10px; }
.article-byline { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.article-byline .av { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.summary-box { background: var(--yellow-50); border-left: 4px solid var(--orange);
  padding: 13px 16px; border-radius: 0 var(--r) var(--r) 0; margin: 18px 0;
  display: flex; gap: 11px; align-items: flex-start; }
.summary-label { flex: none; font-size: 12.5px; font-weight: 700; color: var(--orange);
  background: #fff; border: 1px solid rgba(240,138,30,.35); border-radius: 999px;
  padding: 3px 10px; margin-top: 1px; }
.summary-box p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.content { margin-top: 18px; font-size: 15.5px; color: #23282e; }
.content h2 { font-size: 18.5px; margin: 26px 0 11px; padding-left: 11px; border-left: 4px solid var(--orange); }
.content h3 { font-size: 16.5px; margin: 20px 0 8px; }
.content p, .content ul, .content ol { margin-bottom: 11px; }
.content ul, .content ol { padding-left: 24px; }
.content img { border-radius: var(--r); margin: 14px 0; }
.content table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }
.content th, .content td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.content th { background: var(--yellow-50); font-weight: 600; }
.content blockquote { border-left: 3px solid var(--yellow); background: #FFFBF2; padding: 10px 14px;
  color: var(--ink-2); font-size: 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 12px 0; }
.fact-table table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14.5px; }
.fact-table th { width: 150px; background: var(--green-50); border: 1px solid var(--line); padding: 10px 13px;
  text-align: right; color: var(--gray); font-weight: 400; }
.fact-table td { border: 1px solid var(--line); padding: 10px 13px; }
.cta { position: relative; overflow: hidden; background: var(--green);
  color: #fff; border-radius: var(--r-lg); padding: 24px 28px; margin-top: 20px;
  border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 rgba(23,24,28,.14); }
.cta h2 { font-size: 18px; margin-bottom: 6px; }
.cta p { font-size: 13.5px; color: rgba(255,255,255,.82); }
.cta .phone { font-size: 24px; font-weight: 700; letter-spacing: 1.5px; color: var(--yellow); }
.cta .btn { background: var(--yellow); color: var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--yellow-d); margin-top: 14px; }
.cta .btn:hover { box-shadow: 0 2px 0 var(--yellow-d); }
.cta::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,197,61,.14); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; gap: 8px; margin-top: 22px; padding-top: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-2); align-items: center; }
.pager a, .pager .cur { min-width: 38px; text-align: center; padding: 8px 13px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 13.5px; background: #fff; transition: .15s; }
.pager a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.pager .cur { background: var(--orange); color: #fff; border-color: var(--orange); font-weight: 700;
  box-shadow: 0 2px 0 var(--orange-d); }

/* ---------------- 后台 ---------------- */
.admin-head { display: flex; justify-content: space-between; align-items: center; }
.admin-head h1 { font-size: 20px; }
.admin-login { display: flex; justify-content: center; padding: 60px 0; }
.login-box { width: 360px; }
.login-box input { width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
  text-align: center; box-shadow: var(--sh-1); }
.stat b { font-size: 24px; color: var(--orange); display: block; }
.stat span { font-size: 13px; color: var(--gray); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.admin-table th { background: var(--green-50); }
.inline { display: inline; margin-left: 8px; }
.link-del { background: none; border: 0; color: #c0392b; cursor: pointer; font-size: 14px; }
.edit-form label { display: block; font-size: 13px; color: var(--gray); margin: 12px 0 4px; }
.edit-form input, .edit-form select, .edit-form textarea { width: 100%; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; font-family: inherit; }
.edit-form textarea.code { font-family: Consolas, monospace; font-size: 13px; }
.edit-form .check { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14px; }
.edit-form input[type="checkbox"] { width: auto; }
.flash { background: var(--yellow-50); color: var(--warn); border: 1px solid #F0D48A;
  border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }

/* ---- 后台专用外壳（admin/_base.html）---- */
.adm-topbar { background: var(--green-x); color: rgba(255,255,255,.85); position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.adm-topbar-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; min-height: 52px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.adm-brand { color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; padding: 10px 0; }
.adm-brand i { color: var(--yellow); font-style: normal; }
.adm-nav { display: flex; gap: 3px; flex: 1; flex-wrap: wrap; }
.adm-nav a { color: rgba(255,255,255,.72); font-size: 13.5px; padding: 6px 12px;
  border-radius: 8px; white-space: nowrap; }
.adm-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.adm-nav a.on { color: #fff; background: rgba(255,255,255,.15); font-weight: 600; }
.adm-user { display: flex; align-items: center; gap: 14px; font-size: 13px;
  color: rgba(255,255,255,.55); white-space: nowrap; }
.adm-user a { color: rgba(255,255,255,.8); }
.adm-user a:hover { color: var(--yellow); }
.adm-user-name { opacity: .75; }
.adm-wrap { max-width: 1200px; margin: 0 auto; padding: 26px 20px 70px;
  display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.adm-wrap > * { margin: 0; }
/* 后台按钮间距：行内散按钮统一留白 */
.adm-wrap p .btn { margin: 2px 8px 2px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row .btn { margin: 0; }
.btn-row-label { font-size: 12.5px; color: var(--gray); margin: 14px 0 8px; display: flex; align-items: center; gap: 8px; }
.btn-row-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* 独立表格加边框与投影，避免裸表格贴页面 */
.adm-wrap > .admin-table, .adm-wrap > form > .admin-table { border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1); }
/* 后台页头卡片瘦身 */
.adm-wrap .admin-head { padding: 16px 22px; }
.adm-wrap .admin-head h1 { font-size: 18px; }
/* ---- 后台头部操作按钮组（补阅读基数 等） ---- */
.head-acts { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.head-acts .inline { margin-left: 0; }
.head-acts .btn.ghost b { color: var(--orange); font-weight: 700; }
/* ---- 后台 SEO 策略页 ---- */
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-bottom: 8px; }
.seo-card { border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  box-shadow: var(--sh-1); overflow: hidden; }
.seo-card.custom { border-color: #BFE3CD; }
.seo-card > summary { display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px; cursor: pointer; user-select: none; list-style: none; }
.seo-card > summary::-webkit-details-marker { display: none; }
.seo-card > summary::after { content: "展开 ▾"; font-size: 12px; color: var(--gray); white-space: nowrap; }
.seo-card[open] > summary::after { content: "收起 ▴"; }
.seo-card-name { font-weight: 600; font-size: 14px; }
.seo-card[open] > summary { border-bottom: 1px dashed var(--line); }
.badge.b-on { background: var(--yellow-50); color: var(--warn); }
.seo-preview { margin: 12px 16px 0; font-size: 13px; line-height: 1.7; color: var(--ink);
  background: var(--green-50); border-radius: var(--r-sm); padding: 9px 12px; word-break: break-all; }
.seo-preview .muted { font-size: 12px; }
.seo-form { padding: 4px 16px 16px; }
.seo-form label { display: block; font-size: 12.5px; color: var(--gray); margin: 10px 0 5px; }
.seo-form input[type="text"], .seo-form textarea { width: 100%; box-sizing: border-box;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 10px;
  font-size: 13px; font-family: inherit; }
.seo-form input:focus, .seo-form textarea:focus { outline: 2px solid #BFE3CD; border-color: var(--green); }
.seo-form select { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 10px; font-size: 13px; }

/* ---- 后台：待审核草稿台 ---- */
.adm-dot { display: inline-block; min-width: 17px; padding: 0 5px; margin-left: 2px;
  background: var(--yellow, #F5C542); color: #1a3c34; border-radius: 9px;
  font-size: 11.5px; line-height: 17px; text-align: center; font-weight: 700; }
.draft-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.draft-tab { font-size: 13.5px; padding: 7px 15px; border: 1px solid var(--line-2);
  border-radius: 999px; color: var(--gray); background: #fff; }
.draft-tab b { color: var(--ink); font-weight: 700; margin-left: 2px; }
.draft-tab:hover { border-color: var(--green); color: var(--green); }
.draft-tab.on { background: var(--green); border-color: var(--green); color: #fff; }
.draft-tab.on b { color: #fff; }
.draft-bar { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; padding: 0 22px 14px; }
.draft-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px;
  cursor: pointer; user-select: none; }
.draft-bar .muted { font-size: 12.5px; }
.badge-ok { display: inline-block; background: var(--green-50); color: var(--green-d);
  border-radius: 6px; padding: 1px 8px; font-size: 12.5px; white-space: nowrap; }
.badge-warn { display: inline-block; background: var(--yellow-50); color: var(--warn);
  border-radius: 6px; padding: 1px 8px; font-size: 12px; white-space: nowrap; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--green-x); color: rgba(255,255,255,.66); margin-top: 40px;
  padding: 42px 0 22px; font-size: 13.5px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand b { color: #fff; font-size: 17px; display: block; margin-bottom: 10px; }
.foot-brand b i { font-style: normal; color: var(--yellow); }
.foot-brand p { line-height: 1.75; font-size: 13px; }
.foot-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; font-weight: 600; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { color: rgba(255,255,255,.66); }
.foot-col a:hover { color: var(--yellow); }
.foot-bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.55); }
.foot-bottom a { color: rgba(255,255,255,.7); margin-right: 12px; }
.foot-bottom a:hover { color: var(--yellow); }
.foot-tel { color: var(--yellow); font-size: 18px; font-weight: 700; letter-spacing: .6px; }
.foot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.foot-tag { font-size: 12px; line-height: 1; color: #fff; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 7px 13px 7px 9px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: background .15s, transform .15s, border-color .15s; }
.foot-tag::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%; font-size: 9.5px; font-weight: 700;
  background: var(--yellow); color: var(--green-x); flex: none; }
.foot-tag:hover { background: rgba(255,255,255,.18); border-color: rgba(255,209,102,.5);
  transform: translateY(-1px); }
.post-nav { display: flex; flex-direction: column; gap: 9px; margin-top: 24px;
  padding-top: 16px; border-top: 1px solid var(--line); }
.post-nav-item { display: block; font-size: 13px; line-height: 1.7; color: var(--ink-2);
  background: none; border: none; padding: 0; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; transition: color .15s; }
.post-nav-item.next { text-align: right; }
.post-nav-item.empty { display: none; }
.post-nav-label { color: var(--ink-2); }
.post-nav-label::after { content: " ‹ "; }
.post-nav-item.next .post-nav-label::after { content: none; }
.post-nav-item.next .post-nav-label::before { content: " › "; }
.post-nav-title { font-weight: 400; color: var(--ink-2); }
.post-nav-item:hover .post-nav-title, .post-nav-item:hover .post-nav-label { color: var(--green); }
.legal-page { padding: 28px 0 44px; max-width: 860px; }
.legal h1 { font-size: 24px; margin-bottom: 6px; }
.legal-meta { color: var(--ink-2); font-size: 13px; border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 18px; }
.legal h3 { margin-top: 22px; }
.legal ul { margin: 8px 0 8px 4px; display: grid; gap: 6px; list-style: none; }
.legal ul li { position: relative; padding-left: 16px; line-height: 1.8; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--orange); }
.disclaimer { background: rgba(255,255,255,.06); border-radius: var(--r-sm); padding: 12px 14px;
  font-size: 12.5px; margin-top: 16px; line-height: 1.7; }

/* ---------------- 页脚友情链接（后台「广告位管理」可增删/排序/启停） ---------------- */
.foot-links { padding: 20px 0 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-links-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.foot-links-h h4 { color: #fff; font-size: 14px; font-weight: 600; display: inline-flex;
  align-items: center; }
.foot-links-h h4::before { content: ""; width: 14px; height: 3px; border-radius: 3px;
  background: var(--yellow); margin-right: 8px; }
.foot-links-note { font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.5; }
.foot-links-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 10px; }
.foot-links-list a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px;
  line-height: 1; color: rgba(255,255,255,.74); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 7px 13px;
  white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.foot-links-list a i { font-style: normal; font-size: 10px; opacity: .45; }
.foot-links-list a:hover { background: rgba(255,197,61,.16); border-color: rgba(255,197,61,.55);
  color: var(--yellow); transform: translateY(-1px); }
.foot-links-list a:hover i { opacity: 1; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { min-height: 260px; border-left: 0; border-top: 2px solid var(--ink); }
  .tile-row { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .ad-banner .ad-slot { grid-template-columns: 1fr; }
  .ad-banner-img { min-height: 160px; order: -1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .company-feature { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .header-in { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .topbar-l { display: none; }
  .hero-copy { padding: 28px 22px 24px; }
  .hero h1 { font-size: 25px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 19px; }
  /* 列表：日期锚点转为顶部横条 */
  .lv-item { grid-template-columns: minmax(0, 1fr); gap: 11px; padding: 16px 12px; }
  .lv-date { width: auto; height: auto; flex-direction: row; align-items: center; gap: 8px;
    padding: 5px 12px; border-radius: 8px; justify-content: flex-start; }
  .lv-date b { font-size: 14px; }
  .lv-date span { margin-top: 0; }
  .lv-go { display: none; }
  .lv-title { font-size: 16.5px; }
  .lv-item.is-lead .lv-title { font-size: 18px; }
  .panel { padding: 18px 16px; }
}

/* ---- 后台：企业筛选标签与行内操作 ---- */
.filter-tabs{display:flex;gap:8px;margin:0 0 16px}
.filter-tabs .tab{display:inline-block;padding:7px 16px;border-radius:20px;border:1px solid var(--line,#e5e7eb);
  font-size:14px;color:var(--ink,#374151);text-decoration:none;background:#fff}
.filter-tabs .tab.on{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:600}
.admin-table .link-btn{background:none;border:none;color:var(--green);cursor:pointer;font-size:14px;padding:0}
.admin-table .link-btn:hover{text-decoration:underline}
.filter-tabs .tab:hover{border-color:var(--orange);color:var(--orange)}
.filter-tabs .tab.on:hover{color:#fff}

/* ---- 企业入驻申请页 ---- */
.apply-hero{background:var(--green);border:1.5px solid var(--ink);border-radius:var(--r,14px);
  color:#fff;padding:34px 36px 30px;margin-bottom:18px;box-shadow:5px 5px 0 rgba(23,24,28,.14)}
.apply-hero h1{margin:0 0 10px;font-size:26px;color:#fff}
.apply-hero h1 em{font-style:normal;color:var(--yellow)}
.apply-hero p{margin:0;color:rgba(255,255,255,.86);font-size:14.5px;line-height:1.8}
.apply-benefits{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.apply-benefits span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);
  border-radius:20px;padding:6px 14px;font-size:13px;color:#fff}
.apply-panel h2{margin:0 0 6px;font-size:19px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin-top:16px}
.form-grid label{display:block;font-size:14px;font-weight:600;color:var(--ink,#1f2937)}
.form-grid label.full{grid-column:1/-1}
.form-grid .req{color:var(--orange-d)}
.form-grid input,.form-grid textarea{width:100%;margin-top:6px;padding:10px 12px;border:1.5px solid var(--line,#e5e7eb);
  border-radius:9px;font-size:14px;font-family:inherit;background:#fff;box-sizing:border-box}
.form-grid input:focus,.form-grid textarea:focus{outline:none;border-color:var(--green);background:#fff;
  box-shadow:0 0 0 3px rgba(11,107,69,.14)}
.form-grid textarea{resize:vertical}
.apply-note{font-size:12.5px;color:var(--ink-3,#6b7280);margin:16px 0 14px;line-height:1.7}
.apply-note a{color:var(--orange)}
.apply-submit{padding:12px 34px;font-size:15px}
.apply-done{text-align:center;padding:46px 30px}
.apply-done-ico{width:60px;height:60px;margin:0 auto 14px;border-radius:50%;
  background:var(--yellow);display:flex;align-items:center;justify-content:center}
.apply-done-ico svg{width:30px;height:30px;stroke:var(--ink);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.apply-done h2{margin:0 0 10px;font-size:20px}
.apply-done p{margin:0 0 8px;color:var(--ink-2,#4b5563);font-size:14.5px;line-height:1.8}
.apply-done-links{display:flex;gap:12px;justify-content:center;margin:18px 0 12px}
.apply-done .muted{font-size:13px;color:var(--ink-3,#6b7280)}
@media (max-width:720px){.form-grid{grid-template-columns:1fr}}

/* ---- 404 / 500 错误页 ---- */
.err-page{padding:34px 0 46px}
.err-card{background:var(--card,#fff);border:1.5px solid var(--ink);border-radius:var(--r-lg,16px);
  padding:52px 40px 40px;text-align:center;box-shadow:5px 5px 0 rgba(23,24,28,.12)}
.err-code{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:16px}
.err-num{font-size:86px;font-weight:800;letter-spacing:-3px;line-height:1;color:var(--orange)}
.err-ico{width:44px;height:44px;color:var(--green);fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.err-card h1{margin:0 0 12px;font-size:24px;letter-spacing:.2px}
.err-lead{margin:0 auto 24px;max-width:560px;color:var(--ink-2,#4b5563);font-size:14.5px;line-height:1.8}
.err-search{display:flex;max-width:440px;margin:0 auto 26px}
.err-search input{flex:1;border:1.5px solid var(--ink);border-right:0;border-radius:9px 0 0 9px;
  padding:11px 14px;font-size:14px;background:#fff}
.err-search input:focus{outline:none;border-color:var(--ink)}
.err-search button{border:0;background:var(--orange);color:#fff;border-radius:0 9px 9px 0;
  padding:0 20px;font-size:14px;font-weight:600;cursor:pointer}
.err-search button:hover{background:var(--orange-d)}
.err-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-bottom:28px}
.err-links-label{font-size:13px;color:var(--gray,#78838f);margin-right:2px}
.err-links a{background:var(--yellow-50);color:#6b4d0a;border:1px solid #EFDCA0;
  border-radius:20px;padding:7px 15px;font-size:13.5px;font-weight:500}
.err-links a:hover{background:var(--yellow);color:var(--ink)}
.err-actions{display:flex;gap:12px;justify-content:center;margin-bottom:22px}
.err-tel{margin:0;font-size:13px;color:var(--gray,#78838f)}
.err-tel b{color:var(--green-d);letter-spacing:.5px}
@media (max-width:600px){.err-card{padding:36px 20px 30px}.err-num{font-size:64px}}

/* ---- 城市分站导航 ---- */
.city-nav{background:#fff;border-bottom:1px solid var(--line,#e8ebef)}
.city-nav-in{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px 0}
.city-nav-label{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--gray,#78838f);margin-right:6px}
.city-nav-label .ico{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.city-nav-in a{font-size:13.5px;color:var(--ink-2,#4b5563);padding:4px 12px;border-radius:16px;font-weight:500}
.city-nav-in a:hover{background:var(--yellow-50);color:var(--ink)}
.city-nav-in a.on{background:var(--green);color:#fff}

/* ---- 广告位 C：顶部通栏 ---- */
.ad-top{padding:16px 0 0}
.ad-top-in{display:flex;align-items:center;gap:18px;background:var(--green-x);
  border:1.5px solid var(--ink);border-radius:var(--r-lg,16px);padding:16px 22px;color:#fff;
  box-shadow:5px 5px 0 rgba(23,24,28,.14)}
.ad-top-in img{width:96px;height:64px;object-fit:cover;border-radius:10px;flex:none}
.ad-top-copy{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex:1}
.ad-top-copy .ad-tag{background:rgba(255,255,255,.18);color:#fff}
.ad-top-copy b{font-size:16.5px}
.ad-top-copy>span:not(.ad-tag){font-size:13.5px;color:rgba(255,255,255,.78);flex:1;min-width:200px}
.ad-top-copy em{font-style:normal;font-size:13.5px;font-weight:600;color:var(--yellow);white-space:nowrap}
.ad-top-in:hover .ad-top-copy em{text-decoration:underline}

/* ---- 后台表单 ---- */
.admin-table input[type="text"],.admin-table input:not([type]),
.admin-table textarea,.admin-table select{border:1px solid var(--line,#e8ebef);border-radius:8px;
  padding:8px 10px;font-size:13.5px;font-family:inherit}
.admin-table input:focus,.admin-table textarea:focus{outline:none;border-color:var(--green)}
.admin-table code{background:var(--yellow-50);color:#8a5a00;
  border-radius:4px;padding:1px 6px;font-size:12.5px}

@media (max-width:720px){
  .ad-top-in{flex-direction:column;align-items:flex-start}
  .ad-top-copy>span:not(.ad-tag){min-width:0}
}

/* 友情链接：窄屏收紧 */
@media (max-width:720px){
  .foot-links { padding: 18px 0 4px; }
  .foot-links-h { gap: 4px; margin-bottom: 11px; }
  .foot-links-note { font-size: 11.5px; }
  .foot-links-list { gap: 8px; }
  .foot-links-list a { font-size: 12px; padding: 6px 11px; }
}
