/* ============================================
   城市指南页 (Travel Guide) - V2 高端版
   ============================================ */

/* 城市页局部色彩 token（仅 navy / 文字 / 中性色，红色统一用全局 --brand-red） */
.page-city {
  --brand-navy: #103D4A;
  --text-dark: #17394A;
  --text-muted: #6F8493;
  --bg-soft: #F7FAFB;
  --bg-soft-card: #F8FBFC;
  --border-soft: #E5EDF2;
}

/* ---------- Hero ---------- */
.city-hero {
  position: relative;
  color: #fff;
  padding: 210px 0 100px;
  display: flex;
  align-items: flex-end;
  text-align: left;
  isolation: isolate;
  overflow: hidden;
  background: #103D4A;
}

.city-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

/* 左侧局部渐变蒙层 + 底部轻微压暗 */
.city-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(5, 35, 45, 0.94) 0%,
      rgba(5, 35, 45, 0.78) 30%,
      rgba(5, 35, 45, 0.28) 58%,
      rgba(5, 35, 45, 0.04) 100%
    ),
    linear-gradient(
      to top,
      rgba(5, 35, 45, 0.32) 0%,
      transparent 40%
    );
  z-index: 1;
}

.city-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 48px;
  max-width: 1280px;
}

.city-hero h1 {
  color: #fff;
  font-family: "Bodoni Moda", Didot, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 0 0 14px;
  max-width: 720px;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.city-hero-name {
  display: block;
}

.city-hero-name-zh {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.city-hero-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.city-hero-city-tag svg {
  stroke: var(--brand-red, #EF3B3A);
}

.city-hero-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.city-hero-lead {
  max-width: 720px;
  margin: 0 0 var(--space-lg);
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.90);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ---------- Hero CTA 按钮 ---------- */
.city-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 32px;
}

.city-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.city-hero-actions .btn svg {
  flex-shrink: 0;
}

/* 主按钮：红色实心 */
.city-hero-actions .btn-primary {
  background: var(--brand-red);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(239, 59, 58, 0.28);
}

.city-hero-actions .btn-primary:hover {
  background: var(--brand-red-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(239, 59, 58, 0.34);
}

/* 次按钮：玻璃质感 */
.city-hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.city-hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.46);
  transform: translateY(-1px);
}

/* ---------- Sticky Tab 导航 ---------- */
.city-toc {
  position: sticky;
  top: var(--header-height, 60px);
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e8eef3;
  box-shadow: 0 2px 6px rgba(15, 40, 60, 0.04);
}

.city-toc-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.city-toc-list::-webkit-scrollbar {
  display: none;
}

.city-toc-list li {
  flex-shrink: 0;
}

.city-toc-list a {
  position: relative;
  display: inline-block;
  padding: 22px 24px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.city-toc-list a:hover {
  color: var(--brand-navy);
}

.city-toc-list a.active {
  color: var(--brand-navy);
  font-weight: 700;
}

.city-toc-list a.active::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-red);
}

/* ---------- 主体内容 ---------- */
.city-body {
  background: #fff;
  padding: 56px 0 72px;
}

.city-body-inner {
  max-width: 1080px;
  font-family: Inter, Lato, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---------- 两栏布局：主内容 + 侧边栏 ---------- */
.city-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.city-main {
  min-width: 0;
}

.city-main .city-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.city-sidebar {
  position: relative;
}

.city-sidebar-sticky {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.city-sidebar-card {
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 20px;
}

/* ============== 侧边栏统一面板 ============== */
.city-sidebar-panel {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(16, 61, 74, 0.06);
  overflow: hidden;
}

.sidebar-section {
  padding: 20px;
}

.sidebar-section + .sidebar-section {
  border-top: 1px solid #eef2f5;
}

.sidebar-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-navy, #103D4A);
  margin: 0 0 14px;
}

/* --- Quick Facts --- */
.sidebar-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f4f6;
}

.sidebar-facts li:first-child {
  padding-top: 0;
}

.sidebar-facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-facts li div {
  flex: 1;
  min-width: 0;
}

.sidebar-facts li div strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted, #6F8493);
  font-weight: 600;
  margin-bottom: 2px;
}

.sidebar-facts li div span {
  display: block;
  color: var(--text-dark, #17394A);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.35;
}

.sidebar-fact-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-red-soft, rgba(239, 59, 58, 0.10));
  color: var(--brand-red, #EF3B3A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-fact-icon svg {
  width: 16px;
  height: 16px;
}

/* --- Top Attractions --- */
.sidebar-attractions {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: attraction-counter;
}

.sidebar-attractions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f2f4f6;
  counter-increment: attraction-counter;
}

.sidebar-attractions li:last-child {
  border-bottom: none;
}

.sidebar-attractions li::before {
  content: counter(attraction-counter);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-red-soft, rgba(239, 59, 58, 0.10));
  color: var(--brand-red, #EF3B3A);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-attractions li a {
  flex: 1;
  color: var(--text-dark, #17394A);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.15s;
}

.sidebar-attractions li a:hover {
  color: var(--brand-red, #EF3B3A);
}

.sidebar-price-pill {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a6c78;
  background: #f0f3f5;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* --- CTA --- */
.sidebar-cta-section {
  padding: 0 !important;
}

.sidebar-cta-inner {
  background: linear-gradient(135deg, #fef5f5 0%, #fff0f0 100%);
  padding: 22px 20px;
  text-align: center;
  border-radius: 0 0 12px 12px;
}

.sidebar-cta-icon {
  width: 28px;
  height: 28px;
  color: var(--brand-red, #EF3B3A);
  margin-bottom: 8px;
}

.sidebar-cta-inner p {
  font-size: 0.82rem;
  color: #444;
  margin: 0 0 12px;
  line-height: 1.45;
}

.sidebar-cta-btn {
  display: inline-block;
  padding: 9px 22px;
  background: var(--brand-red, #EF3B3A);
  color: #fff;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 59, 58, 0.2);
}

.sidebar-cta-btn:hover {
  background: var(--brand-red-hover, #DC2F2F);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 59, 58, 0.3);
}

/* 移动端：侧边栏隐藏 */
@media (max-width: 900px) {
  .city-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .city-sidebar {
    display: none;
  }
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 var(--space-2xl);
}

.quick-fact {
  background: var(--bg-soft-card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(18, 60, 74, 0.04);
  transition: all 0.2s ease;
}

.quick-fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(18, 60, 74, 0.08);
}

.quick-fact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.quick-fact-icon svg {
  width: 20px;
  height: 20px;
}

.quick-fact strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.quick-fact span {
  display: block;
  margin-top: 12px;
  font-size: 1.075rem;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 700;
}

/* ---------- 章节 ---------- */
.city-section {
  margin: var(--space-2xl) 0;
  scroll-margin-top: 130px;
}

.city-section:not(.city-section-first),
.city-faq,
.city-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}

.city-section-img {
  margin: 16px 0 20px;
  border-radius: 8px;
}

.city-section-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.city-section-img figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.city-image-title {
  color: #4e6470;
}

.city-image-credit {
  margin-left: auto;
  color: #8a9ca6;
}

.city-section-first {
  margin-top: 0;
}

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: var(--brand-navy);
  margin: 0 0 var(--space-md);
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  padding-bottom: 0;
  border-bottom: none;
  display: block;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--brand-red);
  margin-top: 14px;
  border-radius: 999px;
}

.city-section-body {
  color: var(--text-dark);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.city-section-body p {
  margin: 0 0 1.2em;
}

.city-section-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Planning CTA（Overview 后） ---------- */
.planning-cta {
  margin: var(--space-2xl) 0;
  padding: 32px 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-red);
  border-radius: 8px;
}

.planning-cta h2 {
  font-size: 1.3rem;
  color: var(--brand-navy);
  margin: 0 0 8px;
  font-weight: 700;
}

.planning-cta p {
  color: var(--text-dark);
  margin: 0 0 var(--space-md);
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.planning-cta .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.planning-cta .btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(239, 59, 58, 0.22);
}

.planning-cta .btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239, 59, 58, 0.3);
}

.planning-cta .btn-secondary {
  background: #fff;
  color: var(--brand-navy);
  border: 1px solid var(--border-soft);
}

.planning-cta .btn-secondary:hover {
  border-color: rgba(16, 61, 74, 0.28);
  transform: translateY(-1px);
}

/* ---------- 末尾 CTA ---------- */
.city-cta {
  margin: var(--space-2xl) 0 0;
  padding: var(--space-xl) var(--space-lg);
  background: #062A34;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* 装饰：微妙的光晕 */
.city-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(239, 59, 58, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.city-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.city-cta h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 var(--space-sm);
  border: none;
  padding: 0;
  position: relative;
}

.city-cta h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
  margin: 12px auto 0;
  opacity: 0.8;
}

.city-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
  line-height: 1.6;
}

.city-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.city-cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.city-cta-buttons .btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(239, 59, 58, 0.3);
}

.city-cta-buttons .btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(239, 59, 58, 0.38);
}

.city-cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.city-cta-buttons .btn-secondary:hover {
  background: #fff;
  color: var(--brand-navy);
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .desktop-br { display: none; }

  .city-hero {
    padding: 72px 20px 56px;
  }

  .city-hero h1 {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .city-hero-name-zh {
    font-size: 1.125rem;
    margin-bottom: 18px;
  }

  .city-hero-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .city-hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .city-hero-actions .btn {
    width: 100%;
  }

  .city-toc-list {
    justify-content: flex-start;
    gap: 0;
    padding: 0 var(--space-md);
  }

  .city-toc-list a {
    padding: 18px 16px 16px;
    font-size: 0.88rem;
  }

  .city-toc-list a.active::after {
    left: 16px;
    right: 16px;
  }

  .city-body {
    padding: 40px 0 56px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quick-fact {
    padding: 22px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .city-section-body {
    font-size: 1rem;
  }

  .planning-cta {
    padding: 24px 22px;
  }

  .planning-cta-actions {
    flex-direction: column;
  }

  .planning-cta .btn {
    width: 100%;
    text-align: center;
  }

  .city-section-img img {
    aspect-ratio: 16 / 8.5;
    max-height: none;
  }

  .city-section-img figcaption {
    display: block;
  }

  .city-image-credit {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }

  .city-cta {
    padding: var(--space-lg);
  }

  .city-cta-buttons {
    flex-direction: column;
  }

  .city-cta-buttons .btn {
    width: 100%;
  }
}


/* ============== 大屏适配（≥ 1600px）============== */
@media (min-width: 1600px) {
  /* Hero 区域更高 + 文字更大 */
  .city-hero {
    padding: 270px 0 120px;
  }

  .city-hero h1 {
    font-size: 4.75rem;
    line-height: 1.05;
  }

  .city-hero-name-zh {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
  }

  .city-hero-lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    max-width: 760px;
  }

  .city-hero-actions .btn {
    font-size: 1rem;
    padding: 17px 30px;
  }

  /* 主体内容区放宽 */
  .city-body {
    padding: 72px 0 96px;
  }

  .city-body-inner {
    max-width: 1240px;
  }

  /* Quick Facts 卡片更舒展 */
  .quick-facts {
    gap: 26px;
  }

  .quick-fact {
    padding: 32px 36px;
  }

  .quick-fact span {
    font-size: 1.25rem;
  }

  /* 章节正文宽度 */
  .city-section {
    max-width: none;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .city-section-body {
    font-size: 1.125rem;
  }

  /* Tab 字号和间距 */
  .city-toc-list a {
    font-size: 1rem;
    padding: 24px 32px 22px;
  }

  .city-toc-list a.active::after {
    left: 32px;
    right: 32px;
  }

  /* CTA 模块 */
  .planning-cta,
  .city-cta {
    max-width: none;
  }
}


/* ============================================
   城市 FAQ 区块（GEO 优化关键）
   ============================================ */
.city-faq {
  margin-top: var(--space-2xl, 48px);
  padding-top: var(--space-xl, 32px);
  border-top: 1px solid var(--color-border, #dee2e6);
}

.city-faq .section-title {
  margin-bottom: var(--space-sm, 8px);
}

.city-faq-lead {
  color: var(--text-muted, #6F8493);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg, 24px);
}

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

.city-faq-item {
  border: 1px solid var(--color-border, #dee2e6);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s;
}

.city-faq-item[open] {
  border-color: rgba(239, 59, 58, 0.3);
}

.city-faq-item summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark, #17394A);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.city-faq-item summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-red-soft, rgba(239, 59, 58, 0.10));
  color: var(--brand-red, #EF3B3A);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.city-faq-item[open] summary::before {
  content: "−";
  transform: rotate(0deg);
}

.city-faq-answer {
  padding: 0 18px 16px 50px;
  color: var(--color-text, #2c3e50);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================
   Last updated 标签
   ============================================ */
.city-last-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: var(--space-xl, 32px);
  padding: 12px 16px;
  background: var(--bg-soft, #F7FAFB);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted, #6F8493);
}

.city-last-updated svg {
  flex-shrink: 0;
  color: var(--brand-red, #EF3B3A);
}

.city-last-updated time {
  font-weight: 600;
  color: var(--text-dark, #17394A);
}

.city-last-source {
  color: var(--text-muted, #6F8493);
  font-size: 0.82rem;
}

/* ============== Attractions Grid（3 列纵向卡片） ============== */
.city-section#attractions {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

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

.attraction-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.attraction-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.attraction-card:hover .attraction-card-img img {
  transform: scale(1.06);
}

/* 没有图片时的占位 */
.attraction-card-no-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #cbd5e0;
}

.attraction-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.attraction-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark, #1a5276);
  margin: 0 0 8px;
  line-height: 1.3;
}

.attraction-card-tagline {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.attraction-card-tip {
  font-size: 0.78rem;
  color: #7a8d9a;
  line-height: 1.5;
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 2px solid rgba(239, 59, 58, 0.25);
  font-style: italic;
}

.attraction-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f2f4;
}

.attraction-meta-item {
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.attraction-meta-cat {
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.75rem;
}

/* 分类多色标签 */
.attraction-cat-history {
  background: rgba(180, 120, 40, 0.1);
  color: #8B5E1A;
}

.attraction-cat-culture {
  background: rgba(128, 70, 160, 0.1);
  color: #6B3FA0;
}

.attraction-cat-nature {
  background: rgba(34, 139, 34, 0.1);
  color: #1E7A1E;
}

.attraction-cat-park {
  background: rgba(0, 150, 136, 0.1);
  color: #00796B;
}

.attraction-cat-temple {
  background: rgba(192, 150, 40, 0.1);
  color: #8D6E0A;
}

.attraction-cat-food {
  background: rgba(230, 126, 34, 0.1);
  color: #C0601A;
}

.attraction-cat-family {
  background: rgba(41, 128, 185, 0.1);
  color: #1A6FA8;
}

.attraction-cat-museum {
  background: rgba(52, 73, 94, 0.1);
  color: #2C3E50;
}

/* UNESCO 世界遗产标签 */
.attraction-meta-unesco {
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  color: #f6e05e;
  box-shadow: 0 1px 3px rgba(26, 58, 92, 0.2);
}

/* 默认只显示 6 个，剩余隐藏 */
.attraction-card:nth-child(n+7) {
  display: none;
}

.attractions-grid.show-all .attraction-card:nth-child(n+7) {
  display: flex;
}

.attractions-show-more {
  text-align: center;
  margin-top: 28px;
}

.attractions-show-more button {
  background: none;
  border: 1px solid var(--brand-red, #EF3B3A);
  color: var(--brand-red, #EF3B3A);
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.attractions-show-more button:hover {
  background: var(--brand-red, #EF3B3A);
  color: #fff;
}

/* 平板：2 列 */
@media (max-width: 900px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* 手机：1 列 */
@media (max-width: 540px) {
  .attractions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 1600px) {
  .city-section#attractions {
    max-width: none;
  }

  .attractions-grid {
    gap: 28px;
  }

  .attraction-card-body h3 {
    font-size: 1.1rem;
  }
}

/* ============================================
   Quick Answer Block（GEO 优化）
   ============================================ */
.city-quick-answer {
  margin: 0;
  padding: 24px 0 16px;
}

.quick-answer-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #fafcfd 0%, #f4f8fb 100%);
  border-radius: 12px;
  border: 1px solid rgba(26, 82, 118, 0.08);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #3d5a6e;
}

.quick-answer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: rgba(239, 59, 58, 0.08);
  border-radius: 50%;
  color: var(--brand-red, #EF3B3A);
}

.quick-answer-box p {
  margin: 0;
}

.quick-answer-box p strong {
  color: var(--text-dark, #17394A);
}

@media (max-width: 640px) {
  .quick-answer-box {
    padding: 16px 18px;
    font-size: 0.84rem;
    gap: 12px;
  }

  .quick-answer-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
  }
}

/* ============================================
   Travel Essentials Table
   ============================================ */
.city-essentials {
  margin-top: 0;
  padding: 0 0 8px;
}

.essentials-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.essentials-table th,
.essentials-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border, #dee2e6);
}

.essentials-table th {
  font-weight: 600;
  color: var(--text-dark, #17394A);
  white-space: nowrap;
  width: 40%;
}

.essentials-table td {
  color: var(--color-text, #2c3e50);
}

.essentials-table tr:last-child th,
.essentials-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 540px) {
  .essentials-table th,
  .essentials-table td {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .essentials-table th {
    width: 45%;
  }
}

/* ============================================
   Related Train Routes
   ============================================ */
.city-routes {
  margin-top: var(--space-2xl, 48px);
  padding-top: var(--space-xl, 32px);
  border-top: 1px solid var(--color-border, #dee2e6);
}

.city-routes-lead {
  color: var(--text-muted, #6F8493);
  font-size: 0.92rem;
  margin-bottom: var(--space-md, 16px);
}

.city-routes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.city-routes-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border, #dee2e6);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-primary-dark, #1a5276);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.city-routes-list li a:hover {
  border-color: var(--brand-red, #EF3B3A);
  box-shadow: 0 4px 12px rgba(239, 59, 58, 0.1);
  transform: translateY(-2px);
}

.city-routes-list li a svg {
  flex-shrink: 0;
  color: var(--brand-red, #EF3B3A);
}

.city-routes-cta {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .city-routes-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Stations Gallery（横向滚动图集）
   ============================================ */
.stations-gallery {
  margin-top: 24px;
  position: relative;
}

/* 右侧渐隐提示还有更多 */
.stations-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: calc(100% - 12px);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.85));
  pointer-events: none;
  z-index: 1;
}

.stations-gallery-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.stations-gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.stations-gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.stations-gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.stations-gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.35);
}

.stations-gallery-item {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.stations-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.stations-gallery-item figcaption {
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-muted, #6F8493);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .stations-gallery-item {
    width: 240px;
  }

  .stations-gallery-item img {
    height: 150px;
  }
}
