/* 黄土高原科学数据共享服务平台 - 全局样式
   目录：变量 / 基础 / 页头 / 导航 / 焦点图 / 首页组件 / 内页 / 页脚 / 无障碍 / 响应式 */

:root {
  --blue: #0B4EA2;
  --blue-dark: #083C7C;
  --blue-mid: #1258AE;
  --blue-soft: #E8F1FB;
  --blue-line: #C9DDF3;
  --red: #C8102E;
  --red-dark: #9E0B23;
  --gold: #C9A227;
  --text: #1F2329;
  --muted: #5A6472;
  --line: #DCE3EC;
  --bg: #FFFFFF;
  --page: #F4F6F9;
  --shadow: 0 2px 12px rgba(11, 78, 162, .09);
  --shadow-lg: 0 12px 30px rgba(11, 78, 162, .16);
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: var(--font); font-size: 1rem; line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 500;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- 页头 ---------- */
.gov-strip { height: 4px; background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 45%, var(--gold) 100%); }
.topbar { background: var(--blue-dark); color: #fff; font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-slogan { letter-spacing: 1px; opacity: .95; }
.topbar-date { opacity: .78; }
.toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toolbar button {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4);
  padding: 2px 9px; line-height: 1.6; border-radius: 3px;
}
.toolbar button:hover, .toolbar button[aria-pressed="true"] { background: #fff; color: var(--blue-dark); }

.brand-wrap {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 0; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--blue-dark); }
.brand:hover { text-decoration: none; }
.brand-emblem { width: 64px; height: 64px; flex: none; }
.brand-text strong { display: block; font-size: 1.75rem; letter-spacing: 3px; line-height: 1.3; }
.brand-text small { display: block; margin-top: 3px; font-size: .6875rem; letter-spacing: 1.4px; color: var(--muted); }
.brand-sub { display: block; margin-top: 4px; font-size: .8125rem; color: var(--muted); letter-spacing: .5px; }
.brand-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hotline { color: var(--blue-dark); font-size: .875rem; letter-spacing: .5px; }
.hotline strong { color: var(--red); font-size: 1.125rem; }
.site-search { position: relative; display: flex; width: 290px; flex: none; }
.site-search input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line);
  border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--text);
}
.site-search input::placeholder { color: #8A94A3; }
.site-search button { padding: 9px 20px; border: 0; border-radius: 0 3px 3px 0; background: var(--blue); color: #fff; }
.site-search button:hover { background: var(--blue-dark); }
.search-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: 380px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-lg); border-radius: 3px; padding: 14px 16px;
}
.search-panel[hidden] { display: none; }
.search-head { font-size: .875rem; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.search-panel ul { list-style: none; margin: 6px 0 0; padding: 0; }
.search-panel li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; }
.search-panel li:last-child { border-bottom: 0; }
.search-panel li span { flex: none; color: var(--muted); font-size: .8125rem; }
.search-tip { margin: 10px 0 0; font-size: .8125rem; color: var(--muted); }

/* ---------- 主导航 ---------- */
.main-nav { background: var(--blue); box-shadow: 0 3px 8px rgba(8, 60, 124, .18); }
.main-nav .container { position: relative; }
.nav-toggle { display: none; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 22px;
  color: #fff; font-size: 1rem; letter-spacing: .5px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.nav-item:first-child > a { border-left: 1px solid rgba(255, 255, 255, .12); }
.nav-item > a:hover, .nav-item > a[aria-current="page"] { background: var(--blue-dark); text-decoration: none; }
.nav-item > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.caret { width: 0; height: 0; border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; margin-top: 3px; }
.submenu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 240px;
  margin: 0; padding: 6px 0; list-style: none; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg);
}
.nav-item.has-sub:hover .submenu, .nav-item.has-sub:focus-within .submenu,
.nav-item.has-sub.is-open .submenu { display: block; }
.submenu a { display: block; padding: 9px 18px; color: var(--text); white-space: nowrap; }
.submenu a:hover { background: var(--blue-soft); color: var(--blue); text-decoration: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border: 1px solid var(--blue); border-radius: 3px;
  background: var(--blue); color: #fff; line-height: 1.5; text-align: center;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; text-decoration: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--blue-dark); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue-line); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue); }
.btn-sm { padding: 7px 14px; font-size: .875rem; }

/* ---------- 滚动通知 ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; min-height: 44px; gap: 14px; overflow: hidden; }
.ticker-label { display: flex; align-items: center; gap: 8px; flex: none; color: var(--red); font-weight: 500; font-size: .9375rem; }
.ticker-label::before {
  content: ""; display: inline-block; width: 18px; height: 18px;
  background: var(--red); clip-path: polygon(0 30%, 35% 30%, 70% 0, 70% 100%, 35% 70%, 0 70%);
}
.ticker-window { flex: 1; overflow: hidden; }
.ticker-track { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; animation: ticker 32s linear infinite; }
.ticker-track a { color: var(--text); font-size: .875rem; }
.ticker-track a:hover { color: var(--blue); }
.ticker-sep { color: #B7C0CC; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 焦点轮播 ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(280px, 1fr); gap: 16px; margin-top: 18px; }
.banner-stage { position: relative; overflow: hidden; background: var(--blue-dark); border-radius: 3px; box-shadow: var(--shadow); aspect-ratio: 1200 / 380; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.banner-slide.is-active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 30, 66, .86) 0%, rgba(4, 30, 66, .55) 48%, rgba(4, 30, 66, .05) 100%);
}
.banner-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 34px 30px; color: #fff; max-width: 720px; }
.banner-kicker { display: inline-block; padding: 2px 12px; margin-bottom: 10px; background: var(--red); font-size: .8125rem; letter-spacing: 1px; }
.banner-caption h2 { margin: 0 0 8px; font-size: 1.625rem; font-weight: 500; letter-spacing: 1px; line-height: 1.4; }
.banner-caption p { margin: 0 0 16px; font-size: .9375rem; opacity: .93; line-height: 1.7; }
.banner-arrows { position: absolute; z-index: 3; right: 16px; top: 16px; display: flex; gap: 8px; }
.banner-arrows button {
  width: 34px; height: 34px; background: rgba(0, 0, 0, .38); color: #fff;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 3px; font-size: 1.125rem; line-height: 1;
}
.banner-arrows button:hover { background: var(--red); border-color: var(--red); }
.banner-dots { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.banner-dots button { width: 11px; height: 11px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.banner-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); width: 26px; border-radius: 6px; }

/* ---------- 首页快速通道 ---------- */
.quick-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.panel-title { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.panel-title h2 { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.panel-title span { font-size: .75rem; color: var(--muted); letter-spacing: 1px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); flex: 1; }
.quick-grid a {
  display: flex; align-items: center; gap: 8px; padding: 14px 12px;
  background: #fff; color: var(--text); font-size: .9375rem;
}
.quick-grid a:hover { background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.quick-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; background: var(--blue-soft); color: var(--blue); border-radius: 3px; font-size: .75rem; }
.quick-arrow { margin-left: auto; color: #A7B3C2; }
.quick-foot { padding: 12px 18px; background: var(--blue-soft); font-size: .8125rem; color: var(--blue-dark); }
.quick-foot strong { color: var(--red); }

/* ---------- 栏目通用 ---------- */
.section { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--blue); padding-bottom: 10px; }
.section-head h2 { margin: 0; padding-left: 14px; border-left: 4px solid var(--red); font-size: 1.375rem; font-weight: 500; line-height: 1.35; }
.section-head h2 small { display: block; font-size: .6875rem; letter-spacing: 1.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.section-head .more { font-size: .875rem; flex: none; }
.section-note { margin: 8px 0 0; font-size: .8125rem; color: var(--muted); }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module-card {
  display: flex; flex-direction: column; padding: 20px 18px 18px;
  background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 3px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.module-icon { width: 46px; height: 46px; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; color: #2E7D32; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #2E7D32; box-shadow: 0 0 0 3px rgba(46, 125, 50, .14); }
.module-card h3 { margin: 0 0 10px; font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.module-card h3 a { color: var(--text); }
.module-card h3 a:hover { color: var(--blue); }
.module-desc { margin: 0 0 14px; font-size: .875rem; color: var(--muted); line-height: 1.8; flex: 1; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; }
.tag-list li { padding: 2px 8px; border: 1px solid var(--blue-line); border-radius: 2px; color: var(--blue-dark); font-size: .75rem; }
.module-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 通知公告 / 工作动态 ---------- */
.board-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.tabs { display: flex; border-bottom: 2px solid var(--blue); background: #fff; }
.tabs button {
  flex: 1; padding: 12px 10px; background: #fff; border: 0; border-right: 1px solid var(--line);
  color: var(--text); font-size: 1rem;
}
.tabs button:last-child { border-right: 0; }
.tabs button.is-active { background: var(--blue); color: #fff; }
.notice-list { list-style: none; margin: 0; padding: 6px 18px 12px; }
.notice-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { flex: 1; color: var(--text); min-width: 0; }
.notice-list a:hover { color: var(--blue); }
.notice-list time { flex: none; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.tag { flex: none; padding: 1px 8px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 2px; font-size: .75rem; }
.row-code { flex: none; font-size: .75rem; color: var(--red); }
.row-dept, .row-views { flex: none; font-size: .75rem; color: var(--muted); }
.empty-row { color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.news-card img { display: block; width: 100%; height: auto; }
.news-card:hover img { opacity: .92; }
.news-body { padding: 10px 14px 14px; }
.news-body h3 { margin: 0 0 6px; font-size: .9375rem; font-weight: 500; line-height: 1.6; }
.news-body h3 a { color: var(--text); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { margin: 0; font-size: .75rem; color: var(--muted); }

/* ---------- 数据资源 ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .875rem; }
.data-table caption { text-align: left; padding: 10px 14px; color: var(--muted); font-size: .8125rem; }
.data-table th, .data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.data-table thead th { background: var(--blue-soft); color: var(--blue-dark); font-weight: 500; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: #FAFCFF; }
.data-table tbody tr:hover { background: var(--blue-soft); }
.data-table .cell-id { color: var(--muted); font-family: var(--font); white-space: nowrap; font-size: .8125rem; }
.row-link { white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .18); border: 1px solid var(--blue-dark); border-radius: 3px; overflow: hidden; }
.stat { background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark)); color: #fff; padding: 20px 16px; text-align: center; }
.stat strong { display: block; font-size: 2.125rem; line-height: 1.25; font-weight: 500; color: #fff; }
.stat span { display: block; font-size: .9375rem; }
.stat small { display: block; margin-top: 3px; font-size: .75rem; opacity: .8; }

/* ---------- 专题 / 流程 / 友链 ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.topic-card > a { display: block; color: var(--text); }
.topic-card > a:hover { text-decoration: none; }
.topic-card img { display: block; width: 100%; height: auto; }
.topic-body { padding: 14px 18px 18px; border-top: 3px solid var(--blue); }
.topic-body h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 500; }
.topic-body p { margin: 0 0 8px; font-size: .875rem; color: var(--muted); }
.topic-more { color: var(--blue); font-size: .8125rem; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: flow; }
.flow-step { position: relative; padding: 20px 16px 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 3px; box-shadow: var(--shadow); }
.flow-step::before {
  counter-increment: flow; content: counter(flow); display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-dark); font-size: .875rem;
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 42px; z-index: 2;
  width: 0; height: 0; border: 6px solid transparent; border-left-color: var(--blue);
}
.flow-step h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 500; }
.flow-step p { margin: 0; font-size: .8125rem; color: var(--muted); }
.friend-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 3px; flex-wrap: wrap; }
.friend-bar label { font-size: .875rem; color: var(--muted); }
.friend-bar select { flex: 1; min-width: 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--text); }
.link-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.link-list a { display: inline-block; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 3px; font-size: .8125rem; color: var(--muted); }

/* ---------- 内页 ---------- */
.breadcrumb { padding: 14px 0; font-size: .875rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li::after { content: " / "; margin-left: 6px; color: #9AA5B4; }
.breadcrumb li:last-child::after { content: ""; }
.page-head {
  position: relative; overflow: hidden; padding: 26px 0; margin-bottom: 20px;
  background: linear-gradient(100deg, var(--blue-dark), var(--blue-mid)); color: #fff;
  border-left: 5px solid var(--red);
}
.page-head::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 320px; height: 320px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255, 255, 255, .04);
}
.page-head-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 28px; }
.page-head h1 { margin: 0 0 4px; font-size: 1.75rem; font-weight: 500; letter-spacing: 1px; }
.page-head p { margin: 0; font-size: .9375rem; opacity: .88; }
.page-head .btn-light { flex: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
.article, .aside-card { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }
.article + .article { margin-top: 18px; }
.article { padding: 24px 28px; }
.article h2 { margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--red); font-size: 1.25rem; font-weight: 500; }
.article h3 { margin: 20px 0 8px; font-size: 1.0625rem; font-weight: 500; }
.article p { margin: 0 0 12px; }
.article ul, .article ol { margin: 0 0 14px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article img.figure { display: block; width: 100%; height: auto; border-radius: 3px; margin: 6px 0 16px; }
.lead { font-size: 1.0625rem; line-height: 1.9; }
.aside-card { padding: 18px 20px; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h2 { margin: 0 0 12px; font-size: 1.0625rem; font-weight: 500; }
.info-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.info-table th, .info-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 88px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; }
.related-list li:last-child { border-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-item { padding: 14px 16px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 3px; }
.service-item h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 500; }
.service-item p { margin: 0; font-size: .875rem; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { color: var(--blue-dark); font-weight: 500; cursor: pointer; }
.faq details p { margin: 10px 0 0; font-size: .9375rem; color: var(--muted); }
.notice-mini { margin: 0; padding: 0; list-style: none; }
.notice-mini li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; }
.notice-mini li:last-child { border-bottom: 0; }
.notice-mini time { display: block; color: var(--muted); font-size: .75rem; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 5px; font-size: .875rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--text);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.pager a, .pager span { padding: 6px 12px; border: 1px solid var(--line); background: #fff; font-size: .875rem; border-radius: 3px; }
.pager .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 36px; background: var(--blue-dark); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding: 34px 0 26px; }
.site-footer h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: 1rem; font-weight: 500; }
.site-footer p, .site-footer li { font-size: .875rem; line-height: 1.9; opacity: .9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand .brand-emblem { width: 48px; height: 48px; }
.footer-brand strong { font-size: 1rem; letter-spacing: 1px; }
.qr-box { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.qr-box img { width: 92px; height: 92px; background: #fff; padding: 4px; border-radius: 3px; }
.qr-box span { font-size: .75rem; opacity: .8; line-height: 1.6; }
.gov-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; font-size: .75rem; }
.gov-badge::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--gold); border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding: 14px 0 18px; font-size: .8125rem; text-align: center; opacity: .88; }
.footer-bottom span { display: inline-block; margin: 0 8px; }
.footer-bottom .demo-note { display: block; margin-top: 6px; font-size: .75rem; opacity: .65; }

/* ---------- 交互元素 ---------- */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 300; max-width: 360px;
  padding: 12px 18px; background: var(--blue-dark); color: #fff; border-left: 4px solid var(--gold);
  border-radius: 3px; box-shadow: var(--shadow-lg); font-size: .875rem; line-height: 1.7;
}
.back-top {
  position: fixed; right: 20px; bottom: 76px; z-index: 90; width: 42px; height: 42px;
  background: var(--blue); color: #fff; border: 0; border-radius: 3px; font-size: 1.125rem;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.back-top.is-visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--red); }
/* 栏目内容默认全部可见：避免滚动淡入在截图、打印与无脚本环境造成空白 */

/* ---------- 适老化 / 高对比度 ---------- */
html.font-lg { font-size: 18px; }
html.font-xl { font-size: 20px; }
html.hc {
  --blue: #FFE600; --blue-dark: #000000; --blue-mid: #000000; --blue-soft: #000000; --blue-line: #FFE600;
  --red: #FFE600; --red-dark: #000000; --gold: #FFE600;
  --text: #FFFFFF; --muted: #FFFFFF; --line: #FFFFFF;
  --bg: #000000; --page: #000000; --shadow: none; --shadow-lg: none;
}
html.hc a, html.hc .notice-list a, html.hc .module-card h3 a, html.hc .news-body h3 a { color: #FFE600; }
html.hc .brand, html.hc .brand-text strong, html.hc .page-head h1, html.hc .stat strong { color: #FFE600; }
html.hc .panel, html.hc .module-card, html.hc .article, html.hc .aside-card, html.hc .news-card,
html.hc .topic-card, html.hc .flow-step, html.hc .service-item, html.hc .data-table,
html.hc .data-table tbody tr:nth-child(even), html.hc .quick-panel, html.hc .quick-grid a,
html.hc .friend-bar, html.hc .friend-bar select, html.hc .search-panel, html.hc .ticker,
html.hc .tabs, html.hc .tabs button, html.hc .pager a { background: #000; border-color: #fff; color: #fff; }
html.hc .stat, html.hc .data-table thead th, html.hc .tabs button.is-active { background: #000; border-color: #FFE600; color: #FFE600; }
html.hc .btn { color: #000; border-color: #FFE600; }
html.hc .btn-ghost, html.hc .btn-light, html.hc .page-head .btn-light { color: #FFE600; background: #000; }
html.hc .tag, html.hc .tag-list li, html.hc .service-item, html.hc .flow-step::before,
html.hc .quick-num { color: #FFE600; background: #000; }
html.hc .banner-slide::after { background: rgba(0, 0, 0, .78); }
html.hc .toolbar button { border-color: #FFE600; color: #FFE600; }
html.hc .row-dept, html.hc .row-views, html.hc .notice-list time, html.hc .news-body p { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-item > a { padding: 0 14px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; width: 100%; padding: 12px 0; background: transparent; border: 0; color: #fff; text-align: left; }
  .nav-list { display: none; padding-bottom: 10px; }
  .nav-list.is-open { display: block; }
  .nav-item > a { min-height: 44px; padding: 8px 12px; border: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .submenu { position: static; box-shadow: none; min-width: 0; border: 0; border-top: 0; padding: 0 0 8px 16px; }
  .brand-wrap { flex-wrap: wrap; }
  .brand-right { align-items: flex-start; width: 100%; }
  .site-search { width: 100%; }
  .search-panel { width: 100%; }
  .hero-grid, .board-grid, .content-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .banner-stage { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 28px); }
  .brand-text strong { font-size: 1.375rem; }
  .brand-emblem { width: 52px; height: 52px; }
  .module-grid, .news-grid, .topic-grid, .service-grid, .flow, .footer-main { grid-template-columns: 1fr; }
  .banner-caption { padding: 16px 18px 22px; }
  .banner-caption h2 { font-size: 1.125rem; }
  .banner-caption p { display: none; }
  .banner-stage { aspect-ratio: 4 / 3; }
  .article { padding: 20px 18px; }
  .topbar-inner { flex-wrap: wrap; padding: 6px 0; }
  .data-table { font-size: .8125rem; }
  .data-table th, .data-table td { padding: 9px 8px; }
  .ticker-track a { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ticker-track { animation: none; }
}
