/* ==========================================================================
   靠海网 (www.kaohai.cn) - Modern Guangdong News Portal Design System
   100% Local Assets | Zero External CDN | Responsive 375px+
   ========================================================================== */

:root {
  --navy: #0a2e5c;
  --navy-deep: #071f3f;
  --blue: #0b63b6;
  --sky: #1e88e5;
  --orange: #e86100;
  --orange-soft: #fff4ec;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #172033;
  --ink-2: #435068;
  --muted: #6c7a91;
  --border: #e3e9f2;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 18px rgba(10, 46, 92, 0.06);
  --shadow-hover: 0 10px 28px rgba(10, 46, 92, 0.11);
  --container: 1220px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

img {
  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(--blue);
}

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

h1, h2, h3, h4, p, figure {
  margin: 0;
}

.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: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Reading Progress Bar */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Top Utility Bar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.topbar-sep {
  opacity: 0.4;
}

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

.topbar-right a:hover {
  color: #ffb074;
}

/* Header */
.site-header {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(10, 46, 92, 0.05);
  position: relative;
  z-index: 100;
}

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

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

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

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

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.brand-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  width: 340px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 4px 3px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search:focus-within {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(11, 99, 182, 0.12);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}

.header-search button {
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

.header-search button:hover {
  background: var(--navy);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

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

/* Primary Nav */
.primary-nav {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
}

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

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

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

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

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

.nav-list a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

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

/* Official Homepage Announcement Bar */
.announce-bar {
  background: var(--orange-soft);
  border-bottom: 1px solid #ffd8ba;
}

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

.announce-pill {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.announce-text {
  font-size: 13.5px;
  color: #7a3400;
  line-height: 1.5;
  word-break: break-word;
}

/* Main Sections */
.site-main {
  min-height: 60vh;
  padding-bottom: 48px;
}

.section {
  padding-top: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.section-head-lg {
  border-bottom: none;
  margin-bottom: 18px;
  padding-bottom: 0;
  align-items: flex-end;
  flex-wrap: wrap;
}

.section-head-lg h2 {
  font-size: 22px;
  margin-top: 2px;
}

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.head-accent {
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.accent-orange { background: var(--orange); }
.accent-navy { background: var(--navy); }

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

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

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

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.pill-link:hover {
  background: var(--navy);
  color: #fff;
}

.pill-outline {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
}

.pill-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--surface);
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.headline-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.headline-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.headline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.headline-card:hover .headline-media img {
  transform: scale(1.03);
}

.media-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 4px;
}

.media-badge-hot {
  position: absolute;
  right: 16px;
  top: 16px;
  background: rgba(232, 97, 0, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 4px;
}

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

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

.headline-summary {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.72;
  margin-bottom: 14px;
}

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

.meta-city {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background: #eaf3fc;
  color: var(--blue);
  font-weight: 700;
}

/* Secondary Featured Grid */
.featured-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.sub-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.sub-feature-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

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

.thumb-type {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(7, 31, 63, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.sub-feature-info {
  padding: 13px 15px 15px;
}

.mini-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cat-link {
  color: var(--blue);
  font-weight: 700;
}

.sub-feature-title {
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 700;
}

/* Right Column: Live Wire */
.hero-wire {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wire-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: linear-gradient(90deg, #f0f6fd, #ffffff);
  border-bottom: 1px solid var(--border);
}

.wire-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wire-head h2 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 97, 0, 0.18);
  flex-shrink: 0;
}

.wire-list {
  padding: 6px 18px 12px;
}

.wire-item {
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
}

.wire-item:last-child {
  border-bottom: none;
}

.wire-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.wire-cat {
  color: var(--blue);
  font-weight: 700;
}

.wire-city {
  padding: 0 6px;
  background: var(--bg);
  border-radius: 3px;
}

.wire-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
  color: var(--ink);
}

/* AI-Era Data Pulse Strip */
.pulse-bar {
  background: linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 55%, #0d4b8c 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.pulse-intro {
  margin-bottom: 16px;
}

.pulse-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffb074;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.pulse-intro h2 {
  font-size: 20px;
  font-weight: 800;
}

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

.metric-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #ffb074;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.metric-val small {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.metric-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

/* Two-Column Main + Sidebar Layout */
.two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.channel-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.channel-lead-img {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

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

.channel-lead-text h3 {
  font-size: 15px;
  line-height: 1.42;
  font-weight: 700;
  margin-bottom: 6px;
}

.channel-lead-text p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 6px;
}

.lead-meta {
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 600;
}

.channel-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

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

.channel-list a {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
  min-width: 0;
}

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

/* Sidebar Cards */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.rank-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

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

.rank-num {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #e9eff7;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.rank-num.is-top {
  background: var(--orange);
  color: #fff;
}

.rank-body {
  min-width: 0;
}

.rank-body a {
  display: block;
  font-size: 13.8px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 3px;
}

.rank-meta {
  font-size: 11.5px;
  color: var(--muted);
}

.topic-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-mini-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.topic-mini-card:hover {
  border-color: var(--blue);
  background: #f0f6fd;
}

.topic-mini-card img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.topic-mini-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 3px;
}

.topic-mini-body h3 {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
}

/* Visual Showcase (粤睇越有味) */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.visual-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}

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

.visual-type {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(10, 46, 92, 0.85);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}

.visual-city {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(232, 97, 0, 0.92);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
}

.visual-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visual-body h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 8px;
}

.visual-body p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.visual-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* 21 Cities Homepage Matrix */
.city-chip-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.city-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.city-chip:hover {
  border-color: var(--blue);
  background: #f0f6fd;
  transform: translateY(-1px);
}

.city-chip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.city-chip-top strong {
  font-size: 15px;
  color: var(--navy);
}

.city-chip-top span {
  font-size: 10.5px;
  color: var(--blue);
  background: #eaf3fc;
  padding: 1px 5px;
  border-radius: 3px;
}

.city-chip p {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Page Banners & Breadcrumbs */
.page-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  border-top: 3px solid var(--banner-accent, var(--blue));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.breadcrumb-light, .breadcrumb-light a {
  color: rgba(255, 255, 255, 0.82);
}

.banner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.page-banner h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.page-banner p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 760px;
}

.banner-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  text-align: right;
}

.banner-stat span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.banner-stat strong {
  font-size: 18px;
  color: var(--blue);
}

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

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

.feed-thumb {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy);
}

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

.feed-body h2 {
  font-size: 18.5px;
  line-height: 1.42;
  font-weight: 700;
  margin: 7px 0 8px;
}

.feed-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 10px;
}

.feed-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.read-more {
  color: var(--blue);
  font-weight: 700;
  margin-left: auto;
  font-size: 13px;
}

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

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pagination a {
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
}

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

/* Article Detail View */
.article-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cat-badge {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.cat-badge:hover {
  color: #fff;
  opacity: 0.92;
}

.type-badge, .city-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--border);
}

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

.article-subtitle {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.article-meta-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.copy-link-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

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

/* AI-Era Key Takeaways Box */
.takeaways-box {
  background: linear-gradient(135deg, #f0f6fd 0%, #f8fbff 100%);
  border: 1px solid #cde0f5;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.takeaways-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--navy);
}

.takeaways-badge {
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.takeaways-box ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.takeaways-box li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.62;
}

.takeaways-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.article-cover {
  margin-bottom: 24px;
}

.article-cover img {
  width: 100%;
  border-radius: 8px;
  max-height: 460px;
  object-fit: cover;
}

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

/* Article Prose */
.article-prose {
  font-size: 16.5px;
  line-height: 1.88;
  color: #1f293b;
}

.article-prose p {
  margin-bottom: 18px;
}

.article-prose h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
}

.article-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--bg);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  color: var(--ink-2);
  font-size: 15px;
}

.article-prose ul {
  margin: 0 0 18px 20px;
  list-style: disc;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-notice {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.article-prevnext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.prevnext-item {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.prevnext-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.prevnext-item a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.prevnext-item em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}

.related-block {
  margin-top: 28px;
}

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

.related-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.related-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.related-info {
  padding: 12px;
}

.related-info h3 {
  font-size: 14.5px;
  line-height: 1.45;
  margin-top: 4px;
}

.side-cta-card {
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  border: none;
}

.side-cta-card .eyebrow {
  color: #ffb074;
}

.side-cta-card h3 {
  font-size: 18px;
  margin: 6px 0 8px;
}

.side-cta-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.btn-primary, .btn-outline {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #cf5500;
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
}

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

.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.topic-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.topic-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.topic-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.topic-card-body h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.topic-card-body p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 16px;
  flex: 1;
}

.topic-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.topic-hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 0;
}

.topic-hero-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.topic-hero h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.topic-hero p {
  font-size: 15px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
}

/* Cities Directory */
.region-block {
  margin-bottom: 30px;
}

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

.city-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.city-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-card-head h3 {
  font-size: 19px;
  color: var(--navy);
}

.city-code {
  font-size: 12px;
  color: var(--blue);
  background: #eaf3fc;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.city-pos {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.city-pillar {
  font-size: 13px;
  color: var(--ink-2);
}

.city-hi {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.city-dossier-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.dossier-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.dossier-item {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
}

.dossier-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.dossier-item strong {
  font-size: 15px;
  color: var(--navy);
}

.dossier-detail h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 12px 0 6px;
}

.dossier-detail p {
  font-size: 14.5px;
  color: var(--ink-2);
}

.peer-city-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.peer-city-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.peer-city-item span {
  font-size: 12px;
  color: var(--muted);
}

/* Search Page */
.search-hero-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 14px;
}

.search-hero-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.search-hero-form button {
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

.hot-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.hot-tag-row a {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12.5px;
}

.hot-tag-row a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.search-count {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink-2);
}

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

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

.about-card h2 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg);
}

.about-card p, .about-card li {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 10px;
  line-height: 1.75;
}

.about-card ul {
  list-style: disc;
  margin-left: 18px;
}

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

.empty-box p {
  margin-bottom: 16px;
}

.notfound-code {
  display: inline-block;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}

.notfound-box h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 34px;
}

.footer-logo-box {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-logo-box img {
  height: 44px;
  width: auto;
}

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

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

.footer-col h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-col li {
  margin-bottom: 8px;
}

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

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

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

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

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

.footer-beian a:hover {
  color: #ffb074;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* Back to Top */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10, 46, 92, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 90;
}

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

/* ==========================================================================
   Responsive Breakpoints (Verified down to 375px with ZERO horizontal scroll)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid, .two-col-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pulse-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-chip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .visual-grid, .city-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar-tagline {
    display: none;
  }
  .brand-meta {
    display: none;
  }
  .header-search {
    width: 220px;
  }
  .channel-grid, .topics-grid, .about-grid, .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-shell {
    padding: 20px 18px;
  }
  .article-title {
    font-size: 22px;
  }
  .article-prevnext, .related-grid, .dossier-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 14px;
  }
  .topbar-inner {
    font-size: 11.5px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand-logo {
    height: 44px;
  }
  .nav-toggle {
    display: flex;
  }
  .header-search {
    order: 3;
    width: 100%;
  }
  .primary-nav {
    display: none;
  }
  .primary-nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 10px;
  }
  .nav-list a {
    padding: 10px 14px;
    border-radius: 6px;
  }
  .nav-list a.is-active::after {
    display: none;
  }
  .announce-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .announce-text {
    font-size: 12.5px;
  }
  .headline-title {
    font-size: 19px;
  }
  .headline-body {
    padding: 15px;
  }
  .featured-subgrid, .pulse-metrics, .visual-grid, .city-card-grid, .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .channel-lead {
    grid-template-columns: minmax(0, 1fr);
  }
  .city-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pulse-bar {
    padding: 18px 16px;
  }
  .page-banner h1, .topic-hero h1 {
    font-size: 22px;
  }
  .search-hero-form {
    flex-direction: column;
  }
}
