/* =========================================================
   松鼠市人民政府门户网站 · 公共样式
   风格参考：西安市人民政府门户网站
   适用：index.html / news.html / enterprise.html
   ========================================================= */

:root {
  --gov-red: #b0131f;
  --gov-red-dark: #8c0f18;
  --gov-red-deep: #6d0a12;
  --gov-gold: #d9a441;
  --gov-blue: #175f9f;
  --gov-blue-dark: #11487a;
  --ink: #22262b;
  --ink-2: #4b5560;
  --ink-3: #7b8490;
  --line: #e3e6ea;
  --bg: #f3f4f6;
  --card: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(20, 30, 50, 0.06);
  --font-sans: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", SimSun, "Noto Serif CJK SC", "STSong", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--gov-red);
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--gov-gold);
  outline-offset: 2px;
}

/* ---------- 顶部工具条 ---------- */
.gov-topbar {
  background: var(--gov-red-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 12px;
}

.topbar-left {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.topbar-right a {
  padding: 4px 10px;
  border-radius: 4px;
  color: inherit;
}

.topbar-right a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.topbar-right .sep {
  opacity: 0.4;
}

#topClock {
  font-variant-numeric: tabular-nums;
}

/* ---------- 品牌区（国徽 + 站名 + 搜索） ---------- */
.brandbar {
  background: linear-gradient(180deg, var(--gov-red) 0%, var(--gov-red-dark) 100%);
  color: #fff;
  padding: 14px 0;
}

.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand .emblem {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.brand h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 4px;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.brand .sub {
  font-size: 12px;
  letter-spacing: 1.5px;
  opacity: 0.85;
  margin-top: 2px;
}

.brand .tagline {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 1px 10px;
  letter-spacing: 2px;
}

.search {
  display: flex;
  flex: 0 1 380px;
  height: 42px;
  border-radius: 21px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.search input {
  flex: 1;
  border: 0;
  padding: 0 18px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.search button {
  border: 0;
  background: var(--gov-red-dark);
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
}

.search button:hover {
  background: var(--gov-red-deep);
}

/* ---------- 主导航 ---------- */
.mainnav {
  background: var(--gov-red);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  padding: 12px 4px;
  cursor: pointer;
  letter-spacing: 2px;
}

.mainnav ul {
  display: flex;
  flex-wrap: wrap;
}

.mainnav li a {
  display: block;
  color: #fff;
  padding: 13px 26px;
  font-size: 16px;
  letter-spacing: 2px;
  border-bottom: 3px solid transparent;
  transition: background 0.2s;
}

.mainnav li a:hover,
.mainnav li.active a {
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: var(--gov-gold);
}

/* ---------- 焦点图轮播 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  margin-top: 14px;
}

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe3e8;
  aspect-ratio: 2 / 1;
  min-height: 260px;
  box-shadow: var(--shadow);
}

.slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 18px 10px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 20, 0.72));
}

.slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 54px;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.slider .arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slider .arrow.prev {
  left: 0;
  border-radius: 0 6px 6px 0;
}

.slider .arrow.next {
  right: 0;
  border-radius: 6px 0 0 6px;
}

.slider .dots {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  right: 18px;
  display: flex;
  gap: 6px;
}

.slider .dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

.slider .dots button.active {
  background: #fff;
}

.hero-aside {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-aside h3 {
  font-size: 17px;
  color: var(--gov-red);
  border-left: 4px solid var(--gov-red);
  padding-left: 10px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.hero-aside li {
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.hero-aside li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gov-gold);
  margin-top: 9px;
}

.hero-aside li a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: var(--ink-2);
}

.hero-aside li a:hover {
  color: var(--gov-red);
}

/* ---------- 快捷入口卡片 ---------- */
.quick-entries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.entry {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 30, 50, 0.12);
  color: inherit;
}

.entry .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.entry h4 {
  font-size: 19px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.entry p {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.entry .go {
  font-size: 13px;
  color: var(--gov-red);
}

.entry.entry-daily .icon {
  background: linear-gradient(135deg, #c62828, #8e0e0e);
}

.entry.entry-biz .icon {
  background: linear-gradient(135deg, #1769aa, #0f4a7c);
}

.entry .corner {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
}

/* ---------- 三栏内容区 ---------- */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
  min-width: 0;
}

.panel > h3 {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--ink);
  border-left: 5px solid var(--gov-red);
  padding-left: 10px;
  margin-bottom: 4px;
}

.panel .panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.panel .panel-head h3 {
  border-left: 5px solid var(--gov-red);
  padding-left: 10px;
  font-size: 18px;
  letter-spacing: 2px;
}

.panel .panel-head .more {
  font-size: 13px;
  color: var(--ink-3);
}

.news-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed #eceef1;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list li a {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  color: var(--ink-2);
}

.news-list li a:hover {
  color: var(--gov-red);
}

.news-list li .date {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* 政务公开标签页 */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tabs button {
  border: 1px solid var(--line);
  background: #f7f8fa;
  color: var(--ink-2);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
}

.tabs button.active {
  background: var(--gov-red);
  border-color: var(--gov-red);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 办事服务 */
.service-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.service-links a {
  display: block;
  text-align: center;
  background: #f5f7fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--ink-2);
  transition: all 0.2s;
}

.service-links a:hover {
  color: var(--gov-red);
  border-color: var(--gov-red);
  background: #fdf1f2;
}

.interact li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f7f8fa;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ink-2);
}

.interact li a:hover {
  background: #fdf1f2;
  color: var(--gov-red);
}

.interact li a::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gov-gold);
}

/* ---------- 栏目配图 ---------- */
.news-figure {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s;
}

.news-figure:hover img {
  transform: scale(1.03);
}

.news-figure span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 20, 0.75));
}

/* ---------- 市情概况 ---------- */
.profile {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 14px;
  padding: 16px 20px 18px;
}

.profile-text h2 {
  font-size: 19px;
  letter-spacing: 2px;
  border-left: 5px solid var(--gov-red);
  padding-left: 10px;
  margin-bottom: 8px;
}

.profile-text p {
  font-size: 14px;
  color: var(--ink-2);
  text-align: justify;
}

.profile-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-facts li {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
}

.profile-facts b {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gov-red);
  font-variant-numeric: tabular-nums;
}

.profile-facts span {
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- 页脚 ---------- */
.gov-footer {
  margin-top: 22px;
  background: #23282f;
  color: #b9c0c9;
  font-size: 13px;
}

.footer-links {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  padding: 12px 0;
}

.footer-links a {
  color: #cdd3da;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links li:last-child a {
  border-right: 0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  text-align: center;
  padding: 14px 16px 22px;
  line-height: 2;
}

.footer-meta .notice {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #e8b64c;
  font-size: 12px;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gov-red);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 80;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   松鼠日报 · 人民日报风格（news.html）
   ========================================================= */
.news-page {
  background: #f4f0e8;
  font-family: var(--font-serif);
}

.news-topbar {
  background: #8c0f18;
  color: #f0d9b5;
  font-size: 13px;
  font-family: var(--font-sans);
}

.news-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.news-topbar a {
  color: #f0d9b5;
  padding: 4px 8px;
}

.news-topbar a:hover {
  color: #fff;
}

.masthead {
  background: #fbf7ef;
  color: #6d5b45;
  text-align: center;
  padding: 22px 16px 18px;
  border-bottom: 4px solid var(--gov-red);
}

.masthead .mast-logo {
  display: block;
  width: min(420px, 78%);
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.masthead .mast-sub {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 5px;
  color: #8c0f18;
}

.masthead .mast-date {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #7a6a54;
}

.paper-nav {
  background: #8c0f18;
  border-bottom: 1px solid #6d0a12;
  font-family: var(--font-sans);
  position: sticky;
  top: 0;
  z-index: 50;
}

.paper-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.paper-nav a {
  display: block;
  color: #f5e6c8;
  padding: 10px 18px;
  font-size: 14px;
  letter-spacing: 2px;
}

.paper-nav a:hover,
.paper-nav a.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}

.paper {
  max-width: 1160px;
  margin: 18px auto;
  padding: 26px 30px;
  background: #fbf7ef;
  border: 1px solid #ddd2ba;
  box-shadow: 0 3px 14px rgba(90, 70, 30, 0.12);
}

.paper .edition {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px double #8c0f18;
  padding-bottom: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #5a4a33;
}

.paper .edition b {
  color: #8c0f18;
  font-size: 18px;
  letter-spacing: 3px;
}

.lead-story h2 {
  font-size: 30px;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 2px;
}

.lead-story .lead-sub {
  text-align: center;
  font-size: 17px;
  color: #444;
  margin-top: 6px;
}

.lead-story .byline {
  text-align: center;
  font-size: 13px;
  color: #8a8072;
  margin: 8px 0 14px;
  font-family: var(--font-sans);
}

.lead-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: sepia(0.08);
}

.lead-figure figcaption {
  font-size: 12px;
  color: #8a8072;
  text-align: center;
  margin: 6px 0 14px;
  font-family: var(--font-sans);
}

.lead-story p {
  font-size: 16px;
  text-align: justify;
  text-indent: 2em;
  color: #33302a;
  margin-bottom: 10px;
}

/* 头版「核心提示」提要框 */
.lead-story .lead-note {
  border: 1px solid #c9bc9f;
  border-left: 4px solid var(--gov-red);
  background: #f7f1e4;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.85;
  text-indent: 0;
  color: #4a4438;
  margin: 0 0 14px;
}

.lead-story .lead-note b {
  color: var(--gov-red);
  letter-spacing: 2px;
}

.paper-rule {
  height: 1px;
  background: #c9bc9f;
  margin: 18px 0;
}

/* 报纸分栏网格 */
.paper-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.paper-col {
  padding: 0 16px;
}

.paper-col + .paper-col {
  border-left: 1px solid #c9bc9f;
}

.paper-col article {
  margin-bottom: 18px;
}

.paper-col article h3 {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 6px;
  color: #1f1c16;
}

.paper-col article .meta {
  font-size: 12px;
  color: #8a8072;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.paper-col article img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 8px;
}

.paper-col article p {
  font-size: 14px;
  text-align: justify;
  text-indent: 2em;
  color: #4a4438;
}

.paper .page-foot {
  margin-top: 20px;
  border-top: 1px solid #c9bc9f;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8a8072;
  font-family: var(--font-sans);
}

/* =========================================================
   企业服务平台 · 简约风格（enterprise.html）
   ========================================================= */
.biz-page {
  background: #f6f7f9;
}

.biz-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.biz-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 14px;
}

.biz-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #14324f;
  letter-spacing: 1px;
}

.biz-logo .dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f6fb5, #14406f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.biz-header nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.biz-header nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: #4a5560;
  border-radius: 6px;
}

.biz-header nav a:hover,
.biz-header nav a.active {
  background: #eef4fa;
  color: #175f9f;
}

.biz-hero {
  background: linear-gradient(160deg, #ffffff 0%, #eef4fa 100%);
  border-bottom: 1px solid var(--line);
  padding: 46px 16px 52px;
  text-align: center;
}

.biz-hero h1 {
  font-size: 32px;
  color: #14324f;
  letter-spacing: 3px;
  font-weight: 700;
}

.biz-hero .hero-sub {
  margin: 10px 0 24px;
  color: #7b8490;
  font-size: 15px;
  letter-spacing: 2px;
}

.biz-search {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  height: 50px;
  background: #fff;
  border: 2px solid #1f6fb5;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(31, 111, 181, 0.15);
}

.biz-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 22px;
  font-size: 15px;
  min-width: 0;
}

.biz-search button {
  border: 0;
  background: #1f6fb5;
  color: #fff;
  padding: 0 34px;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 2px;
}

.biz-search button:hover {
  background: #14406f;
}

.biz-hot {
  margin-top: 16px;
  font-size: 13px;
  color: #98a2ad;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.biz-hot a {
  color: #4a5560;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 20px;
  padding: 3px 14px;
}

.biz-hot a:hover {
  border-color: #1f6fb5;
  color: #175f9f;
}

/* 数据看板（信息展示位） */
.biz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -30px auto 20px;
  max-width: 1200px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 40, 70, 0.08);
  padding: 18px 16px;
  text-align: center;
  border-top: 3px solid #1f6fb5;
}

.stat-card .num {
  font-size: 28px;
  font-weight: 700;
  color: #14324f;
  font-variant-numeric: tabular-nums;
}

.stat-card .num .unit {
  font-size: 13px;
  color: #7b8490;
  margin-left: 2px;
}

.stat-card .label {
  margin-top: 4px;
  font-size: 13px;
  color: #7b8490;
}

.stat-hint {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 16px;
  font-size: 12px;
  color: #98a2ad;
  text-align: right;
}

.biz-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  align-items: start;
}

.biz-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}

.biz-panel > h3 {
  font-size: 17px;
  color: #14324f;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.biz-panel > h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #1f6fb5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s;
}

.service-item:hover {
  border-color: #1f6fb5;
  box-shadow: 0 4px 14px rgba(31, 111, 181, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

.service-item .s-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #eef4fa;
  color: #175f9f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item h4 {
  font-size: 15px;
  color: #14324f;
}

.service-item p {
  margin-top: 4px;
  font-size: 12px;
  color: #98a2ad;
}

.biz-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e9ecf0;
}

.biz-list li:last-child {
  border-bottom: 0;
}

.biz-list li .tag {
  flex: 0 0 auto;
  font-size: 12px;
  color: #175f9f;
  background: #eef4fa;
  border-radius: 4px;
  padding: 1px 8px;
}

.biz-list li a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #3d4752;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-list li a:hover {
  color: #175f9f;
}

.biz-list li .date {
  font-size: 12px;
  color: #98a2ad;
  font-variant-numeric: tabular-nums;
}

.biz-info-slot {
  margin-top: 14px;
  border: 1px dashed #c8d4e0;
  border-radius: 10px;
  padding: 26px 16px;
  text-align: center;
  color: #98a2ad;
  font-size: 13px;
  letter-spacing: 2px;
  background: #fafcfe;
}

.biz-footer {
  margin-top: 26px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  text-align: center;
  font-size: 12px;
  color: #98a2ad;
  line-height: 2;
}

/* ---------- 依法用地提示条 ---------- */
.biz-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 12px 18px;
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-left: 4px solid #d9a441;
  border-radius: 10px;
}

.biz-alert b {
  color: #8a5a00;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.biz-alert p {
  font-size: 13px;
  color: #6b5b34;
  line-height: 1.75;
}

.biz-alert a {
  font-size: 13px;
  color: #175f9f;
  white-space: nowrap;
}

/* ---------- 企业登记信息名录 ---------- */
.ent-intro {
  font-size: 13px;
  color: #7b8490;
  line-height: 1.8;
  margin: -4px 0 14px;
}

.ent-intro b {
  color: #175f9f;
}

.ent-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ent-search {
  display: flex;
  flex: 1 1 260px;
  max-width: 320px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
}

.ent-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink);
}

.ent-search button {
  border: 0;
  background: #1f6fb5;
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}

.ent-search button:hover {
  background: #14406f;
}

.ent-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ent-filter button {
  border: 1px solid var(--line);
  background: #fff;
  color: #4a5560;
  border-radius: 16px;
  padding: 4px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.ent-filter button:hover {
  border-color: #1f6fb5;
  color: #175f9f;
}

.ent-filter button.active {
  background: #eef4fa;
  border-color: #1f6fb5;
  color: #175f9f;
  font-weight: 700;
}

.ent-count {
  margin-left: auto;
  font-size: 12px;
  color: #98a2ad;
}

.ent-count b {
  color: #175f9f;
  font-size: 14px;
}

.ent-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.ent-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ent-table th,
.ent-table td {
  padding: 9px 11px;
  text-align: left;
  border-bottom: 1px solid #eef1f5;
  white-space: nowrap;
}

.ent-table thead th[data-sort="market"],
.ent-table thead th[data-sort="capital"],
.ent-table thead th[data-sort="staff"] {
  text-align: right;
}

.ent-table thead th {
  background: #f5f9fd;
  color: #14324f;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #dbe6f0;
}

.ent-table tbody tr:nth-child(even) {
  background: #fcfdfe;
}

.ent-table tbody tr:hover {
  background: #f2f8ff;
}

.ent-table tbody tr:last-child td {
  border-bottom: 0;
}

.ent-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ent-table .ent-name {
  font-weight: 700;
  color: #14324f;
}

.ent-table th.sortable {
  cursor: pointer;
  user-select: none;
}

.ent-table th.sortable::after {
  content: "⇅";
  margin-left: 5px;
  font-size: 10px;
  color: #a9b6c4;
}

.ent-table th.sortable.asc::after {
  content: "↑";
  color: #175f9f;
}

.ent-table th.sortable.desc::after {
  content: "↓";
  color: #175f9f;
}

.ent-nature {
  display: inline-block;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 4px;
  padding: 1px 8px;
  white-space: nowrap;
}

.ent-nature.n-state {
  color: #0e5c9c;
  background: #e8f2fb;
}

.ent-nature.n-central {
  color: #8a5a00;
  background: #fdf3e2;
}

.ent-nature.n-private {
  color: #1f6b45;
  background: #e9f7ef;
}

.ent-nature.n-foreign {
  color: #7a2f8f;
  background: #f5ecf9;
}

.ent-nature.n-other {
  color: #5b6570;
  background: #f1f3f6;
}

.ent-empty {
  margin-top: 12px;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #98a2ad;
  background: #fafcfe;
  border: 1px dashed #c8d4e0;
  border-radius: 10px;
}

.ent-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: #7b8490;
}

.ent-note {
  margin-top: 10px;
  font-size: 12px;
  color: #98a2ad;
  line-height: 2;
}

.ent-note li::before {
  content: "※ ";
  color: #b9c4d0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   响应式布局
   ========================================================= */

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-aside ul {
    column-count: 2;
    column-gap: 24px;
  }

  .cols {
    grid-template-columns: 1fr 1fr;
  }

  .cols .panel:last-child {
    grid-column: 1 / -1;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .biz-main {
    grid-template-columns: 1fr;
  }

  .biz-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .biz-alert {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .biz-alert b,
  .biz-alert a {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-left {
    display: none;
  }

  .brand-inner {
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    align-self: flex-start;
  }

  .brand .emblem {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    object-fit: contain;
  }

  .brand h1 {
    font-size: 23px;
    letter-spacing: 2px;
  }

  .search {
    width: 100%;
    flex-basis: auto;
  }

  .nav-toggle {
    display: block;
  }

  .mainnav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gov-red);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
  }

  .mainnav ul.open {
    display: flex;
  }

  .mainnav li a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mainnav li.active a {
    border-bottom-color: var(--gov-gold);
  }

  .hero {
    margin-top: 10px;
    gap: 10px;
  }

  .slider {
    min-height: 170px;
    aspect-ratio: 16 / 9;
  }

  .slider .slide figcaption {
    font-size: 13px;
    padding-bottom: 8px;
  }

  .slider .arrow {
    display: none;
  }

  .hero-aside ul {
    column-count: 1;
  }

  .quick-entries {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .entry {
    padding: 14px;
  }

  .entry .icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .entry h4 {
    font-size: 17px;
  }

  .cols {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .cols .panel:last-child {
    grid-column: auto;
  }

  .service-links {
    grid-template-columns: 1fr 1fr;
  }

  /* 报纸移动端 */
  .masthead {
    padding: 16px 12px 14px;
  }

  .masthead .mast-logo {
    width: min(300px, 84%);
  }

  .masthead .mast-sub {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .paper {
    margin: 10px;
    padding: 16px 14px;
  }

  .paper-cols {
    grid-template-columns: 1fr;
  }

  .paper-col {
    padding: 0;
  }

  .paper-col + .paper-col {
    border-left: 0;
    border-top: 1px solid #c9bc9f;
    padding-top: 12px;
    margin-top: 12px;
  }

  .lead-story h2 {
    font-size: 22px;
  }

  .lead-story .lead-sub {
    font-size: 15px;
  }

  .paper-nav a {
    padding: 9px 12px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  /* 企业平台移动端 */
  .biz-header .container {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .biz-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }

  .biz-hero {
    padding: 32px 16px 44px;
  }

  .biz-hero h1 {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .biz-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: -26px;
  }

  .stat-card {
    padding: 12px 8px;
  }

  .stat-card .num {
    font-size: 22px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* 企业登记名录移动端 */
  .ent-toolbar {
    gap: 8px;
  }

  .ent-search {
    flex-basis: 100%;
    max-width: none;
  }

  .ent-count {
    margin-left: 0;
  }

  .ent-table {
    min-width: 720px;
    font-size: 12.5px;
  }

  .ent-table th,
  .ent-table td {
    padding: 8px 10px;
  }

  .back-top {
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 380px) {
  .quick-entries {
    grid-template-columns: 1fr;
  }
}
