* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2f6bff;
  --nav: #2f6bff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7fb;
}
html, body { min-height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.wrap {
  width: 1180px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}
.top {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #93c5fd, #2563eb 55%, #1d4ed8);
}
.auth { font-size: 16px; color: #374151; }
.sep { margin: 0 6px; color: #d1d5db; }
.link-btn {
  margin-left: 10px;
  border: 0;
  background: none;
  color: #374151;
  font-size: 16px;
  cursor: pointer;
}
.nav { background: var(--nav); }
.nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  height: 48px;
}
.nav li {
  display: block;
}
.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 28px;
  height: 48px;
  color: #fff;
  font-size: 15px;
}
.nav li.active a,
.nav a:hover { background: rgba(255, 255, 255, 0.14); }
.hero {
  width: 100%;
  height: 150px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #1d4ed8, #1e3a8a);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero.gov {
  height: 226px;
  margin-top: -104px;
  padding-top: 104px;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(15,23,42,0.12) 0, rgba(15,23,42,0.08) 56px, rgba(15,23,42,0.28) 100%), url(/Public/portal/gov-banner.png);
}
.banner-page .top {
  position: relative;
  z-index: 3;
  background: transparent;
  border-bottom: 0;
}
.banner-page .brand,
.banner-page .auth,
.banner-page .auth a,
.banner-page .link-btn,
.banner-page .sep {
  color: #fff;
}
.banner-page .nav {
  position: relative;
  z-index: 3;
}
.hero h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 4px;
}
.crumb {
  padding: 16px 0 12px;
  color: #6b7280;
  font-size: 13px;
}
.crumb a:hover { color: var(--primary); }
.article {
  background: #fff;
  border-radius: 8px;
  padding: 32px 48px 48px;
  margin-bottom: 40px;
}
.article > h1 {
  font-size: 26px;
  text-align: center;
  line-height: 1.45;
}
.meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 16px 0 28px;
  color: #9ca3af;
  font-size: 13px;
}
.meta button {
  margin-left: 6px;
  border: 0;
  background: none;
  color: var(--primary);
  cursor: pointer;
}
.meta button.on {
  font-weight: 700;
  text-decoration: underline;
}
.body {
  --article-fs: 16px;
  font-size: var(--article-fs);
  line-height: 1.9;
  color: #374151;
}
.body *:not(img):not(svg):not(video):not(canvas) {
  font-size: inherit !important;
}
.body img {
  display: block !important;
  max-width: 100%;
  height: auto;
  margin-left: auto !important;
  margin-right: auto !important;
}
.files {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}
.files h3 { margin-bottom: 10px; font-size: 15px; }
.files a {
  display: block;
  color: var(--primary);
  padding: 4px 0;
}
.empty {
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0;
  text-align: center;
}
.foot {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 28px 0 22px;
  color: #6b7280;
  font-size: 12px;
}
.foot-info { text-align: center; line-height: 2; }
@media (max-width: 800px) {
  .article { padding: 20px 16px 32px; }
  .meta { flex-direction: column; gap: 8px; }
  .nav ul { flex-wrap: wrap; height: auto; }
}
