/* 重庆票务网 (www.darling.net.cn) Design System - 100% Local Assets */
:root {
  --navy: #0b3558;
  --navy-deep: #07233c;
  --blue: #1479b8;
  --sky: #1d9bd1;
  --sky-soft: #e8f4fb;
  --orange: #e8680c;
  --orange-hover: #cf5905;
  --orange-soft: #fff5ec;
  --teal: #0f766e;
  --teal-soft: #e6f7f5;
  --bg: #f4f7fb;
  --white: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 53, 88, 0.06), 0 1px 2px rgba(11, 53, 88, 0.04);
  --shadow: 0 8px 24px rgba(11, 53, 88, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--orange);
}

.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;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(11, 53, 88, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
}

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

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue);
  background: var(--sky-soft);
}

.nav-link.is-active {
  color: var(--white);
  background: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.header-search-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* Verbatim Announcement Bar right below Header */
.announce-bar {
  background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13.5px;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--orange-hover);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(29, 155, 209, 0.35) 0%, transparent 45%),
              linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #114e82 100%);
  color: var(--white);
  padding: 44px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #dbeafe;
  margin-bottom: 14px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.28);
}

.hero-title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: #7dd3fc;
}

.hero-lead {
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.72;
}

.hero-lead strong {
  color: var(--white);
}

.hero-search-card {
  background: var(--white);
  color: var(--ink);
  padding: 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(4, 21, 38, 0.28);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.search-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.search-tab input {
  display: none;
}

.search-tab.is-active {
  background: var(--navy);
  color: var(--white);
}

.search-input-row {
  display: flex;
  gap: 10px;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 121, 184, 0.15);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.quick-tags a {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy);
  font-weight: 500;
}

.quick-tags a:hover {
  background: var(--orange-soft);
  color: var(--orange);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spring-countdown-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.card-kicker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spring-countdown-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.35;
}

.sc-dates {
  margin: 0 0 12px;
  font-size: 14px;
  color: #fde68a;
}

.sc-timeline {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sc-timeline li {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(7, 35, 60, 0.55);
  border-left: 3px solid #38bdf8;
}

.sc-date {
  font-size: 12.5px;
  font-weight: 700;
  color: #7dd3fc;
}

.sc-desc {
  font-size: 13px;
  color: #f1f5f9;
}

.sc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.metric-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.metric-item span {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Page Banner (Subpages) */
.page-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #155c93 100%);
  color: var(--white);
  padding: 36px 0 38px;
}

.page-banner-spring {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 45%, #0b3558 100%);
}

.page-banner-cruise {
  background: linear-gradient(135deg, #0b3558 0%, #0f5c78 55%, #0f766e 100%);
}

.page-banner-compact {
  padding: 28px 0 30px;
}

.page-banner h1 {
  margin: 10px 0 10px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
}

.page-banner p {
  margin: 0;
  color: #e2e8f0;
  max-width: 820px;
  font-size: 15px;
}

.breadcrumb {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #93c5fd;
}

.breadcrumb a:hover {
  color: var(--white);
}

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

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

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

/* Quick Nav Cards */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sky);
  color: var(--ink);
}

.qc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qc-blue { background: var(--sky-soft); color: var(--blue); }
.qc-teal { background: var(--teal-soft); color: var(--teal); }
.qc-orange { background: var(--orange-soft); color: var(--orange); }
.qc-navy { background: #e8eef5; color: var(--navy); }

.quick-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.quick-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Route Tabs & Tables */
.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-pill, .pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.tab-pill:hover, .pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tab-pill.is-active, .pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.route-panel {
  display: none;
}

.route-panel.is-active {
  display: block;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

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

.data-table th {
  background: #f1f5f9;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  color: var(--ink-2);
}

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

.data-table tbody tr:hover {
  background: #f8fbff;
}

.route-city strong {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
}

.route-code {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.num-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-low {
  color: var(--orange);
  font-weight: 700;
}

.tip-cell {
  font-size: 13px;
  color: var(--muted);
  max-width: 260px;
}

.panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Badges */
.badge-flight, .badge-train, .badge-cruise, .cat-tag, .cat-mini {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-flight, .cat-tag { background: var(--sky-soft); color: var(--blue); }
.badge-train { background: var(--teal-soft); color: var(--teal); }
.badge-cruise { background: var(--orange-soft); color: var(--orange); }
.cat-mini { background: #eef2f7; color: var(--navy); font-weight: 600; }

/* Hub Cards */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hub-type {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.hub-type-airport { background: var(--sky-soft); color: var(--blue); }
.hub-type-rail { background: var(--teal-soft); color: var(--teal); }
.hub-type-pier { background: var(--orange-soft); color: var(--orange); }

.hub-code {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.hub-card h3 {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
}

.hub-metro, .hub-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.hub-tip {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border-left: 3px solid var(--orange);
  font-size: 13px;
  color: var(--ink-2);
}

/* Articles Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.article-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.article-title a {
  color: var(--navy);
}

.article-title a:hover {
  color: var(--orange);
}

.article-summary {
  margin: 0;
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.article-foot {
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}

.latest-strip {
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.strip-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--navy);
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.latest-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  min-width: 0;
}

.latest-list a {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.latest-list a:hover {
  color: var(--orange);
}

.latest-list time {
  font-size: 12.5px;
  color: var(--muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-search input {
  padding: 8px 13px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  min-width: 230px;
  max-width: 100%;
  font-family: inherit;
}

.filter-count {
  font-size: 14px;
  color: var(--muted);
}

.inline-search-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  max-width: 720px;
}

.inline-search-form select,
.inline-search-form input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}

.inline-search-form input {
  flex: 1;
  min-width: 0;
}

/* Callouts & Strategy Cards */
.info-callout, .disclaimer-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sky-soft);
  border-left: 4px solid var(--blue);
  color: var(--ink-2);
  font-size: 14px;
}

.info-callout h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy);
}

.info-callout p {
  margin: 0;
}

.disclaimer-box {
  background: #fff7ed;
  border-left-color: var(--orange);
  color: #7c2d12;
}

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

.strategy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.strategy-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--navy);
}

.strategy-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* Article Detail */
.article-h1 {
  font-size: 27px;
  margin: 10px 0 12px;
  line-height: 1.35;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: #dbeafe;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.article-lead-box {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
}

.article-body h2 {
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sky-soft);
  font-size: 20px;
  color: var(--navy);
}

.article-body h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  color: var(--blue);
}

.article-body p {
  margin: 0 0 14px;
}

.article-body ul, .article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

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

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.article-body th {
  background: #f1f5f9;
  color: var(--navy);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
}

.tag-chip {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13px;
}

.tag-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.side-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.side-route-list, .side-tool-links, .side-article-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-route-list li {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

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

.sr-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.sr-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.side-tool-links {
  margin-bottom: 0;
  gap: 8px;
}

.side-tool-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}

.side-tool-links a:hover {
  background: var(--sky-soft);
  color: var(--blue);
}

.side-article-list {
  margin-bottom: 0;
}

.side-article-list a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.side-article-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Interactive Tool Card */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.tool-head h2 {
  margin: 8px 0 6px;
  font-size: 22px;
  color: var(--navy);
}

.tool-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.calc-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 20px;
}

.calc-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-input-group label {
  font-weight: 700;
  color: var(--navy);
}

.calc-input-group input[type="date"] {
  padding: 9px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}

.calc-quick-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.pill-btn {
  padding: 6px 12px;
  font-size: 13px;
}

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

.calc-res-box {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.res-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.res-value {
  font-size: 20px;
  color: var(--orange);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.res-note {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* FAQ & About & 404 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 15px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

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

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.about-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--navy);
}

.about-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.about-card li {
  margin-bottom: 10px;
  color: var(--ink-2);
}

.empty-box, .notfound-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  color: var(--ink-2);
}

.nf-code {
  font-size: 64px;
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 12px;
}

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

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding-top: 44px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}

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

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-notice {
  margin: 0;
  font-size: 13px;
  color: #fdba74;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.footer-links a {
  color: #cbd5e1;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
  color: #94a3b8;
}

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

.footer-bottom p {
  margin: 0;
}

.beian-wrap a {
  color: #e2e8f0;
  font-weight: 600;
}

.beian-wrap a:hover {
  color: #fb923c;
}

/* Responsive Breakpoints (Strict 375px zero-horizontal-scroll compliance) */
@media (max-width: 1024px) {
  .hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .quick-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-grid,
  .article-grid,
  .strategy-grid,
  .calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 20px 18px;
  }
  .main-nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    display: block;
    padding: 10px 14px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .brand-logo {
    height: 40px;
  }
  .header-search-btn span {
    display: none;
  }
  .hero-section {
    padding: 28px 0 32px;
  }
  .hero-title {
    font-size: 24px;
  }
  .page-banner h1,
  .article-h1 {
    font-size: 22px;
  }
  .search-input-row,
  .inline-search-form,
  .filter-search {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-search input {
    min-width: 0;
    width: 100%;
  }
  .quick-nav-grid,
  .hub-grid,
  .hub-grid-2,
  .article-grid,
  .strategy-grid,
  .calc-results,
  .faq-grid,
  .about-grid,
  .latest-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .metric-item strong {
    font-size: 14px;
  }
  .metric-item span {
    font-size: 11px;
  }
  .article-main {
    padding: 18px 16px;
  }
  .tool-card {
    padding: 18px 16px;
  }
  .section {
    padding: 32px 0;
  }
  .section-title {
    font-size: 20px;
  }
}
