/* ============================================================
   宁夏蓝桢律师事务所 · 党政风设计系统 v3
   配色：党旗红 #A31E24 + 金色点缀 + 米白纸感底色
   字体：标题用宋体系（华文中宋/宋体），正文用系统无衬线
   ============================================================ */

:root {
  --navy-900: #6e1014;      /* 深红（原深藏青） */
  --navy-800: #a31e24;      /* 主红 */
  --navy-700: #b52a30;      /* 亮红 */
  --navy-600: #c9454b;      /* 辅红 */
  --gold-500: #c9a063;      /* 金 */
  --gold-400: #d9b87f;
  --gold-300: #ecd5a9;
  --red-deep: #5c0d11;      /* 页脚深红 */
  --bg-warm: #faf7f1;       /* 米白纸感 */
  --bg-white: #ffffff;
  --text-main: #332f2c;
  --text-sub: #6e675f;
  --line: #e6dccb;
  --shadow-md: 0 10px 30px rgba(110, 16, 20, 0.10);
  --shadow-lg: 0 18px 50px rgba(110, 16, 20, 0.16);
  --serif: "STZhongsong", "Noto Serif SC", "Source Han Serif SC", "SimSun", "宋体", "Songti SC", Georgia, serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text-main);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部红条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800) 45%, var(--navy-700));
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(201, 160, 99, 0.45);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; gap: 12px; flex-wrap: wrap;
}
.tb-right { display: flex; gap: 18px; align-items: center; }
.tb-right a { color: var(--gold-300); font-weight: 600; }
@media (max-width: 720px) { .hide-sm { display: none; } }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-white);
  border-bottom: 3px solid var(--navy-800);
  box-shadow: 0 2px 14px rgba(110, 16, 20, 0.08);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(110, 16, 20, 0.16); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 84px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  color: var(--gold-300);
  font-family: var(--serif); font-size: 27px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; border: 2px solid var(--gold-500);
  box-shadow: inset 0 0 0 2px rgba(201, 160, 99, 0.28);
}
.brand-text .cn {
  font-family: var(--serif); font-size: 21.5px; font-weight: 700;
  color: var(--navy-900); letter-spacing: 2.5px; line-height: 1.3;
}
.brand-text .en {
  font-size: 10.5px; color: var(--gold-500); letter-spacing: 2.2px;
  text-transform: uppercase; margin-top: 2px;
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 9px 15px; font-size: 15.5px; letter-spacing: 1.5px;
  color: var(--text-main); font-weight: 500; border-radius: 4px;
  position: relative;
}
.main-nav a:hover { color: var(--navy-800); }
.main-nav a.active {
  color: #fff; background: var(--navy-800); font-weight: 600;
}
.header-search {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff;
}
.header-search input {
  border: none; outline: none; padding: 8px 13px; font-size: 13.5px; width: 150px; background: transparent;
}
.header-search button {
  border: none; background: var(--navy-800); color: #fff;
  padding: 8px 13px; cursor: pointer; font-size: 13px; letter-spacing: 2px;
}
.header-search button:hover { background: var(--navy-600); }
@media (max-width: 1240px) { .header-search { display: none; } }
.header-cta {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 10px 20px; border-radius: 4px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 1px;
  border: 1px solid var(--gold-500);
}
.header-cta svg { width: 15px; height: 15px; fill: var(--gold-300); }
.header-cta:hover { filter: brightness(1.12); }
@media (max-width: 1100px) { .header-cta { display: none; } }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; }
@media (max-width: 960px) {
  .header-inner { height: 70px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 18px 16px;
    box-shadow: 0 18px 30px rgba(110, 16, 20, 0.14);
    border-bottom: 3px solid var(--navy-800);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px dashed var(--line); }
  .main-nav a.active { background: none; color: var(--navy-800); font-weight: 700; }
  .nav-toggle { display: block; margin-left: auto; }
  .brand-text .cn { font-size: 17.5px; letter-spacing: 1.5px; }
}

/* ---------- Hero 横幅（红绸质感） ---------- */
.hero {
  position: relative; height: 520px; overflow: hidden;
  background: var(--navy-900);
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(110, 16, 20, 0.93) 0%, rgba(140, 22, 27, 0.82) 42%, rgba(163, 30, 36, 0.62) 100%),
    linear-gradient(to top, rgba(92, 13, 17, 0.85), transparent 55%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: #fff;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--gold-400); color: var(--gold-300);
  padding: 6px 18px; border-radius: 3px; font-size: 13.5px; letter-spacing: 3px;
  background: rgba(92, 13, 17, 0.35); margin-bottom: 26px;
}
.hero-tag::before { content: "★"; font-size: 11px; color: var(--gold-400); }
.hero h1 {
  font-family: var(--serif); font-weight: 700; line-height: 1.35;
  letter-spacing: 4px; text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero p { margin-top: 18px; font-size: 16.5px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.88); }
.hero-btns { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button {
  width: 26px; height: 3px; border: none; cursor: pointer; border-radius: 2px;
  background: rgba(255, 255, 255, 0.38); transition: background 0.25s;
}
.hero-dots button.active { background: var(--gold-400); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 4px;
  font-size: 15.5px; font-weight: 600; letter-spacing: 2px;
  transition: all 0.25s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900); border: 1px solid var(--gold-300);
  box-shadow: 0 6px 20px rgba(201, 160, 99, 0.4);
}
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.65); color: #fff; background: rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- 通知公告条 ---------- */
.notice-bar { background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.notice-bar .container {
  display: flex; align-items: center; gap: 18px; padding-top: 13px; padding-bottom: 13px;
}
.notice-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  color: var(--navy-800); font-weight: 700; font-size: 15px; letter-spacing: 3px;
  font-family: var(--serif);
}
.notice-label::before { content: ""; width: 4px; height: 18px; background: var(--navy-800); border-radius: 1px; }
.notice-list { flex: 1; min-width: 0; height: 26px; overflow: hidden; position: relative; }
.notice-list ul { position: absolute; width: 100%; animation: noticeUp 18s infinite; }
.notice-list li { height: 26px; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-list li a { font-size: 14.5px; color: var(--text-main); }
.notice-list li a::before { content: "「 消 」"; color: var(--gold-500); font-size: 12px; margin-right: 8px; }
.notice-list li a:hover { color: var(--navy-800); }
.notice-list li span { font-size: 12.5px; color: #a89c8c; margin-left: 10px; }
@keyframes noticeUp {
  0%, 22% { transform: translateY(0); }
  25%, 47% { transform: translateY(-26px); }
  50%, 72% { transform: translateY(-52px); }
  75%, 97% { transform: translateY(-78px); }
  100% { transform: translateY(-104px); }
}
@media (max-width: 720px) { .notice-label span { display: none; } }

/* ---------- 快捷服务条 ---------- */
.quick-bar { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.quick-item {
  text-align: center; padding: 26px 6px 22px; border-right: 1px dashed var(--line);
  transition: background 0.25s, box-shadow 0.25s;
  position: relative;
}
.quick-item::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--navy-800); transition: width 0.25s;
}
.quick-item:hover::after { width: 44px; }
.quick-item:hover { background: var(--bg-warm); }
.quick-item:last-child { border-right: none; }
.quick-item .qi-ico { font-size: 27px; display: block; margin-bottom: 9px; filter: grayscale(0.15); }
.quick-item .qi-t { font-size: 15px; font-weight: 700; color: var(--navy-900); letter-spacing: 2px; font-family: var(--serif); }
.quick-item .qi-s { font-size: 11.5px; color: var(--text-sub); margin-top: 3px; display: block; letter-spacing: 0.5px; }
@media (max-width: 920px) { .quick-grid { grid-template-columns: repeat(4, 1fr); } .quick-item:nth-child(4n) { border-right: none; } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick-item:nth-child(2n) { border-right: none; } }

/* ---------- 区块 ---------- */
.section { padding: 74px 0; }
.section.alt { background: var(--bg-warm); }
@media (max-width: 720px) { .section { padding: 54px 0; } }

/* 栏目标题（红头文件式：红色主标题 + 双线） */
.sec-bar {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 3px double var(--navy-800);
  margin-bottom: 30px; padding-bottom: 14px;
  position: relative;
}
.sec-bar h2 {
  font-family: var(--serif); font-size: 27px; color: var(--navy-900);
  letter-spacing: 4px; display: flex; align-items: center; gap: 13px; font-weight: 700;
}
.sec-bar h2::before {
  content: "■"; font-size: 14px; color: var(--navy-800); line-height: 1;
}
.sec-bar .en {
  font-size: 11.5px; letter-spacing: 3.5px; color: var(--gold-500);
  text-transform: uppercase; font-weight: 600;
}
.sec-bar .more { margin-left: auto; font-size: 13.5px; color: var(--text-sub); white-space: nowrap; }
.sec-bar .more:hover { color: var(--navy-800); }
@media (max-width: 720px) { .sec-bar h2 { font-size: 22px; letter-spacing: 2px; } .sec-bar .en { display: none; } }

/* 区块居中标题 */
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  font-size: 12px; letter-spacing: 4px; color: var(--gold-500);
  text-transform: uppercase; font-weight: 700;
}
.section-head h2 {
  font-family: var(--serif); font-size: 32px; color: var(--navy-900);
  letter-spacing: 5px; margin-top: 10px;
}
.section-head .bar { width: 56px; height: 3px; background: var(--navy-800); margin: 16px auto 0; position: relative; }
.section-head .bar::before, .section-head .bar::after {
  content: ""; position: absolute; top: 0; width: 8px; height: 3px; background: var(--gold-500);
}
.section-head .bar::before { left: -14px; }
.section-head .bar::after { right: -14px; }
.section-head .sub { margin-top: 14px; color: var(--text-sub); font-size: 14.5px; letter-spacing: 1px; }

/* ---------- 网格 ---------- */
.grid-23 { display: grid; grid-template-columns: 1.85fr 1fr; gap: 52px; align-items: start; }
.grid-12 { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 920px) { .grid-23, .grid-12 { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- 标题 + 日期列表行（公文列表） ---------- */
.rowlist { border-top: 1px solid var(--line); }
.rowlist li {
  display: flex; align-items: center; gap: 12px;
  padding: 13.5px 4px; border-bottom: 1px dashed var(--line);
}
.rowlist li::before {
  content: ""; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--navy-800); transform: rotate(45deg);
}
.rowlist .t { flex: 1; font-size: 15px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowlist .t:hover { color: var(--navy-800); }
.rowlist .d {
  font-size: 12.5px; color: #a89c8c; flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.5px;
}

/* ---------- 侧栏红色信息卡 ---------- */
.side-card {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff; border-radius: 6px; padding: 28px 26px; margin-top: 28px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}
.side-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(201, 160, 99, 0.2), transparent 55%);
}
.side-card h3 {
  font-family: var(--serif); font-size: 19px; letter-spacing: 2px;
  margin-bottom: 8px; position: relative;
}
.side-card h3::before { content: "★ "; color: var(--gold-400); font-size: 14px; }
.side-card p { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; position: relative; }
.side-card .big {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--gold-300); position: relative; display: block; letter-spacing: 1px;
}
.side-card .tip { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 10px; margin-bottom: 0; }

/* ---------- 关于图文块 ---------- */
.about-visual {
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative; border: 1px solid var(--line);
}
.about-visual img { width: 100%; height: 320px; object-fit: cover; }
.about-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -70px 60px -30px rgba(92, 13, 17, 0.55); }
.about-visual .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  color: #fff; padding: 16px 22px;
  font-family: var(--serif); font-size: 16.5px; letter-spacing: 2.5px;
}
.about-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.about-numbers .an {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy-800);
  text-align: center; padding: 18px 8px;
}
.about-numbers .an b {
  font-family: var(--serif); font-size: 27px; color: var(--navy-800);
  display: block; line-height: 1.25;
}
.about-numbers .an span { font-size: 12.5px; color: var(--text-sub); letter-spacing: 1px; }

/* ---------- 业务卡片（公文编号式） ---------- */
.services-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card-v2 {
  border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px 24px;
  background: #fff; position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-top: 3px solid var(--navy-800);
}
.service-card-v2:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.service-card-v2 .idx {
  font-family: var(--serif); font-size: 14px; color: var(--gold-500);
  font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 10px;
}
.service-card-v2 h3 {
  font-family: var(--serif); font-size: 18.5px; color: var(--navy-900);
  margin-bottom: 9px; letter-spacing: 2px;
}
.service-card-v2 p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
@media (max-width: 920px) { .services-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid-v2 { grid-template-columns: 1fr; } }

/* ---------- 律师团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.lawyer-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.lawyer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lawyer-card .photo { position: relative; overflow: hidden; }
.lawyer-card .photo img {
  width: 100%; aspect-ratio: 3 / 4; height: auto;
  object-fit: cover; object-position: center 12%;
  transition: transform 0.4s;
}
.lawyer-card:hover .photo img { transform: scale(1.05); }
.lawyer-card .photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--navy-800), var(--gold-500)); }
.lawyer-card .info { padding: 20px 16px 22px; text-align: center; }
.lawyer-card h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-900); letter-spacing: 3px; white-space: nowrap; }
.lawyer-card .role {
  display: inline-block; font-size: 12px; color: var(--navy-800);
  border: 1px solid var(--gold-500); background: var(--bg-warm);
  padding: 3px 12px; border-radius: 2px; margin: 8px 0 10px;
  letter-spacing: 1px; white-space: nowrap;
}
.lawyer-card p { font-size: 13px; color: var(--text-sub); line-height: 1.75; margin-bottom: 12px; text-align: justify; }
.lawyer-card .more { font-size: 13px; color: var(--navy-800); font-weight: 600; white-space: nowrap; }
.lawyer-card .more:hover { color: var(--navy-600); }

/* 律师个人档案页 */
.lawyer-profile { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
@media (max-width: 920px) { .lawyer-profile { grid-template-columns: 1fr; } }
.lawyer-profile .photo {
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); border-top: 4px solid var(--navy-800);
}
.lawyer-profile .photo img { width: 100%; object-fit: cover; object-position: top; }
.lawyer-profile .bio h1 {
  font-family: var(--serif); font-size: 30px; color: var(--navy-900);
  letter-spacing: 3px; display: flex; align-items: center; gap: 14px;
}
.lawyer-profile .bio h1::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lawyer-profile .role {
  display: inline-block; font-size: 13px; color: #fff; background: var(--navy-800);
  padding: 4px 16px; border-radius: 2px; margin: 12px 0 20px; letter-spacing: 2px;
}
.lawyer-profile .bio h3 {
  font-family: var(--serif); font-size: 19px; color: var(--navy-800);
  letter-spacing: 1.5px; margin: 26px 0 10px; padding-left: 12px;
  border-left: 4px solid var(--gold-500); line-height: 1.4;
}
.lawyer-profile .bio p { color: var(--text-sub); text-align: justify; margin-bottom: 12px; font-size: 15px; }
.lawyer-contact-card {
  margin-top: 30px; padding: 22px 26px; border-radius: 4px;
  background: var(--bg-warm); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-left: 4px solid var(--navy-800);
}
.big-phone { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--navy-800); letter-spacing: 1px; }
.big-phone a:hover { color: var(--navy-600); }
.lawyer-contact-card .note { font-size: 12.5px; color: var(--text-sub); }
@media (max-width: 720px) { .lawyer-contact-card .btn { margin-left: 0 !important; } }

/* ---------- 内页红幅 ---------- */
.page-banner {
  background:
    linear-gradient(112deg, rgba(110, 16, 20, 0.96) 0%, rgba(140, 22, 27, 0.9) 50%, rgba(163, 30, 36, 0.85) 100%),
    var(--navy-900);
  color: #fff; padding: 64px 0 58px; text-align: center;
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}
.page-banner::before {
  content: "公 · 平 · 正 · 义";
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 130px; font-weight: 700;
  color: rgba(255, 255, 255, 0.045); letter-spacing: 20px; white-space: nowrap;
  pointer-events: none;
}
.page-banner::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 220px; height: 4px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.page-banner h1 {
  font-family: var(--serif); font-size: 34px; letter-spacing: 6px;
  font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.page-banner .crumbs { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); letter-spacing: 1px; }
.page-banner .crumbs a { color: var(--gold-300); }
.page-banner .crumbs .sep { margin: 0 9px; color: rgba(255, 255, 255, 0.4); }
@media (max-width: 720px) { .page-banner h1 { font-size: 25px; letter-spacing: 3px; } .page-banner::before { display: none; } }

/* ---------- 文章卡片 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 920px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 24px 24px; border-top: 3px solid var(--navy-800);
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.post-card .cat {
  font-size: 12px; color: var(--navy-800); background: var(--bg-warm);
  border: 1px solid var(--gold-500); padding: 2px 10px; border-radius: 2px; letter-spacing: 1px;
}
.post-card .date { font-size: 12.5px; color: #a89c8c; }
.post-card h3 { font-size: 16.5px; line-height: 1.6; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy-900); font-weight: 600; }
.post-card h3 a:hover { color: var(--navy-600); }
.post-card p {
  font-size: 13.5px; color: var(--text-sub); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 文章详情 ---------- */
.article-wrap { max-width: 880px; }
.article-head { text-align: center; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 3px double var(--navy-800); }
.article-head .cat {
  display: inline-block; font-size: 12.5px; color: var(--navy-800);
  background: var(--bg-warm); border: 1px solid var(--gold-500);
  padding: 3px 14px; border-radius: 2px; letter-spacing: 2px; margin-bottom: 16px;
}
.article-head h1 {
  font-family: var(--serif); font-size: 27px; color: var(--navy-900);
  line-height: 1.55; letter-spacing: 1px;
}
.article-head .meta { margin-top: 14px; font-size: 13.5px; color: #a89c8c; letter-spacing: 1px; }
.article-body { font-size: 16px; }
.article-body h2 {
  font-family: var(--serif); font-size: 21px; color: var(--navy-900);
  margin: 34px 0 14px; padding-left: 13px; border-left: 4px solid var(--navy-800); line-height: 1.45;
}
.article-body h3 {
  font-size: 17px; color: var(--navy-800); margin: 24px 0 10px;
  padding-left: 11px; border-left: 3px solid var(--gold-500); line-height: 1.45;
}
.article-body p { color: #444; text-align: justify; margin-bottom: 14px; line-height: 1.9; }
.article-body ul, .article-body ol { margin: 0 0 16px 4px; }
.article-body ul li, .article-body ol li {
  color: #444; margin-bottom: 8px; padding-left: 20px; position: relative; line-height: 1.85;
}
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.75em;
  width: 6px; height: 6px; background: var(--navy-800); transform: rotate(45deg);
}
.article-body ol { counter-reset: ol; }
.article-body ol li::before {
  counter-increment: ol; content: counter(ol) ".";
  position: absolute; left: 0; color: var(--navy-800); font-weight: 700; font-size: 14px;
}
.article-body blockquote {
  background: var(--bg-warm); border-left: 4px solid var(--gold-500);
  padding: 16px 20px; margin: 18px 0; color: var(--text-sub); border-radius: 0 4px 4px 0;
}
.article-body img { border-radius: 6px; margin: 14px 0; border: 1px solid var(--line); }
.article-body figure { margin: 18px 0; }
.article-cta {
  margin-top: 46px; background: var(--bg-warm); border: 1px solid var(--line);
  border-left: 4px solid var(--navy-800); border-radius: 4px;
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.article-cta h4 { font-family: var(--serif); font-size: 18px; color: var(--navy-900); letter-spacing: 1.5px; }
.article-cta p { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.article-nav { margin-top: 30px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.article-nav a { color: var(--text-sub); }
.article-nav a:hover { color: var(--navy-800); }

/* ---------- 联系我们 ---------- */
.contact-wrap {
  background:
    linear-gradient(115deg, rgba(110, 16, 20, 0.97) 0%, rgba(140, 22, 27, 0.93) 55%, rgba(163, 30, 36, 0.88) 100%);
  color: #fff; position: relative; overflow: hidden;
  border-top: 3px solid var(--gold-500);
}
.contact-wrap::before {
  content: "法 · 治";
  position: absolute; left: -20px; bottom: -60px;
  font-family: var(--serif); font-size: 220px; font-weight: 700;
  color: rgba(255, 255, 255, 0.04); letter-spacing: 30px; pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; position: relative; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-info .eyebrow { font-size: 12px; letter-spacing: 4px; color: var(--gold-400); font-weight: 700; }
.contact-info h2 { font-family: var(--serif); font-size: 30px; letter-spacing: 4px; margin: 10px 0 16px; }
.contact-info > p { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; margin-bottom: 26px; }
.contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .contact-items { grid-template-columns: 1fr; } }
.contact-item {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px; padding: 18px 18px 16px; display: flex; gap: 13px; align-items: flex-start;
}
.contact-item .ci-ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 4px;
  background: rgba(201, 160, 99, 0.18); border: 1px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item h4 { font-size: 14px; color: var(--gold-300); letter-spacing: 2px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: #fff; }
.contact-item .tip { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 3px; }
.contact-item a:hover { color: var(--gold-300); }
.qr-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .qr-panel { grid-template-columns: 1fr; } }
.qr-panel figure {
  background: rgba(255, 255, 255, 0.95); border-radius: 6px; padding: 18px;
  text-align: center; border-bottom: 3px solid var(--gold-500);
}
.qr-panel img { width: 100%; max-width: 190px; margin: 0 auto 12px; border-radius: 6px; }
.qr-panel figcaption { font-size: 13.5px; color: var(--text-sub); line-height: 1.6; }
.qr-panel figcaption b { display: block; font-family: var(--serif); font-size: 16px; color: var(--navy-900); letter-spacing: 2px; margin-bottom: 3px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--red-deep); color: rgba(255, 255, 255, 0.75); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px;
  padding: 54px 24px 44px;
}
@media (max-width: 920px) { .footer-main { grid-template-columns: 1fr; gap: 34px; } }
.footer-main h4 {
  font-family: var(--serif); color: var(--gold-300); font-size: 17px;
  letter-spacing: 2.5px; margin-bottom: 14px; position: relative; padding-bottom: 10px;
}
.footer-main h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-500); }
.footer-main p { font-size: 13.5px; line-height: 1.9; }
.footer-main ul li { font-size: 13.5px; margin-bottom: 9px; }
.footer-main a:hover { color: var(--gold-300); }
.friend-links {
  background: rgba(0, 0, 0, 0.16); border-top: 1px solid rgba(201, 160, 99, 0.25);
  padding: 15px 0; font-size: 13px;
}
.friend-links .container { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; }
.friend-links .fl-label { color: var(--gold-400); font-weight: 600; }
.friend-links a { color: rgba(255, 255, 255, 0.55); }
.friend-links a:hover { color: var(--gold-300); }
.footer-bottom { background: rgba(0, 0, 0, 0.24); padding: 15px 0; font-size: 12.5px; text-align: center; letter-spacing: 1px; }

/* ---------- 浮动工具条 ---------- */
.float-tools { position: fixed; right: 22px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 46px; height: 46px; border-radius: 5px;
  background: var(--navy-800); border: 1px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(110, 16, 20, 0.3);
  transition: transform 0.2s, background 0.2s;
}
.float-btn svg { width: 20px; height: 20px; fill: #fff; }
.float-btn:hover { transform: translateY(-3px); background: var(--navy-900); }
.float-btn.top { background: #fff; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.float-btn.top svg { fill: var(--navy-800); }
.float-btn.top.show { opacity: 1; pointer-events: auto; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d0 { transition-delay: 0.05s; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.19s; }
.reveal.d3 { transition-delay: 0.26s; }

/* 新闻工具条 */
.news-toolbar input:focus { border-color: var(--navy-800) !important; box-shadow: 0 0 0 3px rgba(163, 30, 36, 0.1); }


/* ---------- SEO-BOOST: FAQ 区块 ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
@media (max-width: 920px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item details {
  border: 1px solid var(--line); border-left: 3px solid var(--navy-800);
  background: #fff; border-radius: 6px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 16px;
  font-size: 15.5px; font-weight: 700; color: var(--navy-900);
  font-family: var(--serif); letter-spacing: .5px; position: relative; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q-mark {
  display: inline-block; background: var(--navy-800); color: #fff; font-size: 12px;
  padding: 1px 7px; border-radius: 3px; margin-right: 9px; vertical-align: 2px;
  font-family: Georgia, serif; letter-spacing: 0;
}
.faq-item .chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gold-500); font-size: 13px; transition: transform .25s;
}
.faq-item details[open] .chev { transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 18px 16px; }
.faq-item .faq-a p { font-size: 14px; color: var(--text-sub); line-height: 1.85; text-align: justify; }

/* ---------- SEO-BOOST: 相关文章 ---------- */
.related-posts { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 26px; }
.related-posts h3 {
  font-family: var(--serif); font-size: 17px; color: var(--navy-900);
  letter-spacing: 2px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.related-posts h3::before { content: ""; width: 5px; height: 17px; background: var(--gold-500); border-radius: 2px; }
.related-posts ul { list-style: none; }
.related-posts li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.related-posts li::before { content: ""; width: 5px; height: 5px; background: var(--gold-500); transform: rotate(45deg); flex-shrink: 0; }
.related-posts .t { flex: 1; font-size: 14.5px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-posts .t:hover { color: var(--gold-500); }
.related-posts .d { font-size: 12.5px; color: #9aa3ad; font-family: Georgia, serif; }
