/* ============================================================
   山东崇真（德州）律师事务所官网 · 组件样式
   文件：css/components.css —— 导航 / 页脚 / 卡片 / 表单等组件
   ============================================================ */

/* ===== 导航栏 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-800);
  box-shadow: 0 2px 12px rgba(8, 31, 61, .28);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 1.4rem; font-weight: 800;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-mark--sm { width: 30px; height: 30px; font-size: 1rem; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.logo-text { color: #fff; font-size: 1.18rem; font-weight: 700; letter-spacing: 2px; line-height: 1.2; }
.logo-text small { display: block; font-size: .62rem; font-weight: 400; letter-spacing: 3px; color: var(--gold-400); margin-top: 2px; }

.site-nav { display: flex; gap: 4px; }
.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  letter-spacing: 1px;
  transition: color .25s ease;
}
.nav-link:hover { color: var(--gold-300); }
.nav-link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--gold-500);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .28s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-400); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  align-items: center;
  color: #fff;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
  flex: 0 0 24px;
  color: #fff;
}

/* ===== 页脚 ===== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
  padding: 56px 20px 40px;
}
.footer-logo { color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-about p { font-size: .9rem; line-height: 1.8; max-width: 420px; }
.footer-beian { margin-top: 14px; color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-license {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,.4);
  transition: color .25s ease, border-color .25s ease;
}
.footer-license:hover { color: var(--gold-400); border-bottom-color: var(--gold-400); }
.footer-regmark {
  display: inline-block;
  margin-top: 10px;
  margin-left: 16px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,.4);
  transition: color .25s ease, border-color .25s ease;
}
.footer-regmark:hover { color: var(--gold-400); border-bottom-color: var(--gold-400); }
.footer-trademark { cursor: pointer; transition: color .25s ease; }
.footer-trademark:hover { color: var(--gold-400); }
.footer-col h4 { color: var(--gold-400); font-size: 1rem; margin-bottom: 18px; letter-spacing: 2px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--gold-500); flex-shrink: 0; margin-top: 4px; }
.footer-qr-group { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.footer-qr { width: 128px; text-align: center; }
.footer-qr img { display: block; width: 128px; height: 128px; aspect-ratio: 1 / 1; object-fit: cover; cursor: zoom-in; transition: transform .25s ease; }
.footer-qr img:hover { transform: translateY(-2px); }
.footer-qr span { display: block; min-height: 2.8em; margin-top: 8px; font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.78); }
.qr-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.qr-lightbox.open { display: flex; }
.qr-lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,18,38,.82); backdrop-filter: blur(3px); }
.qr-lightbox-dialog { position: relative; z-index: 1; max-width: min(88vw, 620px); max-height: 88vh; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.qr-lightbox-dialog > img { display: block; max-width: min(84vw, 580px); max-height: calc(88vh - 24px); width: auto; height: auto; object-fit: contain; }
.qr-lightbox-close { position: absolute; top: -16px; right: -16px; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.qr-lightbox-close:hover { background: var(--gold-400); }
body.qr-lightbox-open { overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ===== 页面置顶按钮 ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(8,31,61,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
}
.back-to-top-icon {
  width: 21px;
  height: 21px;
  display: block;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-3px);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
}

/* ===== Hero 主视觉 ===== */
.hero {
  position: relative;
  background: var(--grad-main);
  color: #fff;
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(201,162,39,.07) 0 2px, transparent 2px 30px);
}
.hero::after {
  content: "崇";
  position: absolute; right: 4%; bottom: -34%;
  font-size: 400px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.05); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; letter-spacing: 6px; font-size: .9rem; color: var(--gold-400); margin-bottom: 20px; border: 1px solid rgba(217,182,74,.4); padding: 6px 18px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: 6px; margin-bottom: 18px; animation: slideInRight .5s ease-out both; animation-delay: .05s; }
.hero .slogan { font-size: clamp(1.15rem, 2.6vw, 1.7rem); color: var(--gold-300); letter-spacing: 4px; margin-bottom: 12px; animation: slideInLeft .5s ease-out both; animation-delay: .15s; }
.hero .en { font-size: .9rem; letter-spacing: 5px; color: rgba(255,255,255,.55); margin-bottom: 36px; animation: slideInLeft .5s ease-out both; animation-delay: .25s; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .slogan, .hero .en { animation: none; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 关于速览 ===== */
.about-preview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.about-preview h3 { font-size: 1.6rem; margin-bottom: 18px; }
.about-preview h3 span { color: var(--gold-600); }
.about-preview p { color: var(--ink-600); margin-bottom: 14px; }
.about-preview .btn { margin-top: 8px; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all .3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.stat-card:hover .num { color: var(--gold-600); }
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--navy-800); }
.stat-card .num em { font-style: normal; color: var(--gold-600); }
.stat-card .label { margin-top: 4px; color: var(--ink-600); font-size: .9rem; }

/* ===== 业务领域卡片 ===== */
.practice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all .3s ease;
}
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-500); }
.practice-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100);
  border-radius: 12px;
  margin-bottom: 18px;
  transition: background .3s ease;
}
.practice-icon svg { width: 28px; height: 28px; stroke: var(--navy-700); fill: none; stroke-width: 1.6; }
.practice-card:hover .practice-icon { background: var(--gold-100); }
.practice-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.practice-card p { color: var(--ink-600); font-size: .9rem; margin-bottom: 14px; }
.practice-card .more { color: var(--gold-600); font-size: .88rem; font-weight: 600; }
.practice-card .more:hover { color: var(--navy-700); }

/* ===== 律师团队卡片 ===== */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all .3s ease;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.avatar {
  width: 88px; height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-main);
  color: var(--gold-300);
  font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold-500);
}
.avatar--photo { overflow: hidden; padding: 0; background: #fff; }
.avatar--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
img[src*="zhang-jianxin.jpeg"], img[src*="wang-yu.jpeg"] { object-position: 50% 20%; }
img[src*="zhang-chenlong.jpeg"] { object-position: 50% 35%; }
.team-card h3 { font-size: 1.05rem; }
.team-card .role { color: var(--gold-600); font-size: .85rem; margin: 4px 0 10px; }
.team-card .tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.team-card-more { display: inline-block; margin-top: 16px; color: var(--gold-600); font-size: .86rem; font-weight: 600; }
.team-card-more:hover { color: var(--navy-700); }
.tag {
  display: inline-block;
  background: var(--navy-100);
  color: var(--navy-700);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ===== 资讯列表 ===== */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px dashed var(--line);
  transition: background .25s ease;
}
.news-item:hover { background: var(--navy-100); }
.news-item:first-child { border-top: 1px dashed var(--line); }
.news-date { text-align: center; flex-shrink: 0; min-width: 72px; }
.news-date .d { font-size: 1.7rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.news-date .m { font-size: .82rem; color: var(--ink-400); letter-spacing: 1px; }
.news-cat {
  flex-shrink: 0;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: .78rem;
  padding: 3px 12px;
  border-radius: 999px;
}
.news-body { flex: 1; min-width: 0; }
.news-body h4 { font-size: 1rem; font-weight: 600; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-body p { color: var(--ink-600); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; }
.news-item:hover h4 { color: var(--gold-600); }
.news-arrow { color: var(--ink-400); font-size: 1.3rem; flex-shrink: 0; }

.news-list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.news-list-head h2 { font-size: 1.5rem; }
.news-list-head .more { color: var(--gold-600); font-size: .9rem; font-weight: 600; }

/* ===== 文章卡片（专业分享/首页精选） ===== */
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.article-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-card .card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card .card-body .cat { color: var(--gold-600); font-size: .8rem; letter-spacing: 1px; }
.article-card .card-body h3 { font-size: 1.05rem; margin: 8px 0; }
.article-card .card-body p { color: var(--ink-600); font-size: .88rem; flex: 1; }
.article-card .card-meta { margin-top: 14px; color: var(--ink-400); font-size: .8rem; display: flex; justify-content: space-between; }

/* 分页隐藏非当前页内容，避免列表自身的 display 规则覆盖 hidden 属性 */
.news-list > .news-item[hidden],
.grid-cards > .article-card[hidden] { display: none !important; }

/* ===== 律所优势特性块 ===== */
.features-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; transition: all .3s ease; }
.feature:hover { box-shadow: var(--shadow); border-color: var(--gold-500); }
.feature svg { width: 40px; height: 40px; stroke: var(--gold-600); fill: none; stroke-width: 1.4; margin-bottom: 16px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature p { color: var(--ink-600); font-size: .88rem; }

/* ===== 联系 CTA 横幅 ===== */
.cta-banner {
  position: relative;
  background: var(--grad-main);
  padding: 60px 0;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(201,162,39,.06) 0 2px, transparent 2px 30px);
}
.cta-banner .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-info h2 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 14px; }
.cta-info .cta-row { display: flex; flex-wrap: wrap; gap: 26px; color: rgba(255,255,255,.88); font-size: .95rem; }
.cta-info .cta-row svg { width: 16px; height: 16px; fill: var(--gold-400); margin-right: 6px; vertical-align: -2px; }

/* ===== 页内 banner 下的内容容器 ===== */
.page-body { padding: 0 0 64px; }

/* ===== 时间线（关于页） ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -36px; top: 6px;
  width: 18px; height: 18px;
  background: var(--gold-500);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-item .year { color: var(--gold-600); font-weight: 700; font-size: 1.05rem; }
.timeline-item h4 { margin: 2px 0 6px; }
.timeline-item p { color: var(--ink-600); font-size: .9rem; }
.timeline-stage {
  margin: 36px 0 18px;
  padding: 10px 18px;
  display: inline-block;
  background: var(--navy-800);
  color: var(--gold-300);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 3px;
}
.timeline-stage:first-child { margin-top: 0; }

/* ===== 价值观卡片（关于页） ===== */
.value-card { text-align: center; padding: 32px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all .3s ease; }
.value-card:hover { box-shadow: var(--shadow); border-color: var(--gold-500); }
.value-card .vc-mark {
  width: 60px; height: 60px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100); color: var(--gold-600);
  font-size: 1.6rem; font-weight: 800; border-radius: 50%;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--ink-600); font-size: .88rem; }

/* ===== 荣誉资质画廊 ===== */
.honors-gallery { display: flex; flex-direction: column; gap: 52px; }
.honors-group-head { text-align: center; margin-bottom: 22px; }
.honors-group-kicker {
  display: block;
  color: var(--gold-600);
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.honors-group-head h3 { font-size: 1.3rem; color: var(--navy-800); }
.honors-group-head h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 9px auto 0;
  border-radius: 2px;
  background: var(--gold-500);
}
.honors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.honor-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.honor-card img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.honors-grid--online .honor-card { aspect-ratio: 1280 / 1800; }
.honors-grid--physical .honor-card { aspect-ratio: 4 / 3; }
.honors-grid--physical .honor-card img { object-fit: contain; padding: 8px; }

/* ===== 表单 ===== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 6px; color: var(--ink-900); font-size: .9rem; font-weight: 600; }
.form-group label i { color: #c0392b; font-style: normal; }
.form-group input, .form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink-900);
  background: var(--bg-page);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== 联系信息卡 ===== */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; transition: all .3s ease; }
.contact-card:hover { box-shadow: var(--shadow); border-color: var(--gold-500); }
.contact-card svg { width: 30px; height: 30px; stroke: var(--gold-600); fill: none; stroke-width: 1.5; margin-bottom: 14px; }
.contact-card h4 { font-size: .95rem; margin-bottom: 8px; }
.contact-card p { color: var(--ink-600); font-size: .88rem; }

/* ===== 地图占位 ===== */
.map-placeholder {
  position: relative;
  background: var(--navy-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy-700);
}
.map-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.5) 0 1px, transparent 1px 40px),
              repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 1px, transparent 1px 40px);
  border-radius: var(--radius-lg);
}
.map-placeholder .pin { position: relative; z-index: 1; width: 44px; height: 44px; fill: var(--gold-500); margin-bottom: 12px; }
.map-placeholder p { position: relative; z-index: 1; font-size: .95rem; }
.map-hint { margin-top: 10px; color: var(--ink-600); font-size: .95rem; }
.map-image-link {
  display: block;
  width: 80%;
  margin: 0 auto;
  border: 2px solid var(--navy-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .3s ease, transform .3s ease;
}
.map-image-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.map-image-link img { display: block; width: 100%; height: auto; }
.map-picker { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.map-picker.open { display: flex; }
.map-picker-backdrop { position: absolute; inset: 0; background: rgba(4,18,38,.7); backdrop-filter: blur(3px); }
.map-picker-dialog {
  position: relative; z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 34px 28px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  text-align: center;
}
.map-picker-title { font-size: 1.05rem; font-weight: 700; color: var(--navy-800); margin-bottom: 22px; }
.map-picker-btn {
  display: block;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.map-picker-btn:first-of-type { background: var(--navy-800); color: #fff; }
.map-picker-btn:nth-of-type(2) { background: var(--gold-500); color: var(--navy-900); }
.map-picker-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.map-picker-close {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  border: none; background: none;
  color: var(--ink-400); font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.map-picker-close:hover { color: var(--gold-600); }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink-600); font-size: .9rem; padding: 0 10px;
  background: #fff;
}
.pagination a:hover { border-color: var(--gold-500); color: var(--gold-600); }
.pagination .cur { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pagination .ellipsis { border: none; background: none; }

/* ===== 资讯详情正文 ===== */
.article-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.article-detail .ad-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 16px; }
.article-detail .ad-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ink-400); font-size: .85rem; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-detail .ad-meta span b { color: var(--gold-600); font-weight: 600; }
.article-detail .ad-body { color: var(--ink-900); font-size: 1rem; }
.article-detail .ad-body p { margin-bottom: 18px; }
.article-detail .ad-body h3 { font-size: 1.2rem; margin: 26px 0 12px; }
.article-detail .ad-body blockquote {
  border-left: 4px solid var(--gold-500);
  background: var(--gold-100);
  padding: 14px 20px;
  margin: 18px 0;
  color: var(--ink-600);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-detail .ad-body ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article-detail .ad-body ul li { margin-bottom: 8px; }
.article-detail .ad-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; font-size: .9rem; }
.article-detail .ad-nav a { color: var(--ink-600); }
.article-detail .ad-nav a:hover { color: var(--gold-600); }

/* ===== 照片墙（党建页） ===== */
.photo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.photo-wall .photo { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative; }
.photo-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-wall .photo:hover img { transform: scale(1.06); }
.photo-wall .photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(8,31,61,.8));
  color: #fff; font-size: .82rem; padding: 24px 14px 10px;
}

/* ===== 404 ===== */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.not-found .nf-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 900; color: var(--navy-800); line-height: 1; letter-spacing: 6px; }
.not-found .nf-code span { color: var(--gold-500); }
.not-found h2 { margin: 12px 0; font-size: 1.6rem; }
.not-found p { color: var(--ink-600); margin-bottom: 28px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .about-preview { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { height: 62px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-800);
    padding: 10px 20px 16px;
    box-shadow: 0 12px 20px rgba(8,31,61,.4);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 32px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .news-item { flex-wrap: wrap; }
  .news-body h4 { white-space: normal; }
  .news-body p { white-space: normal; }
  .honors-gallery { gap: 40px; }
  .honors-grid { grid-template-columns: 1fr; gap: 16px; }
  .honors-group-head { margin-bottom: 16px; }
  .hero { padding: 72px 0 80px; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .back-to-top-icon { width: 19px; height: 19px; }
}
