/* ===== 宁城山水 · 道须沟 × 紫蒙湖 官方网站 ===== */
:root {
  --primary: #0e7c66;      /* 森林绿 */
  --primary-dark: #0a5a4a;
  --secondary: #1f6f9e;    /* 湖水蓝 */
  --accent: #e8a33d;       /* 暖金 (CTA) */
  --accent-dark: #cf8a25;
  --dark: #0c2b2b;
  --ink: #1f2d2b;
  --muted: #5d6f6b;
  --line: #e3ebe8;
  --bg: #f4f8f6;
  --bg-soft: #eef4f1;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(14, 60, 50, .10);
  --shadow-lg: 0 18px 50px rgba(14, 60, 50, .16);
  --radius: 16px;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.bg-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 14px; }
.section-title h2 { font-size: 32px; letter-spacing: 2px; color: var(--dark); position: relative; display: inline-block; }
.section-title h2::after { content: ""; display: block; width: 56px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 4px; margin: 14px auto 0; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 42px; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: .25s; border: none;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(232,163,61,.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== Top bar ===== */
.topbar { background: var(--dark); color: #cfe3dd; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; line-height: 1; }
.topbar .topbar-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar .sep { opacity: .35; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-h5 { color: var(--accent); font-weight: 600; }

/* ===== Header / Nav ===== */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand .logo { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; flex: 0 0 44px; }
.brand .name { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: 1px; line-height: 1.25; }
.brand .name small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 1.6px; line-height: 1.4; }

/* 主导航：等高对齐 + 二级下拉 */
.nav { display: flex; align-items: stretch; height: 74px; margin-left: auto; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 100%; padding: 0 17px; font-size: 15.5px; font-weight: 500;
  color: var(--ink); letter-spacing: .5px; white-space: nowrap;
  position: relative; transition: color .22s;
}
.nav-link::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 16px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0); transform-origin: center; transition: transform .28s ease;
}
.nav-item:hover > .nav-link,
.nav-item.active > .nav-link { color: var(--primary); font-weight: 600; }
.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after { transform: scaleX(1); }
.nav-link .caret {
  width: 0; height: 0; margin-top: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .55; transition: transform .25s;
}
.nav-item:hover .caret { transform: rotate(180deg); opacity: 1; }

.nav-drop {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  min-width: 156px; padding: 8px; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(10px); transition: .22s ease;
}
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-arrow { position: absolute; top: -6px; left: 50%; margin-left: -6px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); border-radius: 2px; }
.nav-drop a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; color: var(--ink); text-align: center; white-space: nowrap; transition: .18s; }
.nav-drop a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-drop a.on { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 3px; background: var(--dark); border-radius: 3px; transition: .25s; }
.hamburger.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.on span:nth-child(2) { opacity: 0; }
.hamburger.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero carousel ===== */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,28,.15) 0%, rgba(8,30,28,.55) 100%); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-content .tag { display: inline-block; width: fit-content; padding: 6px 16px; background: rgba(232,163,61,.92); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; }
.hero-content h1 { font-size: 50px; line-height: 1.2; text-shadow: 0 4px 18px rgba(0,0,0,.4); max-width: 760px; }
.hero-content p { font-size: 18px; margin: 18px 0 28px; max-width: 620px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: var(--accent); width: 28px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.25); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(255,255,255,.45); }
.hero-arrow.prev { left: 22px; } .hero-arrow.next { right: 22px; }

/* ===== Quick stats ===== */
.stats { background: linear-gradient(135deg, var(--primary-dark), var(--secondary)); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 20px; text-align: center; }
.stat .num { font-size: 38px; font-weight: 800; }
.stat .lab { font-size: 14px; opacity: .9; margin-top: 4px; }

/* ===== Cards grid ===== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .thumb { height: 220px; background-size: cover; background-position: center; position: relative; }
.card .thumb .badge { position: absolute; top: 14px; left: 14px; background: rgba(14,124,102,.92); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.card .body { padding: 22px; }
.card .body h3 { font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.card .body p { color: var(--muted); font-size: 14.5px; }
.card .body .more { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 14px; }
.card .body .more::after { content: " ›"; }

/* ===== Scenic split (home feature) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .pic { min-height: 380px; background-size: cover; background-position: center; }
.split .info { padding: 46px 44px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.split.rev .pic { order: 2; }
.split.rev .info { order: 1; }
.split .info .kicker { color: var(--primary); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.split .info h3 { font-size: 30px; color: var(--dark); margin: 8px 0 14px; }
.split .info p { color: var(--muted); margin-bottom: 20px; }
.split .info ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 24px; }
.split .info ul li { font-size: 14.5px; color: var(--ink); padding-left: 22px; position: relative; }
.split .info ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ===== News list ===== */
.news-list { display: grid; gap: 14px; }
.news-item { display: flex; gap: 18px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); transition: .25s; align-items: center; }
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.news-item .date { flex: 0 0 78px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.news-item .date b { display: block; font-size: 24px; color: var(--primary); }
.news-item .date span { font-size: 12px; color: var(--muted); }
.news-item .txt h4 { font-size: 16px; color: var(--dark); margin-bottom: 4px; }
.news-item .txt p { font-size: 13.5px; color: var(--muted); }

/* ===== Info table ===== */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-table th { background: var(--bg-soft); color: var(--dark); width: 200px; font-weight: 700; }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: none; }
.info-table td .price { color: var(--accent-dark); font-weight: 800; font-size: 17px; }

/* ===== Steps (guide) ===== */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: flex; gap: 18px; background: #fff; border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.step .n { flex: 0 0 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step h4 { color: var(--dark); font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== CTA banner ===== */
.cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; text-align: center; border-radius: var(--radius); padding: 54px 30px; }
.cta h2 { font-size: 30px; margin-bottom: 12px; }
.cta p { opacity: .92; margin-bottom: 26px; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: #b9d2cc; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding: 54px 20px 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; display: grid; gap: 9px; font-size: 14px; }
.footer .brand .name { color: #fff; font-size: 20px; }
.footer p { font-size: 14px; line-height: 1.9; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 13px; padding: 18px; color: #8fb0a8; }
.footer .contact li { display: flex; gap: 8px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1160px) {
  .nav-link { padding: 0 12px; font-size: 15px; }
  .nav-link::after { left: 12px; right: 12px; }
  .brand .name { font-size: 17px; }
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .topbar .container > span { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; height: auto;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px 10px 14px; box-shadow: var(--shadow-lg); display: none;
    max-height: calc(100vh - 112px); overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-link { height: 50px; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-item.active > .nav-link { color: var(--primary); background: var(--bg-soft); border-radius: 8px; }
  .nav-drop {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; box-shadow: none; border: none; padding: 0 0 6px 0;
    min-width: 0; display: none; background: var(--bg-soft); border-radius: 8px; margin: 6px 0;
  }
  .nav-item.expanded .nav-drop { display: block; }
  .nav-drop-arrow { display: none; }
  .nav-drop a { text-align: left; padding: 11px 26px; }
}
@media (max-width: 760px) {
  .hero { height: 460px; }
  .hero-content h1 { font-size: 34px; }
  .split, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split .pic { min-height: 240px; }
  .section { padding: 52px 0; }
  .section-title h2 { font-size: 26px; }
  .info-table th { width: 120px; }
}

/* ===== 微信扫码进入 H5 ===== */
.wx-section { background: linear-gradient(160deg, #0d3b34 0%, #124a56 100%); color: #eaf5f1; }
.wx-section .section-title h2 { color: #fff; }
.wx-section .section-sub { color: #b7d6ce; }
.wx-panel {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 38px 42px; backdrop-filter: blur(6px);
}
.wx-qr { text-align: center; }
.wx-qr-frame { position: relative; display: inline-block; background: #fff; padding: 14px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.wx-qr-frame img { width: 210px; height: 210px; display: block; }
.wx-qr-badge {
  position: absolute; right: -10px; bottom: -10px; width: 42px; height: 42px;
  background: #1aad19; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; box-shadow: 0 6px 16px rgba(26,173,25,.45);
}
.wx-qr-cap { margin: 18px 0 14px; font-size: 15px; color: #d6ece5; letter-spacing: 1px; }
.wx-qr .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.wx-qr .btn-outline:hover { background: #fff; color: var(--primary); }
.wx-qr-link { display: block; margin-top: 12px; font-size: 12px; color: #8fb9ae; word-break: break-all; }
.wx-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.wx-feature { display: flex; gap: 14px; align-items: flex-start; }
.wx-feature .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 21px;
}
.wx-feature h4 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.wx-feature p { font-size: 13.5px; color: #a9cbc3; line-height: 1.65; }
.wx-tip { margin-top: 26px; font-size: 13px; color: #8fb9ae; border-left: 3px solid var(--accent); padding-left: 12px; }

/* ===== 小程序购票入口 ===== */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini-card {
  display: flex; gap: 22px; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: .25s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mini-qr { flex: 0 0 132px; }
.mini-qr img { width: 132px; height: 132px; border-radius: 10px; border: 1px solid var(--line); }
.mini-qr-ph {
  width: 132px; height: 132px; border-radius: 10px; border: 1.5px dashed #c7d8d3;
  display: grid; place-content: center; text-align: center; gap: 4px; background: var(--bg-soft); color: var(--muted);
}
.mini-qr-ph span { font-size: 14px; font-weight: 600; }
.mini-qr-ph small { font-size: 11px; }
.mini-qr-ph.big { width: 200px; height: 200px; margin: 0 auto; }
.mini-info { flex: 1; min-width: 0; }
.mini-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(26,173,25,.12); color: #12930f; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mini-info h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.mini-info p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.mini-btn { background: #1aad19; box-shadow: 0 8px 20px rgba(26,173,25,.28); font-size: 14.5px; }
.mini-btn:hover { background: #159413; }
.mini-tip { font-size: 12.5px; color: #93a5a1; margin: 12px 0 0; }

.mini-modal { position: fixed; inset: 0; z-index: 9998; background: rgba(6,24,22,.62); display: grid; place-items: center; padding: 20px; }
.mini-modal-box { position: relative; background: #fff; border-radius: 20px; padding: 32px 34px; max-width: 380px; text-align: center; box-shadow: var(--shadow-lg); }
.mini-modal-box h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.mini-modal-box p { font-size: 14px; color: var(--muted); }
.mini-modal-qr { margin: 20px 0; }
.mini-modal-qr img { width: 200px; height: 200px; margin: 0 auto; border-radius: 10px; }
.mini-modal-close { position: absolute; top: 12px; right: 16px; border: none; background: none; font-size: 26px; color: #9bada9; cursor: pointer; line-height: 1; }
.mini-copy { display: flex; align-items: center; gap: 10px; justify-content: center; background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.mini-copy span { font-size: 14px; font-weight: 600; color: var(--dark); }
.mini-copy-btn { border: none; background: var(--primary); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }

@media (max-width: 900px) {
  .wx-panel { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .wx-features { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mini-card { flex-direction: column; text-align: center; }
  .mini-info p { text-align: left; }
}

/* ===== 导览图页面 ===== */
.map-figure { text-align: center; }
.map-figure img { max-width: 100%; }
.legend-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.legend-item .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.spots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spot-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 16px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.spot-num { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 700; }
.spot-row h4 { font-size: 16px; margin-bottom: 4px; color: var(--dark); }
.spot-row p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.map-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.map-tab { padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.map-tab.active, .map-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.map-panel { display: none; }
.map-panel.active { display: block; }
.area-icon { margin-right: 8px; font-size: 20px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row b { color: var(--primary); font-size: 18px; }
.notice-list { list-style: none; }
.notice-list li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid var(--line); color: var(--muted); }
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before { content: "•"; position: absolute; left: 8px; color: var(--primary); font-weight: 800; font-size: 18px; }

@media (max-width: 768px) {
  .spots-grid { grid-template-columns: 1fr; }
  .legend-bar { gap: 12px 18px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ============ 新闻列表缩略图（懒加载背景图） ============ */
.news-item.has-thumb { gap: 16px; }
.news-thumb {
  flex: 0 0 118px;
  height: 86px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  background-repeat: no-repeat;
}
.news-thumb.lazy-loaded { animation: thumbIn .4s ease; }
@keyframes thumbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  .news-item.has-thumb .news-thumb { display: none; }
}

/* ============ 站内搜索模态框 ============ */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 30, 26, .55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  z-index: 1000;
}
.search-box {
  width: min(640px, 92vw);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 18px 20px;
  font-size: 16px;
  color: var(--dark);
  font-family: inherit;
}
.search-bar button {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 18px;
}
.search-bar button:hover { color: var(--primary); }
.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-item {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-soft); }
.search-item h4 { color: var(--dark); font-size: 16px; margin-bottom: 4px; }
.search-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-empty { color: var(--muted); text-align: center; padding: 30px 16px; font-size: 14px; }

/* ============ 游客留言表单 ============ */
.msg-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.msg-row { display: flex; gap: 16px; margin-bottom: 16px; }
.msg-row input { flex: 1; }
.msg-form input, .msg-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  background: #fff;
  color: var(--dark);
  font-family: inherit;
  transition: .2s;
}
.msg-form input:focus, .msg-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 102, .12);
}
.msg-form textarea { min-height: 130px; resize: vertical; margin-bottom: 18px; }
.msg-foot { display: flex; align-items: center; gap: 16px; }
.msg-form button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.msg-form button:hover { opacity: .92; transform: translateY(-1px); }
.msg-form button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.msg-tip { font-size: 14px; font-weight: 600; }
.msg-tip.ok { color: var(--primary); }
.msg-tip.err { color: #d9534f; }
@media (max-width: 600px) {
  .msg-row { flex-direction: column; gap: 12px; }
}

/* ============ 实景短视频卡片 ============ */
.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card .vthumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  background-repeat: no-repeat;
  position: relative;
}
.video-card .vthumb .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 124, 102, .9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.video-card .body { padding: 18px 20px; }
.video-card .body h4 { color: var(--dark); font-size: 17px; margin-bottom: 6px; }
.video-card .body p { color: var(--muted); font-size: 14px; line-height: 1.6; }
