/* ============================================================
   砀山梨 · 「梨金翠」主题（唯一主题 · 靓丽环保版 v33）
   ------------------------------------------------------------
   设计意象：秋日砀山梨园
     · 鲜梨绿   → 主色，明亮有生机（环保·生态）
     · 嫩芽亮绿 → 点缀，清爽提亮
     · 酥梨金   → 砀山梨的果实色，导航顶边/序号/重点条
     · 梨花纸白 → 背景，温润不刺眼
   本文件覆盖 base.css 的全部配色变量，并补齐组件级细节。
   ============================================================ */

/* ---------- 1. 配色变量 ---------- */
:root {
  /* 主色阶：鲜梨绿 */
  --primary: #35a046;
  --primary-dark: #1d7a33;
  --primary-light: #e6f8e3;

  /* 点缀色阶：嫩芽亮绿 */
  --accent: #8fce3c;
  --accent-soft: #f0fadf;

  /* 辅助绿 */
  --green: #47a84f;
  --green-dark: #1d7a33;

  /* 酥梨金（砀山梨果实色：顶边、序号、重点标记） */
  --pear-gold: #ffb300;
  --pear-gold-soft: #fff5d9;

  /* 底色 */
  --bg: #f9fcf3;
  --card-bg: #ffffff;
  --text: #24331d;
  --text-light: #6e7f63;
  --border: #dcebcf;

  /* 状态色 */
  --danger: #b0392e;
  --warn: #f59e0b;

  /* 圆角与阴影 */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(29, 122, 51, .07);
  --shadow-lg: 0 16px 40px rgba(29, 122, 51, .15);
  --paper-line: #cfe5bc;

  /* 主题渐变 */
  --grad-primary: linear-gradient(135deg, #54c35b 0%, #21943a 100%);
  --grad-topbar: linear-gradient(90deg, #1d7a33 0%, #35a046 55%, #5cbf4e 100%);
  --grad-mainnav: linear-gradient(90deg, #21943a 0%, #3aa648 100%);
  --grad-band: linear-gradient(120deg, #164a2c 0%, #1d7a33 58%, #2e8c41 100%);
  --grad-gold: linear-gradient(90deg, #ffc93d 0%, #ff9800 100%);
}

/* ---------- 1.1 配色切换（梨园翠 / 梨膏琥珀 / 青瓷蓝） ---------- */
html[data-theme="amber"] {
  --primary: #d9862a;
  --primary-dark: #a35f10;
  --primary-light: #fdf0dd;
  --accent: #f0b13e;
  --accent-soft: #fdf4e0;
  --green: #cf8428;
  --green-dark: #a35f10;
  --bg: #fdf9f2;
  --card-bg: #ffffff;
  --text: #33281a;
  --text-light: #8a7a5f;
  --border: #f0e2cc;
  --paper-line: #eeddbe;
  --shadow: 0 2px 8px rgba(163, 95, 16, .07);
  --shadow-lg: 0 16px 40px rgba(163, 95, 16, .15);
  --grad-primary: linear-gradient(135deg, #eeb45c 0%, #c07315 100%);
  --grad-topbar: linear-gradient(90deg, #a35f10 0%, #d9862a 55%, #eeb45c 100%);
  --grad-mainnav: linear-gradient(90deg, #c07315 0%, #dd9a3a 100%);
  --grad-band: linear-gradient(120deg, #6e3d07 0%, #a35f10 58%, #c07d1e 100%);
}
html[data-theme="blue"] {
  --primary: #2f8ca0;
  --primary-dark: #1b6478;
  --primary-light: #e2f4f7;
  --accent: #5bc0d4;
  --accent-soft: #e9f7fa;
  --green: #3593a6;
  --green-dark: #1b6478;
  --bg: #f4fafb;
  --card-bg: #ffffff;
  --text: #1a2f36;
  --text-light: #63808a;
  --border: #cfe7ec;
  --paper-line: #bcdde4;
  --shadow: 0 2px 8px rgba(27, 100, 120, .07);
  --shadow-lg: 0 16px 40px rgba(27, 100, 120, .15);
  --grad-primary: linear-gradient(135deg, #57b7c8 0%, #227f96 100%);
  --grad-topbar: linear-gradient(90deg, #1b6478 0%, #2f8ca0 55%, #5bb7c9 100%);
  --grad-mainnav: linear-gradient(90deg, #227f96 0%, #3fa9bd 100%);
  --grad-band: linear-gradient(120deg, #123c4a 0%, #1b6478 58%, #2a8098 100%);
}

/* 配色切换器（左下角悬浮） */
.ds-themes { position: fixed; left: 14px; bottom: 14px; z-index: 9990; display: flex; align-items: center; gap: 6px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px 5px 12px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; color: var(--text-light); }
.ds-themes .dst-label { margin-right: 2px; cursor: default; }
.ds-themes button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer;
  padding: 0; font-size: 0; line-height: 0; transition: .15s; }
.ds-themes button:hover { transform: scale(1.15); }
.ds-themes button.on { border-color: var(--text); box-shadow: 0 0 0 2px #fff inset; }
.ds-themes button[data-t="green"] { background: #35a046; }
.ds-themes button[data-t="amber"] { background: #d9862a; }
.ds-themes button[data-t="blue"]  { background: #2f8ca0; }
@media (max-width: 640px) { .ds-themes { left: 10px; bottom: 10px; padding: 4px 8px 4px 10px; }
  .ds-themes button { width: 20px; height: 20px; } }

/* ---------- 2. 全局细节 ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: #d4f0ae; color: #175c26; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eff7e4; }
::-webkit-scrollbar-thumb {
  background: #a4d67e;
  border-radius: 6px;
  border: 2px solid #eff7e4;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* 链接与焦点 */
a { transition: color .18s; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 3. 顶栏 ---------- */
.topbar {
  background: var(--grad-topbar);
  color: rgba(255, 255, 255, .88);
  letter-spacing: .5px;
}
.topbar a { color: rgba(255, 255, 255, .9); }
.topbar a:hover { color: #fff8e1; }
.topbar .tb-motto { color: rgba(255, 255, 255, .78); }

/* ---------- 4. 头部 / Logo / 搜索 ---------- */
.header { background: #ffffff; }
.logo-icon {
  background: var(--grad-primary) !important;
  color: #fbfff7 !important;
  box-shadow:
    inset 0 0 0 2px rgba(251, 255, 247, .45),
    0 4px 12px rgba(29, 122, 51, .32) !important;
  border-radius: 9px !important;
}
.logo-text { color: var(--primary-dark); }
.logo-text small { color: var(--text-light); letter-spacing: .5px; }

.header-search input,
.search-bar input {
  border-color: var(--border);
  background: #fbfdf7;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.header-search input:focus,
.search-bar input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(143, 206, 60, .22);
}
.header-search button,
.search-bar button { background: var(--grad-primary); color: #fff; }
.header-search button:hover,
.search-bar button:hover { background: var(--primary-dark); }

.head-tel {
  color: var(--primary-dark);
  font-weight: 700;
  transition: color .18s;
}
.head-tel:hover { color: var(--pear-gold); }

/* ---------- 5. 主导航（亮绿 + 酥梨金顶边） ---------- */
.mainnav {
  background: var(--grad-mainnav, linear-gradient(90deg, #21943a 0%, #3aa648 100%));
  border-top: 3px solid var(--pear-gold);
  box-shadow: 0 2px 12px rgba(29, 122, 51, .22);
}
.mainnav a { color: rgba(255, 255, 255, .94); }
.mainnav .nav-item > a:hover,
.mainnav a.active {
  color: #fff8e1;
  border-bottom-color: var(--pear-gold);
}
.mainnav a.active { font-weight: 700; }

/* 下拉菜单 */
.dropdown {
  border-top: 3px solid var(--pear-gold);
  box-shadow: 0 12px 32px rgba(29, 122, 51, .18);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.dropdown a { color: var(--text); }
.dropdown a:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
}
.dd-label { color: var(--primary); }
.dd-tag {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 1px 8px;
}

/* 导航右侧 CTA 按钮：酥梨金 */
.nav-cta {
  background: var(--grad-gold) !important;
  color: #5a3a00 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(255, 179, 0, .4);
}
.nav-cta:hover { filter: brightness(1.06) !important; }

/* ---------- 6. 按钮 ---------- */
.btn {
  background: var(--grad-primary);
  color: #fbfff7;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 3px 10px rgba(29, 122, 51, .25);
  transition: transform .18s, box-shadow .2s, filter .2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 122, 51, .3);
  filter: brightness(1.06);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary-dark);
  color: #fbfff7;
  border-color: var(--primary-dark);
}
.btn-primary:hover { background: #17652a; }

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}
.btn-ghost:hover,
.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* 幻灯片内按钮：酥梨金底 + 深棕字，最醒目 */
.front-hero .slide-inner .btn,
.hero .slide-inner .btn {
  background: var(--grad-gold);
  color: #4a3000;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.front-hero .slide-inner .btn:hover,
.hero .slide-inner .btn:hover { filter: brightness(1.07); }

/* ---------- 7. 卡片 ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #c4e69a;
  box-shadow: 0 14px 34px rgba(29, 122, 51, .15);
}
.card h3,
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }

/* 通用列表项 hover */
.list-item {
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.list-item:hover {
  border-color: #c4e69a;
  box-shadow: 0 6px 18px rgba(29, 122, 51, .1);
}

/* ---------- 8. 英雄区 / 页头横幅 ---------- */
.page-banner,
.page-hero {
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg,
    rgba(23, 101, 42, .9) 0%,
    rgba(53, 160, 70, .68) 100%);
  color: #fbfff7;
}
.page-banner h1,
.page-hero h1 { color: #fbfff7; letter-spacing: 2px; }

/* 轮播指示条 */
.dots span { background: rgba(255, 255, 255, .45); }
.dots span.active { background: var(--pear-gold); }

/* ---------- 9. 侧栏 / 列表序号（酥梨金序号） ---------- */
.fs-head h2 { color: var(--primary-dark); }
.fs-head a { color: var(--primary); }
.fs-head a:hover { color: var(--pear-gold); }
.fs-item { border-bottom-color: var(--border); }
.fs-item .no {
  color: var(--pear-gold);
  font-weight: 800;
}
.fs-item a { color: var(--text); }
.fs-item a:hover { color: var(--primary); }
.fs-date { color: var(--text-light); }

/* ---------- 10. 标签 / 提示 ---------- */
.tag,
.label,
.badge {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 600;
}
.tag-done,
.tag-pass,
.alert-success,
.alert-ok,
.alert-info {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-color: #bfe39a;
}
.tag-hot,
.tag-warn {
  background: var(--pear-gold-soft);
  color: #9a6a00;
  border-radius: 20px;
}

/* ---------- 11. 表单 ---------- */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea,
select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdf7;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(143, 206, 60, .22);
  outline: none;
}
.query-form input:focus,
.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 206, 60, .25);
}

/* ---------- 12. 区块标题金条 / 页脚 ---------- */
.section-title .bar {
  background: var(--grad-gold) !important;
}

/* 页脚：主题原用 .footer 类，但模板输出的是 <footer> 元素（类名不存在，规则一直未生效），
   这里改为元素选择器；深绿底色沿用站点既有基色，只统一链接与标题的强调色。 */
footer { color: rgba(255, 255, 255, .82); }
footer a { color: rgba(255, 255, 255, .8); }
footer a:hover { color: #ffe08a; }
footer h4,
footer strong { color: #ffffff; }

/* 联系横幅：亮绿渐变 */
.contact-banner {
  background: var(--grad-primary) !important;
  color: #fbfff7;
}

/* ---------- 13. 清除 base.css 里硬编码的旧色 ---------- */
.intro-block p,
.ds-lead p,
.cele-card p,
.heri-card p {
  color: #3c4a34;
}

/* 页头/幻灯片暖白文字（与深色遮罩对比良好） */
.front-hero .slide-inner,
.hero .slide-inner { color: #fbfff7; }

/* ---------- 14. 梨园四时图卡 ---------- */
.season-card { overflow: hidden; }
.season-card .thumb img {
  transition: transform .5s ease;
}
.season-card:hover .thumb img { transform: scale(1.05); }
.season-card .season-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.season-card .thumb { position: relative; }

/* ---------- 16. 电话优先下单表单 ---------- */
.field label em { color: #e53935; font-style: normal; }
.wx-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #5a7a5a;
  background: rgba(124, 179, 66, .1);
  border-radius: 8px;
  padding: 8px 12px;
}
.wx-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  background: rgba(124, 179, 66, .08);
  border: 1px dashed rgba(47, 107, 58, .3);
  border-radius: var(--radius);
}
.wx-row div { font-size: 13.5px; line-height: 1.7; color: #4a5a4a; }
.wx-row div strong { color: var(--primary-dark); font-size: 14.5px; }

/* 手机底部条加微信按钮 */
.mobar .mb-wx { position: relative; }

/* ============================================================
   17. 界面优化层（v35）
   ------------------------------------------------------------
   目标：不改动站点栏目、文案与事实，只解决窄屏可读性、
   配色一致性与触控/无障碍三类问题。
     17.1 顶栏窄屏单行化        17.2 首屏轮播窄屏字号
     17.3 底部操作条配色与触控   17.4 浮动入口间距
     17.5 侧栏要闻列表窄屏      17.6 移动端抽屉搜索入口
     17.7 旧橙残留收口          17.8 动效与无障碍
   ============================================================ */

/* ---------- 17.1 顶栏：窄屏单行显示，杜绝中文断裂 ---------- */
@media (max-width: 768px) {
  .topbar { letter-spacing: 0; }
  .topbar .container { flex-wrap: nowrap; gap: 10px; min-height: 32px; }
  .topbar .tb-motto {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11.5px;
    letter-spacing: .5px;
  }
  .topbar .container > div { display: flex; flex: none; align-items: center; }
  .topbar a {
    flex: none;
    white-space: nowrap;
    margin-left: 0;
    margin-right: 12px;
    font-size: 12px;
  }
  .topbar a:last-child { margin-right: 0; }
}
@media (max-width: 430px) {
  .topbar .container { justify-content: center; }
  .topbar .tb-motto { display: none; }
  .topbar .container > div { width: 100%; justify-content: center; }
  .topbar a { margin: 0 6px; font-size: 11.5px; }
}

/* ---------- 17.2 首屏轮播：窄屏收敛字号，标题不再孤字折行 ---------- */
@media (max-width: 768px) {
  .front-hero { min-height: 300px; }
  .front-hero .slide-inner { padding: 22px 20px; }
  .front-hero .slide-inner h1,
  .front-hero .slide-inner h2,
  .hero .slide-inner h1,
  .hero .slide-inner h2 {
    font-size: 23px;
    letter-spacing: 1.2px;
    line-height: 1.34;
    text-wrap: balance;
  }
  .front-hero .slide-inner p,
  .hero .slide-inner p {
    font-size: 13.5px;
    line-height: 1.7;
    margin: 8px 0 14px;
    max-width: none;
  }
  .front-hero .slide-inner .btn,
  .hero .slide-inner .btn { padding: 8px 18px; font-size: 13.5px; }
  .front-hero .dots { bottom: 12px; right: 14px; }
  .front-hero .dots span { width: 18px; height: 4px; }
  .front-hero .dots span.active { width: 28px; }
}
@media (max-width: 480px) {
  .front-hero { min-height: 252px; }
  .front-hero .slide-inner h1,
  .front-hero .slide-inner h2,
  .hero .slide-inner h1,
  .hero .slide-inner h2 { font-size: 20px; letter-spacing: .6px; }
  .front-hero .slide-inner p,
  .hero .slide-inner p { font-size: 12.5px; }
}

/* ---------- 17.3 移动端底部操作条：统一强调色、触控区 ≥56px ---------- */
.mobar a.mb-tel { background: var(--accent); color: #40230a; font-weight: 700; }
.mobar .mb-ai {
  background: var(--grad-gold) !important;
  color: #5a3a00 !important;
}
@media (max-width: 768px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .mobar {
    border-top: 2px solid var(--pear-gold) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 4px;
    font-size: 13.5px;
    letter-spacing: .5px;
    white-space: nowrap;
  }
}

/* ---------- 17.4 右下浮动入口：仅保留 AI 导览，与底部条留出间距，避免遮挡正文 ---------- */
@media (max-width: 768px) {
  .ai-float { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 17.5 侧栏「要闻」列表：窄屏日期与标题不再互相挤压 ---------- */
@media (max-width: 480px) {
  .fs-item { gap: 8px; padding: 10px 0; }
  .fs-item .no { width: 18px; font-size: 15px; }
  .fs-item a { font-size: 13.5px; line-height: 1.55; }
  .fs-item .fs-date { font-size: 10.5px; }
}

/* ---------- 17.6 移动端抽屉：补齐站内搜索入口 ---------- */
.mm-search { display: flex; gap: 8px; margin: 14px 0 2px; }
.mm-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdf7;
  font-size: 14px;
  color: var(--text);
}
.mm-search input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(143, 206, 60, .22);
}
.mm-search button {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.mm-close {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -8px -8px 0;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.mm-close:hover { background: var(--accent-soft); color: var(--primary-dark); }

/* ---------- 17.7 旧橙残留收口：AI 浮动入口 / 页脚 AI 按钮 / 提示线 ---------- */
.ai-btn {
  background: var(--grad-gold) !important;
  color: #4a3000 !important;
  border-color: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 6px 18px rgba(154, 106, 0, .32) !important;
}
.ai-btn:hover { color: #4a3000 !important; filter: brightness(1.05); }
.ft-ai-btn {
  background: linear-gradient(135deg, rgba(255, 179, 0, .26), rgba(255, 179, 0, .08));
  border-color: rgba(255, 179, 0, .6);
  color: #ffe9a8 !important;
}
.ft-ai-btn:hover { background: rgba(255, 179, 0, .38); color: #ffffff !important; }
.ft-note { border-left-color: var(--pear-gold); }

/* ---------- 17.8 无障碍与动效 ---------- */
a, button, .v-chip, .mm-group a { -webkit-tap-highlight-color: rgba(53, 160, 70, .18); }
.mobar a:focus-visible,
.mm-search button:focus-visible { outline: 2px solid var(--pear-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ============================================================
   18. 窄屏触控区收口（v36）
   ------------------------------------------------------------
   只放大窄屏点按热区与键盘焦点反馈，不改版面结构、字号与配色。
   ============================================================ */

/* 18.1 顶栏三入口：点按高度 21px → ≥30px，避免误触旁边的链接 */
@media (max-width: 768px) {
  .topbar .container { min-height: 38px; }
  .topbar .container > div { gap: 2px; }
  .topbar a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 5px;
    border-radius: 6px;
  }
  .topbar a:active { background: rgba(255, 255, 255, .16); }
}

/* 18.2 汉堡菜单按钮：36×38 → 44×44 标准触控区 */
@media (max-width: 768px) {
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    margin-right: -8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* 18.3 频道标签与抽屉标签：统一最小高度 + 焦点/点按反馈 */
.v-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
.v-chip:active { background: var(--accent-soft); }
.v-chip:focus-visible,
.mm-group a:focus-visible,
.menu-toggle:focus-visible,
.mm-close:focus-visible,
.mm-book:focus-visible,
.tb-motto:focus-visible { outline: 2px solid var(--pear-gold); outline-offset: 2px; border-radius: 6px; }
.mm-group a:focus-visible { outline-offset: 1px; }

/* ============================================================
   19. 布局改版（v37）
   ------------------------------------------------------------
   目标：首屏冲击力 · 版面节奏 · 视觉层次。
   只改版式与视觉，不改栏目、文案与事实，不改配色体系。
   桌面增强统一放在 min-width 断点内，避免覆盖窄屏既有取值。
   ============================================================ */

/* ---------- 19.1 首屏（≥769px 增强） ---------- */
@media (min-width: 769px) {
  .front-head { box-shadow: 0 16px 44px rgba(29, 122, 51, .13); }
  .front-hero { min-height: 470px; }
  .front-hero .slide::after {
    background: linear-gradient(180deg, rgba(12, 26, 18, .10) 0%, rgba(12, 26, 18, .38) 48%, rgba(9, 20, 14, .84) 100%);
  }
  .front-hero .slide-inner { padding: 34px 40px 40px; }
  .front-hero .slide-inner h1,
  .front-hero .slide-inner h2 { font-size: 40px; letter-spacing: 2px; line-height: 1.22; font-weight: 800; }
  .front-hero .slide-inner p { font-size: 16px; line-height: 1.75; margin: 12px 0 20px; max-width: 460px; opacity: .95; }
  .front-hero .slide-inner .btn { padding: 12px 30px; font-size: 15.5px; }
  .front-hero .dots { bottom: 20px; right: 26px; }
  .front-hero .dots span { width: 26px; height: 4px; }
  .front-hero .dots span.active { width: 40px; }

  .feat-side { padding: 24px 26px 16px; }
  .feat-side .fs-head { padding-bottom: 12px; margin-bottom: 2px; }
  .feat-side .fs-head h2 { font-size: 20px; letter-spacing: 2px; }
  .feat-side .fs-head a { font-size: 13px; }
  .fs-item { padding: 15px 0; gap: 11px; }
  .fs-item .no { width: 26px; font-size: 19px; }
  .fs-item a { font-size: 14.5px; line-height: 1.62; }
  .fs-item .fs-date { font-size: 12px; }
}
.fs-item:hover a { color: var(--primary); }

/* ---------- 19.2 市情速览 → 数据带 ---------- */
.kv-strip { border-top: 3px solid var(--pear-gold); background: linear-gradient(180deg, #ffffff 0%, #f5fbee 100%); }
@media (min-width: 641px) {
  .kv-strip { box-shadow: 0 14px 30px rgba(29, 122, 51, .08); }
  .kv { padding: 26px 22px; }
  .kv strong { font-size: 33px; letter-spacing: 1px; }
  .kv strong::after { width: 30px; height: 3px; margin-top: 11px; }
  .kv span { font-size: 13px; margin-top: 11px; }
}

/* ---------- 19.3 版面节奏 ---------- */
@media (min-width: 641px) { .section { padding: 62px 0; } }
@media (max-width: 640px) { .section { padding: 42px 0; } }
.section-title { margin-bottom: 44px; }
.section-alt {
  background: linear-gradient(180deg, #f4fbe9 0%, #eef7e1 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* 左对齐标题：打破居中模板 */
.section-lead .section-title {
  text-align: left; margin-bottom: 30px; padding-left: 16px;
  border-left: 5px solid var(--pear-gold);
}
.section-lead .section-title h2 { font-size: 30px; letter-spacing: 2px; }
.section-lead .section-title h2::before,
.section-lead .section-title h2::after { display: none; }
.section-lead .section-title p { letter-spacing: 1px; }
@media (max-width: 640px) { .section-lead .section-title h2 { font-size: 22px; } }

/* ---------- 19.4 卡片与栅格去单调 ---------- */
.card { border-color: #cfe6bd; box-shadow: 0 6px 18px rgba(29, 122, 51, .09); }
.card:hover { border-color: #a9d987; }
.card .thumb { height: 200px; }
.card .body h3 { font-size: 17px; }
.cards { gap: 24px; }
@media (min-width: 641px) {
  /* 梨园四时：2 列大图 */
  .cards.season-grid { grid-template-columns: repeat(2, 1fr); }
  .cards.season-grid .card .thumb { height: 300px; }
  .cards.season-grid .card .body h3 { font-size: 19px; }
  .cards.season-grid .card .body p { font-size: 14px; }
}
@media (min-width: 1025px) {
  /* 五大维度：2 列杂志式 */
  .chan-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .chan-card { padding: 24px 28px; }
  .chan-card > p { min-height: 46px; }
}

/* ---------- 19.5 品牌主张带 ---------- */
.section.brand-band {
  padding: 0;
  background: var(--grad-band, linear-gradient(120deg, #164a2c 0%, #1d7a33 58%, #2e8c41 100%));
  color: #fffdf5;
  border: 0;
}
.brand-band .bb-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; padding: 50px 18px;
}
.brand-band .bb-txt { flex: 1 1 420px; min-width: 0; }
.brand-band .bb-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 4px; color: var(--accent); padding: 0 0 10px;
}
.brand-band h2 {
  font-family: var(--serif); font-size: 31px; line-height: 1.5;
  letter-spacing: 1.5px; margin: 0 0 12px; color: #fffdf5;
}
.brand-band p { color: rgba(255, 253, 245, .78); font-size: 14.5px; letter-spacing: 1px; margin-bottom: 20px; }
.brand-band .btn { background: var(--grad-gold); color: #4a3000; box-shadow: 0 8px 20px rgba(0, 0, 0, .26); }
.brand-band .bb-media {
  flex: 0 0 360px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 253, 245, .28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.brand-band .bb-media img { width: 100%; height: 230px; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .brand-band .bb-media { flex: 1 1 100%; order: -1; }
  .brand-band .bb-media img { height: 200px; }
}
@media (max-width: 640px) {
  .brand-band .bb-inner { padding: 38px 6px; gap: 22px; }
  .brand-band h2 { font-size: 23px; letter-spacing: 1px; }
}

/* ---------- 19.6 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   20. 移动端首屏强化（v38）
   ------------------------------------------------------------
   目标：手机首屏原来只有 252px / 20px，冲击力不足。
   只调整「首页」首屏（.front-hero）在窄屏的高度、标题字号与遮罩对比，
   不动 .hero（其他内页首屏），也不改结构、文案与其他取值。
   ============================================================ */
@media (max-width: 768px) {
  .front-hero { min-height: 340px; }
  .front-hero .slide-inner h1,
  .front-hero .slide-inner h2 { font-size: 26px; letter-spacing: 1px; line-height: 1.3; }
  .front-hero .slide::after {
    background: linear-gradient(180deg, rgba(12, 26, 18, .04) 0%, rgba(12, 26, 18, .34) 46%, rgba(9, 20, 14, .82) 100%);
  }
  .front-hero .slide-inner .btn { padding: 10px 22px; font-size: 14px; }
  .front-hero .dots { bottom: 14px; right: 16px; }
}
@media (max-width: 480px) {
  .front-hero { min-height: 320px; }
  .front-hero .slide-inner h1,
  .front-hero .slide-inner h2 { font-size: 23px; letter-spacing: .8px; }
}

/* ============================================================
   21. 首屏主行动收敛（v39）
   ------------------------------------------------------------
   首页首屏只保留一个主行动：轮播内的 CTA。
   把同处首屏的导航「代收代购预约」与移动底部条「AI 导览」降级为次级，
   避免一屏之内多个金色实心按钮争抢焦点。
   仅作用于首页（body.home），不改其他页面的导航与底部条；链接、栏目与文案一律不变。
   ============================================================ */
body.home .nav-cta {
  background: none !important;
  color: var(--accent-soft) !important;
  box-shadow: none !important;
  border-radius: 0;
}
body.home .nav-cta:hover { color: #fff !important; filter: none !important; }

/* 轮播 CTA 作为唯一主按钮：加大字号与投影 */
body.home .front-hero .slide-inner .btn { font-weight: 800; letter-spacing: 1.5px; }
@media (min-width: 769px) {
  body.home .front-hero .slide-inner .btn {
    padding: 14px 36px;
    font-size: 16.5px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
  }
}
@media (max-width: 768px) {
  body.home .front-hero .slide-inner .btn {
    padding: 11px 26px;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
  }
  /* 移动端底部条：AI 导览不再用金色实心，与同排保持一致的中性色 */
  body.home .mobar .mb-ai {
    background: none !important;
    color: rgba(255, 252, 245, .9) !important;
    font-weight: 600 !important;
  }
}

/* ============================================================
   22. 卡片配图统一比例（v41）
   ------------------------------------------------------------
   首页卡片原来用固定像素高度（200px），列数变化时裁切比例并不一致：
   桌面四列约 1.4:1、窄屏单列约 1.8:1，同一批真实照片观感参差。
   改为统一比例，各列宽下裁切一致；仅作用于首页（body.home），
   不改变其他页面的列表密度，也不更换任何图片素材。
   ============================================================ */
body.home .card .thumb { height: auto; aspect-ratio: 3 / 2; }
body.home .cards.season-grid .card .thumb { aspect-ratio: 16 / 9; }

/* ---------- 18. 今日砀山（每日自动更新） ---------- */
.today-box{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;background:linear-gradient(120deg,#f4faf3,#fff);border:1px solid #e2ece1;border-radius:14px;padding:18px 20px}
.tb-date{font-size:13px;color:#6a7a6b;letter-spacing:.3px}
.today-box h3{font-size:19px;margin:7px 0 7px;color:#1f3d29;font-weight:700}
.today-box p{font-size:14.5px;color:#4a5a4a;line-height:1.85;margin:0 0 13px}
.tb-speak{border:none;background:var(--primary,#2f6b3a);color:#fff;padding:9px 18px;border-radius:999px;font-size:14px;cursor:pointer;font-family:inherit;font-weight:600}
.tb-speak:hover{background:var(--primary-dark,#245530)}
.tb-right{border-left:1px dashed #d8e4d7;padding-left:20px}
.tb-rt{font-size:13px;color:#6a7a6b;margin-bottom:6px}
.tb-item{display:block;font-size:14px;color:#24382a;padding:8px 0;border-bottom:1px solid #eef3ee;text-decoration:none;line-height:1.6}
.tb-item:hover{color:var(--primary,#2f6b3a)}
.tb-tag{display:inline-block;font-size:11.5px;background:#eaf3ea;color:#3f6a4d;border-radius:4px;padding:1px 6px;margin-right:7px;vertical-align:1px}
.tb-more{display:inline-block;margin-top:11px;font-size:13px;color:var(--primary,#2f6b3a)}
@media (max-width: 768px){
  .today-box{grid-template-columns:1fr;gap:14px}
  .tb-right{border-left:none;border-top:1px dashed #d8e4d7;padding-left:0;padding-top:14px}
}

/* ---------- 19. 便民服务导航 ---------- */
.bm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:14px}
.bm-card{background:#fff;border:1px solid #e4ede3;border-radius:12px;padding:16px 16px 14px}
.bm-card h4{font-size:15.5px;color:#1f3d29;margin:0 0 10px;display:flex;align-items:center;gap:7px}
.bm-card ul{margin:0;padding:0;list-style:none}
.bm-card li{font-size:13.8px;color:#45543f;line-height:1.85;padding:5px 0;border-bottom:1px dashed #eef3ee}
.bm-card li:last-child{border-bottom:none}
.bm-card li b{color:#22361f;font-weight:700}
.bm-card li span{color:#7a8a7a;font-size:12.8px}
.bm-hot{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.bm-hot a{border:1px solid #d8e6d7;background:#fff;border-radius:10px;padding:11px 16px;font-size:14px;color:#22402c;text-decoration:none;min-width:150px}
.bm-hot a b{display:block;font-size:17.5px;color:var(--primary,#2f6b3a);letter-spacing:.5px}
.bm-hot a:hover{border-color:#a9cca9;background:#f6faf5}
.bm-note{background:#fdfaf0;border:1px solid #f0e5c8;border-radius:10px;padding:13px 16px;font-size:13.5px;color:#6b5c33;line-height:1.85;margin-top:18px}
.bm-links a{color:var(--primary,#2f6b3a);text-decoration:underline}
.bm-h{font-size:18px;color:#1f3d29;margin:0 0 13px;padding-left:10px;border-left:4px solid var(--primary,#2f6b3a);font-weight:700}

/* ---------- 20. 实时查询入口卡 ---------- */
.rt-card{border-color:#dde9dc}
.rt-card h4{font-size:15px;margin-bottom:8px}
.rt-go{display:inline-block;margin-top:2px;padding:6px 14px;border-radius:8px;background:var(--primary,#2f6b3a);color:#fff;font-size:13.2px;text-decoration:none}
.rt-go:hover{background:var(--primary-dark,#245530)}
.rt-tip{font-size:12.3px;color:#8a948a;margin:8px 0 0;line-height:1.7}

/* ---------- 21. 实时公交查询专栏 ---------- */
.bus-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.bus-tabs{display:flex;gap:8px;flex-wrap:wrap}
.bus-tab{border:1px solid #d8e6d7;background:#fff;color:#22402c;font-size:14.5px;font-family:inherit;
  padding:9px 20px;border-radius:999px;cursor:pointer}
.bus-tab:hover{border-color:#a9cca9;background:#f6faf5}
.bus-tab.on{background:var(--primary,#2f6b3a);border-color:var(--primary,#2f6b3a);color:#fff;font-weight:600}
.bus-out{margin-left:auto;font-size:13px;color:#6a7a6b;text-decoration:none;border-bottom:1px dashed #b9c6b8}
.bus-out:hover{color:var(--primary,#2f6b3a)}
.bus-desc{font-size:13.8px;color:#5d6b62;margin:0 0 12px;line-height:1.75}
.bus-frame{background:#f2f6f2;border:1px solid #e0eae0;border-radius:14px;padding:8px;overflow:hidden}
.bus-frame iframe{width:100%;height:760px;border:0;display:block;background:#fff;border-radius:8px}
.bus-tips{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:20px}
.bt-card{background:#fff;border:1px solid #e4ede3;border-radius:12px;padding:14px 16px}
.bt-card h4{font-size:14.8px;color:#1f3d29;margin:0 0 7px}
.bt-card p{font-size:13.4px;color:#55654f;line-height:1.8;margin:0}
.bt-card a{color:var(--primary,#2f6b3a)}
@media (max-width: 768px){
  .bus-out{margin-left:0}
  .bus-frame iframe{height:620px}
}
