/* =====================================================================
   xincms 前台样式 site.css · 专业行业站风格 v3（去模板化）
   方向：白底 + 藏蓝主色 + 冷灰层级 + 1px 边线分区；无渐变、无金色、
        无衬线宣言、无漂浮动画；信息密度对齐正规法律服务机构官网。
   覆盖：首页/频道列表/频道详情/领域详情/单页 全部类名（v2 编辑风已备份）。
   ===================================================================== */

:root {
  --navy: #1a3350;        /* 主色：墨藏蓝（降饱和，去"太蓝"感） */
  --navy-deep: #0f2036;   /* 深藏蓝（页脚/重区块） */
  --ink: #212429;         /* 标题墨色（加深提对比） */
  --ink-2: #3c4048;       /* 正文（加深） */
  --ink-3: #75797f;       /* 辅助（收敛但不过浅） */
  --paper: #ffffff;       /* 白底 */
  --soft: #f4f6f8;        /* 冷灰浅带 */
  --card: #ffffff;
  --line: #e4e7eb;        /* 冷灰边线 */
  --ok: #2f7d4f;
  --w: 1120px;
  --shadow: 0 8px 28px rgba(16, 32, 54, .1);  /* 带藏蓝色相的投影 */
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.8 -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-2);
  background: var(--paper);
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; border: 0; vertical-align: middle; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; outline: none; }
.container { width: var(--w); max-width: 100%; margin: 0 auto; padding: 0 20px; }
.serif { font-family: inherit; }

/* 静态呈现：禁用渐入动画（专业站不做花活，内容始终可见） */
.reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- 顶部与报头 ---------- */
.topline { height: 3px; background: var(--navy); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.3; }
.brand .cn { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.brand .en { font-size: 11px; color: var(--ink-3); letter-spacing: 1.5px; margin-top: 2px; }
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  padding: 8px 10px; font-size: 14px; color: var(--ink-2);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--navy); }
.header-cta {
  flex: none; padding: 9px 22px; background: var(--navy); color: #fff;
  font-size: 14px; border-radius: 3px; border: 1px solid var(--navy);
}
.header-cta:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 11px 30px; font-size: 15px; cursor: pointer;
  border-radius: 4px; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .15s, box-shadow .25s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 14px rgba(26, 51, 80, .22); }
.btn-ink:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; box-shadow: 0 6px 18px rgba(26, 51, 80, .3); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-gold:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

/* ---------- 首页 Hero：藏蓝主视觉 + 背景图（与内页横幅同一设计语言） ---------- */
.hero {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(13, 28, 48, .78), rgba(15, 32, 54, .68)), url(/static/img/hero-home.jpg?v=2);
  background-size: cover;
  background-position: center;
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px 20px 60px; }
.hero-kicker { font-size: 14px; color: rgba(255, 255, 255, .72); font-weight: 600; letter-spacing: 3px; }
.hero h1 { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: 3px; margin-top: 12px; }
.hero .slogan { font-size: 17px; color: rgba(255, 255, 255, .92); margin-top: 10px; letter-spacing: 1px; }
.hero .desc { font-size: 15px; color: rgba(255, 255, 255, .78); margin-top: 14px; max-width: 560px; text-align: justify; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; }
.hero .btn-ink { background: #fff; color: var(--navy-deep); border-color: #fff; }
.hero .btn-ink:hover { background: rgba(255, 255, 255, .88); color: var(--navy-deep); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.hero-side { flex: none; text-align: center; }
.hero-photo {
  width: 220px; height: 280px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; overflow: hidden; margin: 0 auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .ph-slot { background: transparent; }
.hero .ph-slot span { color: rgba(255, 255, 255, .4); }
.hero .ph-slot em { color: rgba(255, 255, 255, .55); }
.hero-badge { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.hero-badge span { display: inline-block; margin: 0 4px; }
.hero-badge strong { color: #fff; font-weight: 600; }
.hero-badge .ok { color: #8fd8ac; }
.hero-badge .ok::before { content: "✓ "; }

/* ---------- 统计条（浅色数据条，与藏蓝 hero 形成层次） ---------- */
.statbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.statbar-inner { display: flex; }
.stat { flex: 1; text-align: center; padding: 24px 8px; border-right: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.st-ico { width: 22px; height: 22px; color: #b8c2ce; margin-bottom: 6px; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* ---------- 区块与标题（左竖条，行业站惯例） ---------- */
.section { padding: 62px 0; }
.section.tint { background: var(--soft); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.sec-head h2 {
  font-size: 23px; font-weight: 700; color: var(--ink); letter-spacing: 1px;
  padding-left: 14px; border-left: 4px solid var(--navy); line-height: 1.3;
}
.sec-head .sub { font-size: 13.5px; color: var(--ink-3); margin-left: 14px; }
.sec-head .more { font-size: 13.5px; color: var(--navy); flex: none; }
.sec-head .more:hover { color: var(--navy-deep); }

/* ---------- 业务领域卡片（4 列紧凑目录式，控制首页长度） ---------- */
.group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.group-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px 18px 18px; position: relative; transition: border-color .25s, box-shadow .25s, transform .25s; }
.group-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.group-card .no { position: absolute; top: 14px; right: 14px; font-size: 12px; color: #c6cbd2; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.group-card h3 { font-size: 16px; font-weight: 700; }
.group-card h3 a { color: var(--ink); }
.group-card h3 a:hover { color: var(--navy); }
.group-card .g-sum {
  font-size: 12.5px; color: var(--ink-3); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chips a {
  font-size: 12px; color: var(--ink-2); background: var(--soft);
  border: 1px solid var(--line); border-radius: 2px; padding: 2px 9px;
}
.chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--navy); }
.g-more:hover { color: var(--navy-deep); }
/* 末行只剩 1 张卡时（4n+1）：占满整行变横向目录卡，避免右侧大片空白（仅桌面栅格） */
@media (min-width: 1025px) {
  .group-card:last-child:nth-child(4n+1) {
    grid-column: 1 / -1;
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  }
  .group-card:last-child:nth-child(4n+1) .no { position: static; font-size: 14px; }
  .group-card:last-child:nth-child(4n+1) h3 { margin: 0; }
  .group-card:last-child:nth-child(4n+1) .g-sum { flex: 1; min-width: 220px; margin: 0; }
  .group-card:last-child:nth-child(4n+1) .chips { margin: 0; }
  .group-card:last-child:nth-child(4n+1) .g-more { margin: 0 0 0 auto; }
}

/* ---------- 案例卡片 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.feat-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.feat-img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--soft); }
/* 空封面统一占位：分类主题图 + 左下角标题块（浅色 tint 保图透，底部渐变承文字） */
.ph, .feat-ph, .art-ph { position: relative; background-color: var(--navy); background-size: cover; background-position: center; }
.feat-ph { height: 180px; }
.art-ph { height: 160px; }
.rowitem .row-thumb-box .ph { width: 100%; height: 100%; }
.ph::after, .feat-ph::after, .art-ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 26, 44, .82), rgba(12, 26, 44, 0) 62%);
}
.ph-case, .feat-ph.ph-case, .art-ph.ph-case { background-image: linear-gradient(rgba(18, 38, 62, .14), rgba(18, 38, 62, .2)), url(/static/img/banner-case.jpg?v=2); }
.ph-article, .feat-ph.ph-article, .art-ph.ph-article { background-image: linear-gradient(rgba(18, 38, 62, .14), rgba(18, 38, 62, .2)), url(/static/img/banner-article.jpg?v=2); }
.ph-ask, .feat-ph.ph-ask, .art-ph.ph-ask { background-image: linear-gradient(rgba(18, 38, 62, .14), rgba(18, 38, 62, .2)), url(/static/img/banner-ask.jpg?v=2); }
.ph-video, .feat-ph.ph-video, .art-ph.ph-video { background-image: linear-gradient(rgba(18, 38, 62, .14), rgba(18, 38, 62, .2)), url(/static/img/banner-video.jpg?v=2); }
.ph-analysis, .feat-ph.ph-analysis, .art-ph.ph-analysis { background-image: linear-gradient(rgba(18, 38, 62, .14), rgba(18, 38, 62, .2)), url(/static/img/banner-analysis.jpg?v=2); }
.ph > span, .feat-ph > span, .art-ph > span {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 2px;
}
.ph > span::before, .feat-ph > span::before, .art-ph > span::before {
  content: ""; display: block; width: 20px; height: 2px;
  background: rgba(255, 255, 255, .85); margin-bottom: 7px;
}
.ph-slot {
  width: 100%; height: 100%; background: var(--soft); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.ph-slot span { font-size: 64px; font-weight: 700; color: #c6cbd2; line-height: 1; }
.ph-slot em, .no-photo em { font-style: normal; font-size: 12px; color: #9aa1a9; letter-spacing: 2px; }
/* ---------- 科普文章卡片 ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s; }
.art-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.art-img { width: 100%; height: 160px; object-fit: cover; display: block; background: var(--soft); }
.art-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.art-body h3 {
  font-size: 16px; line-height: 1.55; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-body h3 a { color: var(--ink); }
.art-body h3 a:hover { color: var(--navy); }
.art-body p {
  font-size: 13px; color: var(--ink-3); margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-meta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.art-meta time { font-variant-numeric: tabular-nums; }

/* ---------- 问答卡片 ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qa-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 20px 22px; }
.qa-card:hover { border-color: var(--navy); }
.qa-card h3 {
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qa-card p {
  font-size: 13px; color: var(--ink-3); margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qa-meta { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--navy); }

/* ---------- 在线咨询（深藏蓝横带 + 咨询场景配图 + 白表单卡） ---------- */
.consult {
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(10, 22, 38, .86), rgba(12, 26, 44, .8)), url(/static/img/banner-analysis.jpg?v=2);
  background-size: cover; background-position: center;
  padding: 58px 0 62px;
}
.consult-inner { display: flex; gap: 52px; align-items: flex-start; }
.consult-copy { flex: 1; color: rgba(255, 255, 255, .88); }
.consult h2 { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.consult-copy > p { font-size: 14.5px; margin-top: 12px; text-align: justify; }
.consult-points { margin-top: 20px; }
.consult-points li { font-size: 14.5px; padding: 7px 0; display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .88); }
.pt-ico { width: 17px; height: 17px; flex: none; color: #9fb3c8; }
.consult-form { flex: none; width: 400px; max-width: 100%; background: #fff; border-radius: 3px; padding: 28px 30px 30px; }
.f-item { margin-bottom: 14px; }
.f-item label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }
.f-item input, .f-item textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 9px 12px;
  font-size: 14px; background: #fbfcfd;
}
.f-item input:focus, .f-item textarea:focus { border-color: var(--navy); background: #fff; }
.f-item textarea { min-height: 96px; resize: vertical; }
.f-tip { display: none; font-size: 13px; color: var(--ok); margin-top: 10px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: #b9c4d0; border-top: 3px solid var(--navy); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 40px 0 32px; flex-wrap: wrap; }
.footer-info { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-style: normal; }
.footer-info span { color: #b9c4d0; }
.footer-info strong { color: #fff; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: flex-start; max-width: 420px; }
.footer-nav a { color: #b9c4d0; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 12.5px; color: #8fa0b0; text-align: center; }
.footer-copy a { color: #9db0c2; }
.footer-copy a:hover { color: #fff; }

/* ---------- 内页横幅（列表/终端/领域/单页统一：背景图 + 藏蓝遮罩保文字可读） ---------- */
.page-banner {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-bg.jpg?v=2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0 82px;
}
/* 分频道背景图（同一藏蓝遮罩保可读；图源见 /static/img，均免费授权库存图） */
.page-banner.bg-article { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-article.jpg?v=2); }
.page-banner.bg-case { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-case.jpg?v=2); }
.page-banner.bg-ask { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-ask.jpg?v=2); }
.page-banner.bg-video { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-video.jpg?v=2); }
.page-banner.bg-analysis { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-analysis.jpg?v=2); }
.page-banner.bg-page { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-page.jpg?v=2); }
.page-banner.bg-practice { background-image: linear-gradient(rgba(15, 32, 54, .72), rgba(15, 32, 54, .6)), url(/static/img/banner-bg.jpg?v=2); }
.page-banner .crumbs { padding: 0 0 14px; }
.page-banner .crumbs, .page-banner .crumbs a { color: rgba(255, 255, 255, .62); }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs li + li::before { color: rgba(255, 255, 255, .35); }
.page-banner .crumbs li:last-child { color: rgba(255, 255, 255, .85); }
.page-banner h1 { font-size: 38px; font-weight: 700; color: #fff; letter-spacing: 2px; line-height: 1.4; }
.page-banner .lede { font-size: 15.5px; color: rgba(255, 255, 255, .8); margin-top: 12px; letter-spacing: 1px; }
.page-banner.slim { padding: 46px 0 50px; }
.page-banner.slim .crumbs { padding-bottom: 12px; }
.banner-channel { font-size: 18px; font-weight: 600; }
.banner-channel a { color: #fff; }
.banner-channel a:hover { color: rgba(255, 255, 255, .8); }

/* 列表页双栏：列表主栏 + 律师侧卡（sticky 跟随） */
.list-layout { display: flex; gap: 36px; align-items: flex-start; padding: 28px 0 10px; }
.list-layout .list-main { flex: 1; min-width: 0; }
.list-layout 
/* ---------- 列表页 ---------- */
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: 1px; padding: 30px 0 4px; }
.pagehead .lede { font-size: 14px; color: var(--ink-3); padding-bottom: 26px; }
.crumbs { font-size: 13px; color: var(--ink-3); padding: 14px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #c6cbd2; }
.crumbs a:hover { color: var(--navy); }
.crumbs li:last-child { color: var(--ink-2); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.filter a {
  font-size: 13.5px; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line);
  border-radius: 2px; padding: 4px 14px;
}
.filter a:hover { border-color: var(--navy); color: var(--navy); }
.filter a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.rowlist { display: flex; flex-direction: column; }
.rowitem {
  display: flex; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.rowitem:hover { background: #fbfcfd; }
.rowitem .row-thumb-box {
  flex: none; width: 168px; height: 105px; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: 3px; background: var(--soft);
}
.rowitem .row-thumb-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rowitem .row-main { flex: 1; min-width: 0; }
.rowitem h3 { font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.rowitem h3 a { color: var(--ink); }
.rowitem h3 a:hover { color: var(--navy); }
.rowitem p {
  font-size: 13.5px; color: var(--ink-3); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rowitem .side { flex: none; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.rowitem .side time { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rowitem .side .views { font-size: 12.5px; color: var(--ink-3); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 30px 0 8px; }
.pager a, .pager span {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; padding: 0 10px;
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager span.cur { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .dis { color: #c6cbd2; }
.empty-hint { text-align: center; color: var(--ink-3); font-size: 14px; padding: 60px 0; }

/* ---------- 详情页 ---------- */
.detail-layout { display: flex; gap: 36px; align-items: flex-start; padding: 30px 0 10px; }
.detail-main { flex: 1; min-width: 0; }
.detail-main h1 { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.55; letter-spacing: .5px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); margin: 12px 0 4px; }
.detail-meta strong { color: var(--ink-2); font-weight: 600; }
.detail-meta time { font-variant-numeric: tabular-nums; }
.prose { font-size: 15.5px; color: var(--ink-2); padding: 18px 0 30px; }
.prose p { margin: 14px 0; text-align: justify; }
.prose h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; padding-left: 10px; border-left: 3px solid var(--navy); }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.prose strong { color: var(--ink); }
.prose ul, .prose li { list-style: none; }
.prose li { padding-left: 16px; position: relative; margin: 8px 0; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; background: var(--navy); }
.prose blockquote {
  margin: 16px 0; padding: 12px 18px; background: var(--soft); border-left: 3px solid var(--navy);
  color: var(--ink-2); font-size: 14.5px;
}
.prose img { display: block; margin: 16px auto; border: 1px solid var(--line); border-radius: 2px; }
.prose video { display: block; width: 100%; margin: 16px 0; background: #000; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }
.detail-block {
  margin-top: 24px; border: 1px solid var(--line); border-radius: 3px; padding: 18px 22px; background: var(--card);
}
.detail-block > h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--navy); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { color: var(--ink-2); }
.faq-item { border-bottom: 1px dashed var(--line); padding: 14px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding-left: 26px; }
.faq-item h3::before {
  content: "问"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; line-height: 18px;
  background: var(--navy); color: #fff; font-size: 11px; text-align: center; border-radius: 2px;
}
.faq-item .ans { font-size: 14px; color: var(--ink-2); margin-top: 8px; padding-left: 26px; position: relative; }
.faq-item .ans::before {
  content: "答"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; line-height: 18px;
  background: var(--soft); border: 1px solid var(--line); color: var(--navy); font-size: 11px; text-align: center; border-radius: 2px;
}
.related { margin-top: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-item { display: block; border: 1px solid var(--line); border-radius: 3px; padding: 14px 16px; }
.rel-item:hover { border-color: var(--navy); }
.rel-item h3 { font-size: 14.5px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.rel-item h3 a:hover { color: var(--navy); }
.rel-item .rel-sum { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.row-thumb { flex: none; width: 190px; height: 120px; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; background: var(--soft); }

/* ---------- 侧栏（律师卡） ---------- */

/* ---------- 领域详情 ---------- */
.practice-intro { padding: 26px 0 6px; }
.practice-intro .quote {
  font-size: 15px; color: var(--ink-2); background: var(--soft); border-left: 3px solid var(--navy);
  padding: 12px 18px; margin-bottom: 8px;
}
/* 领域目录页（/practice）：大类块 + 细分 chips 全量 */
.area-dir { padding: 36px 0 20px; }
.area-dir-block { border: 1px solid var(--line); border-radius: 3px; padding: 24px 28px 26px; margin-bottom: 18px; background: var(--card); }
.area-dir-head { display: flex; align-items: baseline; gap: 12px; }
.area-dir-head h2 { font-size: 20px; font-weight: 700; color: var(--ink); padding-left: 12px; border-left: 4px solid var(--navy); line-height: 1.3; }
.area-dir-head h2 a { color: var(--ink); }
.area-dir-head h2 a:hover { color: var(--navy); }
.area-dir-head span { font-size: 12.5px; color: var(--ink-3); }
.area-dir-sum { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; text-align: justify; }
.area-dir-block .chips { margin-top: 14px; }
.chips-lg a { font-size: 13.5px; padding: 5px 14px; }
/* 目录列表行（/practice 主栏：细分名 + 一句摘要 + 箭头） */
.dir-list { margin-top: 4px; }
.dir-row { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); transition: background .2s; }
.dir-row:last-child { border-bottom: 0; }
.dir-row b { flex: none; min-width: 120px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dir-row span { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-row i { flex: none; font-style: normal; font-size: 14px; color: var(--navy); transition: transform .25s; }
.dir-row:hover { background: #f8fafc; }
.dir-row:hover b { color: var(--navy); }
.dir-row:hover i { transform: translateX(4px); }
.plist-item { border: 1px solid var(--line); border-radius: 3px; padding: 16px 20px; margin-bottom: 14px; background: var(--card); }
.plist-item h3 { font-size: 15.5px; font-weight: 600; }
.plist-item h3 a:hover { color: var(--navy); }
.plist-item p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 单页（关于/联系等） ---------- */
.p2col { display: flex; gap: 40px; align-items: flex-start; }
.p2col h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; padding-left: 10px; border-left: 3px solid var(--navy); }
.about-grid { display: flex; gap: 48px; align-items: flex-start; padding: 36px 0 20px; }
.about-main { flex: 1; min-width: 0; }
.about-main h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; padding-left: 10px; border-left: 3px solid var(--navy); }
.about-main h2:first-child { margin-top: 0; }
.about-side { flex: none; width: 280px; }
/* 关于页右栏与全站同款通栏律师卡（lawyercard 占满侧栏，完整执业信息表随后） */
.about-side .about-side .photo { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--soft); }
.about-side .photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.about-facts { margin-top: 16px; border: 1px solid var(--line); border-radius: 3px; padding: 16px 20px; }
.about-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.about-facts dt { font-size: 12.5px; color: var(--ink-3); }
.about-facts dd { font-size: 13.5px; color: var(--ink-2); }
.timeline { margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 18px 22px; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li::before {
  content: ""; position: absolute; left: -4.5px; top: 7px; width: 8px; height: 8px;
  background: var(--navy); border-radius: 50%;
}
.timeline .period { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline .t-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.timeline .t-role { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.honor-list li { font-size: 14px; padding: 7px 0 7px 20px; position: relative; border-bottom: 1px dashed var(--line); }
.honor-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 5px; height: 5px; background: var(--navy); }
.soc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.soc-links a { font-size: 13.5px; color: var(--navy); border: 1px solid var(--line); border-radius: 2px; padding: 5px 14px; background: var(--soft); }
.soc-links a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .group-grid, .feat-grid, .art-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .qa-grid { grid-template-columns: 1fr; }
  .detail-layout, .p2col, .about-grid, .list-layout { flex-direction: column; }
  .lawyer-aside, .about-side { width: 100%; max-width: 320px; }
  .list-layout   .consult-inner { flex-direction: column; }
  .consult-form { width: 100%; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 20px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
  .hero-inner { flex-direction: column; padding: 40px 20px; }
  .hero-side { width: 100%; }
  .statbar-inner { flex-wrap: wrap; }
  .stat { flex: 1 1 40%; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .group-grid, .feat-grid, .art-grid, .related-grid { grid-template-columns: 1fr; }
  .rowitem { flex-direction: column; }
  .rowitem .row-thumb-box { width: 100%; height: 150px; }
  .rowitem .side { flex-direction: row; gap: 14px; }
  .footer-inner { flex-direction: column; }
}
/* tenant dev test */

/* ============================================================
   移动端设计(≤760px 主断点 / ≤430px 微调)
   设计语言延续 v2 编辑风:纸底 paper / 墨色 ink / 朱砂 accent / 藏青 navy
   原则:单列阅读流、44px 触摸目标、汉堡收纳导航、卡片留白收敛
   ============================================================ */

/* ---------- 汉堡按钮(桌面隐藏,移动显示) ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line, rgba(23,27,33,.14));
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-strong, #171b21);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {

  /* ---------- 头部:汉堡收纳 ---------- */
  .site-header { position: sticky; top: 0; z-index: 60; }
  .header-inner { flex-wrap: nowrap; height: 60px; padding: 0 16px; gap: 10px; }
  .brand { min-width: 0; }
  .brand .cn { font-size: 19px; letter-spacing: .02em; }
  .brand .en { display: none; }
  .header-cta { margin-left: auto; padding: 10px 14px; font-size: 13.5px; white-space: nowrap; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 60px;
    background: var(--paper, #faf8f4);
    border-bottom: 1px solid var(--line, rgba(23,27,33,.14));
    box-shadow: 0 20px 44px rgba(23,27,33,.14);
    flex-direction: column;
    gap: 0;
    padding: 6px 18px 14px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    width: 100%;
    font-size: 16px;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(23,27,33,.08);
    text-align: left;
  }
  .main-nav a:last-child { border-bottom: 0; }

  /* ---------- 首屏 hero ---------- */
  .hero { padding-top: 26px; }
  .hero-inner { flex-direction: column; padding: 34px 18px 8px; gap: 26px; }
  .hero-kicker { font-size: 12px; letter-spacing: .18em; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.22; }
  .hero .slogan { font-size: 15px; line-height: 1.75; }
  .hero-cta { flex-direction: column; gap: 10px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }
  .hero-side { width: 100%; max-width: 340px; margin: 0 auto; }
  .hero-badge { padding: 10px 14px; }

  /* ---------- 统计条:2+1 换行 ---------- */
  .statbar-inner { flex-wrap: wrap; gap: 0; padding: 14px 18px; }
  .stat { flex: 1 1 46%; padding: 12px 6px; }
  .stat .no { font-size: 24px; }
  .stat .sub { font-size: 12px; }

  /* ---------- 区块通用:标题/间距收敛 ---------- */
  .section { padding: 44px 0; }
  .container { padding: 0 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 22px; }
  .sec-head .desc { font-size: 14px; line-height: 1.7; }
  .more, .g-more { font-size: 13.5px; }

  /* ---------- 卡片组:单列 + 触摸友好 ---------- */
  .group-grid, .feat-grid, .art-grid, .related-grid, .qa-grid, .dg-grid { grid-template-columns: 1fr; gap: 14px; }
  .group-card, .feat-card, .art-card, .qa-card { padding: 16px; }
  .group-card .g-sum, .art-body .desc { font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .art-card { flex-direction: row; align-items: flex-start; gap: 14px; }
  .art-img, .art-ph { width: 96px; height: 96px; flex: none; }
  .qa-meta { font-size: 12.5px; }

  /* ---------- 页面横幅(频道/详情) ---------- */
  .page-banner { padding: 40px 0 30px; }
  .page-banner h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.28; }
  .page-banner .desc { font-size: 14px; }
  .crumbs { font-size: 12.5px; flex-wrap: wrap; }

  /* ---------- 详情阅读流 ---------- */
  .detail-layout { flex-direction: column; gap: 24px; }
  .detail-main { width: 100%; min-width: 0; }
  .detail-meta { flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
  .detail-block, .ans { font-size: 16px; line-height: 1.85; }
  .detail-block h2, .detail-block h3, .ans h3 { font-size: 19px; margin: 26px 0 12px; }
  .detail-block p, .ans p { margin: 0 0 14px; }
  .detail-block img, .ans img, .detail-block video { max-width: 100%; height: auto; border-radius: 10px; }
  .detail-block blockquote, .ans blockquote {
    margin: 16px 0; padding: 12px 16px;
    background: rgba(168,64,47,.05);
    border-left: 3px solid var(--accent, #a8402f);
    font-size: 15px;
  }
  .detail-block ul, .detail-block ol, .ans ul, .ans ol { padding-left: 22px; }

  /* ---------- 列表页 ---------- */
  .list-layout { flex-direction: column; gap: 24px; }
  .rowitem { flex-direction: row; gap: 14px; padding: 14px 0; }
  .rowitem .row-thumb-box { width: 108px; height: 108px; flex: none; }
  .rowitem .side { flex-direction: column; gap: 6px; min-width: 0; }
  .rowitem .side .t { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  
  /* ---------- 咨询表单 ---------- */
  .consult-inner { flex-direction: column; gap: 22px; }
  .consult-form { width: 100%; padding: 18px; }
  .consult-form input, .consult-form textarea {
    min-height: 46px;
    font-size: 16px; /* ≥16px 防 iOS 聚焦缩放 */
  }
  .consult-form textarea { min-height: 110px; }
  .consult-form .btn { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
  .consult-points li { font-size: 14px; margin-bottom: 8px; }

  /* ---------- 页脚 ---------- */
  .footer-inner { flex-direction: column; gap: 18px; padding: 30px 18px 18px; }
  .footer-copy { font-size: 12.5px; line-height: 1.8; text-align: left; }

  /* ---------- 案例材料/文档画廊 ---------- */
  .doc-gallery { gap: 10px; }
  .dg-item { min-width: 46%; }

  /* ---------- 面包屑下的筛选 chips ---------- */
  .chips { flex-wrap: wrap; gap: 8px; }
  .chips a, .chips span { padding: 8px 14px; font-size: 13.5px; }
}

@media (max-width: 430px) {
  .container { padding: 0 15px; }
  .stat { flex: 1 1 100%; }
  .art-img, .art-ph { width: 84px; height: 84px; }
  .hero h1 { font-size: 27px; }
  .btn { letter-spacing: .02em; }
}

/* 尊重系统减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle span { transition: none; }
}

/* ============ 律师名片 v2(品牌卡:头像头部+资质徽章+双按钮转化) ============ */
.lawyer-aside {
  flex: none;
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card, #fff);
  padding: 20px 18px 16px;
  box-shadow: 0 1px 2px rgba(23, 27, 33, .04);
}
.la-head { display: flex; gap: 14px; align-items: center; }
.la-photo {
  width: 74px; height: 92px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: var(--soft, #f3efe7);
}
.la-photo-ph {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif, serif);
  font-size: 30px; color: var(--ink-3, #979ca4);
}
.la-id { min-width: 0; }
.la-id h3 {
  font-size: 19px; font-weight: 700; color: var(--ink, #171b21);
  margin: 0 0 3px; letter-spacing: .02em;
}
.la-title {
  font-size: 12.5px; color: var(--ink-2, #5c626b);
  margin: 0 0 5px;
}
.la-firm {
  font-size: 12.5px; color: var(--ink-2, #5c626b);
  margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.la-firm i { color: var(--accent, #a8402f); font-style: normal; margin-right: 5px; }
.la-slogan {
  font-family: var(--serif, serif);
  font-size: 13.5px; line-height: 1.7; color: var(--ink-2, #5c626b);
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--soft, #f3efe7);
  border-radius: 8px;
}
.la-creds {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 14px 0 0;
}
.la-cred {
  font-size: 12px; line-height: 1;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2, #5c626b);
  background: var(--paper, #faf8f4);
}
.la-cred b { color: var(--accent, #a8402f); font-weight: 700; margin-right: 1px; }
.la-cred-no { font-size: 11.5px; letter-spacing: .02em; }
.la-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  text-decoration: none;
  box-sizing: border-box;
}
.la-btn-main { background: var(--accent, #a8402f); color: #fff; font-weight: 600; }
.la-btn-main:hover { background: var(--accent-deep, #8a3226); }
.la-btn-sub { background: transparent; color: var(--ink, #171b21); border: 1px solid var(--line); }
.la-btn-sub:hover { border-color: var(--ink, #171b21); }
.la-note {
  margin: 10px 0 0;
  font-size: 11.5px; color: var(--ink-3, #979ca4);
  text-align: center; letter-spacing: .02em;
}
@media (max-width: 760px) {
  .lawyer-aside { width: 100%; padding: 18px 16px 14px; }
  .la-btn { padding: 13px 14px; font-size: 15px; min-height: 46px; }
}

