/* 健康旅游网 (www.zgjkly.org) - 自然康养与旅居指南设计系统 */
:root {
  --jade-900: #0f3d33;
  --jade-700: #165b4b;
  --jade-600: #1f7a65;
  --jade-100: #e7f3ef;
  --amber-600: #d97228;
  --amber-700: #b85a16;
  --amber-100: #fdf1e4;
  --ink-900: #1c2a26;
  --ink-700: #394b45;
  --ink-500: #5e726b;
  --line: #d9e5df;
  --line-soft: #eaf1ed;
  --canvas: #f6f8f5;
  --card: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 3px 12px rgba(15, 61, 51, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 61, 51, 0.08);
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: var(--canvas);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: var(--jade-700); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--amber-600); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 18px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand-box { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; object-fit: contain; }
.brand-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--jade-700);
  background: var(--jade-100);
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--jade-900);
  background: var(--jade-100);
}

.nav-search {
  display: flex;
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px 4px 3px 13px;
  max-width: 225px;
}
.nav-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--ink-900);
  width: 100%;
  min-width: 0;
}
.nav-search button {
  border: 0;
  background: var(--jade-700);
  color: #fff;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.nav-search button:hover { background: var(--jade-900); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Announcement Banner (Right below nav on homepage) */
.notice-strip {
  background: linear-gradient(90deg, #12483b 0%, #1a6352 60%, #247864 100%);
  color: #ffffff;
  border-bottom: 2px solid var(--amber-600);
}
.notice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
}
.notice-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.notice-tag {
  background: var(--amber-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 99px;
  flex-shrink: 0;
}
.notice-text { font-weight: 600; color: #f7faf8; }
.notice-sub { font-size: 12.5px; color: #c7e4dc; white-space: nowrap; flex-shrink: 0; }

/* Hero */
.hero-wellness {
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 114, 40, 0.10), transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(31, 122, 101, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #eef5f1 100%);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 42px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--jade-700);
  background: #ffffff;
  border: 1px solid #c7dfd5;
  padding: 4px 13px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.hero-wellness h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.26;
  color: var(--jade-900);
}
.hero-wellness h1 em {
  font-style: normal;
  color: var(--amber-600);
}
.hero-lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--ink-700);
  max-width: 610px;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-jade { background: var(--jade-700); color: #fff; }
.btn-jade:hover { background: var(--jade-900); color: #fff; }
.btn-amber { background: var(--amber-600); color: #fff; }
.btn-amber:hover { background: var(--amber-700); color: #fff; }
.btn-soft { background: #fff; color: var(--jade-700); border-color: #bfd7cd; }
.btn-soft:hover { background: var(--jade-100); border-color: var(--jade-700); color: var(--jade-900); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kpi-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.kpi-card strong { display: block; font-size: 17px; color: var(--jade-700); line-height: 1.25; }
.kpi-card span { font-size: 12px; color: var(--ink-500); }

.matcher-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.matcher-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.matcher-head h2 { margin: 0; font-size: 16.5px; color: var(--jade-900); }
.tag-fresh {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-700);
  background: var(--amber-100);
  padding: 3px 9px;
  border-radius: 99px;
}

/* Sections */
.sec { padding: 46px 0; }
.sec-white { background: #ffffff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sec-title { margin: 0 0 4px; font-size: 24px; color: var(--jade-900); line-height: 1.3; }
.sec-desc { margin: 0; font-size: 14.5px; color: var(--ink-500); }

/* Grids & Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #b4d1c5;
}
.card-img { background: #eef4f1; border-bottom: 1px solid var(--line-soft); }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.card-inner { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--jade-700);
  background: var(--jade-100);
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
  width: fit-content;
}
.chip-warm { color: var(--amber-700); background: var(--amber-100); }

.card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; color: var(--ink-900); }
.card p { margin: 0 0 12px; font-size: 14px; color: var(--ink-700); }

.meta-kv {
  list-style: none;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}
.meta-kv li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}
.meta-kv li span { color: var(--ink-500); flex-shrink: 0; }
.meta-kv li strong { color: var(--ink-900); text-align: right; font-weight: 600; }

/* Season Strip */
.season-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  border-top: 4px solid var(--jade-600);
}
.season-card.summer { border-top-color: #1f8a70; }
.season-card.autumn { border-top-color: #d97228; }
.season-card.winter { border-top-color: #2a7ca3; }
.season-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--jade-900); }
.season-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-700); }
.season-cities { font-size: 13px; font-weight: 700; color: var(--amber-700); }

/* Forms & Tools */
.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field select,
.field input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #c6d7cf;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-900);
  background: #fff;
}
.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--jade-700);
  box-shadow: 0 0 0 3px rgba(22, 91, 75, 0.12);
}

.result-box {
  margin-top: 16px;
  background: #eff7f4;
  border: 1px solid #c4dfd5;
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.m-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.m-tile span { display: block; font-size: 12px; color: var(--ink-500); }
.m-tile strong { display: block; font-size: 17px; color: var(--jade-700); margin-top: 2px; }
.m-tile.warm strong { color: var(--amber-700); }

/* Tables */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 580px; }
.data-table th, .data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table thead th { background: #edf5f1; color: var(--jade-900); font-weight: 700; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* Page Hero (Subpages) */
.sub-banner {
  background: linear-gradient(135deg, #12483b 0%, #1b6553 65%, #277c67 100%);
  color: #fff;
  padding: 36px 0;
}
.sub-banner h1 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); }
.sub-banner p { margin: 0; color: #d5ebe4; font-size: 15px; max-width: 740px; }

/* Category Pills */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-700);
}
.tab:hover, .tab.active { background: var(--jade-700); border-color: var(--jade-700); color: #fff; }

/* Article View */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-500); margin-bottom: 18px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 28px; align-items: start; }
.art-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.art-body h1 { margin: 0 0 12px; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.32; color: var(--jade-900); }
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-500);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.art-lead {
  background: var(--jade-100);
  border-left: 4px solid var(--jade-700);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.art-figure {
  margin: 20px 0;
  background: #f5f9f7;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}
.art-figure figcaption { font-size: 12.5px; color: var(--ink-500); margin-top: 8px; }

.prose h2 {
  font-size: 20px;
  color: var(--jade-900);
  margin: 26px 0 12px;
  padding-left: 11px;
  border-left: 4px solid var(--amber-600);
  line-height: 1.35;
}
.prose h3 { font-size: 16.5px; color: var(--jade-700); margin: 18px 0 8px; }
.prose p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-700); }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--ink-700); font-size: 15px; }
.prose li { margin-bottom: 7px; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; white-space: nowrap; }
.prose th { background: #edf5f1; color: var(--jade-900); font-weight: 700; }

.side-col { display: flex; flex-direction: column; gap: 18px; }
.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.side-box h3 {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: var(--jade-900);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.side-ul { list-style: none; }
.side-ul li { padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14px; line-height: 1.45; }
.side-ul li:last-child { border-bottom: 0; padding-bottom: 0; }

/* FAQ */
.faq-stack { display: flex; flex-direction: column; gap: 12px; }
.faq-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-btn {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 15px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--jade-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-ans { padding: 0 18px 16px; font-size: 14.5px; color: var(--ink-700); border-top: 1px solid var(--line-soft); }
.faq-card.collapsed .faq-ans { display: none; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pager a, .pager span {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--ink-700);
}
.pager .curr { background: var(--jade-700); color: #fff; border-color: var(--jade-700); font-weight: 700; }

/* Footer */
.site-footer { background: #102a24; color: #c4d6cf; padding: 42px 0 24px; margin-top: 40px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 38px; background: #fff; padding: 4px 10px; border-radius: 8px; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: #9db5ac; margin: 0; }
.f-col h4 { margin: 0 0 12px; font-size: 15px; color: #fff; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 7px; font-size: 13.5px; }
.f-col a { color: #c4d6cf; }
.f-col a:hover { color: #f6ad6d; }
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  font-size: 13px;
  color: #9db5ac;
}
.footer-bar a { color: #e2f0eb; }
.footer-bar a:hover { color: #f6ad6d; }

/* Mobile Responsive (375px safe, zero horizontal scroll) */
@media (max-width: 992px) {
  .hero-split, .art-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-search { display: none; }
}

@media (max-width: 768px) {
  .header-row { flex-wrap: wrap; min-height: 62px; padding: 8px 0; }
  .brand-logo { height: 36px; }
  .brand-pill { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 6px;
    border-top: 1px solid var(--line-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 10px; }
  .notice-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .notice-sub { display: none; }
  .hero-wellness { padding: 28px 0; }
  .kpi-row, .grid-4, .grid-3, .grid-2, .form-2, .metric-grid, .footer-cols { grid-template-columns: 1fr; }
  .art-body { padding: 20px 16px; }
  .panel { padding: 18px 14px; }
  .sec { padding: 32px 0; }
}
