/* 逛明白 static SEO pages — light, mobile-first. Do not put this under /assets/ (H5 already uses that path). */
:root {
  --green: #12806b;
  --green-dark: #0c5c4d;
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --line: #e6e2da;
  --bg: #f7f5f1;
  --card: #fff;
  --radius: 14px;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px 48px; }
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.02em;
  min-width: 0;
}
.brand img { width: 28px; height: 28px; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-cta {
  margin-left: auto;
  background: var(--green);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-dark); }
.hero {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  margin: 0 0 16px;
}
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
h1 { font-size: 1.55rem; line-height: 1.35; margin: 0 0 8px; }
.lede { color: var(--ink); font-size: 1.02rem; margin: 0 0 12px; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}
.pill {
  display: inline-block;
  background: #e8f4f1;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  text-decoration: none;
}
.pill.free { background: #eef6e8; color: #3a6b1e; }
.cta-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 20px;
}
.cta-bar p { margin: 0; font-size: 14px; color: var(--muted); }
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
}
.btn:hover { background: var(--green-dark); }
.practical {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px 8px;
  margin: 0 0 22px;
}
.practical h2 { font-size: 1.05rem; margin: 14px 0 8px; }
.practical dl { margin: 0; }
.practical div { padding: 10px 0; border-top: 1px solid var(--line); }
.practical div:first-of-type { border-top: 0; }
.practical dt { font-weight: 650; font-size: 13px; color: var(--green-dark); margin: 0 0 2px; }
.practical dd { margin: 0; }
.prose h2, .subspot h3, .section-block h2 {
  font-size: 1.15rem;
  margin: 1.4em 0 0.5em;
}
.prose p, .subspot p, .section-block p { margin: 0.7em 0; }
.prose ul, .section-block ul, .subspot ul { margin: 0.5em 0; padding-left: 1.2em; }
.figure { margin: 14px 0 18px; }
.figure img { width: 100%; border-radius: 12px; background: #eee; }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.subspot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  margin: 0 0 14px;
}
.subspot h3 { margin-top: 0; }
.tip {
  background: #f3f7f6;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  margin-top: 8px;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0 24px;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.8rem; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #eee; }
.card .body { padding: 10px 12px 14px; }
.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.index-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.group h2 { font-size: 1.2rem; margin: 1.6em 0 0.4em; }
.verified { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 40px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--muted); }
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 20; }

.pill.over { background: #f3ede4; color: #8a5a1e; display: inline-block; margin: 0 0 4px; }
.nearby { margin-top: 2em; }
.nearby h2 { font-size: 1.2rem; margin: 0 0 0.6em; }
.cta-bar p a { color: var(--brand, #12806b); font-weight: 600; }

/* 电脑 / 平板（≥768px）：内容变宽、卡片多列；≥1024px 景点页左图文右「出发前」。手机不受影响。 */
@media (min-width: 768px) {
  :root { --max: 48rem; }
}
@media (min-width: 1024px) {
  :root { --max: 72rem; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .wrap > h1, .wrap > .lede, .wrap > p { max-width: 48rem; }
  .wrap.spot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    column-gap: 32px;
    align-items: start;
  }
  .wrap.spot > .crumbs { grid-column: 1 / -1; }
  .wrap.spot > .hero { grid-column: 1; grid-row: 2; margin-bottom: 20px; }
  .wrap.spot > .spot-side { grid-column: 2; grid-row: 2 / span 2; position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; scrollbar-width: thin; }
  .wrap.spot > .spot-main { grid-column: 1; grid-row: 3; min-width: 0; }
  .wrap.spot.nohero > .spot-main { grid-row: 2; }
  .wrap.spot .spot-side h1 { font-size: 1.6rem; }
  .wrap.spot .spot-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
