/* 律智办·法律知识中心 — GEO 内容站样式 */
:root {
  --blue: #16305e;
  --blue-2: #24498c;
  --gold: #b8860b;
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #23272f;
  --muted: #5c6572;
  --line: #e4e8ef;
  --green: #1c7a4d;
  --red: #b02a37;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 顶栏 ===== */
.site-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 18px 20px;
}
.site-header .inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo .g { color: #e8c56a; }
.site-header .tagline { font-size: 12.5px; opacity: .85; }
.site-header nav { margin-left: auto; font-size: 14px; }
.site-header nav a { color: #e8ecf5; margin-left: 16px; }

/* ===== 版心 ===== */
.container { max-width: 860px; margin: 0 auto; padding: 24px 20px 60px; }

/* ===== 首页 ===== */
.hero { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; margin-bottom: 26px; }
.hero h1 { font-size: 24px; color: var(--blue); margin-bottom: 8px; }
.hero p { color: var(--muted); font-size: 14.5px; }
.section-title { font-size: 19px; color: var(--blue); margin: 30px 0 14px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 4px; height: 18px; background: var(--gold); border-radius: 2px; }
.article-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .article-list { grid-template-columns: 1fr 1fr; } }
.article-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px 14px; transition: box-shadow .18s, border-color .18s; display: block; color: var(--text);
}
.article-card:hover { box-shadow: 0 6px 22px rgba(22,48,94,.10); border-color: #c8d3e8; text-decoration: none; }
.article-card .cat { font-size: 11.5px; color: var(--gold); font-weight: 600; letter-spacing: .5px; }
.article-card h2 { font-size: 16.5px; margin: 6px 0 8px; line-height: 1.5; }
.article-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ===== 文章页 ===== */
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; }
article h1 { font-size: 23px; line-height: 1.45; color: var(--blue); margin-bottom: 6px; }
.meta { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.meta span { margin-right: 14px; }

.answer-box {
  background: linear-gradient(135deg, #f0f4fc, #eef6ef);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 4px 0 24px;
}
.answer-box .label { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 1px; margin-bottom: 4px; }
.answer-box p { font-size: 15.5px; }

article h2 { font-size: 18.5px; color: var(--blue); margin: 28px 0 10px; padding-left: 10px; border-left: 4px solid var(--gold); line-height: 1.4; }
article p { margin-bottom: 12px; font-size: 15.5px; }
article ol, article ul { margin: 0 0 14px 22px; }
article li { margin-bottom: 8px; font-size: 15.5px; }
article strong { color: var(--blue); }
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
th { background: var(--blue); color: #fff; padding: 9px 12px; text-align: left; font-weight: 600; }
td { border: 1px solid var(--line); padding: 9px 12px; background: #fff; }
tr:nth-child(even) td { background: #f8fafd; }
.note { background: #fdf6e8; border: 1px solid #eedfb8; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #6a5518; margin: 14px 0; }
.law { background: #f0f4fc; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #2c3d5c; margin: 14px 0; }
.law b { color: var(--blue); }

details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; background: #fbfcfe; }
summary { font-weight: 600; font-size: 15px; cursor: pointer; color: var(--blue); }
details p { margin: 10px 0 0; }

/* ===== CTA ===== */
.cta {
  margin-top: 30px; border-radius: 14px; padding: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; border: none; padding: 0; margin: 0 0 8px; font-size: 19px; }
.cta p { color: #dbe3f2; font-size: 13.5px; margin-bottom: 14px; }
.cta a.btn {
  display: inline-block; background: linear-gradient(135deg, #e8c56a, #c9992f);
  color: #2a2103; font-weight: 700; font-size: 15.5px;
  padding: 12px 34px; border-radius: 999px; text-decoration: none;
}
.cta a.btn:hover { filter: brightness(1.06); text-decoration: none; }

/* ===== 页脚 ===== */
footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 20px; }
footer .inner { max-width: 860px; margin: 0 auto; font-size: 12.5px; color: var(--muted); }
footer .inner p { margin-bottom: 4px; }
.ai-mark { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; font-size: 11px; color: var(--muted); margin-left: 6px; }
