﻿/* m-base.css — 金峰电脑版无响应式 + 手机端 m.asp/m-* 共用手机样式
   纯 CSS，UTF-8 编码，不依赖字体图标（老 IIS/IE 兼容）
   覆盖：顶部品牌条 + 栏目导航 + 卡片列表 + 电话 CTA 块 + 吸底拨号条
*/
:root {
  --c-brand: #1a5faa;
  --c-brand-light: #e6eff9;
  --c-accent: #d94f1c;
  --c-bg: #f6f8fb;
  --c-fg: #1a2a3a;
  --c-muted: #5a6b7a;
  --c-border: #dde8f4;
  --c-white: #fff;
  --pad: 12px;
  --radius: 8px;
  --topbar-h: 52px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-fg);
  padding-top: var(--topbar-h);
  padding-bottom: 64px;
}
a { color: var(--c-brand); text-decoration: none; }
a:visited { color: var(--c-brand); }

/* ===== 顶部品牌条（sticky） ===== */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: linear-gradient(135deg, #1a5faa, #2a7fd4);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(26,95,170,.25);
}
.top-bar .brand {
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52%;
}
.top-bar .brand small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.top-bar .cta-phone {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 20px; padding: 4px 10px;
  font-size: 13px; white-space: nowrap; flex-shrink: 0;
}
.top-bar .cta-phone strong { margin-left: 4px; }

/* ===== 栏目导航（横向滚动） ===== */
.nav-row {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-row a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--c-muted);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-row a.active, .nav-row a:hover {
  background: var(--c-brand-light);
  color: var(--c-brand);
  border-color: var(--c-brand);
}

/* ===== 内容区 ===== */
.content { padding: var(--pad); }
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.card-title {
  font-size: 15px; font-weight: 700; color: #111;
  margin-bottom: 6px; line-height: 1.4;
}
.card-title a { color: inherit; }
.card-meta {
  font-size: 12px; color: var(--c-muted); margin-bottom: 6px;
}
.card-body { font-size: 14px; color: #333; line-height: 1.6; }
.list-item {
  display: flex; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border);
  gap: 8px;
}
.list-item:last-child { border-bottom: none; }
.list-item .dot { flex-shrink: 0; color: var(--c-brand); font-size: 10px; margin-top: 6px; }
.list-item .text { flex: 1; font-size: 14px; line-height: 1.5; }
.list-item a { font-size: 14px; }
.empty { text-align: center; color: var(--c-muted); padding: 24px 12px; }

/* ===== 电话 CTA 块 ===== */
.cta-block {
  background: linear-gradient(135deg, #e6eff9, #d0e2f7);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px;
  margin: 12px 0;
  text-align: center;
}
.cta-block .phone { font-size: 18px; font-weight: 700; color: #fff; background: var(--c-accent); border-radius: 6px; padding: 6px 14px; display: inline-block; margin: 4px 0; }
.cta-block .qq { font-size: 13px; color: var(--c-muted); margin-top: 6px; }

/* ===== 吸底拨号条 ===== */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 52px;
  background: #fff; border-top: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 8px;
  z-index: 98;
  box-shadow: 0 -2px 8px rgba(0,0,0,.08);
}
.bottom-bar a {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--c-muted); text-decoration: none;
  padding: 6px 4px; border-radius: 6px;
}
.bottom-bar a.btn-call {
  background: var(--c-accent); color: #fff; font-weight: 700;
  margin: 0 6px; border-radius: 24px; padding: 8px 12px; font-size: 14px;
}

/* ===== 面包屑/回退 ===== */
.bread { font-size: 12px; color: var(--c-muted); padding: 6px var(--pad); }
.bread a { color: var(--c-brand); }

/* ===== 版权 ===== */
.site-foot { text-align: center; font-size: 11px; color: #9aa8b7; padding: 12px; line-height: 1.8; }

/* ===== 桌面端保持原样缩放（meta viewport 已定宽度） ===== */
@media screen and (max-width: 768px) {
  body { padding-bottom: 60px; }
  .bottom-bar { height: 48px; }
}

/* ===== 详情页富文本正文样式（2026-09-29 追加） ===== */
.card-body h1, .card-body h2, .card-body h3 { font-size: 16px; font-weight: 700; color: #16324a; margin: 14px 0 6px; line-height: 1.4; }
.card-body p { margin: 8px 0; line-height: 1.8; }
.card-body img { max-width: 100%; height: auto; border-radius: 4px; }
.card-body a { color: #1a5faa; text-decoration: underline; }
.card-body strong { color: #b34700; }
.card-body table { max-width: 100%; border-collapse: collapse; }
.card-body td, .card-body th { border: 1px solid #d5dde5; padding: 4px 6px; font-size: 13px; }