/* ==========================================================================
   万古镇资讯信息网 — 简约政务风样式表
   静态站点 / 适配手机端与电脑端
   ========================================================================== */

:root {
  --gov-blue: #14508c;
  --gov-blue-deep: #0e3a66;
  --gov-blue-light: #2b6cb0;
  --gov-red: #c0392b;
  --gov-red-soft: #e8f0fa;

  --bg: #f2f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cfd8e3;

  --text: #1f2a37;
  --text-sub: #4a5768;
  --muted: #7b8794;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.05);
  --shadow-hover: 0 6px 20px rgba(16, 42, 67, 0.1);

  --font-serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gov-blue);
  color: #fff;
  padding: 8px 16px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ============================ 顶部信息条 ============================ */
.gov-topbar {
  background: var(--gov-blue-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  line-height: 34px;
}
.gov-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gov-topbar .tb-left { white-space: nowrap; }
.gov-topbar .tb-right { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.7); }

/* ============================ 站点头部 ============================ */
.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2b6cb0, #10406f 72%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}
.brand-text { min-width: 0; }
.brand-text h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gov-blue-deep);
  line-height: 1.3;
}
.brand-text p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.header-search:focus-within { border-color: var(--gov-blue-light); box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12); }
.header-search input {
  border: 0;
  outline: 0;
  padding: 9px 12px;
  width: 200px;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}
.header-search button {
  border: 0;
  background: var(--gov-blue);
  color: #fff;
  padding: 9px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-search button:hover { background: var(--gov-blue-deep); }

/* ============================ 主导航 ============================ */
.site-nav {
  background: var(--gov-blue);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(14, 58, 102, 0.16);
}
.site-nav .container { display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  display: block;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.nav-list a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-list a.active { color: #fff; font-weight: 600; background: rgba(0, 0, 0, 0.14); border-bottom-color: #ffd166; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 14px;
  align-items: center;
  gap: 6px;
  margin: 7px 0;
}

/* ============================ 首页横幅 ============================ */
.hero {
  background:
    radial-gradient(900px 260px at 88% -40%, rgba(43, 108, 176, 0.55), transparent 70%),
    linear-gradient(120deg, #0e3a66 0%, #14508c 55%, #1f5f9e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding: 40px 20px 34px; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: center; }
.hero-tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 2px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #eaf2fb;
  margin-bottom: 14px;
}
.hero h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: 1px;
  font-weight: 700;
}
.hero p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 14.5px; line-height: 1.85; }
.hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.16s;
}
.btn-primary { background: #fff; color: var(--gov-blue-deep); font-weight: 600; }
.btn-primary:hover { background: #eaf2fb; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats li {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 16px;
  backdrop-filter: blur(2px);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffe08a;
  line-height: 1.3;
}
.hero-stats span { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); }

/* ============================ 主体布局 ============================ */
main { padding: 26px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.panel-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gov-blue-deep);
  position: relative;
  padding-left: 12px;
}
.panel-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--gov-red);
}
.panel-head .head-extra { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.panel-body { padding: 16px 18px; }

/* ============================ 头条区 ============================ */
.top-news { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; }
.top-feature { padding: 18px; border-right: 1px solid var(--border); }
.top-side { padding: 14px 18px; }

.thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--t1, #14508c), var(--t2, #2b6cb0));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.55;
}
.thumb-glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 700;
  opacity: 0.9;
  letter-spacing: 2px;
}
.thumb-feature { height: 176px; font-size: 44px; margin-bottom: 14px; }
.thumb-mini { width: 74px; height: 56px; flex: 0 0 74px; font-size: 20px; border-radius: var(--radius-sm); }

.top-feature h4 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.top-feature h4 a:hover { color: var(--gov-blue); }
.top-feature .news-summary { margin: 0 0 10px; color: var(--text-sub); font-size: 14px; }
.top-side-list li + li { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.top-side-list a { display: flex; gap: 12px; align-items: flex-start; }
.top-side-list .t { font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.top-side-list a:hover .t { color: var(--gov-blue); }
.top-side-list .d { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ============================ 分类筛选 ============================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.chip {
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-sub);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 13.5px;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--gov-blue-light); color: var(--gov-blue); }
.chip.active { background: var(--gov-blue); border-color: var(--gov-blue); color: #fff; font-weight: 600; }
.filter-bar .count { margin-left: auto; font-size: 13px; color: var(--muted); }
.list-search { display: flex; gap: 10px; padding: 0 18px 14px; }
.list-search input {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  outline: 0;
  background: #fff;
  color: var(--text);
}
.list-search input:focus { border-color: var(--gov-blue-light); box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12); }
.list-search .btn { background: var(--gov-blue); color: #fff; border-radius: var(--radius-sm); padding: 9px 18px; }
.list-search .btn:hover { background: var(--gov-blue-deep); }

/* ============================ 资讯列表 ============================ */
.news-list { padding: 4px 18px 10px; }
.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: 0; }
.news-date {
  flex: 0 0 62px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 8px;
  color: var(--muted);
}
.news-date .day { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--gov-blue); line-height: 1.1; }
.news-date .ym { font-size: 12px; letter-spacing: 0.3px; }
.news-body { min-width: 0; flex: 1; }
.news-title {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.3px;
}
.news-title a:hover { color: var(--gov-blue); text-decoration: underline; text-underline-offset: 3px; }
.news-summary {
  margin: 0 0 9px;
  color: var(--text-sub);
  font-size: 13.8px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--gov-red-soft);
  color: var(--gov-blue);
  border: 1px solid #d5e3f3;
}
.tag-cat { background: #fdf1ef; color: var(--gov-red); border-color: #f3d7d2; }

.empty { padding: 54px 18px; text-align: center; color: var(--muted); }
.empty strong { display: block; font-size: 16px; color: var(--text-sub); margin-bottom: 6px; }

/* ============================ 分页 ============================ */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 18px; border-top: 1px solid var(--border); }
.pager button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  font-size: 14px;
  padding: 0 10px;
  transition: all 0.15s;
}
.pager button:hover:not(:disabled) { border-color: var(--gov-blue-light); color: var(--gov-blue); }
.pager button.active { background: var(--gov-blue); border-color: var(--gov-blue); color: #fff; font-weight: 600; }
.pager button:disabled { opacity: 0.45; cursor: not-allowed; }
.pager .pager-info { font-size: 13px; color: var(--muted); margin-left: 6px; }

/* ============================ 侧边栏 ============================ */
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.side-card + .side-card { margin-top: 22px; }
.side-card .panel-head { padding: 12px 16px; }
.side-card .panel-head h3 { font-size: 16px; }
.side-body { padding: 14px 16px; }

.intro-text { margin: 0; font-size: 13.8px; color: var(--text-sub); line-height: 1.85; }
.intro-text + .intro-text { margin-top: 10px; }

.rank-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.rank-list li:last-child { border-bottom: 0; }
.rank-no {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 3px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.rank-list li:nth-child(1) .rank-no { background: var(--gov-red); color: #fff; }
.rank-list li:nth-child(2) .rank-no { background: #e0762f; color: #fff; }
.rank-list li:nth-child(3) .rank-no { background: #d8b02c; color: #fff; }
.rank-list a { font-size: 13.8px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-list a:hover { color: var(--gov-blue); }

.info-rows { margin: 0; }
.info-rows div { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.info-rows div:last-child { border-bottom: 0; }
.info-rows dt { flex: 0 0 76px; color: var(--muted); margin: 0; }
.info-rows dd { margin: 0; color: var(--text-sub); flex: 1; }

/* ============================ 详情页 ============================ */
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--gov-blue); text-decoration: underline; }
.breadcrumb .sep { margin: 0 7px; color: var(--border-strong); }

.article { padding: 26px 34px 32px; }
.article-head { text-align: center; border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 22px; }
.article-head h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 29px;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: #14202e;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
}
.article-body { font-size: 16.5px; line-height: 2.05; color: #253244; }
.article-body p { margin: 0 0 18px; text-align: justify; }
.article-body h2 {
  margin: 30px 0 14px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gov-blue-deep);
  padding-left: 12px;
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--gov-red);
}
.article-body ul { margin: 0 0 18px; padding-left: 4px; }
.article-body ul li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gov-blue-light);
}
.article-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: #f6f9fd;
  border-left: 4px solid var(--gov-blue-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.95;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body .data-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article-body .data-table th,
.article-body .data-table td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.article-body .data-table th { background: #f4f7fb; color: var(--gov-blue-deep); font-weight: 600; white-space: nowrap; }

.article-source {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.article-source a { color: var(--gov-blue); text-decoration: underline; text-underline-offset: 3px; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.article-nav a {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.8px;
  color: var(--text-sub);
  background: #fbfcfe;
  transition: all 0.15s;
  display: block;
}
.article-nav a:hover { border-color: var(--gov-blue-light); color: var(--gov-blue); background: #fff; }
.article-nav a span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.article-nav a.next { text-align: right; }
.article-nav .disabled { opacity: 0.6; pointer-events: none; }

.related-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.related-list li:last-child { border-bottom: 0; }
.related-list a { font-size: 13.8px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-list a:hover { color: var(--gov-blue); }

/* ============================ 镇情概况页 ============================ */
.about-hero { padding: 34px 0 6px; }
.about-hero h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 27px;
  letter-spacing: 1px;
  color: var(--gov-blue-deep);
}
.about-hero p { margin: 0; color: var(--text-sub); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; }
.fact {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #fbfcfe;
  text-align: center;
}
.fact strong { display: block; font-family: var(--font-serif); font-size: 21px; color: var(--gov-blue); }
.fact span { font-size: 12.5px; color: var(--muted); }

.prose p { margin: 0 0 16px; }
.prose h3 { margin: 24px 0 10px; font-family: var(--font-serif); font-size: 17.5px; color: var(--gov-blue-deep); }

/* ============================ 页脚 ============================ */
.site-footer { background: #102a45; color: rgba(255, 255, 255, 0.72); margin-top: 34px; font-size: 13.5px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px; padding: 34px 0 26px; }
.footer-main h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-serif);
  letter-spacing: 1px;
  font-weight: 600;
}
.footer-main p { margin: 0 0 8px; line-height: 1.9; }
.footer-main li { margin-bottom: 9px; }
.footer-main a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0 24px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.9; }
.footer-bottom .row { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* ============================ 返回顶部 / 抽屉 ============================ */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--gov-blue);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 80;
}
.to-top.show { opacity: 1; visibility: visible; }

.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 28, 46, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 120;
}
.drawer-mask.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 76%;
  max-width: 300px;
  background: #fff;
  z-index: 121;
  transform: translateX(-102%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.show { transform: translateX(0); }
.drawer-head { background: var(--gov-blue); color: #fff; padding: 18px; }
.drawer-head strong { display: block; font-family: var(--font-serif); font-size: 17px; letter-spacing: 1px; }
.drawer-head span { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.drawer-nav a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-sub); }
.drawer-nav a.active { color: var(--gov-blue); font-weight: 600; background: #f4f8fd; border-left: 3px solid var(--gov-red); }

/* ============================ 响应式 ============================ */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }

  .gov-topbar { line-height: 30px; font-size: 12px; }
  .gov-topbar .tb-right { display: none; }

  .site-header .container { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .brand-mark { width: 44px; height: 44px; flex: 0 0 44px; font-size: 20px; }
  .brand-text h1 { font-size: 19px; letter-spacing: 1px; }
  .brand-text p { font-size: 11.5px; letter-spacing: 0.2px; }
  .header-tools { display: none; }

  .site-nav { position: sticky; }
  .nav-toggle { display: flex; }
  .site-nav .container { padding: 0 14px; }
  .nav-list { display: none; }

  .hero .container { padding: 26px 14px 24px; }
  .hero h2 { font-size: 22px; }
  .hero p { font-size: 13.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats strong { font-size: 19px; }

  main { padding: 16px 0 30px; }
  .top-news { grid-template-columns: 1fr; }
  .top-feature { border-right: 0; border-bottom: 1px solid var(--border); padding: 16px; }
  .top-side { padding: 12px 16px; }
  .thumb-feature { height: 150px; font-size: 36px; }
  .top-feature h4 { font-size: 18px; }

  .panel-head { padding: 12px 14px; }
  .panel-head h3 { font-size: 16.5px; }
  .filter-bar { padding: 12px 14px; gap: 7px; }
  .chip { padding: 5px 12px; font-size: 13px; }
  .filter-bar .count { width: 100%; margin-left: 0; }
  .list-search { padding: 0 14px 12px; }
  .news-list { padding: 0 14px; }
  .news-item { gap: 12px; padding: 15px 0; flex-direction: column; }
  .news-date {
    flex: none;
    text-align: left;
    border-right: 0;
    padding-right: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .news-date .day { display: inline; font-size: 18px; }
  .news-title { font-size: 16px; }
  .news-summary { font-size: 13.5px; }

  .article { padding: 20px 16px 24px; }
  .article-head h1 { font-size: 21px; }
  .article-meta { font-size: 12.5px; gap: 6px 12px; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .article-body h2 { font-size: 17.5px; }
  .article-body .data-table { font-size: 13.5px; display: block; overflow-x: auto; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }

  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 26px 0 18px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
  .about-hero { padding: 24px 0 0; }
  .about-hero h2 { font-size: 22px; }
  .to-top { right: 12px; bottom: 14px; width: 38px; height: 38px; }
}

@media (max-width: 400px) {
  .brand-text h1 { font-size: 17px; }
  .chip { padding: 4px 10px; font-size: 12.5px; }
}

@media print {
  .gov-topbar, .site-nav, .site-footer, .to-top, .header-tools, .article-nav, .breadcrumb { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; box-shadow: none; }
}
