/* GateRank Design System for OldJiChang.co */
:root {
  --surface: rgba(255, 255, 255, 0.94);
  --text: #111111;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.08);
  --accent: #c93a2e;
  --accent-soft: rgba(201, 58, 46, 0.08);
  --accent-hover: #b32f24;
  --success: #059669;
  --success-bg: rgba(16, 185, 129, 0.08);
  --warning: #d97706;
  --warning-bg: rgba(245, 158, 11, 0.08);
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.06);
  --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.06);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Background Subtle Blueprint Grid */
.page-shell {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.022;
  background-image:
    linear-gradient(#111111 1px, transparent 1px),
    linear-gradient(90deg, #111111 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* Container Width */
.main-wrap,
.footer-inner,
.footer-links,
.footer-brand-block {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.main-wrap {
  padding: 36px 0 72px;
  flex: 1;
}

/* Top Navigation */
.public-top-nav-root {
  position: sticky;
  top: 0;
  z-index: 50;
}

.public-top-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transition: all 180ms ease;
}

.public-top-nav-inner {
  width: min(1280px, 100%);
  height: 64px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-top-nav-start {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.public-top-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.public-top-nav-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.public-top-nav-brand-mark svg {
  width: 20px;
  height: 20px;
  color: #ff4d4f;
  fill: currentColor;
}

.public-top-nav-brand-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.45px;
  white-space: nowrap;
}

.public-top-nav-brand-subtitle {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.public-top-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}

.public-top-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  color: rgb(115, 115, 115);
  transition: all 160ms ease;
}

.public-top-nav-link:hover {
  background: rgb(245, 245, 245);
  color: rgb(23, 23, 23);
}

.public-top-nav-link.is-active {
  background: rgb(255, 241, 242);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(254, 205, 211, 0.6);
  font-weight: 700;
}

.public-top-nav-badge {
  border-radius: 4px;
  background: var(--accent);
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.public-top-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-top-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all 180ms ease;
  white-space: nowrap;
}

.public-top-nav-btn.secondary {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(249, 250, 251, 0.8);
  color: rgb(64, 64, 64);
}

.public-top-nav-btn.secondary:hover {
  background: rgb(243, 244, 246);
  color: #111111;
  transform: translateY(-0.5px);
}

.public-top-nav-btn.primary {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.public-top-nav-btn.primary:hover {
  background: rgb(38, 38, 38);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .public-top-nav-links {
    display: flex;
  }
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: rgb(64, 64, 64);
}

.mobile-nav-list a.is-active,
.mobile-nav-list a:hover {
  background: rgb(255, 241, 242);
  color: var(--accent);
}

/* 手机抽屉里的分组 */
.mobile-drawer {
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.mobile-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: rgb(64, 64, 64);
  cursor: pointer;
  list-style: none;
}

.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group[open] summary .nav-caret {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: grid;
  gap: 2px;
  padding: 4px 0 8px 12px;
  margin-left: 14px;
  border-left: 2px solid rgba(201, 58, 46, 0.15);
}

.mobile-nav-list .mobile-nav-sub a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav-list .mobile-nav-sub a.mobile-nav-sub-footer {
  color: var(--accent);
}

/* 文章页面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

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

.breadcrumb [aria-current] {
  color: #111111;
}

/* 文章底部内链 */
.post-client-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.03);
  font-size: 14px;
  font-weight: 700;
}

.post-client-links a {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 58, 46, 0.25);
  color: var(--accent);
  font-size: 13px;
  background: #ffffff;
}

.post-client-links a:hover {
  background: rgb(255, 241, 242);
}

.related-posts {
  margin-top: 36px;
}

.related-posts-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
}

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

.related-post {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.related-post:hover {
  border-color: rgba(201, 58, 46, 0.35);
  transform: translateY(-2px);
}

.related-post-cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.related-post-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #111111;
}

@media (max-width: 640px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* 桌面端下拉菜单 */
.nav-item {
  position: relative;
}

.nav-caret {
  transition: transform 160ms ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 300px;
  padding: 10px;
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index: 70;
}

/* 鼠标从链接移到菜单之间的空隙不丢失 hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-item.is-wide .nav-dropdown {
  width: 560px;
}

.nav-dropdown-grid {
  display: grid;
  gap: 2px;
}

.nav-item.is-wide .nav-dropdown-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 140ms ease;
}

.nav-dropdown-item span {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
}

.nav-dropdown-item small {
  font-size: 12px;
  color: var(--muted);
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: rgb(255, 241, 242);
}

.nav-dropdown-item:hover span {
  color: var(--accent);
}

.nav-dropdown-footer {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.52);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* Cards Base */
.hero-card,
.feed-card,
.article-shell,
.aside-card,
.content-card {
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

/* Newsroom Header / Intro */
.news-portal-intro {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.news-index-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
}

.news-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(720px, 100%);
  padding: 6px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.04);
}

.news-search-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 18px;
  font: 600 14px/1.4 var(--sans);
  color: #111111;
  background: transparent;
}

.news-search-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: #111111;
  color: #ffffff;
  font: 800 13px/1 var(--sans);
  cursor: pointer;
  transition: all 160ms ease;
}

.news-search-button:hover {
  background: var(--accent);
}

/* Category Navigation Pills */
.news-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.news-category-nav a,
.news-taxonomy-chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  color: rgba(17, 17, 17, 0.68);
  font-size: 13px;
  font-weight: 700;
  transition: all 160ms ease;
  cursor: pointer;
}

.news-category-nav a:hover,
.news-taxonomy-chip:hover,
.filter-chip:hover {
  border-color: rgba(17, 17, 17, 0.3);
  color: #111111;
}

.news-category-nav a.is-active,
.filter-chip.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Hero Article Card */
.hero-card {
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.05fr);
  min-height: 440px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 58, 46, 0.3);
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.1);
}

.hero-copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hero-title {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-title a {
  transition: color 160ms ease;
}

.hero-title a:hover {
  color: var(--accent);
}

.hero-summary {
  margin: 14px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.72);
}

.hero-meta,
.card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 13px;
  font-weight: 600;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  width: fit-content;
  transition: all 180ms ease;
}

.hero-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.hero-cover {
  position: relative;
  overflow: hidden;
  background: #090d14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090d14;
  transition: transform 400ms ease;
}

.hero-card:hover .hero-cover img {
  transform: scale(1.03);
}

/* 头条大卡右侧深色面板 */
.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 36px 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 18%, rgba(201, 58, 46, 0.38), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    #090d14;
}

.hero-panel-star {
  position: absolute;
  top: 28px;
  right: -24px;
  width: 220px;
  height: 220px;
  fill: none;
  stroke: #c93a2e;
  stroke-width: 1;
  opacity: 0.28;
  transition: transform 500ms ease;
}

.hero-card:hover .hero-panel-star {
  transform: rotate(12deg) scale(1.04);
}

.hero-panel-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border: 1px solid rgba(201, 58, 46, 0.7);
  border-radius: 999px;
  background: rgba(201, 58, 46, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #ff4d4f;
}

.hero-panel-heading {
  position: relative;
  margin-top: auto;
}

.hero-panel-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-panel-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  color: #94a3b8;
}

.hero-panel-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: auto;
}

.hero-panel-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(19, 25, 36, 0.85);
}

.hero-panel-stat-value {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.hero-panel-stat:first-child .hero-panel-stat-value {
  color: #ff5a4f;
}

.hero-panel-stat-value small {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.hero-panel-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.hero-panel-foot {
  position: relative;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #475569;
}

/* Hub Grid (Main Hero + Sidebar Stack) */
.news-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.news-side-stack {
  display: grid;
  gap: 18px;
}

.news-panel {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.news-panel-heading {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-panel-list {
  display: grid;
  gap: 14px;
}

.news-panel-link {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.news-panel-link:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-panel-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #111111;
  transition: color 160ms ease;
}

.news-panel-link:hover .news-panel-title {
  color: var(--accent);
}

.news-panel-meta {
  color: var(--muted);
  font-size: 12px;
}

/* Feed Grid */
.news-section-heading {
  margin: 48px 0 20px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-grid {
  display: grid;
  gap: 20px;
}

.feed-card {
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 58, 46, 0.24);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.08);
}

.feed-card-media {
  min-height: 100%;
  overflow: hidden;
  background: #090d14;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090d14;
  transition: transform 300ms ease;
}

.feed-card:hover .feed-card-media img {
  transform: scale(1.04);
}

.feed-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.feed-card-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.feed-card-title a {
  transition: color 160ms ease;
}

.feed-card-title a:hover {
  color: var(--accent);
}

.feed-card-excerpt {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.7);
  margin: 0;
  max-width: 60ch;
}

.feed-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.feed-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.feed-card-link:hover {
  text-decoration: underline;
}

/* Topic / Featured Cards Grid */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.topic-card {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(135deg, var(--topic-soft, rgba(17, 17, 17, 0.03)) 0%, #ffffff 50%, #ffffff 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--topic-accent, #111111);
}

.topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.topic-card:nth-child(1) { --topic-accent: #c93a2e; --topic-soft: rgba(201, 58, 46, 0.08); }
.topic-card:nth-child(2) { --topic-accent: #0f766e; --topic-soft: rgba(15, 118, 110, 0.08); }
.topic-card:nth-child(3) { --topic-accent: #2563eb; --topic-soft: rgba(37, 99, 235, 0.08); }
.topic-card:nth-child(4) { --topic-accent: #16a34a; --topic-soft: rgba(22, 163, 74, 0.08); }
.topic-card:nth-child(5) { --topic-accent: #b45309; --topic-soft: rgba(180, 83, 9, 0.08); }
.topic-card:nth-child(6) { --topic-accent: #7c3aed; --topic-soft: rgba(124, 58, 237, 0.08); }

.topic-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.topic-card-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Article Detail Page Layout */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-shell {
  border-radius: 32px;
  overflow: hidden;
}

.article-header {
  padding: 48px 48px 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.article-title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 16px 0 0;
  text-wrap: balance;
}

.article-standfirst {
  margin: 20px 0 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.72);
}

.article-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

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

.article-content {
  padding: 40px 48px 52px;
}

/* Reading Progress Bar */
.article-progress {
  position: sticky;
  top: 64px;
  z-index: 45;
  height: 3px;
  background: rgba(17, 17, 17, 0.06);
}

.article-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #111111 0%, var(--accent) 100%);
  transition: width 80ms ease-out;
}

/* News Body / Typography */
.news-body {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.95;
  color: rgba(17, 17, 17, 0.88);
}

.news-body h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin: 2.2em 0 0.8em;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.news-body h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 1.8em 0 0.6em;
  scroll-margin-top: 100px;
}

.news-body p {
  margin: 1.4em 0;
}

.news-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 58, 46, 0.3);
}

.news-body a:hover {
  text-decoration-color: var(--accent);
}

.news-body blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--accent);
  color: rgba(17, 17, 17, 0.72);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.6;
}

.news-body ul,
.news-body ol {
  padding-left: 24px;
  margin: 1.4em 0;
}

.news-body li {
  margin-top: 8px;
}

.news-body code:not(pre code) {
  background: rgba(17, 17, 17, 0.06);
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: var(--mono);
}

.news-body pre {
  background: #111111 !important;
  color: #f3f4f6 !important;
  border-radius: 20px;
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
}

/* Callout Box */
.news-callout {
  margin: 32px 0;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.03);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.news-callout.warning {
  background: var(--warning-bg);
  border-color: rgba(245, 158, 11, 0.3);
}

.news-callout.danger {
  background: var(--accent-soft);
  border-color: rgba(201, 58, 46, 0.3);
}

.news-callout.success {
  background: var(--success-bg);
  border-color: rgba(16, 185, 129, 0.3);
}

.news-callout-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inline Airport Scorecard (GateRank Signature) */
.news-airport-profile-card {
  margin: 36px 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.06);
  padding: 20px;
}

.news-airport-profile-rank {
  border-radius: 20px;
  background: #111111;
  color: #ffffff;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.news-airport-profile-rank-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.news-airport-profile-rank-value {
  margin-top: 6px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.news-airport-profile-score-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.news-airport-profile-score {
  color: #34d399;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.news-airport-profile-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.news-airport-profile-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.news-airport-profile-status {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.34);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 12px;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.news-airport-profile-intro {
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.news-airport-profile-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-airport-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: #ffffff;
  padding: 0 12px;
  color: rgba(17, 17, 17, 0.75);
  font-size: 12px;
  font-weight: 700;
}

.news-airport-profile-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-airport-profile-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.news-airport-profile-primary-link {
  background: #111111;
  color: #ffffff !important;
}

.news-airport-profile-secondary-link {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111 !important;
}

/* Aside Sticky Sidebar */
.aside-card {
  border-radius: 26px;
  padding: 24px;
  position: sticky;
  top: 86px;
  display: grid;
  gap: 24px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 17, 0.48);
  font-weight: 800;
  margin: 0 0 12px;
}

.toc-list {
  display: grid;
  gap: 8px;
}

.toc-link {
  display: block;
  color: rgba(17, 17, 17, 0.62);
  font-size: 14px;
  line-height: 1.5;
  transition: color 140ms ease;
}

.toc-link:hover,
.toc-link.is-active {
  color: var(--accent);
  font-weight: 700;
}

.toc-link.level-3 {
  padding-left: 14px;
  font-size: 13px;
}

/* Ranking Table Styles (GateRank Core Page) */
.ranking-filter-card {
  border-radius: 28px;
  padding: 32px;
  margin-bottom: 28px;
}

.ranking-filter-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

.filter-group {
  margin-top: 20px;
}

.filter-group h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 10px;
}

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

.ranking-table-card {
  border-radius: 28px;
  overflow: hidden;
}

.ranking-table-wrap {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ranking-table th {
  padding: 16px 20px;
  background: rgba(17, 17, 17, 0.02);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ranking-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 14px;
  vertical-align: middle;
}

.ranking-table tr:hover td {
  background: rgba(17, 17, 17, 0.015);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
}

.rank-badge.top-1 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.rank-badge.top-2 {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.rank-badge.top-3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.score-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-weight: 900;
  font-size: 15px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: #ffffff;
  padding: 64px 0 48px;
  margin-top: 80px;
}

.footer-inner {
  text-align: center;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-mark svg {
  width: 18px;
  height: 18px;
  color: #ff4d4f;
  fill: currentColor;
}

.footer-brand-title {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.footer-copy {
  max-width: 44rem;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  color: rgb(82, 82, 82);
  margin-bottom: 40px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links-clients {
  margin-top: -16px;
  gap: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(115, 115, 115);
}

.footer-bottom {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  padding-top: 28px;
  font-size: 12px;
  color: rgb(163, 163, 163);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .news-hub-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .aside-card {
    position: static;
  }
  .hero-card {
    grid-template-columns: 1fr;
  }
  .feed-card {
    grid-template-columns: 1fr;
  }
  .feed-card-media {
    aspect-ratio: 16 / 9;
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .main-wrap,
  .footer-inner {
    width: calc(100vw - 24px);
  }
  /* 手机端导航：隐藏副标题和「监测中」按钮，避免和站名重叠 */
  .public-top-nav-brand-subtitle,
  .public-top-nav-actions .public-top-nav-btn.secondary {
    display: none;
  }
  .public-top-nav-brand {
    min-width: 0;
    gap: 8px;
  }
  .public-top-nav-brand > div {
    min-width: 0;
  }
  .public-top-nav-brand-title {
    font-size: 15px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .public-top-nav-actions {
    gap: 8px;
  }
  .public-top-nav-btn {
    padding: 8px 12px;
  }
  .hero-copy,
  .article-header,
  .article-content,
  .feed-card-body,
  .ranking-filter-card {
    padding: 24px 20px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-panel {
    padding: 28px 20px 24px;
    gap: 22px;
  }
  .hero-panel-stats {
    gap: 8px;
  }
  .hero-panel-stat {
    padding: 12px 10px;
  }
  .hero-panel-stat-value {
    font-size: 20px;
    white-space: nowrap;
  }
  .hero-panel-stat-value small {
    font-size: 11px;
  }
  .hero-panel-stat-label {
    font-size: 11px;
  }
  .article-title {
    font-size: 30px;
  }
  .news-airport-profile-card {
    grid-template-columns: 1fr;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .news-search-form {
    border-radius: 20px;
    flex-direction: column;
    padding: 8px;
  }
  .news-search-input,
  .news-search-button {
    width: 100%;
    text-align: center;
  }
}


/* FAQ Accordion Section */
.faq-section {
  margin-top: 64px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  align-items: start;
}

.topic-faq-item {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.topic-faq-item:hover {
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}

.topic-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  color: #111111;
  user-select: none;
  transition: color 160ms ease;
}

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

.topic-faq-summary:hover {
  color: var(--accent);
}

.topic-faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.topic-faq-icon::before,
.topic-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.topic-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.topic-faq-item[open] .topic-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.topic-faq-item[open] .topic-faq-icon {
  color: var(--accent);
}

.topic-faq-answer {
  margin: 0;
  padding: 14px 22px 22px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px dashed rgba(17, 17, 17, 0.06);
}

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

/* Article Images & Speedtest Figures */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: block;
  margin: 16px auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-content img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.speed-figure {
  margin: 24px 0;
  text-align: center;
}

.speed-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.speed-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.speed-meta-card {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}

.speed-meta-val {
  font-size: 17px;
  font-weight: 900;
  color: var(--fg);
  font-family: var(--font-mono);
}

.speed-meta-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
