/* 清远新闻网 www.za29.cn - 现代融媒资讯样式表（100%本地化） */
:root {
  --brand-blue: #0f4c81;
  --brand-blue-dark: #0a355c;
  --brand-sky: #1e78b4;
  --brand-sky-soft: #ebf4fb;
  --brand-orange: #ea6a00;
  --brand-orange-soft: #fff4eb;
  --ink: #18222f;
  --ink-body: #334155;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --bg-page: #f5f7fa;
  --bg-card: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 76, 129, 0.09);
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--bg-page);
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--brand-blue);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

/* Top Utility Bar */
.topbar {
  background: var(--brand-blue-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  line-height: 1.4;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-sep {
  opacity: 0.4;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Masthead */
.masthead {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.masthead-tools {
  flex: 1 1 auto;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.search-form {
  width: 100%;
  display: flex;
  align-items: stretch;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

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

.search-form button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--brand-blue-dark);
}

.hot-keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.hot-keywords a {
  color: var(--ink-body);
}

.hot-keywords a:hover {
  color: var(--brand-orange);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-blue);
  border-radius: 2px;
}

/* Primary Navigation */
.primary-nav {
  background: var(--brand-blue);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(10, 53, 92, 0.15);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-list a {
  display: block;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 3px 3px 0 0;
}

/* Announcement Banner (Right Below Nav on Homepage) */
.announce-banner {
  background: var(--brand-orange-soft);
  border-bottom: 1px solid #fed7aa;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.announce-text {
  flex: 1 1 260px;
  color: #7c2d12;
  font-size: 14px;
  font-weight: 600;
}

.announce-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
}

.announce-link:hover {
  color: var(--brand-orange);
}

/* Sections */
.section {
  padding: 28px 0;
}

.showcase-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-blue);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.section-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.more-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
}

.more-link:hover {
  color: var(--brand-orange);
}

.head-links {
  display: flex;
  gap: 16px;
}

/* Hero Grid */
.hero-section {
  padding-top: 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  align-items: start;
}

.lead-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.lead-cover {
  display: block;
  position: relative;
  aspect-ratio: 19 / 10;
  background: #0f4c81;
  overflow: hidden;
}

.lead-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lead-card:hover .lead-cover img {
  transform: scale(1.02);
}

.badge-pill {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(234, 106, 0, 0.94);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.lead-body {
  padding: 20px 22px 22px;
}

.lead-title {
  font-size: 24px;
  line-height: 1.38;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.lead-summary {
  color: var(--ink-body);
  font-size: 15px;
  margin-bottom: 12px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.sublead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.sublead-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.sublead-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.sublead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sublead-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 auto;
}

.cat-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-sky-soft);
  padding: 2px 9px;
  border-radius: 999px;
}

.sublead-title {
  font-size: 16.5px;
  line-height: 1.42;
  color: var(--ink);
  font-weight: 700;
}

.sublead-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Sidebar Panels */
.hero-side, .side-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

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

.panel-head h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-head a {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 600;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(234, 106, 0, 0.2);
}

.wire-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wire-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e7eb;
}

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

.wire-rank {
  flex: 0 0 24px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  background: #edf2f7;
  color: var(--ink-muted);
  margin-top: 2px;
}

.wire-rank.is-top {
  background: var(--brand-orange);
  color: #ffffff;
}

.wire-info {
  flex: 1 1 auto;
  min-width: 0;
}

.wire-info a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.42;
}

.wire-info a:hover {
  color: var(--brand-blue);
}

.wire-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.quick-service-card {
  background: linear-gradient(145deg, #0f4c81 0%, #155e9c 100%);
  color: #ffffff;
  border: 0;
}

.quick-service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.quick-service-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-links-grid a {
  display: block;
  text-align: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.quick-links-grid a:hover {
  background: var(--brand-orange);
  color: #ffffff;
}

/* Metrics Band */
.metrics-band {
  padding: 8px 0 24px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.metric-item:nth-child(even) {
  border-top-color: var(--brand-orange);
}

.metric-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
}

.metric-item:nth-child(even) .metric-num {
  color: var(--brand-orange);
}

.metric-num span {
  font-size: 14px;
  font-weight: 600;
  margin-left: 3px;
}

.metric-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* Channel Columns */
.two-col-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.channel-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.channel-block.is-teahouse .section-head {
  border-bottom-color: var(--brand-orange);
}

.channel-feature {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cf-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.cf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-body h3 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 6px;
}

.cf-body p {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.editorial-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #e5e7eb;
}

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

.editorial-list a {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-left: 12px;
}

.editorial-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-sky);
}

.editorial-list a:hover {
  color: var(--brand-blue);
}

.list-date {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Visual Showcase */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.visual-card {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.visual-cover {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.visual-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(15, 76, 129, 0.9);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.visual-badge.is-video {
  background: rgba(234, 106, 0, 0.94);
}

.visual-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 auto;
}

.visual-body h3 {
  font-size: 15.5px;
  line-height: 1.42;
  color: var(--ink);
}

.visual-body p {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Smart City Hub */
.smart-hub-band {
  background: #edf3f9;
  border-top: 1px solid #d7e4f2;
}

.smart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.smart-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.smart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.smart-panel-head h3 {
  font-size: 17px;
  color: var(--ink);
}

.pill-soft {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-sky-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.transit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transit-row {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafcff;
}

.transit-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.transit-route strong {
  font-size: 14.5px;
  color: var(--ink);
}

.transit-type {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-sky-soft);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.transit-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--ink-muted);
}

.transit-time {
  color: var(--brand-orange);
  font-weight: 700;
}

.district-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.district-tab {
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink-body);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.district-tab.is-active,
.district-tab:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.district-card {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
  background: #fafcff;
}

.district-card.is-active {
  display: block;
}

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

.district-head h4,
.district-head h3 {
  font-size: 17px;
  color: var(--brand-blue);
}

.district-head span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-orange);
}

.district-dl {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 13.5px;
}

.district-dl dt {
  font-weight: 700;
  color: var(--ink);
}

.district-dl dd {
  color: var(--ink-body);
}

/* Inner Page Banner & Layouts */
.page-banner {
  background: linear-gradient(120deg, #0d3b66 0%, #155e9c 100%);
  color: #ffffff;
  padding: 28px 0;
}

.page-banner h1 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
}

.article-paper .breadcrumb {
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.article-paper .breadcrumb a {
  color: var(--brand-blue);
}

.content-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

/* Channel / Search Feed */
.article-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.feed-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-body h2 {
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
}

.feed-body p {
  font-size: 14px;
  color: var(--ink-body);
}

.feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-tags a {
  font-size: 12px;
  color: var(--brand-sky);
  background: var(--brand-sky-soft);
  padding: 2px 8px;
  border-radius: 4px;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.pagination a {
  min-width: 38px;
  height: 38px;
  line-height: 36px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-weight: 600;
}

.pagination a.is-current,
.pagination a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

/* Article Detail */
.article-paper {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.article-title {
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-muted);
}

.article-meta a {
  color: var(--brand-blue);
  font-weight: 600;
}

.ai-brief-box {
  background: linear-gradient(135deg, #f0f7fd 0%, #fff8f1 100%);
  border: 1px solid #cfe3f5;
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.ai-brief-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ai-brief-badge {
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.ai-brief-hint {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.ai-brief-box ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-brief-box li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--ink);
}

.ai-brief-box li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--brand-orange);
  font-weight: 900;
}

.article-hero-figure {
  margin-bottom: 22px;
}

.article-hero-figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.article-hero-figure figcaption {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #1f2937;
}

.article-body h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 26px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-orange);
}

.article-body p {
  margin-bottom: 16px;
}

.article-body blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: #f8fafc;
  border-left: 4px solid var(--brand-blue);
  color: var(--ink);
  font-size: 15px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body ul {
  margin: 12px 0 18px;
  padding-left: 20px;
  list-style: disc;
}

.article-body li {
  margin-bottom: 6px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tags-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.article-tags a {
  font-size: 13px;
  color: var(--brand-blue);
  background: var(--brand-sky-soft);
  padding: 4px 11px;
  border-radius: 999px;
}

.article-tags a:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.editorial-notice {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink-muted);
}

.editorial-notice a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.related-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.related-block h2 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafcff;
}

.related-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.related-text h3 {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 5px;
}

.related-text span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Service Page Tables, Cards & Planner */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-body);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 700;
}

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

.td-em {
  color: var(--brand-orange);
  font-weight: 700;
  white-space: nowrap;
}

.districts-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.district-full-card {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.planner-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.planner-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 20px;
}

.planner-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.planner-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.planner-group select {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: #ffffff;
}

.btn-primary,
.btn-primary-sm,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  border: 0;
}

.btn-primary {
  background: var(--brand-orange);
  color: #ffffff;
  padding: 11px 22px;
  font-size: 14.5px;
}

.btn-primary:hover {
  background: #c85800;
  color: #ffffff;
}

.btn-primary-sm {
  background: var(--brand-orange);
  color: #ffffff;
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-primary-sm:hover {
  background: #c85800;
  color: #ffffff;
}

.btn-outline {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #ffffff;
  padding: 10px 20px;
  font-size: 14.5px;
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.planner-result {
  background: #f8fbff;
  border: 1px solid #d2e4f6;
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.planner-result h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}

.planner-meta {
  font-size: 13.5px;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.planner-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.planner-steps li {
  font-size: 14.5px;
  color: var(--ink-body);
}

/* About & Empty / 404 */
.about-container {
  max-width: 860px;
}

.about-container h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 22px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-blue);
}

.about-container h2:first-child {
  margin-top: 0;
}

.about-container p {
  margin-bottom: 14px;
}

.empty-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
}

.empty-box p {
  margin-top: 10px;
  color: var(--ink-muted);
}

.empty-box a {
  color: var(--brand-blue);
  font-weight: 600;
}

.code-404 {
  font-size: 56px;
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 10px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #0d263f;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 28px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer-logo-wrap img {
  height: 46px;
  width: auto;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h3 {
  font-size: 15.5px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #081b2e;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

.footer-beian a {
  color: #fbbf24;
  font-weight: 600;
}

.footer-beian a:hover {
  text-decoration: underline;
}

/* Responsive Breakpoints (Tablet & 375px Mobile Zero Overflow) */
@media (max-width: 1024px) {
  .hero-grid,
  .content-with-side {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .smart-grid,
  .two-col-channels,
  .districts-full-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .topbar-tagline,
  .topbar-sep:first-of-type {
    display: none;
  }

  .masthead-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand-logo img {
    height: 48px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    order: 2;
  }

  .masthead-tools {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    align-items: stretch;
  }

  .primary-nav {
    position: static;
  }

  .primary-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  .primary-nav.is-open .nav-list {
    display: flex;
  }

  .nav-list a {
    padding: 11px 12px;
  }

  .nav-list a.is-active::after {
    display: none;
  }

  .sublead-grid,
  .visual-grid,
  .related-grid,
  .planner-controls,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-feature,
  .feed-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-title {
    font-size: 20px;
  }

  .article-paper {
    padding: 20px 16px;
  }

  .article-title {
    font-size: 22px;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .district-dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .district-dl dt {
    margin-top: 6px;
  }
}
