/* ====== 全局重置 ====== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-800: #1f3a0f;
  --green-700: #2d5016;
  --green-600: #3a6b1c;
  --green-500: #4a7c1e;
  --green-400: #6b9b3a;
  --green-200: #dcebc8;
  --green-100: #eef5e6;
  --gold: #c9962b;
  --gold-light: #e8c552;
  --warm: #faf6ef;
  --warm-card: #fffdf8;
  --text: #2a2a2a;
  --text-muted: #888;
  --border: #e8e0d0;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(45,80,22,.08);
  --shadow-hover: 0 8px 30px rgba(45,80,22,.16);
  --red: #d94545;
}
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;
  color: var(--text); background: var(--warm); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ====== 导航栏 ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,253,248,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--green-700); }
.nav-logo span { font-size: 13px; color: var(--gold); letter-spacing: 2px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 15px; color: var(--text); font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green-600); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--green-500); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; background: var(--green-500); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: background .2s; }
.cart-btn:hover { background: var(--green-600); }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.mobile-toggle { display: none; }

/* ====== Hero ====== */
.hero { position: relative; height: 70vh; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 64px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,80,22,.55), rgba(45,80,22,.25) 50%, rgba(201,150,43,.3)); }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 20px; max-width: 800px; }
.hero-tag { display: inline-block; padding: 4px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; font-size: 13px; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero-title { font-size: 48px; font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-sub { font-size: 18px; opacity: .95; margin-bottom: 32px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.hero-btn { padding: 14px 32px; border-radius: 28px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: all .25s; }
.hero-btn-primary { background: var(--gold); color: #fff; }
.hero-btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.hero-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.hero-btn-outline:hover { background: rgba(255,255,255,.15); }

/* ====== 地图 Hero 板块 ====== */
.map-hero {
  position: relative;
  margin-top: 64px;
  padding: 48px 0 64px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201,150,43,.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 90%, rgba(74,124,30,.06) 0%, transparent 45%),
    var(--warm);
  overflow: hidden;
}
.map-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.62 0 0 0 0 0.37 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .6;
  pointer-events: none;
}
.map-hero-header {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
}
.map-hero-statbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 14px 18px;
  background: rgba(255,253,248,.78);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  text-align: left;
}
.map-hero-header.map-hero-statbar {
  margin-bottom: 20px;
}
.map-hero-header .section-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 13px;
  color: var(--green-700);
  background: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.map-hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.map-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.map-hero-statbar .map-hero-stats {
  justify-content: flex-start;
}
.map-search-tip {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-search-tip::before {
  content: '👆';
  font-size: 13px;
}
.map-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: var(--green-700);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-stat::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.map-stat:nth-child(2)::before { background: var(--green-500); }
.map-stat:nth-child(3)::before { background: var(--red); }
.map-stat:nth-child(4)::before { background: var(--green-400); }

.map-search {
  position: relative;
  max-width: 420px;
  margin: 0 auto 20px;
}
.map-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.85);
  font-size: 14px;
  color: var(--text);
  transition: all .2s;
}
.map-search input:focus {
  outline: none;
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(107,155,58,.12);
  background: #fff;
}
.map-search::before {
  content: '🔍';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: .6;
}
.map-search-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
}
.map-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.map-search-chip:hover {
  background: var(--green-100);
  border-color: var(--green-400);
  color: var(--green-700);
}
.map-search-chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.map-search-empty {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 0;
}
.map-search-results:empty,
.map-search-inline .map-search-results:empty {
  display: none;
}

/* 内联搜索框：放在统计条内 */
.map-search-inline {
  position: relative;
  margin: 0;
  width: 280px;
  max-width: 100%;
  flex: 0 0 auto;
}
.map-search-inline input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 24px;
  font-size: 13px;
  background: rgba(255,255,255,.9);
}
.map-search-inline::before {
  left: 13px;
  font-size: 13px;
}
.map-search-inline .map-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin: 0;
  background: var(--warm-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,150,43,.5) transparent;
}
.map-search-inline .map-search-results::-webkit-scrollbar { width: 6px; }
.map-search-inline .map-search-results::-webkit-scrollbar-thumb {
  background: rgba(201,150,43,.45);
  border-radius: 3px;
}
@media (max-width: 1023px) {
  .map-search-inline {
    width: 100%;
  }
  .map-search-inline .map-search-results {
    max-height: 260px;
  }
}

.map-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  align-items: start;
}
.map-main { min-width: 0; }
.map-card {
  position: relative;
  background: rgba(255,253,248,.9);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.map-controls > * { pointer-events: auto; }
.map-breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 20px;
  background: rgba(255,253,248,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--text-muted);
  backdrop-filter: blur(4px);
}
.map-breadcrumb-bar .crumb {
  cursor: pointer;
  transition: color .2s;
  padding: 2px 4px;
  border-radius: 4px;
}
.map-breadcrumb-bar .crumb:hover { color: var(--green-600); background: rgba(107,155,58,.08); }
.map-breadcrumb-bar .crumb.active { color: var(--green-700); font-weight: 700; cursor: default; background: transparent; }
.map-breadcrumb-bar .sep { color: var(--gold); font-size: 14px; }
.map-zoom-group {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,253,248,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}
.map-zoom-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.map-zoom-btn:last-child { border-bottom: none; }
.map-zoom-btn:hover { background: var(--green-100); color: var(--green-700); }
.map-zoom-btn.reset { font-size: 16px; }
#chartMap {
  position: relative;
  width: 100%;
  height: 560px;
}
.map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(250,246,239,.9);
  backdrop-filter: blur(4px);
  z-index: 5;
  transition: opacity .4s ease;
}
.map-loading.hide {
  opacity: 0;
  pointer-events: none;
}
.map-loading .spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(201,150,43,.2);
  border-top-color: var(--green-500);
}
.map-loading p { color: var(--text-muted); font-size: 13px; }

.map-legend {
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,253,248,.55);
}
.map-legend-tip {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.map-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 9px;
}
.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(160, 145, 110, .35);
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  color: #5c553a;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.map-legend-item:hover {
  border-color: rgba(201, 150, 43, .55);
  background: rgba(255, 250, 238, .92);
  color: #7a5c1a;
}
.map-legend-item.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(201, 150, 43, .28);
}
.map-legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .7;
  flex: 0 0 auto;
}
.map-legend-item.active .map-legend-dot {
  background: #fff;
  opacity: 1;
}

.map-panel { min-width: 0; }
.map-panel-card {
  background: rgba(255,253,248,.9);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 560px;
  max-height: calc(560px + 64px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,150,43,.55) transparent;
}
.map-panel-card::-webkit-scrollbar { width: 8px; }
.map-panel-card::-webkit-scrollbar-track { background: transparent; }
.map-panel-card::-webkit-scrollbar-thumb {
  background: rgba(201,150,43,.45);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.map-panel-card::-webkit-scrollbar-thumb:hover {
  background: rgba(201,150,43,.7);
  background-clip: padding-box;
  border: 2px solid transparent;
}
.map-default-state {
  text-align: center;
  padding: 48px 24px;
}
.map-default-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(201,150,43,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.map-default-state h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 8px;
}
.map-default-state p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}
.map-default-quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.map-default-quote p:first-child {
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.map-default-quote p:last-child {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

#countyDetail { padding: 24px; }
#cityDetail { padding: 0 0 24px; }
.map-city-header {
  padding: 24px 24px 18px;
  background: rgba(255,255,255,.35);
  border-bottom: 1px solid var(--border);
}
.map-city-header .map-breadcrumb { margin-bottom: 14px; }
.map-city-header .map-county-head { margin-bottom: 0; }
.map-city-header .map-county-head h2 {
  font-size: 28px;
  letter-spacing: -0.5px;
}
.map-city-header .map-county-count {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 13px;
}
#cityCountyList { padding: 20px 24px 0; }
.map-city-footer {
  margin: 24px 24px 0;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(250,246,239,.6);
  text-align: center;
}
.map-city-footer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.map-city-footer .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(107,155,58,.1);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(107,155,58,.25);
  transition: all .2s;
}
.map-city-footer .back-btn:hover {
  background: var(--green-500);
  color: #fff;
  border-color: var(--green-500);
}
.map-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.map-breadcrumb .sep { color: var(--gold); }
.map-county-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.map-county-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1.1;
}
.map-county-head p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.map-county-count {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 600;
}
#productList {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
}
#productList::-webkit-scrollbar { width: 5px; }
#productList::-webkit-scrollbar-thumb { background: rgba(201,150,43,.35); border-radius: 3px; }
.map-product-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: mapCardIn .35s ease forwards;
}
@keyframes mapCardIn {
  to { opacity: 1; transform: translateY(0); }
}
.map-product-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.map-product-body { flex: 1; min-width: 0; }
.map-product-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.map-product-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.map-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.map-product-tag .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}
.map-product-body > p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.map-product-gi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
}
.map-product-gi svg {
  width: 12px; height: 12px;
}

#noProductState { padding: 48px 24px; text-align: center; }
#noProductState .map-default-icon { background: rgba(136,136,136,.1); }
#noProductState h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
#noProductState p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* 市级汇总面板 */
.map-city-tip {
  font-size: 12px; color: var(--text-muted);
  padding: 8px 12px; background: var(--green-100);
  border-radius: 8px; margin-bottom: 14px;
  display: inline-block;
}
.map-county-item {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--warm-card);
  border: 1px solid var(--border);
  transition: all .25s;
  cursor: pointer;
}
.map-county-item:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.map-county-item.has-empty {
  opacity: .55; cursor: default;
}
.map-county-item.has-empty:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
.map-county-item-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.map-county-item-name {
  font-size: 17px; font-weight: 700; color: var(--green-700);
  display: flex; align-items: center; gap: 6px;
}
.map-county-item-name .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-500);
}
.map-county-item.has-empty .map-county-item-name .dot { background: var(--text-muted); }
.map-county-item-count {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: var(--green-100); color: var(--green-700);
}
.map-county-item.has-empty .map-county-item-count {
  background: #f5f5f4; color: var(--text-muted);
}
.map-county-item-desc {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 8px; line-height: 1.5;
}
.map-county-item-products { display: flex; flex-direction: column; gap: 6px; }
.map-county-item-product-row { display: flex; flex-direction: column; gap: 4px; }
.map-county-item-farmer {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 16px; padding: 4px 8px;
  border-radius: 6px;
  background: rgba(91,158,123,.1);
  color: var(--green-700); font-size: 12px; font-weight: 500;
  text-decoration: none; align-self: flex-start;
  transition: background .2s;
}
.map-county-item-farmer:hover { background: rgba(91,158,123,.2); }
.map-county-item-product {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(250,246,239,.5);
  font-size: 13px; line-height: 1.5;
  transition: background .2s;
}
.map-county-item-product:hover { background: var(--warm); }
.map-county-item-product .dot {
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: 8px; flex-shrink: 0;
}
.map-county-item-product .name { font-weight: 600; color: var(--text); }
.map-county-item-product .desc { color: var(--text-muted); margin-left: 4px; }
a.map-county-item-product { text-decoration: none; }
a.map-county-item-product:hover { background: var(--warm); }
.map-product-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.map-product-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,80,22,.1);
  border-color: var(--gold);
}
.map-product-card-wrapper { margin-bottom: 10px; }
.map-product-card-wrapper .map-product-card { margin-bottom: 0; }
.map-related-farmer {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 10px 12px;
  border-radius: 10px;
  background: rgba(245,250,240,.9);
  border: 1px dashed var(--green-300);
  text-decoration: none; color: var(--text);
  transition: background .2s, border-color .2s, transform .15s;
}
.map-related-farmer:hover {
  background: var(--green-100);
  border-color: var(--green-500);
  transform: translateX(2px);
}
.map-related-farmer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600); font-size: 14px;
  flex-shrink: 0;
}
.map-related-farmer-avatar svg { width: 18px; height: 18px; }
.map-related-farmer-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.map-related-farmer-label { font-size: 11px; color: var(--text-muted); }
.map-related-farmer-name { font-size: 13px; font-weight: 600; color: var(--green-700); }
.map-related-farmer-arrow { width: 16px; height: 16px; color: var(--green-500); flex-shrink: 0; }
.map-county-item-empty {
  font-size: 12px; color: var(--text-muted);
  font-style: italic;
}

/* 移动端适配 */
@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-panel-card {
    min-height: auto;
    max-height: 540px;
  }
  #chartMap { height: 460px; }
  #productList { max-height: none; }
}
@media (max-width: 768px) {
  .map-hero { padding: 32px 0 48px; margin-top: 56px; }
  .map-hero-title { font-size: 26px; }
  .map-hero-stats { gap: 8px; }
  .map-stat { font-size: 12px; padding: 5px 11px; }
  #chartMap { height: 380px; }
  .map-legend-list { gap: 6px 10px; }
  .map-legend-item { font-size: 11px; }
  .map-county-head h2 { font-size: 22px; }
  .map-controls { top: 8px; left: 8px; right: 8px; gap: 8px; }
  .map-breadcrumb-bar { padding: 6px 10px; font-size: 12px; }
  .map-zoom-btn { width: 30px; height: 30px; font-size: 16px; }
}
@media (max-width: 480px) {
  #chartMap { height: 320px; }
  .map-hero-title { font-size: 22px; }
  .map-search { max-width: 100%; margin: 0 4px 24px; }
  .map-search input { padding: 10px 14px 10px 38px; }
  .map-breadcrumb-bar { padding: 5px 8px; font-size: 11px; gap: 4px; }
  .map-zoom-btn { width: 28px; height: 28px; font-size: 15px; }
  .map-panel-card { max-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-product-card { animation: none; opacity: 1; transform: none; }
  .map-loading .spinner { animation: none; }
}

/* ====== 板块通用 ====== */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--green-700); margin-bottom: 8px; }
.section-sub { font-size: 15px; color: var(--text-muted); }

/* ====== 产品筛选 ====== */
.filter-bar { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: 20px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--green-400); color: var(--green-600); }
.filter-btn.active { background: var(--green-500); color: #fff; border-color: var(--green-500); }

/* ====== 产品卡片 ====== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--warm-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform .25s, box-shadow .25s; position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img { width: 100%; height: 200px; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-gi { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 12px; background: rgba(201,150,43,.9); color: #fff; font-size: 11px; font-weight: 600; }
.product-hot { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 12px; background: rgba(217,69,69,.9); color: #fff; font-size: 11px; font-weight: 600; }
.product-info { padding: 16px; }
.product-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.product-origin { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.product-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price .now { font-size: 22px; font-weight: 800; color: var(--red); }
.product-price .old { font-size: 13px; color: #bbb; text-decoration: line-through; }
.product-buy { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--green-500); color: #fff; font-size: 20px; border: none; cursor: pointer; transition: background .2s, transform .1s; flex-shrink: 0; }
.product-buy:hover { background: var(--green-600); transform: scale(1.05); }
.product-buy:active { transform: scale(0.95); }
.product-footer .product-buy { width: 40px; height: 40px; font-size: 18px; }

/* ====== 购买区域 ====== */
.shop-section { background: linear-gradient(180deg, var(--green-100), var(--warm)); }

/* ====== 农人专访 ====== */
.farmer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.farmer-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; height: 380px; cursor: pointer; transition: transform .25s; }
.farmer-card:hover { transform: translateY(-4px); }
.farmer-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.farmer-card:hover .farmer-img { transform: scale(1.05); }
.farmer-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.farmer-name { font-size: 20px; font-weight: 700; }
.farmer-title { font-size: 13px; opacity: .9; margin-bottom: 8px; }
.farmer-quote { font-size: 13px; font-style: italic; opacity: .85; line-height: 1.5; border-left: 2px solid var(--gold-light); padding-left: 10px; }

/* 董宇辉横幅 */
.dongyu-hui { background: var(--green-700); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 40px; position: relative; overflow: hidden; }
.dongyu-hui::before { content: '\201C'; position: absolute; top: -20px; left: 30px; font-size: 120px; font-family: Georgia, serif; opacity: .1; }
.dongyu-hui p { font-size: 18px; line-height: 1.8; max-width: 800px; margin: 0 auto; }
.dongyu-hui .author { margin-top: 16px; font-size: 14px; color: var(--gold-light); }

/* ====== 新闻 ====== */
.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.news-featured { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; background: var(--warm-card); transition: box-shadow .25s; }
.news-featured:hover { box-shadow: var(--shadow-hover); }
.news-featured img { width: 100%; height: 280px; object-fit: cover; }
.news-featured-body { padding: 24px; }
.news-featured-body h3 { font-size: 20px; margin-bottom: 8px; }
.news-featured-body p { font-size: 14px; color: #666; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; gap: 16px; padding: 16px; background: var(--warm-card); border-radius: 12px; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s; }
.news-item:hover { transform: translateX(6px); }
.news-item-tag { padding: 2px 10px; border-radius: 10px; background: var(--green-100); color: var(--green-600); font-size: 12px; font-weight: 600; white-space: nowrap; }
.news-item-body h4 { font-size: 16px; margin-bottom: 4px; }
.news-item-body p { font-size: 13px; color: var(--text-muted); }
.news-item-date { font-size: 12px; color: #aaa; margin-top: 4px; }

/* ====== 视频 ====== */
.video-section { background: #1a1a1a; color: #fff; }
.video-section .section-title { color: #fff; }
.video-section .section-sub { color: rgba(255,255,255,.6); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: #2a2a2a; cursor: pointer; transition: transform .25s; }
.video-card:hover { transform: translateY(-4px); }
.video-thumb { position: relative; height: 200px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.video-card:hover .video-play { background: var(--gold); width: 56px; height: 56px; }
.video-play::after { content: ''; border-left: 16px solid var(--green-700); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-duration { position: absolute; bottom: 8px; right: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; }
.video-info { padding: 14px; }
.video-info h4 { font-size: 15px; margin-bottom: 4px; }
.video-info p { font-size: 13px; color: rgba(255,255,255,.5); }

/* ====== Footer ====== */
.footer { background: var(--green-700); color: rgba(255,255,255,.85); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; opacity: .7; line-height: 1.6; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; opacity: .7; margin-bottom: 8px; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; opacity: .5; }

/* ====== 弹窗 ====== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: var(--radius); max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.06); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; border: none; color: #666; z-index: 10; }
.modal-close:hover { background: rgba(0,0,0,.12); }

/* 产品详情弹窗 */
.product-modal .modal-body { display: flex; flex-direction: column; }
.product-modal-img { width: 100%; height: 350px; object-fit: cover; }
.product-modal-info { padding: 28px; }
.product-modal-info h2 { font-size: 26px; margin-bottom: 8px; }
.product-modal-origin { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.product-modal-desc { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 20px; }
.product-modal-features { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.feature-tag { padding: 4px 14px; border-radius: 16px; background: var(--green-100); color: var(--green-600); font-size: 13px; font-weight: 600; }
.product-modal-specs { display: flex; gap: 10px; margin-bottom: 24px; }
.spec-btn { padding: 10px 20px; border-radius: 10px; border: 2px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; transition: all .2s; }
.spec-btn.active { border-color: var(--green-500); background: var(--green-100); color: var(--green-600); }
.product-modal-buy { display: flex; align-items: center; gap: 20px; }
.product-modal-price .now { font-size: 32px; font-weight: 800; color: var(--red); }
.product-modal-price .old { font-size: 16px; color: #bbb; text-decoration: line-through; }

/* 视频弹窗 */
.video-modal .modal { max-width: 900px; background: #000; }
.video-modal video { width: 100%; max-height: 80vh; display: block; }

/* 购物车弹窗 */
.cart-modal .modal { max-width: 500px; }
.cart-modal .modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: 20px; font-weight: 700; }
.cart-list { padding: 16px 24px; max-height: 400px; overflow-y: auto; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.cart-item img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 15px; font-weight: 600; }
.cart-item-spec { font-size: 12px; color: var(--text-muted); }
.cart-item-price { font-size: 16px; font-weight: 700; color: var(--red); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 16px; }
.qty-btn:hover { border-color: var(--green-400); }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total .label { font-size: 15px; color: var(--text-muted); }
.cart-total .amount { font-size: 26px; font-weight: 800; color: var(--red); }
.checkout-btn { width: 100%; padding: 14px; border-radius: 10px; background: var(--green-500); color: #fff; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background .2s; }
.checkout-btn:hover { background: var(--green-600); }
.checkout-btn:disabled { background: #ccc; cursor: not-allowed; }

/* 结算弹窗 */
.checkout-modal .modal { max-width: 550px; }
.checkout-modal .modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: 20px; font-weight: 700; }
.checkout-form { padding: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green-400); }
.pay-methods { display: flex; gap: 12px; margin: 16px 0; }
.pay-method { flex: 1; padding: 16px; border: 2px solid var(--border); border-radius: 10px; text-align: center; cursor: pointer; transition: all .2s; }
.pay-method.active { border-color: var(--green-500); background: var(--green-100); }
.pay-method .icon { font-size: 28px; margin-bottom: 4px; }
.pay-method .name { font-size: 14px; font-weight: 600; }
.checkout-summary { background: var(--warm); border-radius: 10px; padding: 16px; margin: 16px 0; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.checkout-summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.checkout-summary-total .amount { color: var(--red); }
.submit-order-btn { width: 100%; padding: 14px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background .2s; }
.submit-order-btn:hover { background: #b8862a; }
.submit-order-btn:disabled { background: #ccc; cursor: not-allowed; }

/* 支付弹窗 */
.pay-modal .modal { max-width: 420px; text-align: center; padding: 40px 30px; }
.pay-modal .pay-amount { font-size: 36px; font-weight: 800; color: var(--red); margin: 16px 0; }
.pay-modal .pay-order-no { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.qrcode-box { width: 220px; height: 220px; margin: 0 auto 20px; border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qrcode-box img { width: 100%; height: 100%; }
.pay-tip { font-size: 13px; color: var(--text-muted); }
.pay-status { padding: 20px; }

/* Toast */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; z-index: 9999; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ====== 用户区 / 登录注册 ====== */
.user-area { position: relative; display: inline-flex; }
.user-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; background: rgba(255,255,255,.85); color: var(--green-700, #2f6b3a); border: 1px solid var(--green-500); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.user-btn:hover { background: var(--green-500); color: #fff; }
.user-btn-logged { background: #fff; }
.user-btn-logged .user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--green-500); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; overflow: hidden; flex-shrink: 0; }
.user-btn-logged .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-btn-logged .user-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-caret { font-size: 10px; opacity: .7; }
.user-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 1500; }
.user-menu.open { display: block; }
.user-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer; transition: background .15s; }
.user-menu a:hover { background: var(--green-100, #eef6ee); }

.auth-modal .modal { max-width: 420px; }
.auth-modal-box { padding: 32px 30px 28px; }
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-kicker { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--green-600); font-weight: 600; }
.auth-title { font-family: 'Noto Serif SC', serif; font-size: 26px; font-weight: 900; margin-top: 6px; }
.auth-tabs { display: flex; gap: 8px; background: var(--green-100, #eef6ee); padding: 4px; border-radius: 12px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; }
.auth-tab.active { background: #fff; color: var(--green-700, #2f6b3a); box-shadow: var(--shadow); }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.auth-form .form-group input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; transition: border-color .2s; }
.auth-form .form-group input:focus { outline: none; border-color: var(--green-500); }
.auth-error { color: var(--red); font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.auth-submit { width: 100%; padding: 13px; border-radius: 12px; background: var(--green-500); color: #fff; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background .2s; }
.auth-submit:hover { background: var(--green-600); }
.auth-submit:disabled { background: #bbb; cursor: not-allowed; }
.auth-switch-text { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 16px; }
.auth-switch-text a { color: var(--green-600); font-weight: 600; cursor: pointer; }

/* 加载动画 */
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.spinner { display: inline-block; width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--green-500); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ====== 响应式 ====== */
@media (max-width: 960px) {
  .product-grid, .farmer-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-title { font-size: 36px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-actions { gap: 8px; }
  .cart-text { display: none; }
  .cart-btn { padding: 8px; border-radius: 50%; gap: 0; }
  .cart-badge { position: absolute; top: -2px; right: -2px; }
  .user-btn { padding: 6px 10px; font-size: 13px; }
  .user-btn-logged .user-name { max-width: 60px; }
  .user-menu { right: -10px; }
  .auth-modal-box { padding: 24px 20px; }
  .product-grid, .farmer-grid, .video-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo span { display: none; }
}

/* ====================================================== */
/* 新闻列表页 / 内容页                                     */
/* ====================================================== */
.news-page { background: #faf8f3; min-height: 100vh; }

/* 列表页头图 */
.news-page-hero {
  position: relative; padding: 56px 24px 44px; overflow: hidden;
  background: linear-gradient(135deg, var(--green-700), #2f6b3c); color: #fff;
}
.news-page-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 70%);
}
.news-page-hero .inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; }
.news-page-hero .crumb { font-size: 14px; opacity: .85; margin-bottom: 12px; }
.news-page-hero .crumb a { color: #fff; text-decoration: none; }
.news-page-hero h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: 1px; }
.news-page-hero p { font-size: 15px; opacity: .9; margin: 0; }

/* 分类筛选 */
.news-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 28px 0 4px; }
.news-filter button {
  padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border);
  background: #fff; color: var(--text); cursor: pointer; font-size: 14px; transition: .2s;
}
.news-filter button:hover { border-color: var(--green-500); color: var(--green-600); }
.news-filter button.active { background: var(--green-500); color: #fff; border-color: var(--green-500); }

.news-more-btn { display: inline-block; margin-top: 16px; padding: 10px 24px; border-radius: 24px; background: var(--green-500); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s; }
.news-more-btn:hover { background: var(--green-600); }

/* 新闻卡片网格 */
.news-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 24px; }
.news-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer; transition: .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card .cover { width: 100%; height: 200px; object-fit: cover; background: #eee; }
.news-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .tag {
  align-self: flex-start; padding: 2px 10px; border-radius: 10px;
  background: var(--green-100); color: var(--green-600); font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.news-card h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.45; }
.news-card p {
  font-size: 14px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .meta { margin-top: auto; font-size: 12px; color: #aaa; display: flex; gap: 14px; }
.news-card .meta .views::before { content: '👁 '; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin: 36px 0 8px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; transition: .2s;
}
.pager button.active, .pager button:hover:not(:disabled) { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .pager-info { align-self: center; font-size: 13px; color: #999; margin: 0 6px; }

/* ===== 内容页 ===== */
.article-page { background: #fff; min-height: 100vh; }
.article-hero { position: relative; padding: 28px 24px 46px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--green-700), #2f6b3c); }
.article-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 70%);
}
.article-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.article-tag { display: inline-block; padding: 4px 14px; border-radius: 20px; background: var(--gold); color: #4a3b12; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.article-hero h1 { font-size: 32px; line-height: 1.4; margin: 0 0 16px; }
.article-meta { font-size: 14px; opacity: .92; display: flex; gap: 18px; flex-wrap: wrap; }
.article-meta .views::before { content: '👁 '; }
.article-cover { width: 100%; max-height: 440px; object-fit: cover; display: block; background: #eee; }

.article-wrap { max-width: 860px; margin: 0 auto; padding: 40px 24px 56px; }
.article-content { font-size: 16px; line-height: 1.95; color: #333; }
.article-content p { margin: 0 0 18px; }
.article-content h2 { font-size: 22px; color: var(--green-700); margin: 28px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold); }
.article-content h3 { font-size: 19px; color: var(--green-700); margin: 22px 0 12px; }
.article-content img { max-width: 100%; border-radius: 12px; margin: 16px 0; }
.article-content blockquote { margin: 20px 0; padding: 14px 20px; background: #f6f3ea; border-left: 4px solid var(--green-500); color: #555; border-radius: 8px; }
.article-content a { color: var(--green-600); text-decoration: underline; }
.article-content ul, .article-content ol { padding-left: 24px; margin: 0 0 18px; }
.article-content li { margin-bottom: 8px; }

/* 相关阅读 */
.article-related { max-width: 860px; margin: 0 auto; padding: 0 24px 64px; }
.article-related .section-header { text-align: left; margin-bottom: 20px; }
.article-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.article-related-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.article-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-related-card img { width: 100%; height: 140px; object-fit: cover; }
.article-related-card .info { padding: 12px 14px; }
.article-related-card .info h4 { font-size: 15px; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.article-related-card .info .d { font-size: 12px; color: #aaa; }

/* 复用 farmer 顶栏样式作为文章页顶栏 */
.article-topbar { padding: 14px 24px; }

/* 二级页 hero 区返回按钮（news-detail / farmer 共用） */
.hero-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 24px; cursor: pointer; border: none;
  background: rgba(255,255,255,.92); color: var(--green-700);
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.hero-back:hover { background: #fff; transform: translateX(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }

/* hero 顶部按钮容器 */
.farmer-hero-top,
.article-hero-top {
  position: relative; z-index: 4;
  max-width: 1080px; margin: 0 auto; padding: 0 24px 20px;
}
.article-hero-top { max-width: 860px; padding-bottom: 18px; }

/* 响应式 */
@media (max-width: 600px) {
  .news-cards { grid-template-columns: 1fr; }
  .news-page-hero h1 { font-size: 26px; }
  .article-hero h1 { font-size: 24px; }
  .article-related-grid { grid-template-columns: 1fr; }
  .nav-links.open { display: flex !important; flex-direction: column; gap: 16px; padding: 16px 20px; background: #fff; position: absolute; top: 64px; left: 0; right: 0; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
}

/* =========================================================
   美工升级 v2 — 设计令牌 / 排版 / 纵深 / 交互 / 记忆点
   ========================================================= */
:root {
  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-serif-cn: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --paper: #f6f1e7;
  --paper-2: #efe7d6;
  --ink: #243018;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
body { font-family: var(--font-sans); }

/* 全局无障碍焦点态 */
a:focus-visible, button:focus-visible, .news-card:focus-visible,
.article-related-card:focus-visible, .farmer-more-card:focus-visible,
.filter-btn:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}

/* 交错揭示（尊重 prefers-reduced-motion） */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== 新闻列表页 ===== */
.news-page {
  background:
    radial-gradient(1100px 560px at 100% -8%, rgba(201,150,43,.12), transparent 60%),
    radial-gradient(820px 480px at -8% 8%, rgba(45,80,22,.09), transparent 55%),
    var(--noise), var(--paper);
  min-height: 100vh;
}
.news-page-hero {
  padding: 74px 24px 36px; position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 380px at 86% -20%, rgba(232,197,82,.30), transparent 60%),
    linear-gradient(135deg, #244112, #2f6b3c 58%, #3a7c2e);
}
.news-page-hero::before {
  content: 'NEWS'; position: absolute; right: 3%; top: 52%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 168px; line-height: 1;
  color: rgba(255,255,255,.06); letter-spacing: 4px; z-index: 1; pointer-events: none;
}
.news-page-hero .inner { position: relative; z-index: 3; }
.news-page-hero .hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
}
.news-page-hero h1 {
  font-family: var(--font-serif-cn); font-size: 54px; font-weight: 900; line-height: 1.08;
  margin: 0 0 12px; letter-spacing: 2px; text-shadow: 0 2px 26px rgba(0,0,0,.28);
}
.news-page-hero .hero-seal {
  position: absolute; right: 26px; top: 22px; z-index: 4;
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--gold); color: #4a3b12; font-family: var(--font-serif-cn); font-weight: 900;
  font-size: 18px; line-height: 1.15; transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.28); border: 2px solid rgba(255,255,255,.6);
}
.news-filter {
  position: relative; z-index: 6;
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: -28px auto 28px;
  padding: 16px 20px;
  max-width: 1080px;
  justify-content: center;
  background: #fffdf8;
  border-radius: 18px;
  border: 1px solid rgba(45,80,22,.10);
  box-shadow: 0 14px 36px rgba(45,80,22,.14);
}
.news-filter button {
  min-height: 44px; padding: 8px 20px; border-radius: 22px; font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--border); background: #fff; color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,80,22,.05); transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.news-filter button:hover { transform: translateY(-2px); border-color: var(--green-500); color: var(--green-700); }
.news-filter button.active {
  background: linear-gradient(135deg, var(--green-600), var(--green-500)); color: #fff;
  border-color: transparent; box-shadow: 0 6px 16px rgba(45,80,22,.28);
}
.news-cards { gap: 26px; }
.news-card {
  border: 1px solid rgba(45,80,22,.08); border-radius: 18px; background: #fffdf8;
  box-shadow: 0 6px 22px rgba(45,80,22,.07); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.news-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 18px 42px rgba(45,80,22,.16); }
.news-card:hover::before { transform: scaleX(1); }
.news-card:hover .cover { transform: scale(1.06); }
.news-card .cover { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.news-card h3 { font-family: var(--font-serif-cn); font-weight: 700; font-size: 20px; color: var(--ink); transition: color .2s; }
.news-card:hover h3 { color: var(--green-700); }
.news-card .body { padding: 20px 22px 24px; }
.news-card .read-more {
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 4px; opacity: 0; transform: translateX(-6px); transition: .25s;
}
.news-card:hover .read-more { opacity: 1; transform: none; }
.pager button { min-height: 44px; border-radius: 12px; font-weight: 600; }

/* ====================================================== */
/* 新闻列表页 · 杂志化重构（2026-08-12）                    */
/* ====================================================== */
.news-cards { align-items: start; }

/* —— 头条大卡 —— */
.news-headline {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #fffdf8; border: 1px solid rgba(45,80,22,.08); border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(45,80,22,.10); text-decoration: none; color: inherit;
  position: relative; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.news-headline::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
}
.news-headline:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(45,80,22,.18); }
.news-headline .media { position: relative; min-height: 300px; overflow: hidden; background: #e8e2d4; }
.news-headline .media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.news-headline:hover .media img { transform: scale(1.05); }
.news-headline .badge {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  padding: 6px 14px; border-radius: 20px; letter-spacing: 2px;
  background: var(--gold); color: #4a3b12; font-weight: 800; font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.news-headline .body { padding: 34px 38px 30px; display: flex; flex-direction: column; }
.news-headline .tag { align-self: flex-start; }
.news-headline h3 {
  font-family: var(--font-serif-cn); font-weight: 900; font-size: 30px; line-height: 1.3;
  margin: 14px 0 14px; color: var(--ink); transition: color .2s;
}
.news-headline:hover h3 { color: var(--green-700); }
.news-headline p {
  font-size: 15px; line-height: 1.85; color: var(--text-muted); margin: 0 0 22px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-headline .read-more {
  margin-top: 18px; font-size: 14px; font-weight: 800; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px; transition: transform .25s;
}
.news-headline:hover .read-more { transform: translateX(4px); }

/* —— 普通卡片精简 —— */
.news-card .news-tags { display: none; }
.news-card .cover { height: 180px; }
.news-card .body { padding: 18px 20px 20px; }
.news-card .meta {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(45,80,22,.12);
}
.news-card .meta .date, .news-headline .meta .date {
  font-family: var(--font-serif-cn); font-weight: 700; color: var(--green-700);
}
.news-card .meta .views { margin-left: auto; }

/* 移动端：头条塌缩为单列 */
@media (max-width: 900px) {
  .news-headline { grid-template-columns: 1fr; }
  .news-headline .media { min-height: 210px; }
  .news-headline .body { padding: 22px 22px 24px; }
  .news-headline h3 { font-size: 23px; }
  .news-headline p { -webkit-line-clamp: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .news-headline, .news-headline .media img, .news-headline .read-more { transition: none; }
}

/* ===== 新闻详情页 ===== */
.article-page {
  background:
    radial-gradient(1000px 520px at 100% -5%, rgba(201,150,43,.10), transparent 60%),
    var(--noise), var(--paper);
  min-height: 100vh;
}
.read-progress {
  position: fixed; top: 64px; left: 0; height: 4px; width: 0; z-index: 950;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
  box-shadow: 0 1px 5px rgba(0,0,0,.18); transition: width .12s linear;
}
.article-hero {
  padding: 56px 24px; position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 360px at 86% -20%, rgba(232,197,82,.28), transparent 60%),
    linear-gradient(135deg, #244112, #2f6b3c 58%, #3a7c2e);
}
.article-hero::before {
  content: 'STORY'; position: absolute; right: 3%; top: 52%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 152px; line-height: 1;
  color: rgba(255,255,255,.05); letter-spacing: 4px; z-index: 1; pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 3; }
.article-hero h1 { font-family: var(--font-serif-cn); font-size: 42px; font-weight: 900; line-height: 1.28; text-shadow: 0 2px 22px rgba(0,0,0,.25); }
.article-hero .article-tag { background: var(--gold); color: #4a3b12; font-family: var(--font-display); letter-spacing: 1px; }
.article-content { font-size: 17px; line-height: 2; color: #33322e; }
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-serif-cn); font-weight: 900; font-size: 62px; line-height: .82;
  float: left; color: var(--green-700); margin: 6px 12px 0 0;
}
.article-content h2, .article-content h3 { font-family: var(--font-serif-cn); }
.article-related-card { border: 1px solid rgba(45,80,22,.08); }
.article-related-card h4 { font-family: var(--font-serif-cn); }

@media (max-width: 600px) {
  .news-page-hero::before, .article-hero::before { font-size: 96px; }
  .news-page-hero h1 { font-size: 38px; }
  .article-hero h1 { font-size: 30px; }
  .news-page-hero .hero-seal { width: 72px; height: 72px; font-size: 15px; right: 16px; top: 16px; }
}

/* =========================================================
   首页美工升级 — Hero 记忆点 / 板块眉标 / 卡片纵深 / 排版
   ========================================================= */

/* 导航品牌用衬线展示字体 */
.nav-logo { font-family: var(--font-serif-cn); letter-spacing: 1px; }
.nav-logo span { font-family: var(--font-sans); letter-spacing: 3px; }

/* ===== Hero 升级 ===== */
.hero { background: var(--green-700); }
.hero-grain { position: absolute; inset: 0; background-image: var(--noise); opacity: .5; mix-blend-mode: overlay; pointer-events: none; z-index: 1; }
.hero-kicker {
  display: inline-block; padding: 6px 16px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px); font-size: 13px; letter-spacing: 3px; margin-bottom: 22px;
  font-family: var(--font-display); text-transform: uppercase; color: #fff;
}
.hero-title {
  font-family: var(--font-serif-cn); font-weight: 900; font-size: 60px; line-height: 1.1;
  letter-spacing: 2px; margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title-accent {
  display: block; font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 30px; letter-spacing: 1px; color: var(--gold-light); margin-top: 10px;
}
.hero-sub { font-size: 18px; }
.hero-seal {
  position: absolute; right: 30px; top: 30px; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--gold); color: #4a3b12; font-family: var(--font-serif-cn); font-weight: 900;
  font-size: 18px; line-height: 1.15; transform: rotate(-8deg);
  box-shadow: 0 10px 28px rgba(0,0,0,.3); border: 2px solid rgba(255,255,255,.6);
}
.hero-watermark {
  position: absolute; right: 2%; bottom: -6%; z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; font-size: 200px; line-height: 1;
  color: rgba(255,255,255,.07); letter-spacing: 4px;
}

/* ===== 板块眉标 ===== */
.section-eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-eyebrow::before {
  content: ''; display: inline-block; width: 26px; height: 2px; background: var(--gold);
  vertical-align: middle; margin-right: 10px;
}
.section-title { font-family: var(--font-serif-cn); font-weight: 900; letter-spacing: 1px; }

/* ===== 产品卡：顶部色条 + 更强悬浮 ===== */
.product-card { border: 1px solid rgba(45,80,22,.08); }
.product-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
  transform: scaleX(0); transform-origin: left; transition: transform .35s; z-index: 2;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 18px 42px rgba(45,80,22,.16); }
.product-card:hover::before { transform: scaleX(1); }
.product-name { font-family: var(--font-serif-cn); font-weight: 700; }

/* ===== 农人卡：顶部色条 ===== */
.farmer-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
  transform: scaleX(0); transform-origin: left; transition: transform .35s; z-index: 2;
}
.farmer-card:hover::before { transform: scaleX(1); }
.farmer-name { font-family: var(--font-serif-cn); }

/* ===== 视频卡：顶部色条 ===== */
.video-card { position: relative; border: 1px solid rgba(255,255,255,.08); }
.video-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-500));
  transform: scaleX(0); transform-origin: left; transition: transform .35s; z-index: 2;
}
.video-card:hover::before { transform: scaleX(1); }
.video-info h4 { font-family: var(--font-serif-cn); }

/* ===== 董宇辉横幅衬线 ===== */
.dongyu-hui { font-family: var(--font-serif-cn); }
.dongyu-hui p { font-size: 19px; }

/* ===== 首页新闻区块升级 ===== */
.news-featured { transition: transform .3s, box-shadow .3s; }
.news-featured:hover { transform: translateY(-4px); }
.news-item:hover h4 { color: var(--green-700); }

/* ===== 首页响应式 ===== */
@media (max-width: 960px) {
  .hero-title { font-size: 42px; }
  .hero-title-accent { font-size: 22px; }
  .hero-watermark { font-size: 120px; }
  .hero-seal { width: 76px; height: 76px; font-size: 14px; right: 16px; top: 16px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .hero-title-accent { font-size: 18px; }
  .hero-watermark { font-size: 78px; right: 0; bottom: -2%; }
  .hero-seal { width: 64px; height: 64px; font-size: 12px; }
}

/* ===== 二级页：杂志风统一 ===== */
.magazine-topbar {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 64px; padding: 0 24px;
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,80,22,.08);
}
.magazine-topbar .back {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  min-height: 44px; padding: 0 14px;
  font-size: 14px; font-weight: 600; color: var(--green-700);
  background: transparent; border: none; border-radius: 8px;
  cursor: pointer; transition: background .2s, transform .2s;
}
.magazine-topbar .back:hover { background: var(--green-100); transform: translateX(-3px); }
.magazine-topbar .nav-logo { font-size: 18px; }
.magazine-topbar .nav-logo span { font-size: 13px; }

.page-hero-magazine {
  position: relative; width: 100%; height: 55vh; min-height: 420px; max-height: 640px;
  overflow: hidden; color: #fff;
}
.page-hero-magazine .hero-media {
  position: absolute; inset: 0; z-index: 1;
}
.page-hero-magazine .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: brightness(.72);
}
.page-hero-magazine .hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(28,46,18,.35) 0%, rgba(28,46,18,.12) 40%, rgba(20,36,12,.78) 100%);
}
.page-hero-magazine .hero-watermark {
  position: absolute; right: 3%; bottom: 14%; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: 180px; line-height: 1;
  color: rgba(255,255,255,.12); letter-spacing: 8px; pointer-events: none; user-select: none;
}
.page-hero-magazine .hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 24px 72px;
  background: linear-gradient(0deg, rgba(20,36,12,.92) 0%, rgba(20,36,12,.35) 55%, transparent 100%);
}
.page-hero-magazine .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.page-hero-magazine .hero-kicker::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.page-hero-magazine .hero-tag {
  display: inline-block; padding: 5px 12px; border-radius: 4px;
  background: rgba(242,196,82,.18); color: var(--gold);
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
  border: 1px solid rgba(242,196,82,.3);
}
.page-hero-magazine h1 {
  font-family: var(--font-serif-cn); font-weight: 900; font-size: 28px;
  line-height: 1.35; max-width: 1100px; margin: 0 0 18px; letter-spacing: 1px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.page-hero-magazine .hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-size: 14px; color: rgba(255,255,255,.82);
}
.page-hero-magazine .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero-magazine .hero-seal {
  position: absolute; left: 24px; top: 24px; z-index: 4;
  padding: 6px 14px; border-radius: 4px;
  background: rgba(242,196,82,.15); border: 1px solid rgba(242,196,82,.4);
  color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* 农人专访：文字在图下方 */
.page-hero-magazine.split { height: auto; }
.page-hero-magazine.split .hero-media { position: relative; height: 46vh; min-height: 360px; }
.page-hero-magazine.split .hero-scrim {
  background: linear-gradient(180deg, rgba(28,46,18,.25) 0%, rgba(28,46,18,.45) 100%);
}
.page-hero-magazine.split .hero-content {
  position: static;
  padding: 38px 24px 48px;
  background: linear-gradient(180deg, var(--green-700), var(--green-800));
}
.page-hero-magazine.split .hero-watermark { bottom: 6%; }

.article-sheet-header { margin: -18px 0 36px; }
.article-sheet-header .hero-kicker { margin-bottom: 14px; }
.article-sheet-header .hero-tag { margin-bottom: 16px; }
.article-sheet-header h1 {
  font-family: var(--font-serif-cn); font-weight: 900; font-size: 38px;
  line-height: 1.2; color: var(--green-800); margin: 0 0 16px; letter-spacing: 1px;
}
.article-sheet-header .hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-size: 14px; color: var(--green-600);
}
.article-sheet-header .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-sheet-header .hero-kicker { color: var(--green-700); }
.article-sheet-header .hero-kicker::before { background: var(--green-700); }

.article-body { font-size: 17px; line-height: 1.85; color: #3a3a3a; }

.article-sheet {
  position: relative; z-index: 10;
  max-width: 820px; margin: 0 auto;
  padding: 56px 56px 64px;
  background: #fffdf8;
  box-shadow: 0 0 0 rgba(45,80,22,0);
}
.article-sheet p { margin-bottom: 1.2em; text-align: justify; }
.article-sheet p:last-child { margin-bottom: 0; }
.article-sheet p:empty,
.article-sheet p:has(> br:only-child) { display: none; }
.article-body > p:first-of-type::first-letter {
  float: left; font-family: var(--font-serif-cn); font-size: 56px; font-weight: 900;
  line-height: .85; padding-right: 10px; color: var(--green-700);
}
.article-sheet h2, .article-sheet h3 {
  font-family: var(--font-serif-cn); color: var(--green-800); margin: 1.6em 0 .6em;
}
.article-sheet img { max-width: 100%; border-radius: 8px; margin: 1.2em 0; }
.article-sheet ul, .article-sheet ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-sheet blockquote {
  margin: 1.5em 0; padding: 18px 22px; border-left: 3px solid var(--gold);
  background: var(--green-100); border-radius: 0 8px 8px 0; font-style: italic;
}

@media (max-width: 960px) {
  .page-hero-magazine h1 { font-size: 36px; }
  .page-hero-magazine .hero-watermark { font-size: 120px; }
  .article-sheet { padding: 38px 32px 54px; }
}
@media (max-width: 600px) {
  .magazine-topbar { padding: 0 16px; height: 56px; }
  .magazine-topbar .nav-logo { font-size: 16px; }
  .page-hero-magazine { min-height: 360px; height: 48vh; }
  .page-hero-magazine h1 { font-size: 28px; line-height: 1.25; }
  .page-hero-magazine .hero-watermark { font-size: 72px; right: 2%; bottom: 22%; }
  .page-hero-magazine .hero-seal { left: 16px; top: 16px; font-size: 11px; padding: 5px 10px; }
  .page-hero-magazine .hero-content { padding: 0 16px 48px; }
  .article-sheet { padding: 32px 20px 40px; }
  .article-sheet p:first-of-type::first-letter { font-size: 42px; }
}

/* =========================================================
   首页新增板块 — 关于我们 / APP下载（与全站编辑风一致）
   ========================================================= */

/* ===== 关于我们 ===== */
.about-section {
  background:
    radial-gradient(900px 460px at 92% -10%, rgba(201,150,43,.10), transparent 60%),
    radial-gradient(820px 460px at -8% 14%, rgba(45,80,22,.07), transparent 55%),
    var(--noise), var(--paper);
}
.about-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 52px; align-items: center; margin-bottom: 52px; }
.about-story p { font-size: 17px; line-height: 1.95; color: #3a3a3a; margin-bottom: 18px; text-align: justify; }
.about-story p:first-of-type::first-letter {
  float: left; font-family: var(--font-serif-cn); font-weight: 900; font-size: 58px; line-height: .8;
  padding: 6px 12px 0 0; color: var(--green-700);
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  position: relative; overflow: hidden; background: #fffdf8; border: 1px solid rgba(45,80,22,.08);
  border-radius: 16px; padding: 22px 18px; text-align: center; box-shadow: 0 6px 22px rgba(45,80,22,.06);
}
.stat::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--green-500)); }
.stat .num { display: block; font-family: var(--font-display); font-weight: 900; font-size: 42px; color: var(--green-700); line-height: 1; }
.stat .num .pct { font-size: 22px; }
.stat .label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.value-card {
  background: #fffdf8; border: 1px solid rgba(45,80,22,.08); border-radius: 18px; padding: 28px;
  box-shadow: 0 6px 22px rgba(45,80,22,.06); transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(45,80,22,.14); }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.value-card h3 { font-family: var(--font-serif-cn); font-size: 19px; color: var(--green-800); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== APP 下载 ===== */
.download-section {
  background:
    radial-gradient(820px 480px at 6% 112%, rgba(45,80,22,.10), transparent 60%),
    radial-gradient(720px 420px at 100% -12%, rgba(201,150,43,.12), transparent 60%),
    var(--noise), var(--paper);
}
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.download-copy .section-eyebrow { color: var(--gold); }
.download-copy .section-title { color: var(--green-700); }
.download-copy > p { font-size: 16px; color: #555; line-height: 1.85; margin: 18px 0 26px; max-width: 460px; }
.download-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px;
  border-radius: 14px; background: #fffdf8; border: 1.5px solid rgba(45,80,22,.14);
  color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 14px rgba(45,80,22,.06); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--green-500); box-shadow: 0 10px 24px rgba(45,80,22,.16); }
.store-btn .ico { color: var(--green-600); flex: none; width: 24px; height: 24px; }
.store-btn .txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn .txt small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.store-btn .txt strong { font-size: 15px; }
.download-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); }

.download-visual { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.phone-mock { flex: none; }
.phone-frame {
  width: 268px; height: 540px; border-radius: 40px; background: #16240e;
  padding: 13px; box-shadow: 0 30px 60px rgba(20,36,12,.32); border: 2px solid rgba(255,255,255,.1); position: relative;
}
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 90px; height: 7px; border-radius: 4px; background: rgba(0,0,0,.4); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, var(--green-700), #2f6b3c); display: flex; flex-direction: column; }
.phone-hero { padding: 56px 22px 18px; color: #fff; }
.phone-hero .k { font-family: var(--font-display); font-size: 10px; letter-spacing: 3px; color: var(--gold-light); }
.phone-hero h3 { font-family: var(--font-serif-cn); font-size: 22px; margin: 6px 0 3px; }
.phone-hero p { font-size: 12px; opacity: .85; }
.phone-card { margin: 0 14px 12px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 11px; display: flex; gap: 11px; align-items: center; }
.phone-card img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #e8e0d0; flex: none; }
.phone-card .n { font-size: 13px; font-weight: 700; color: var(--ink); }
.phone-card .o { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.qr-card { background: #fffdf8; border: 1px solid rgba(45,80,22,.08); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 10px 30px rgba(45,80,22,.1); max-width: 230px; flex: none; }
.qr-title { font-family: var(--font-serif-cn); font-weight: 700; font-size: 16px; color: var(--green-800); margin-bottom: 14px; }
.qr-box { width: 170px; height: 170px; margin: 0 auto 12px; border-radius: 12px; background: #fff; border: 1px solid var(--border); padding: 9px; }
.qr-box img { width: 100%; height: 100%; }
.qr-card .tip { font-size: 13px; color: var(--text-muted); }

/* 响应式 */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .download-inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 700px) {
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: 1fr; }
  .phone-frame { width: 240px; height: 480px; }
  .download-visual { gap: 24px; }
}

/* ====== 新闻标签 ====== */
.article-tags {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 760px; margin: 28px auto 0; padding: 18px 22px;
  background: #fffdf8; border: 1px solid rgba(45,80,22,.1);
  border-radius: 16px; box-shadow: 0 6px 20px rgba(45,80,22,.05);
}
.article-tags .label {
  flex: none; font-family: var(--font-serif-cn); font-weight: 700;
  color: var(--green-700); font-size: 15px; padding-top: 5px;
}
.article-tags .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--green-700); background: rgba(58,107,28,.08);
  border: 1px solid rgba(58,107,28,.18); text-decoration: none;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.tag-chip:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.tag-chip.sm { padding: 5px 11px; font-size: 12.5px; }

.news-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 4px; }

/* ====== 标签聚合页 ====== */
.tag-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
  padding-top: 28px; padding-bottom: 48px; align-items: start;
}
.tag-side { position: sticky; top: 90px; }
.side-card {
  background: #fffdf8; border: 1px solid rgba(45,80,22,.1);
  border-radius: 18px; padding: 20px; box-shadow: 0 8px 24px rgba(45,80,22,.06);
}
.side-title {
  font-family: var(--font-serif-cn); font-weight: 700; color: var(--green-700);
  font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(45,80,22,.12);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--green-700); background: rgba(58,107,28,.07);
  border: 1px solid rgba(58,107,28,.16); text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.tag-cloud-item:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.tag-cloud-item.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.tag-cloud-item .cnt { font-size: 11px; opacity: .7; }

@media (max-width: 960px) {
  .tag-layout { grid-template-columns: 1fr; gap: 28px; }
  .tag-side { position: static; order: -1; }
}
@media (max-width: 600px) {
  .article-tags { flex-direction: column; gap: 10px; padding: 16px; }
}

/* ===== 第三方登录（微信 / QQ）===== */
.auth-oauth { margin-top: 18px; }
.auth-oauth-divider {
  display: flex; align-items: center; gap: 12px;
  color: #8a8375; font-size: 12px; letter-spacing: 1px; margin-bottom: 14px;
}
.auth-oauth-divider::before,
.auth-oauth-divider::after { content: ''; flex: 1; height: 1px; background: #e5ddcc; }
.auth-oauth-btns { display: flex; gap: 12px; }
.oauth-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 8px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.oauth-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(45, 80, 22, .12); }
.oauth-btn:focus-visible { outline: 3px solid var(--gold, #c9962b); outline-offset: 2px; }
.oauth-wechat { background: #07c160; color: #fff; }
.oauth-wechat:hover { background: #06ad56; }
.oauth-qq { background: #12b7f5; color: #fff; }
.oauth-qq:hover { background: #0ea3dd; }

/* 扫码弹窗 */
.oauth-qr-box { max-width: 320px; width: calc(100vw - 48px); text-align: center; padding: 28px 24px 24px; }
.oauth-qr-head { margin-bottom: 18px; }
.oauth-qr-kicker {
  display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700;
  color: #07c160; text-transform: uppercase; margin-bottom: 6px;
}
.oauth-qr-title { font-size: 20px; font-weight: 800; color: var(--green-700, #2d5016); margin: 0; }
.oauth-qr-body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.oauth-qr-frame {
  position: relative; width: 200px; height: 200px; display: flex;
  align-items: center; justify-content: center;
  background: #fbf8f1; border: 2px solid #e5ddcc; border-radius: 14px; padding: 14px;
}
.oauth-qr-frame.is-wechat { color: #07c160; }
.oauth-qr-frame.is-qq { color: #12b7f5; }
.oauth-qr-logo {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid #e5ddcc; border-radius: 999px;
  padding: 3px 12px; font-size: 12px; font-weight: 700; color: #6b6353;
}
.oauth-qr-status { font-size: 15px; font-weight: 600; color: #4a443a; margin-top: 4px; }
.oauth-qr-status.scanned { color: var(--gold, #c9962b); }
.oauth-qr-status.logging { color: var(--green-700, #2d5016); }
.oauth-qr-status.failed { color: #c0392b; }
.oauth-qr-tip { font-size: 12px; color: #8a8375; }
@media (max-width: 480px) {
  .auth-oauth-btns { flex-direction: column; }
  .oauth-btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .oauth-btn { transition: none; }
  .oauth-btn:hover { transform: none; }
}
