:root {
  --primary: #1f5f99;
  --primary-dark: #123f6f;
  --primary-soft: #eef6ff;
  --accent: #c33a2c;
  --accent-soft: #fff1ef;
  --blue: #1f5f99;
  --blue-soft: #eef6ff;
  --gold: #a66a16;
  --gold-soft: #fff7e4;
  --ink: #1f2937;
  --text: #2f3742;
  --text-secondary: #586575;
  --text-muted: #7a8491;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --border: #dfe6ee;
  --border-strong: #c8d3df;
  --shadow: 0 10px 26px rgba(31, 95, 153, 0.08);
  --shadow-hover: 0 18px 42px rgba(31, 95, 153, 0.13);
  --radius: 8px;
  --radius-sm: 6px;
  --max-width: 1240px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
mark { background: transparent; color: var(--primary); font-weight: 700; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.top-bar {
  background: var(--ink);
  color: #d4d4d4;
  font-size: 13px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.logo-text {
  display: grid;
  gap: 2px;
}

.logo-text strong {
  font-size: 22px;
  line-height: 1.1;
  color: var(--primary-dark);
}

.logo-text small {
  color: var(--text-muted);
  font-size: 12px;
}

.search-box {
  width: min(460px, 46vw);
  display: flex;
  align-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.search-box:focus-within {
  border-color: rgba(185, 28, 28, .45);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, .1);
}

.search-box input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: none;
  outline: none;
  padding: 0 14px;
  background: transparent;
}

.search-box button {
  height: 42px;
  border: none;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.search-box button:hover { background: var(--primary-dark); }

.main-nav {
  background: var(--primary);
}

.nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.main-nav a {
  flex-shrink: 0;
  padding: 13px 20px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.hero-band {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.72) 100%),
    linear-gradient(135deg, #fff7ed 0%, #eff6ff 48%, #f0fdfa 100%);
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 12px;
  font-size: 48px;
  line-height: 1.08;
  color: var(--ink);
}

.hero-copy p {
  margin-top: 16px;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-primary,
.button-secondary,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(185, 28, 28, .22);
}

.button-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button-secondary,
.side-link {
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.side-link:hover {
  border-color: rgba(185, 28, 28, .36);
  color: var(--primary);
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  aspect-ratio: 1.36;
  box-shadow: var(--shadow-hover);
  background: #ddd;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-carousel {
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroCarousel 10s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }

.hero-carousel.js-enabled .hero-slide {
  animation: none;
  transition: opacity .55s ease;
}

.hero-carousel.js-enabled .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

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

.hero-slide-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}

@keyframes heroCarousel {
  0%, 45% {
    opacity: 1;
    transform: scale(1);
  }
  50%, 100% {
    opacity: 0;
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.54) 100%);
}

.hero-media figcaption:not(.visually-hidden) {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 46px 0;
  scroll-margin-top: 172px;
}

.section-muted {
  background: #fff;
  border-top: 1px solid var(--border);
}

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

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.section-heading h2 small {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.section-heading p {
  max-width: 420px;
  color: var(--text-muted);
  text-align: right;
}

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

.category-card {
  min-height: 118px;
  display: grid;
  justify-items: start;
  align-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 28, 28, .38);
  box-shadow: var(--shadow);
}

.category-card.active {
  background: var(--primary-soft);
  border-color: rgba(185, 28, 28, .45);
}

.cat-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.category-card.active .cat-icon {
  background: var(--primary);
}

.cat-name {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.cat-count {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.news-lead,
.news-list {
  min-width: 0;
}

.news-lead-link {
  min-height: 100%;
  display: grid;
  align-content: end;
  gap: 14px;
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 23, 23, .92) 0%, rgba(127, 29, 29, .88) 100%),
    url("../img/hero/bazhou-zhongyi-dental.jpg") center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-lead-link strong {
  max-width: 720px;
  font-size: 26px;
  line-height: 1.35;
}

.news-lead-link span {
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  line-height: 1.8;
}

.news-lead-link small {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.news-kicker {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
}

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

.news-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.news-item:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 28, 28, .32);
  box-shadow: var(--shadow);
}

.news-date {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.news-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.news-body strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.news-body small {
  color: var(--text-muted);
  font-size: 13px;
}

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

.region-card {
  min-height: 172px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}

.region-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .35);
  box-shadow: var(--shadow);
}

.region-card.active {
  border-color: rgba(15, 118, 110, .5);
  background: var(--accent-soft);
}

.region-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.region-card.active .region-icon {
  background: var(--accent);
}

.region-head strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.region-head small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.region-intro {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.region-count {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.source-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
}

.source-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.topic-section {
  background: var(--surface);
}

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

.topic-card {
  min-height: 178px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-strong);
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}

.topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 28, 28, .35);
  background: #fff;
  box-shadow: var(--shadow);
}

.topic-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.topic-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.topic-card small {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.topic-page {
  background: var(--bg);
}

.topic-hero {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.82)),
    linear-gradient(135deg, #fff7ed 0%, #eff6ff 56%, #ecfdf5 100%);
}

.topic-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .36fr);
  gap: 28px;
  align-items: center;
  padding: 42px 0;
}

.topic-hero h1 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
}

.topic-hero p {
  margin-top: 14px;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
}

.topic-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.topic-keywords span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.topic-content {
  display: grid;
  gap: 24px;
  padding: 30px 0 58px;
}

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

.topic-fact,
.topic-questions,
.topic-list-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.topic-fact {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.topic-fact span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.topic-fact strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  word-break: break-word;
}

.topic-questions,
.topic-list-section {
  padding: 22px;
}

.topic-questions h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
}

.topic-questions dl {
  display: grid;
  gap: 12px;
}

.topic-questions div {
  display: grid;
  gap: 4px;
}

.topic-questions dt {
  color: var(--primary-dark);
  font-weight: 900;
}

.topic-questions dd {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.topic-article-list {
  display: grid;
  gap: 10px;
}

.topic-article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface-strong);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}

.topic-article:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 28, 28, .28);
  border-left-color: var(--primary);
  background: #fff;
  box-shadow: var(--shadow);
}

.topic-article-date {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.topic-article strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.topic-article small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.topic-article p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 7px 14px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.filter-tag:hover {
  border-color: rgba(185, 28, 28, .38);
  color: var(--primary);
}

.filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.info-card:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 28, 28, .28);
  border-left-color: var(--primary);
  box-shadow: var(--shadow);
}

.info-card.featured {
  border-left-color: var(--gold);
}

.info-marker {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.info-content {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.card-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.info-card:hover .card-title { color: var(--primary); }

.card-summary {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-muted);
  font-size: 12px;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 160px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: var(--radius-sm);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge-category { background: var(--blue-soft); color: var(--blue); }
.badge-featured { background: var(--gold-soft); color: var(--gold); }
.badge-location { background: var(--accent-soft); color: var(--accent); }
.badge-pinned { background: var(--primary-soft); color: var(--primary); }

.sidebar {
  display: grid;
  gap: 16px;
}

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

.side-panel h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
}

.hot-list {
  display: grid;
  gap: 10px;
}

.hot-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.hot-rank {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--border-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.hot-rank.r1 { background: var(--primary); color: #fff; }
.hot-rank.r2 { background: var(--gold); color: #fff; }
.hot-rank.r3 { background: var(--accent); color: #fff; }

.hot-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.hot-item small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.hot-item:hover strong { color: var(--primary); }

.side-copy {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.side-link {
  width: 100%;
  margin-top: 14px;
}

.state-box,
.no-result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 20px;
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
}

.no-result {
  display: grid;
  gap: 6px;
}

.no-result strong {
  color: var(--ink);
  font-size: 16px;
}

.footer {
  background: var(--ink);
  color: #bdbdbd;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 0.8fr;
  gap: 28px;
}

.footer h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
}

.footer p,
.footer a {
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.9;
}

.footer a:hover { color: #fff; }
.footer .muted { color: #f5d0d0; }

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a {
  display: inline-flex;
  width: fit-content;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #404040;
  text-align: center;
}

.footer-bottom p + p {
  margin-top: 4px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .2s, transform .2s, background .2s;
  box-shadow: var(--shadow);
}

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

.back-top:hover { background: var(--primary-dark); }

/* Detail page */
.detail-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

.detail-article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 38px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-article h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.45;
}

.detail-article .meta-row,
.detail-article .meta-info,
.detail-article .tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-article .meta-info {
  margin: 16px 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.detail-article .body-text {
  margin-bottom: 26px;
  color: var(--text);
  font-size: 17px;
  line-height: 2;
  text-indent: 0;
  white-space: pre-wrap;
}

.detail-article .contact-card {
  margin-bottom: 22px;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 15px 18px;
  background: var(--gold-soft);
  color: #854d0e;
  font-size: 15px;
}

.detail-article .contact-card strong { font-size: 18px; }

.keyword-questions {
  margin: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-strong);
}

.keyword-questions h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.keyword-questions dl {
  display: grid;
  gap: 12px;
}

.keyword-questions div {
  display: grid;
  gap: 4px;
}

.keyword-questions dt {
  color: var(--primary-dark);
  font-weight: 900;
}

.keyword-questions dd {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.detail-article .back-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--primary);
  font-weight: 800;
}

.detail-article .back-link:hover { color: var(--primary-dark); }

.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

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

.related-section h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
}

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

.related-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
}

.related-card:hover {
  border-left-color: var(--primary);
  box-shadow: var(--shadow);
}

.related-card .r-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.related-card .r-meta {
  color: var(--text-muted);
  font-size: 12px;
}

.formal-page {
  padding: 42px 0 56px;
}

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

.formal-article,
.formal-side {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.05);
}

.formal-article {
  padding: 34px;
}

.formal-article h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.25;
}

.formal-lead {
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: 16px;
}

.formal-section {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.formal-section + .formal-section {
  margin-top: 24px;
}

.formal-section h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.formal-section p {
  margin: 10px 0;
  color: var(--text);
  line-height: 1.9;
}

.formal-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text);
}

.formal-list li {
  line-height: 1.8;
}

.formal-meta {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.formal-meta div {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface-strong);
}

.formal-meta dt {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.formal-meta dd {
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.formal-side {
  padding: 22px;
}

.formal-side h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
}

.formal-side nav {
  display: grid;
  gap: 8px;
}

.formal-side a {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}

.formal-side a:hover,
.formal-side a.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-methods a,
.contact-methods div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface-strong);
}

.contact-methods strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-methods span {
  color: var(--text-secondary);
  word-break: break-all;
}

@media (max-width: 1060px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 280px; }
  .news-layout { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topic-grid,
  .topic-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-hero-inner { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formal-shell { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container,
  .detail-page { width: min(100% - 28px, var(--max-width)); }
  .top-bar-inner { align-items: flex-start; flex-direction: column; padding: 8px 0; gap: 2px; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .search-box { width: 100%; }
  .main-nav a { padding: 12px 14px; font-size: 14px; }
  .hero-layout { min-height: auto; padding: 32px 0; gap: 24px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy p { font-size: 16px; }
  .section { padding: 34px 0; }
  .section-heading { display: grid; gap: 8px; }
  .section-heading p { text-align: left; }
  .news-lead-link { min-height: 260px; padding: 22px; }
  .news-lead-link strong { font-size: 22px; }
  .news-item { grid-template-columns: 52px minmax(0, 1fr); }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-hero-inner { padding: 32px 0; }
  .topic-hero h1 { font-size: 28px; }
  .topic-questions,
  .topic-list-section { padding: 18px; }
  .info-card { grid-template-columns: auto minmax(0, 1fr); }
  .card-badges { grid-column: 2; justify-content: flex-start; max-width: none; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid,
  .related-grid,
  .contact-methods { grid-template-columns: 1fr; }
  .detail-article { padding: 24px 20px; }
  .detail-article h1 { font-size: 22px; }
  .formal-page { padding: 28px 0 42px; }
  .formal-article { padding: 24px 20px; }
  .formal-article h1 { font-size: 24px; }
}

@media (max-width: 460px) {
  .logo-text strong { font-size: 19px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-actions a { width: 100%; }
  .region-grid,
  .categories-grid,
  .topic-grid,
  .topic-facts { grid-template-columns: 1fr; }
}

/* Homepage editorial refresh */
.home-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 13% 8%, rgba(49, 92, 155, .12), transparent 30vw),
    radial-gradient(circle at 82% 12%, rgba(31, 111, 91, .14), transparent 28vw),
    linear-gradient(180deg, #f7f8f3 0%, #eef2ea 48%, #f7f8f3 100%);
  font-family: "Geist", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-page main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.home-page .container {
  width: min(1280px, calc(100% - 48px));
}

.home-page .top-bar {
  background: #111417;
  color: rgba(255, 255, 255, .72);
}

.home-page .top-bar-inner {
  min-height: 38px;
}

.top-bar-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
}

.top-bar-links a {
  color: rgba(255, 255, 255, .76);
}

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

.home-page .header {
  background: rgba(247, 248, 243, .86);
  border-bottom: 1px solid rgba(23, 25, 28, .08);
  box-shadow: 0 14px 40px rgba(23, 25, 28, .06);
}

.home-page .header-inner {
  height: 82px;
}

.home-page .logo-icon {
  background: #17191c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.home-page .logo-text strong {
  color: var(--ink);
  letter-spacing: 0;
}

.home-page .search-box {
  width: min(520px, 46vw);
  background: rgba(255, 255, 251, .76);
  border-color: rgba(23, 25, 28, .13);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(23, 25, 28, .06);
}

.home-page .search-box input {
  height: 46px;
  padding-left: 18px;
}

.home-page .search-box button {
  height: 46px;
  margin-right: 3px;
  border-radius: 999px;
  background: #17191c;
  color: #fff;
}

.home-page .search-box button:hover {
  background: var(--primary-dark);
}

.home-page .main-nav {
  position: relative;
  z-index: 12;
  background: transparent;
  padding: 12px 0 0;
}

.home-page .nav-inner {
  width: min(980px, calc(100% - 48px));
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 6px;
  background: rgba(17, 20, 23, .92);
  box-shadow: 0 20px 50px rgba(23, 25, 28, .18);
  backdrop-filter: blur(18px);
}

.home-page .main-nav a {
  border-radius: 999px;
  padding: 9px 15px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 700;
}

.home-page .main-nav a:hover,
.home-page .main-nav a.active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.home-page .hero-band {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background:
    linear-gradient(115deg, rgba(247, 248, 243, .98) 0%, rgba(247, 248, 243, .9) 47%, rgba(238, 242, 234, .48) 100%),
    url("../img/langfang-city.jpg") center/cover;
}

.home-page .hero-band::before {
  content: "";
  position: absolute;
  inset: -18% -12% auto auto;
  width: 52vw;
  height: 52vw;
  min-width: 520px;
  min-height: 520px;
  background:
    radial-gradient(circle, rgba(201, 67, 43, .18), transparent 58%),
    radial-gradient(circle at 64% 42%, rgba(49, 92, 155, .16), transparent 46%);
  filter: blur(8px);
  pointer-events: none;
}

.home-page .hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 25, 28, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 28, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
}

.home-page .hero-layout {
  position: relative;
  z-index: 1;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(78px, 9vw, 126px) 0 clamp(92px, 10vw, 138px);
}

.home-page .hero-copy {
  max-width: 920px;
}

.home-page .hero-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .hero-copy h1 {
  max-width: min(920px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-page .hero-copy h1 > span:last-child {
  display: block;
  margin-top: .04em;
}

.hero-inline-image {
  display: inline-block;
  width: clamp(70px, 7.5vw, 126px);
  height: .42em;
  margin: 0 .08em;
  border-radius: 999px;
  vertical-align: .03em;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .08), transparent),
    url("../img/hero/contact-sheet.jpg") center/cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .48), 0 16px 34px rgba(23, 25, 28, .14);
}

.home-page .hero-copy p[data-site-description] {
  max-width: 700px;
  margin-top: 24px;
  color: #3d4146;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.92;
}

.home-page .hero-actions {
  margin-top: 34px;
  gap: 14px;
}

.home-page .button-primary,
.home-page .button-secondary,
.home-page .side-link {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
}

.home-page .button-primary {
  background: #17191c;
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 25, 28, .18);
}

.home-page .button-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.home-page .button-secondary {
  border-color: rgba(23, 25, 28, .18);
  background: rgba(255, 255, 251, .78);
  color: var(--ink);
}

.home-page .button-secondary:hover {
  border-color: rgba(201, 67, 43, .34);
  box-shadow: 0 14px 30px rgba(23, 25, 28, .1);
  transform: translateY(-2px);
}

.hero-crawl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-crawl-links a {
  border-bottom: 1px solid rgba(23, 25, 28, .18);
}

.hero-crawl-links a:hover {
  color: var(--primary-dark);
  border-bottom-color: currentColor;
}

.home-page .hero-media {
  min-height: 520px;
  aspect-ratio: .92;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: #202326;
  box-shadow: 0 36px 90px rgba(23, 25, 28, .24);
}

.home-page .hero-media::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .24);
  pointer-events: none;
}

.home-page .hero-media::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .68) 100%),
    linear-gradient(120deg, rgba(201, 67, 43, .16), transparent 44%);
}

.home-page .hero-slide-caption {
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 3;
  font-size: 15px;
  letter-spacing: 0;
}

.signal-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(23, 25, 28, .1);
  background: #17191c;
  color: rgba(255, 255, 255, .82);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: signalMarquee 26s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 900;
  white-space: nowrap;
}

@keyframes signalMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-page .section {
  padding: clamp(84px, 11vw, 150px) 0;
  scroll-margin-top: 164px;
}

.home-page .section-muted {
  border-top: 1px solid rgba(23, 25, 28, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 251, .84), rgba(238, 242, 234, .86)),
    radial-gradient(circle at 78% 24%, rgba(31, 111, 91, .1), transparent 30vw);
}

.home-page .section-heading {
  align-items: flex-start;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.home-page .section-heading h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-page .section-heading h2 small {
  display: inline-block;
  margin-left: 10px;
  color: var(--text-muted);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  vertical-align: middle;
}

.home-page .section-heading p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--text-secondary);
  text-align: left;
  font-size: 16px;
  line-height: 1.9;
}

.heading-link {
  flex: 0 0 auto;
  align-self: flex-end;
  border-bottom: 1px solid rgba(23, 25, 28, .24);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.heading-link:hover {
  color: var(--primary-dark);
  border-bottom-color: currentColor;
}

.home-page .topic-section {
  background: transparent;
}

.home-page .topic-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(226px, auto);
  grid-auto-flow: dense;
  gap: 14px;
}

.home-page .topic-card {
  position: relative;
  min-height: 226px;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 28, .1);
  border-radius: 8px;
  padding: 24px;
  background: #17191c;
  color: #fff;
  box-shadow: 0 18px 48px rgba(23, 25, 28, .1);
  isolation: isolate;
}

.home-page .topic-card:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.home-page .topic-card:nth-child(2) {
  grid-column: span 7;
}

.home-page .topic-card:nth-child(3) {
  grid-column: span 4;
}

.home-page .topic-card:nth-child(4) {
  grid-column: span 3;
}

.home-page .topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 20, 23, .12) 0%, rgba(17, 20, 23, .78) 58%, rgba(17, 20, 23, .94) 100%),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .18), transparent 28%);
}

.home-page .topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .34);
  background: #17191c;
  box-shadow: var(--shadow-hover);
}

.home-page .topic-card-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: auto;
  border-radius: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.08);
  transform: scale(1.01);
  transition: transform .75s ease, filter .75s ease;
}

.home-page .topic-card:hover .topic-card-visual {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.12);
}

.home-page .topic-card > span:not(.topic-card-visual) {
  position: relative;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
}

.home-page .topic-card strong {
  max-width: 680px;
  color: #fff;
  font-size: clamp(18px, 2.1vw, 30px);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-page .topic-card small {
  max-width: 620px;
  color: rgba(255, 255, 255, .72);
}

.home-page .filter-bar {
  gap: 9px;
  margin-bottom: 24px;
}

.home-page .filter-tag {
  border-color: rgba(23, 25, 28, .13);
  background: rgba(255, 255, 251, .74);
  color: #45494f;
  box-shadow: 0 8px 20px rgba(23, 25, 28, .04);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.home-page .filter-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 111, 91, .34);
  color: var(--accent);
}

.home-page .filter-tag.active {
  background: #17191c;
  border-color: #17191c;
  color: #fff;
}

.home-page .news-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 18px;
}

.home-page .news-lead-link {
  min-height: 530px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(14, 17, 20, .1) 0%, rgba(14, 17, 20, .82) 66%, rgba(14, 17, 20, .94) 100%),
    url("../img/hero/bazhou-zhongyi-dental.jpg") center/cover;
  box-shadow: var(--shadow-hover);
  transition: transform .35s ease, box-shadow .35s ease;
}

.home-page .news-lead-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 82px rgba(23, 25, 28, .18);
}

.home-page .news-lead-link strong {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-page .news-lead-link span {
  color: rgba(255, 255, 255, .82);
}

.home-page .news-kicker {
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.home-page .news-list {
  gap: 12px;
}

.home-page .news-item,
.home-page .info-card,
.home-page .category-card,
.home-page .side-panel {
  border-color: rgba(23, 25, 28, .1);
  border-radius: 8px;
  background: rgba(255, 255, 251, .78);
  box-shadow: 0 14px 34px rgba(23, 25, 28, .05);
}

.home-page .news-item {
  min-height: 96px;
}

.home-page .news-item:hover,
.home-page .info-card:hover,
.home-page .category-card:hover,
.home-page .side-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.home-page .news-date,
.home-page .info-marker,
.home-page .cat-icon,
.home-page .hot-rank {
  border-radius: 8px;
}

.home-page .region-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.home-page .region-card {
  flex: 1 0 118px;
  min-width: 118px;
  min-height: 284px;
  overflow: hidden;
  border-color: rgba(23, 25, 28, .11);
  border-radius: 8px;
  background: rgba(255, 255, 251, .82);
  scroll-snap-align: start;
  transition: flex-basis .45s ease, transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.home-page .region-card:hover,
.home-page .region-card.active {
  flex-basis: 286px;
  border-color: rgba(31, 111, 91, .34);
  background: #f7fff9;
}

.home-page .region-head {
  align-items: flex-start;
}

.home-page .region-head strong {
  font-size: 18px;
}

.home-page .region-intro {
  min-width: 230px;
  color: #444a4f;
}

.home-page .region-count {
  border-radius: 8px;
  background: rgba(31, 111, 91, .1);
}

.home-page .categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: 12px;
}

.home-page .category-card {
  min-height: 142px;
  padding: 20px;
}

.home-page .category-card.active {
  background: #17191c;
  color: #fff;
}

.home-page .category-card.active .cat-name,
.home-page .category-card.active .cat-count {
  color: #fff;
}

.home-page .cat-icon {
  background: var(--accent);
}

.home-page .category-card.active .cat-icon {
  background: var(--primary);
}

.home-page .content-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  gap: 24px;
}

.home-page .info-list {
  gap: 10px;
}

.home-page .info-card {
  border-left: 0;
  min-height: 98px;
  padding: 14px 16px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.home-page .info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.home-page .info-card:hover::before {
  background: var(--primary);
}

.home-page .info-card.featured::before {
  background: var(--gold);
}

.home-page .card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 17px;
  line-height: 1.45;
}

.home-page .card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .card-meta {
  gap: 4px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.home-page .card-meta span {
  max-width: 100%;
}

.home-page .card-badges {
  align-content: start;
  max-width: 108px;
}

.home-page .badge {
  min-height: 24px;
  border-radius: 6px;
  padding: 0 7px;
  font-size: 12px;
}

.home-page .info-marker {
  width: 38px;
  height: 38px;
}

.home-page .info-more-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed rgba(31, 95, 153, .32);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f8fbff;
  color: var(--text-muted);
  font-size: 13px;
}

.home-page .info-more-note strong {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 14px;
}

.home-page .info-more-note span {
  min-width: 0;
  flex: 1;
}

.home-page .info-more-note a {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 900;
}

.home-page .info-more-note a:hover {
  color: var(--accent);
}

.home-page .sidebar {
  position: sticky;
  top: 112px;
}

.home-page .side-panel {
  padding: 22px;
}

.home-page .side-panel h3 {
  font-size: 20px;
}

.home-page .footer {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 96px) 0 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 67, 43, .28), transparent 34vw),
    radial-gradient(circle at 82% 28%, rgba(31, 111, 91, .22), transparent 28vw),
    #111417;
}

.home-page .footer-grid {
  gap: 34px;
}

.home-page .footer h4 {
  font-size: 18px;
}

.home-page .footer-bottom {
  border-color: rgba(255, 255, 255, .12);
}

.motion-word {
  display: inline-block;
  opacity: .2;
  transform: translateY(.24em);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .signal-track {
    animation: none;
  }

  .motion-word {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .home-page .container {
    width: min(100% - 36px, 1280px);
  }

  .home-page .hero-layout,
  .home-page .news-layout,
  .home-page .content-layout {
    grid-template-columns: 1fr;
  }

  .home-page .hero-media {
    min-height: 420px;
    aspect-ratio: 1.6;
  }

  .home-page .topic-card:nth-child(1),
  .home-page .topic-card:nth-child(2),
  .home-page .topic-card:nth-child(3),
  .home-page .topic-card:nth-child(4) {
    grid-column: span 6;
    grid-row: span 1;
  }

  .home-page .sidebar {
    position: static;
  }
}

@media (min-width: 861px) and (max-width: 1060px) {
  .home-page .hero-layout {
    grid-template-columns: minmax(0, .96fr) minmax(300px, .72fr);
    min-height: 590px;
    gap: 28px;
    padding: 62px 0 78px;
  }

  .home-page .hero-copy h1 {
    max-width: 610px;
    font-size: clamp(3.05rem, 5.2vw, 3.75rem);
  }

  .home-page .hero-copy p[data-site-description] {
    max-width: 560px;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.82;
  }

  .home-page .hero-media {
    min-height: 390px;
    aspect-ratio: .94;
  }
}

@media (max-width: 760px) {
  .home-page .container,
  .home-page .detail-page {
    width: min(100% - 28px, 1280px);
  }

  .home-page .top-bar-inner {
    align-items: center;
    flex-direction: row;
    padding: 8px 0;
  }

  .top-bar-links {
    gap: 10px;
  }

  .home-page .header-inner {
    height: auto;
    padding: 14px 0;
  }

  .home-page .search-box {
    width: 100%;
  }

  .home-page .nav-inner {
    width: min(100% - 28px, 980px);
    justify-content: flex-start;
  }

  .home-page .main-nav a {
    padding: 9px 13px;
  }

  .home-page .hero-layout {
    min-height: auto;
    padding: 64px 0 78px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.35rem);
  }

  .home-page .hero-inline-image {
    width: clamp(56px, 17vw, 82px);
    height: .4em;
  }

  .home-page .hero-copy p[data-site-description] {
    font-size: 17px;
  }

  .home-page .hero-media {
    min-height: 340px;
    aspect-ratio: 1.08;
  }

  .home-page .section {
    padding: 72px 0;
  }

  .home-page .section-heading {
    display: grid;
    gap: 14px;
  }

  .home-page .section-heading h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .heading-link {
    align-self: start;
  }

  .home-page .topic-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .home-page .topic-card:nth-child(1),
  .home-page .topic-card:nth-child(2),
  .home-page .topic-card:nth-child(3),
  .home-page .topic-card:nth-child(4) {
    grid-column: auto;
    min-height: 300px;
  }

  .home-page .news-lead-link {
    min-height: 370px;
  }

  .home-page .region-grid {
    gap: 8px;
  }

  .home-page .region-card {
    flex-basis: 210px;
    min-width: 210px;
    min-height: 230px;
  }

  .home-page .region-card:hover,
  .home-page .region-card.active {
    flex-basis: 240px;
  }
}

@media (max-width: 460px) {
  .home-page .top-bar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page .hero-actions a {
    width: 100%;
  }

  .home-page .hero-crawl-links {
    gap: 10px;
  }

  .home-page .news-item {
    grid-template-columns: 1fr;
  }

  .home-page .info-card {
    grid-template-columns: 1fr;
  }

  .home-page .card-badges {
    grid-column: auto;
  }
}

/* Homepage portal tone refinement */
.home-page {
  background: var(--bg);
  color: var(--text);
}

.home-page .top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.home-page .top-bar-links a {
  color: var(--primary-dark);
}

.home-page .top-bar-links a:hover {
  color: var(--accent);
}

.home-page .header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(31, 41, 55, .05);
}

.home-page .logo-icon {
  background: var(--primary);
}

.home-page .logo-text strong {
  color: var(--primary-dark);
}

.home-page .search-box {
  background: #fff;
  border-color: var(--border-strong);
  border-radius: 8px;
  box-shadow: none;
}

.home-page .search-box:focus-within {
  border-color: rgba(31, 95, 153, .48);
  box-shadow: 0 0 0 4px rgba(31, 95, 153, .1);
}

.home-page .search-box button {
  border-radius: 6px;
  background: var(--primary);
}

.home-page .search-box button:hover {
  background: var(--primary-dark);
}

.home-page .main-nav {
  padding: 0;
  background: var(--primary);
}

.home-page .nav-inner {
  width: min(1280px, calc(100% - 48px));
  justify-content: flex-start;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .main-nav a {
  border-radius: 0;
  padding: 13px 20px;
  color: rgba(255, 255, 255, .88);
}

.home-page .main-nav a:hover,
.home-page .main-nav a.active {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.home-page .hero-band {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 52%, rgba(238,246,255,.86) 100%),
    url("../img/langfang-city.jpg") center/cover;
  border-bottom: 1px solid var(--border);
}

.home-page .hero-band::before {
  inset: auto -12% -34% auto;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle, rgba(31, 95, 153, .12), transparent 62%);
  filter: blur(4px);
}

.home-page .hero-band::after {
  opacity: .2;
  background-image:
    linear-gradient(rgba(31, 95, 153, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 95, 153, .03) 1px, transparent 1px);
}

.home-page .hero-layout {
  min-height: 460px;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr);
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(48px, 6vw, 72px) 0;
}

.home-page .hero-kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 15px;
}

.home-page .hero-copy h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.home-page .hero-copy h1 > span:last-child {
  display: inline;
  margin-top: 0;
}

.hero-inline-image {
  display: none;
}

.hero-subtitle {
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.35;
}

.home-page .hero-copy p[data-site-description] {
  max-width: 700px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
}

.home-page .hero-actions {
  margin-top: 24px;
}

.home-page .button-primary {
  background: var(--primary);
  box-shadow: 0 12px 22px rgba(31, 95, 153, .22);
}

.home-page .button-primary:hover {
  background: var(--primary-dark);
}

.home-page .button-secondary {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--primary-dark);
}

.home-page .button-secondary:hover {
  border-color: rgba(31, 95, 153, .36);
  color: var(--primary);
}

.hero-crawl-links {
  color: var(--text-muted);
}

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

.home-page .hero-media {
  min-height: 330px;
  aspect-ratio: 1.26;
  border: 1px solid var(--border);
  background: #e8eef6;
  box-shadow: 0 16px 34px rgba(31, 95, 153, .14);
}

.home-page .hero-media::before {
  inset: 10px;
  border-color: rgba(255, 255, 255, .52);
}

.home-page .hero-media::after {
  background: linear-gradient(180deg, rgba(12, 31, 52, 0) 42%, rgba(12, 31, 52, .62) 100%);
}

.home-page .hero-slide-caption {
  bottom: 22px;
}

.signal-marquee {
  border-block: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
}

.signal-track span {
  min-height: 46px;
  border-right: 1px solid var(--border);
  font-size: 15px;
}

.home-page .section {
  padding: clamp(58px, 7vw, 92px) 0;
}

.home-page .section-muted {
  background: #fff;
  border-top: 1px solid var(--border);
}

.home-page .section-heading {
  margin-bottom: 26px;
}

.home-page .section-heading h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.12;
}

.home-page .section-heading p {
  color: var(--text-secondary);
  font-size: 15px;
}

.heading-link {
  color: var(--primary);
}

.heading-link:hover {
  color: var(--accent);
}

.home-page .topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
}

.home-page .topic-card,
.home-page .topic-card:nth-child(1),
.home-page .topic-card:nth-child(2),
.home-page .topic-card:nth-child(3),
.home-page .topic-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  min-height: 238px;
}

.home-page .topic-card {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(31, 95, 153, .06);
}

.home-page .topic-card::after {
  display: none;
}

.home-page .topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 95, 153, .32);
  background: #fff;
  box-shadow: var(--shadow-hover);
}

.home-page .topic-card-visual {
  position: static;
  z-index: auto;
  width: calc(100% + 48px);
  height: 92px;
  margin: -24px -24px 2px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.02);
  transform: none;
}

.home-page .topic-card:hover .topic-card-visual {
  transform: none;
}

.home-page .topic-card > span:not(.topic-card-visual) {
  border: 1px solid rgba(31, 95, 153, .18);
  background: var(--primary-soft);
  color: var(--primary);
}

.home-page .topic-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.home-page .topic-card small {
  color: var(--text-muted);
}

.home-page .filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
}

.home-page .news-lead-link {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(14, 38, 65, .18) 0%, rgba(14, 38, 65, .86) 100%),
    url("../img/hero/bazhou-zhongyi-dental.jpg") center/cover;
  box-shadow: var(--shadow);
}

.home-page .news-lead-link strong {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
}

.home-page .news-kicker {
  background: rgba(255, 255, 255, .16);
}

.home-page .news-item,
.home-page .info-card,
.home-page .category-card,
.home-page .side-panel,
.home-page .region-card {
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 95, 153, .05);
}

.home-page .news-item:hover,
.home-page .info-card:hover,
.home-page .category-card:hover,
.home-page .side-panel:hover,
.home-page .region-card:hover {
  border-color: rgba(31, 95, 153, .3);
  box-shadow: var(--shadow);
}

.home-page .cat-icon,
.home-page .region-icon {
  background: var(--primary);
}

.home-page .category-card.active {
  background: var(--primary-soft);
  border-color: rgba(31, 95, 153, .36);
}

.home-page .category-card.active .cat-name {
  color: var(--primary-dark);
}

.home-page .category-card.active .cat-count {
  color: var(--primary);
}

.home-page .category-card.active .cat-icon {
  background: var(--accent);
}

.home-page .region-card:hover,
.home-page .region-card.active {
  border-color: rgba(31, 95, 153, .34);
  background: var(--primary-soft);
}

.home-page .region-count {
  background: rgba(31, 95, 153, .1);
  color: var(--primary);
}

.home-page .info-card::before,
.home-page .info-card:hover::before {
  background: var(--primary);
}

.home-page .info-card.featured::before {
  background: var(--accent);
}

.home-page .info-marker {
  background: var(--primary-soft);
  color: var(--primary);
}

.home-page .footer {
  background: #172335;
}

@media (min-width: 861px) and (max-width: 1060px) {
  .home-page .hero-layout {
    grid-template-columns: minmax(0, .92fr) minmax(310px, .72fr);
    min-height: 430px;
    padding: 44px 0;
  }

  .home-page .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(2.8rem, 4.4vw, 3.4rem);
  }

  .home-page .hero-media {
    min-height: 300px;
    aspect-ratio: 1.18;
  }
}

@media (max-width: 1060px) {
  .home-page .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page .nav-inner {
    width: min(100% - 28px, 1280px);
  }

  .home-page .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0 54px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.15rem);
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .home-page .hero-media {
    min-height: 260px;
    aspect-ratio: 1.18;
  }

  .home-page .section {
    padding: 52px 0;
  }

  .home-page .topic-grid {
    grid-template-columns: 1fr;
  }

  .home-page .info-more-note {
    display: grid;
    gap: 6px;
  }
}
