/* ============ 江南刑辩网 全局样式 ============ */
:root {
  --navy: #16335f;
  --navy-deep: #0d2344;
  --navy-soft: #24497e;
  --gold: #b8933f;
  --gold-light: #e7d9b4;
  --ink: #232b3a;
  --ink-soft: #5a6474;
  --bg: #f5f6f9;
  --card: #ffffff;
  --line: #e4e8f0;
  --red: #a63a3a;
  --green: #2e7d5b;
  --shadow: 0 2px 10px rgba(22, 51, 95, 0.08);
  --radius: 10px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
}

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.topbar {
  background: var(--navy-deep);
  color: #c9d4e6;
  font-size: 12.5px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.topbar span b { color: var(--gold-light); font-weight: 600; }

.site-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%, #1d4076 100%);
  color: #fff;
  padding: 26px 0 0;
}
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo-mark {
  width: 56px; height: 56px; flex: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(184,147,63,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.brand .logo-mark img { display: block; width: 40px; height: 40px; user-select: none; }
.brand h1 { font-family: var(--serif); font-size: 30px; letter-spacing: 4px; font-weight: 700; }
.brand h1 em { font-style: normal; color: var(--gold-light); }
.brand .sub { font-size: 12.5px; letter-spacing: 2.5px; color: #aebcd4; margin-top: 2px; }
.header-contact { text-align: right; font-size: 13px; color: #c9d4e6; }
.header-contact .tel { font-family: var(--serif); font-size: 22px; color: var(--gold-light); letter-spacing: 1px; }

.main-nav {
  background: rgba(13, 35, 68, 0.55);
  margin-top: 20px;
}
.main-nav ul { display: flex; list-style: none; flex-wrap: wrap; }
.main-nav a {
  display: block; color: #dce5f2; padding: 13px 26px;
  font-size: 15.5px; letter-spacing: 1px; transition: all 0.2s;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.main-nav a.active { color: #fff; border-bottom-color: var(--gold); background: rgba(255,255,255,0.08); }

.demo-tip {
  background: #fdf6e3; border-bottom: 1px solid #eadfc0;
  color: #7a5d1e; font-size: 12.5px; text-align: center; padding: 7px 12px;
}

/* ---------- 横幅 ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(184,147,63,0.25), transparent 60%),
    linear-gradient(135deg, #0d2344 0%, #16335f 60%, #24497e 100%);
  color: #fff; padding: 64px 0 70px;
}
/* 律师卡移除后英雄区单栏，限宽保证行长可读 */
.hero-grid { display: grid; grid-template-columns: minmax(0, 900px); gap: 0; align-items: center; }
.hero h2 { font-family: var(--serif); font-size: 36px; line-height: 1.4; margin-bottom: 14px; text-wrap: balance; }
.hero h2 span { color: var(--gold-light); }
.hero p.lead { color: #c3d0e4; font-size: 16px; max-width: 720px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 28px; }
.hero-tags i {
  font-style: normal; font-size: 13px; padding: 5px 14px;
  border: 1px solid rgba(199,174,110,0.55); border-radius: 999px; color: #e8ddbd;
  background: rgba(255,255,255,0.05);
}
.hero .btn-row { margin-top: 26px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 30px; border-radius: 6px;
  font-size: 15.5px; letter-spacing: 1px; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #a37f2f; color: #fff; }
.btn-ghost { background: transparent; color: #dce5f2; border: 1px solid #6d84a8; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* 律师卡样式保留备用（首页当前未使用该组件） */
.lawyer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184,147,63,0.4);
  border-radius: var(--radius);
  padding: 26px 28px; backdrop-filter: blur(4px);
}
.lawyer-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, #c8b073, #8f7434);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px; color: #fff; margin-bottom: 14px;
}
.lawyer-card h3 { font-family: var(--serif); font-size: 21px; letter-spacing: 2px; }
.lawyer-card .lic { font-size: 12.5px; color: #b7c4d9; margin: 6px 0 12px; }
.lawyer-card ul { list-style: none; font-size: 13.5px; color: #d4dded; }
.lawyer-card li { padding: 4px 0 4px 18px; position: relative; }
.lawyer-card li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 8px; }

/* ---------- 板块入口 ---------- */
.section { padding: 52px 0; }
/* 内容页（banner 之后的首个 section）收紧顶部留白，避免标题条下出现大片空白 */
.page-banner + .section { padding-top: 32px; }
.section > .container > .notice:first-child { margin-top: 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .kicker { color: var(--gold); font-size: 13px; letter-spacing: 4px; }
.section-head h2 { font-family: var(--serif); font-size: 28px; color: var(--navy); margin: 6px 0 10px; }
.section-head .rule { width: 56px; height: 3px; background: var(--gold); margin: 0 auto; }
.section-head p.desc { color: var(--ink-soft); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 16px; text-align: center; box-shadow: var(--shadow);
  transition: all 0.25s; display: flex; flex-direction: column; justify-content: center;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--gold); color: inherit; }
.feature-card .icon {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 12px;
  background: #f0f3f9; display: flex; align-items: center; justify-content: center;
}
.feature-card:hover .icon { background: #f7efdd; }
.feature-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 0; }
.feature-card p { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 列表布局 ---------- */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel-head {
  background: linear-gradient(90deg, #fbfaf7, #fff);
  border-bottom: 2px solid var(--navy);
  padding: 13px 20px; display: flex; align-items: center; justify-content: space-between;
}
.panel-head h3 {
  font-family: var(--serif); font-size: 17.5px; color: var(--navy);
  padding-left: 12px; border-left: 4px solid var(--gold);
}
.panel-head a { font-size: 13px; }
.panel-body { padding: 18px 20px; }

.list-item { display: block; padding: 12px 4px; border-bottom: 1px dashed var(--line); color: var(--ink); }
.list-item:last-child { border-bottom: none; }
.list-item:hover { color: var(--navy-soft); }
.list-item .t { font-size: 15px; font-weight: 600; }
.list-item .m { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; display: flex; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-size: 11.5px; padding: 1px 9px; border-radius: 999px;
  background: #eef2f9; color: var(--navy-soft); border: 1px solid #d6dfef;
}
.tag.gold { background: #f9f3e3; color: #8a6d2b; border-color: #e9dcb8; }

.aside-block { margin-bottom: 24px; }

/* ---------- 监管场所页：主栏 + 右侧委托会见卡 ---------- */
.dt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 26px; align-items: start; }
.dt-main { min-width: 0; }
.dt-aside { position: sticky; top: 18px; }
.dt-aside .quick-contact p { line-height: 1.75; }

/* ---------- 页中分页 ---------- */
.pager {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 26px 0 4px; padding-top: 18px; border-top: 1px solid var(--line);
}
.pager button {
  min-width: 34px; height: 34px; padding: 0 10px;
  border: 1px solid #cfd7e4; background: #fff; border-radius: 6px;
  font-size: 13.5px; color: var(--ink-soft); font-family: var(--sans); cursor: pointer;
  transition: all 0.18s;
}
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--navy); }
.pager button.active {
  background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600;
}
.pager button:disabled { opacity: 0.45; cursor: default; }
.pager .pager-dots { color: #a5adbd; padding: 0 2px; }
.pager .pager-info { margin-left: auto; font-size: 12.5px; color: var(--ink-soft); }
/* 检索结果不足一页：只留一行结果数，去掉分隔线与右对齐 */
.pager.single { border-top: none; padding-top: 0; margin-top: 14px; }
.pager.single .pager-info { margin-left: 0; font-size: 13px; }

/* 家属须知正文 */
.guide-tip {
  background: #f7f9fc; border-left: 3px solid var(--gold); border-radius: 4px;
  padding: 10px 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 22px;
}
.guide-h { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 0 0 10px; }
.guide-ul { margin: 0 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }
.guide-ul li { margin-bottom: 7px; line-height: 1.75; }
.guide-ul a { color: var(--navy-soft); text-decoration: underline; }
.quick-contact {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff;
  border-radius: var(--radius); padding: 22px;
}
.quick-contact h4 { font-size: 16px; margin-bottom: 10px; color: var(--gold-light); }
.quick-contact p { font-size: 13.5px; color: #d4def0; }

/* ---------- 联系方式卡（电话 + 地址 + 地图预览） ---------- */
.contact-tel {
  display: block; text-align: center; text-decoration: none;
  background: #f9f6ee; border: 1px solid #e9dfc7; border-radius: 8px;
  padding: 13px 12px 11px; transition: all 0.2s;
}
.contact-tel:hover { border-color: var(--gold); background: #fcf9f2; }
.contact-tel .ct-label { display: block; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.5px; }
.contact-tel .ct-num {
  display: block; font-family: var(--serif); font-size: 25px; letter-spacing: 1px;
  color: var(--navy); margin-top: 3px;
}
.contact-addr { margin-top: 14px; }
.contact-addr .ct-label { display: block; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-addr p { font-size: 13.5px; color: var(--ink); line-height: 1.75; }
.map-preview { position: relative; display: block; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.map-preview img { display: block; width: 100%; height: 168px; object-fit: cover; transition: transform 0.35s; }
.map-preview:hover img { transform: scale(1.04); }
.map-preview .map-note {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(255, 255, 255, 0.94); color: var(--navy);
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(13, 35, 68, 0.18);
}
.map-attr { font-size: 11px; color: #98a2b4; text-align: right; margin-top: 6px; }

/* ---------- 页面标题 ---------- */
.page-banner {
  background: linear-gradient(135deg, #0d2344, #24497e);
  color: #fff; padding: 38px 0;
}
.page-banner h2 { font-family: var(--serif); font-size: 27px; letter-spacing: 2px; }
.page-banner .crumb { font-size: 13px; color: #9fb0cc; margin-top: 6px; }
.page-banner .crumb a { color: #c3d0e4; }

/* ---------- 表单与工具 ---------- */
.tool-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tabs { display: flex; border-bottom: 1px solid var(--line); background: #fafbfd; flex-wrap: wrap; }
.tabs button {
  padding: 14px 24px; border: none; background: transparent; cursor: pointer;
  font-size: 15px; color: var(--ink-soft); border-bottom: 3px solid transparent; font-family: var(--sans);
}
.tabs button.active { color: var(--navy); font-weight: 600; border-bottom-color: var(--gold); background: #fff; }
.tab-pane { display: none; padding: 28px; }
.tab-pane.active { display: block; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cfd7e4; border-radius: 6px;
  font-size: 14.5px; font-family: var(--sans); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,147,63,0.15);
}
/* 多行输入框固定尺寸，禁用右下角拖拽手柄，避免把布局拉变形 */
.field textarea { resize: none; line-height: 1.7; min-height: 140px; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

.result-card {
  background: #f8f5ec; border: 1px solid var(--gold-light); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 8px;
}
.result-card .big-date {
  font-family: var(--serif); font-size: 30px; color: var(--red); font-weight: 700; letter-spacing: 1px;
}
.result-card .rd-label { font-size: 13px; color: var(--ink-soft); }
.basis {
  background: #f4f6fa; border-left: 4px solid var(--navy); padding: 10px 14px;
  font-size: 13px; color: var(--ink-soft); margin-top: 12px; border-radius: 0 6px 6px 0;
}
.basis b { color: var(--navy); }

/* ---------- 咨询表单：提交状态 ---------- */
.btn-outline { background: #fff; color: var(--navy); border: 1px solid #cfd7e4; }
.btn-outline:hover { border-color: var(--gold); color: #8a6d20; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; letter-spacing: 0.5px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  background: #fdf3f3; border: 1px solid #e8c4c4; color: #a33a3a; border-radius: 8px;
  padding: 10px 14px; font-size: 13.5px; line-height: 1.7; margin-bottom: 14px;
}
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.7; }
.result-card .rd-title {
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.result-card .rd-id {
  display: inline-block; font-size: 13px; letter-spacing: 0.6px; color: #7a5c1f;
  background: #fff; border: 1px dashed var(--gold-light); padding: 4px 10px;
  border-radius: 6px; margin-bottom: 10px;
}
.result-card .rd-label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.result-card .rd-label b { color: var(--navy); }
.rd-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

.timeline { list-style: none; margin-top: 8px; }
.timeline li {
  position: relative; padding: 0 0 22px 30px; border-left: 2px solid var(--gold-light); margin-left: 8px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--navy);
}
.timeline li.key::before { border-color: var(--gold); background: var(--gold); }
.timeline .tl-date { font-family: var(--serif); font-size: 17px; color: var(--navy); font-weight: 700; }
.timeline .tl-title { font-weight: 600; margin: 2px 0; }
.timeline .tl-desc { font-size: 13px; color: var(--ink-soft); }
.timeline li.key .tl-title { color: var(--red); }

.notice {
  background: #fdf1f1; border: 1px solid #eccaca; color: #7c2f2f;
  border-radius: 8px; padding: 12px 16px; font-size: 13px; margin: 16px 0;
}
.notice.blue { background: #eef4fb; border-color: #c9dcf2; color: #2c4a72; }
.notice b { color: inherit; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff;
}
table.data th {
  background: var(--navy); color: #fff; padding: 10px 12px; text-align: left;
  font-weight: 600; white-space: nowrap;
}
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:nth-child(even) td { background: #fafbfd; }
table.data tr:hover td { background: #f5f1e4; }
/* 主栏收窄后：类型 / 电话不折行，把剩余宽度留给地址列 */
table.data th:nth-child(2), table.data td:nth-child(2),
table.data th:nth-child(4), table.data td:nth-child(4) { white-space: nowrap; }
table.data th:nth-child(1), table.data td:nth-child(1) { min-width: 118px; }

/* ---------- 法规卡片 ---------- */
.law-group { margin-bottom: 30px; }
.law-group h3 {
  font-family: var(--serif); font-size: 19px; color: var(--navy);
  padding-left: 12px; border-left: 4px solid var(--gold); margin-bottom: 14px;
}
.law-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.law-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 34px 14px 16px; transition: all 0.2s; position: relative;
}
.law-item::after {
  content: "↗"; position: absolute; right: 14px; top: 13px;
  font-size: 13px; line-height: 1; color: #c3cbd7; transition: color 0.2s;
}
.law-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.law-item:hover::after { color: var(--gold); }
.law-item .n { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.law-item .n .ext { font-size: 11px; color: var(--ink-soft); font-weight: normal; }
.law-item .d {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); margin-top: 3px;
}
.law-item .d .meta { flex: 1; min-width: 0; }
.law-item .d .src { font-size: 11px; color: #a6b0be; white-space: nowrap; margin-left: auto; }

/* ---------- 案例解读 ---------- */
.case-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 18px; overflow: hidden;
}
.case-item summary {
  cursor: pointer; padding: 18px 22px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.case-item summary::-webkit-details-marker { display: none; }
.case-item summary .t { font-size: 16px; font-weight: 600; color: var(--navy); }
.case-item summary .m { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.case-item summary .arrow { color: var(--gold); font-size: 18px; flex: none; transition: transform 0.2s; }
.case-item[open] summary .arrow { transform: rotate(90deg); }
.case-body { padding: 0 22px 20px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.case-body h4 { color: var(--navy); margin: 16px 0 6px; font-size: 15.5px; }
.case-body p { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15px;
  color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.faq summary::after { content: "＋"; color: var(--gold); font-size: 17px; flex: none; }
.faq details[open] summary::after { content: "－"; }
.faq .faq-a { padding: 0 18px 16px; font-size: 14px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 12px; }
.faq .faq-a b { color: var(--ink); }

/* ---------- 服务领域 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow);
}
.service-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; font-family: var(--serif); }
.service-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 搜索 ---------- */
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.search-bar input[type="text"], .search-bar select {
  padding: 10px 14px; border: 1px solid #cfd7e4; border-radius: 6px; font-size: 14.5px; font-family: var(--sans);
}
.search-bar input[type="text"] { flex: 1; min-width: 220px; }
.search-bar input:focus, .search-bar select:focus { outline: none; border-color: var(--gold); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  padding: 6px 16px; border-radius: 999px; border: 1px solid #cfd7e4; cursor: pointer;
  font-size: 13.5px; background: #fff; color: var(--ink-soft); font-family: var(--sans);
}
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 侧栏案例检索 */
.side-search { display: flex; gap: 8px; }
.side-search input[type="search"] {
  flex: 1; min-width: 0; padding: 9px 12px;
  border: 1px solid #cfd7e4; border-radius: 6px;
  font-size: 13.5px; font-family: var(--sans); color: var(--ink);
  background: #fff; -webkit-appearance: none; appearance: none;
}
.side-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.side-search input[type="search"]:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,147,63,0.12);
}
.side-search-btn {
  flex: none; padding: 0 13px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  font-size: 13px; font-family: var(--sans); letter-spacing: 1px;
}
.side-search-btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.case-empty {
  background: #f7f9fc; border: 1px dashed #cfd7e4; border-radius: 8px;
  padding: 26px 20px; text-align: center; font-size: 14px; color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: #9db0cc; margin-top: 56px; }
.footer-main { padding: 40px 0 10px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #e8ddbd; font-size: 15.5px; margin-bottom: 12px; font-family: var(--serif); }
.site-footer p, .site-footer li { font-size: 13px; line-height: 2; }
.site-footer ul { list-style: none; }
/* 页脚快速导航：7 项排成两列，避免单列过长 */
.site-footer ul.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 24px;
}
.site-footer a { color: #9db0cc; }
.site-footer a:hover { color: #e8ddbd; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.09); padding: 14px 0; text-align: center;
  font-size: 12px; color: #7688a5;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .law-list { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .brand h1 { font-size: 24px; }
  .hero h2 { font-size: 28px; }
  .header-contact { display: none; }
  .dt-wrap { grid-template-columns: 1fr; gap: 20px; }
  .dt-aside { position: static; }
}

/* ---------- 悬浮咨询条 ---------- */
.fab { position: fixed; right: 20px; bottom: 88px; z-index: 120; }
.fab-items { display: flex; flex-direction: column; gap: 10px; }
.fab-item {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px;
  background: var(--navy); color: #fff; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 31, 53, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab-item:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 31, 53, 0.28); }
.fab-item svg {
  width: 21px; height: 21px; fill: none; stroke: #e7c884; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.fab-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fab-tx { display: none; }
.fab-tip {
  position: absolute; right: 60px; top: 50%; transform: translate(6px, -50%);
  padding: 8px 11px; border-radius: 6px; background: #10233f; color: #fff;
  font-size: 12.5px; line-height: 1.2; white-space: nowrap; font-family: var(--sans);
  opacity: 0; pointer-events: none; transition: opacity 0.16s ease, transform 0.16s ease;
}
.fab-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-left-color: #10233f;
}
.fab-tip em { font-style: normal; color: #e7c884; margin-left: 6px; }
.fab-item:hover .fab-tip,
.fab-item:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }

.fab-qr {
  position: absolute; right: 64px; bottom: 0; width: 198px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 36px rgba(15, 31, 53, 0.2); text-align: center;
}
.fab-qr[hidden] { display: none; }
.fab-qr img { display: block; width: 174px; height: 174px; margin: 0 auto 8px; border-radius: 6px; }
.fab-qr-t { font-size: 12px; line-height: 1.65; color: var(--ink-soft); }
.fab-qr-t b { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 1px; }

.fab-top { display: none; }
.fab-top.on { display: flex; }

@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .fab { left: 0; right: 0; bottom: 0; }
  .fab-items {
    flex-direction: row; gap: 0;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(15, 31, 53, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .fab-item {
    flex: 1 1 0; width: auto; height: 58px; border-radius: 0; transform: none;
    background: transparent; box-shadow: none; color: var(--navy);
    flex-direction: column; gap: 2px;
  }
  .fab-item:hover { transform: none; box-shadow: none; }
  .fab-item svg { width: 18px; height: 18px; stroke: var(--navy); }
  .fab-tx { display: block; font-size: 11.5px; line-height: 1.2; color: var(--navy); }
  .fab-tip { display: none; }
  .fab-item:not(:last-child) { border-right: 1px solid #eef1f6; }
  .fab-qr { left: 12px; right: 12px; width: auto; bottom: 68px; }
}

/* ==========================================================================
   手机版专项（≤768px）
   桌面端样式完全不受影响；本段只做小屏重排与尺寸收敛
   ========================================================================== */

/* 汉堡按钮（桌面隐藏，由 main.js 注入） */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-left: auto; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 147, 63, 0.45);
  border-radius: 10px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: #e7d9b4; transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 15px; line-height: 1.8; }
  img { max-width: 100%; height: auto; }
  .container { padding: 0 16px; }

  /* ---------- 顶部 ---------- */
  .topbar { font-size: 11.5px; padding: 5px 0; letter-spacing: 0.2px; }
  .topbar .container { justify-content: center; }
  .site-header { padding: 24px 0 26px; }
  .header-main { gap: 10px; min-height: 56px; }
  .brand { gap: 10px; min-width: 0; }
  .brand .logo-mark { width: 46px; height: 46px; }
  .brand .logo-mark img { width: 32px; height: 32px; }
  .brand h1 { font-size: 21px; letter-spacing: 2px; line-height: 1.3; }
  .brand .sub { font-size: 9.5px; letter-spacing: 1.3px; margin-top: 1px; }
  .header-contact { display: none; }

  /* ---------- 导航：抽屉 ---------- */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; margin-top: 14px;
    background: rgba(9, 24, 46, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  body.nav-open .main-nav { display: block; }
  .main-nav ul {
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 6px 0 10px;
  }
  .main-nav a {
    padding: 12px 10px 12px 14px; font-size: 14.5px; letter-spacing: 0;
    border-bottom: 0; border-left: 3px solid transparent;
  }
  .main-nav a.active {
    border-left-color: var(--gold); border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.06);
  }

  /* ---------- 横幅 ---------- */
  .hero { padding: 32px 0 36px; }
  .hero h2 { font-size: 24px; line-height: 1.45; letter-spacing: 0.3px; margin-bottom: 12px; }
  .hero p.lead { font-size: 14px; line-height: 1.85; }
  .hero-tags { gap: 8px; margin: 16px 0 20px; }
  .hero-tags i { font-size: 12px; padding: 4px 10px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { width: 100%; text-align: center; display: block; padding: 12px 16px; font-size: 15px; }
  .btn-sm { width: auto; display: inline-block; }

  /* ---------- 区块节奏 ---------- */
  .section { padding: 34px 0; }
  .page-banner + .section { padding-top: 22px; }
  .page-banner { padding: 26px 0; }
  .page-banner h2 { font-size: 21px; letter-spacing: 1px; }
  .page-banner .crumb { font-size: 12px; }
  .section-head { margin-bottom: 22px; }
  .section-head .kicker { font-size: 11.5px; letter-spacing: 2.5px; }
  .section-head h2 { font-size: 21px; letter-spacing: 1px; }
  .section-head p.desc { font-size: 13px; line-height: 1.8; margin-top: 8px; }

  /* ---------- 栏目卡 ---------- */
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { padding: 18px 8px; border-radius: 8px; }
  .feature-card .icon { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 10px; }
  .feature-card .icon svg { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 14.5px; }
  .feature-card p { font-size: 11.5px; line-height: 1.6; }
  /* 单数张卡片时最后一张占满整行，避免左侧孤零零 */
  .feature-grid > .feature-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* ---------- 面板与列表 ---------- */
  .panel-head { padding: 11px 14px; }
  .panel-head h3 { font-size: 15.5px; }
  .panel-head a { font-size: 12.5px; }
  .panel-body { padding: 12px 14px; }
  .list-item { padding: 11px 0; }
  .list-item .t { font-size: 14.5px; line-height: 1.6; }
  .list-item .m { font-size: 11.5px; gap: 8px; }
  .tag { font-size: 11px; padding: 1px 8px; }

  /* ---------- 法规卡片 ---------- */
  .law-group { margin-bottom: 22px; }
  .law-group h3 { font-size: 16.5px; margin-bottom: 10px; padding-left: 10px; }
  .law-list { gap: 8px; }
  .law-item { padding: 12px 30px 12px 13px; }
  .law-item .n { font-size: 14px; line-height: 1.6; }
  .law-item .n .ext { font-size: 10.5px; }
  .law-item .d { font-size: 11.5px; gap: 6px; }
  .law-item .d .src { font-size: 10.5px; }
  .law-item::after { right: 12px; top: 12px; font-size: 12px; }

  /* ---------- 案例 ---------- */
  .case-item { margin-bottom: 12px; }
  .case-item summary { padding: 14px 15px; gap: 10px; }
  .case-item summary .t { font-size: 15px; line-height: 1.55; }
  .case-item summary .m { font-size: 11.5px; margin-top: 5px; }
  .case-body { padding: 0 15px 16px; font-size: 14px; line-height: 1.85; }
  .case-body h4 { font-size: 14.5px; margin: 14px 0 6px; }

  /* ---------- 选项卡：横向滑动 ---------- */
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; padding: 12px 15px; font-size: 14px; white-space: nowrap; }
  .tab-pane { padding: 16px; }

  /* ---------- 表单 ---------- */
  .field { margin-bottom: 15px; }
  .field label { font-size: 13.5px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 11px 12px; }
  .field .hint { font-size: 12px; line-height: 1.7; }
  .field textarea { min-height: 120px; }
  .result-card { padding: 16px; }
  .result-card .big-date { font-size: 26px; }

  /* ---------- 提示与依据 ---------- */
  .notice { font-size: 12.5px; line-height: 1.8; padding: 11px 13px; margin: 14px 0; }
  .basis { font-size: 12.5px; line-height: 1.8; padding: 9px 12px; }
  .guide-tip { font-size: 12.5px; line-height: 1.8; }
  .guide-h { font-size: 17px; }
  .guide-ul { font-size: 14px; margin-left: 18px; }

  /* ---------- 表格 ---------- */
  .table-wrap { -webkit-overflow-scrolling: touch; }
  table.data { font-size: 12.5px; }
  table.data th, table.data td { padding: 8px 10px; }
  table.data th:nth-child(1), table.data td:nth-child(1) { min-width: 96px; }

  /* ---------- 时间轴 ---------- */
  .timeline li { padding: 0 0 18px 24px; margin-left: 6px; }
  .timeline .tl-date { font-size: 15.5px; }
  .timeline .tl-title { font-size: 14px; }
  .timeline .tl-desc { font-size: 12.5px; line-height: 1.75; }

  /* ---------- 联系方式卡 ---------- */
  .quick-contact { padding: 18px; }
  .quick-contact h4 { font-size: 15px; }
  .quick-contact p { font-size: 13px; }
  .contact-tel .ct-num { font-size: 22px; }
  .map-preview img { height: 148px; }

  /* ---------- 分页 ---------- */
  .pager { gap: 5px; margin-top: 20px; }
  .pager button { min-width: 32px; height: 32px; font-size: 13px; padding: 0 8px; }
  .pager .pager-info { width: 100%; margin: 8px 0 0; }

  /* ---------- 页脚 ---------- */
  .site-footer { margin-top: 34px; }
  .footer-main { padding: 26px 0 4px; gap: 20px; }
  .site-footer h4 { font-size: 14.5px; margin-bottom: 8px; }
  .site-footer p, .site-footer li { font-size: 12.5px; line-height: 1.95; }
  .site-footer ul.footer-nav { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .footer-bar { font-size: 11px; line-height: 1.9; padding: 12px 0 14px; }

  /* ---------- 悬浮条：与底部安全区对齐 ---------- */
  .fab-items { padding-bottom: calc(env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .brand h1 { font-size: 19px; letter-spacing: 1.5px; }
  .brand .logo-mark { width: 42px; height: 42px; }
  .brand .logo-mark img { width: 29px; height: 29px; }
  .hero h2 { font-size: 22px; }
  .feature-card h3 { font-size: 13.5px; }
  .main-nav a { font-size: 14px; }
}

/* ==========================================================================
   手机版精修：选项卡密度 + 监管场所表格改卡片流
   ========================================================================== */
@media (max-width: 768px) {
  /* 四个选项卡尽量一屏放下，放不下时横向滑动 */
  .tabs button { padding: 12px 12px; font-size: 13.5px; }

  /* 监管场所名录：表头隐藏，每行变成一张信息卡 */
  .dt-main .table-wrap table.data thead { display: none; }
  .dt-main .table-wrap table.data,
  .dt-main .table-wrap table.data tbody,
  .dt-main .table-wrap table.data tr,
  .dt-main .table-wrap table.data td { display: block; width: auto; }
  .dt-main .table-wrap table.data tr {
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
  }
  .dt-main .table-wrap table.data tr:nth-child(even) { background: #fafbfd; }
  .dt-main .table-wrap table.data tr:nth-child(even) td { background: transparent; }
  .dt-main .table-wrap table.data tr:hover td { background: transparent; }
  .dt-main .table-wrap table.data td { border: 0; padding: 0; min-width: 0; }

  .dt-main .table-wrap table.data td:nth-child(1) {
    font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.5;
  }
  .dt-main .table-wrap table.data td:nth-child(2) {
    display: inline-block; margin-top: 6px; white-space: normal;
    font-size: 11.5px; line-height: 1.6; padding: 1px 8px; border-radius: 999px;
    background: #eef2f9; color: var(--navy-soft); border: 1px solid #d6dfef;
  }
  .dt-main .table-wrap table.data td:nth-child(3) {
    margin-top: 7px; white-space: normal;
    font-size: 13px; color: var(--ink-soft); line-height: 1.7;
  }
  .dt-main .table-wrap table.data td:nth-child(4) {
    margin-top: 6px; white-space: nowrap;
    font-size: 13.5px; font-weight: 600; color: var(--navy); letter-spacing: 0.5px;
  }
}

@media (max-width: 768px) {
  /* 速查表：收紧单元格，避免三列挤成竖条
     注意：只作用于期限计算器的速查表（#pane-table），
     否则会波及「监管场所名录」那种已经改成卡片流的表格 */
  #pane-table table.data { font-size: 12px; }
  #pane-table table.data th, #pane-table table.data td { padding: 7px 8px; }
  #pane-table table.data th:nth-child(1), #pane-table table.data td:nth-child(1) { min-width: 0; width: 42%; }
  #pane-table table.data th:nth-child(2), #pane-table table.data td:nth-child(2) { white-space: nowrap; width: 22%; }
  #pane-table table.data th:nth-child(3), #pane-table table.data td:nth-child(3) { white-space: normal; font-size: 11.5px; color: var(--ink-soft); }
}

/* ==========================================================================
   手机版精修之二：字号底线、点按手感、抽屉观感
   ========================================================================== */
@media (max-width: 768px) {
  /* 输入框统一 16px：低于 16px 时 iOS 聚焦会自动放大页面 */
  .search-bar input[type="text"],
  .search-bar select,
  .side-search input[type="search"],
  .field input, .field select, .field textarea { font-size: 16px; }
  .search-bar input[type="text"] { min-width: 0; }
  .search-bar { padding: 10px; gap: 8px; }
  .search-bar select { min-width: 0; flex: 1 1 46%; }

  /* 字号底线：正文最小 12px，避免小字发糊 */
  .topbar { font-size: 12px; }
  .brand .sub { font-size: 10px; letter-spacing: 1.1px; }
  .tag { font-size: 12px; padding: 2px 8px; }
  .feature-card p { font-size: 12px; }
  .list-item .m { font-size: 12px; }
  .law-item .n .ext { font-size: 11px; }
  .law-item .d .src { font-size: 11px; }
  .page-banner h2 { font-size: 22px; }
  .section-head h2 { font-size: 22px; }
  .section-head .kicker { font-size: 12px; }
  .site-footer h4 { font-size: 15px; }
  .footer-bar { font-size: 11.5px; }

  /* 抽屉：做成悬浮面板，开口更清楚 */
  .main-nav {
    margin-top: 12px; border-radius: 12px;
    border: 1px solid rgba(184, 147, 63, 0.28);
    box-shadow: 0 12px 28px rgba(4, 12, 26, 0.32);
    overflow: hidden;
  }
  .main-nav ul { padding: 4px 0; }
  .main-nav a { padding: 13px 12px 13px 14px; }
  .main-nav li:nth-child(odd) a { border-right: 1px solid rgba(255, 255, 255, 0.06); }
  body.nav-open .site-header { padding-bottom: 0; }

  /* 卡片与列表的点按反馈 */
  .feature-card:active,
  .law-item:active,
  .case-item summary:active,
  .quick-contact:active { transform: scale(0.985); transition: transform 0.12s ease; }

  /* 长表格改为可拖动的横向滚动，右侧留出渐隐提示 */
  .table-wrap { position: relative; }
  .table-wrap::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 18px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92));
    pointer-events: none;
  }
  .dt-main .table-wrap::after { display: none; }

  /* 时间轴节点更紧凑 */
  .timeline li { padding-left: 22px; }
  .timeline .tl-desc { font-size: 13px; }
}

/* ==========================================================================
   列表卡片＝整条链接（案例解读、办案心得 → 独立文章页）
   ========================================================================== */
a.case-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; text-decoration: none; color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.case-item > div { min-width: 0; }
a.case-item .t { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.55; }
a.case-item .m {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  font-size: 12.5px; color: var(--ink-soft); margin-top: 5px;
}
a.case-item .arrow {
  color: var(--gold); font-size: 20px; line-height: 1; flex: none;
  transition: transform 0.18s ease;
}
a.case-item:hover { border-color: #dcc99a; box-shadow: 0 12px 26px rgba(16, 36, 66, 0.09); }
a.case-item:hover .t { color: #8a6d2b; }
a.case-item:hover .arrow { transform: translateX(4px); }
a.case-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   独立文章页
   ========================================================================== */
.article-page { padding: 44px 0 64px; }
.article-page .container { max-width: 860px; }
.article-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 20px;
}
.article-crumb a { color: var(--ink-soft); text-decoration: none; }
.article-crumb a:hover { color: #8a6d2b; }
.article-crumb i { font-style: normal; color: #c3ccd8; }
.article-title {
  font-size: 30px; line-height: 1.5; letter-spacing: 0.3px;
  color: var(--navy); font-weight: 700; margin-bottom: 16px;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-soft);
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.article-meta .dot { color: #c9d1dc; }
.article-body { font-size: 16px; line-height: 1.95; color: var(--ink); }
.article-body > h4 {
  font-size: 17px; color: var(--navy); font-weight: 700; line-height: 1.5;
  margin: 30px 0 10px; padding-left: 12px; border-left: 3px solid var(--gold);
}
.article-body > h4:first-child { margin-top: 0; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 9px; }
.article-body b { color: var(--navy); }
.article-body blockquote {
  margin: 20px 0; padding: 13px 18px; background: #f7f8fb;
  border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0;
  color: var(--navy); font-size: 15px; line-height: 1.85;
}
.article-body .basis { margin-top: 24px; }
.article-note {
  margin-top: 30px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 12.5px; line-height: 1.8; color: #98a3b3;
}
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.article-nav a {
  display: block; padding: 14px 16px; background: #fff; color: inherit;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.article-nav a span { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.article-nav a b { display: block; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.6; }
.article-nav a:hover { border-color: #dcc99a; box-shadow: 0 8px 20px rgba(16, 36, 66, 0.07); }
.article-nav a.disabled { visibility: hidden; }
.article-nav .next { text-align: right; }
.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 30px; padding: 22px 24px; background: #f7f8fb;
  border: 1px solid var(--line); border-radius: 12px;
}
.article-cta p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-soft); max-width: 62%; }
.article-back { margin-top: 28px; font-size: 13.5px; }
.article-back a { color: var(--ink-soft); text-decoration: none; }
.article-back a:hover { color: #8a6d2b; }

@media (max-width: 768px) {
  a.case-item { padding: 15px 15px; gap: 10px; margin-bottom: 12px; }
  a.case-item .t { font-size: 15.5px; line-height: 1.6; }
  a.case-item .m { font-size: 12px; }
  a.case-item .arrow { font-size: 18px; }

  .article-page { padding: 22px 0 42px; }
  .article-crumb { font-size: 12.5px; margin-bottom: 14px; }
  .article-title { font-size: 22px; line-height: 1.55; margin-bottom: 12px; }
  .article-meta { font-size: 12px; gap: 6px; padding-bottom: 14px; margin-bottom: 20px; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .article-body > h4 { font-size: 16px; margin: 24px 0 8px; padding-left: 10px; }
  .article-body ul, .article-body ol { margin-left: 18px; }
  .article-body blockquote { font-size: 14.5px; padding: 11px 14px; }
  .article-nav { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .article-nav .next { text-align: left; }
  .article-cta { padding: 16px; margin-top: 24px; }
  .article-cta p { max-width: 100%; font-size: 13.5px; }
  .article-cta .btn { width: 100%; text-align: center; }
}
