:root{
  --brand:#1f7a52; --brand-dark:#176040; --brand-light:#7fd0a8; --gold:#c2834b;
}
/* 山景渐变背景（用于轮播与资讯封面） */
.mountain-bg{
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.28), transparent 60%),
    linear-gradient(180deg,#1f7a52 0%, #2f8a63 45%, #7fd0a8 100%);
}
/* 淡入动画 */
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.fade-in{animation:fadeIn .6s ease both}
/* 轮播切换 */
.slide{display:none}
.slide.active{display:block;animation:fadeIn .8s ease both}
/* 简单产品卡悬停 */
.product-card{transition:transform .2s ease, box-shadow .2s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(31,122,82,.15)}

/* 商品详情富文本：图文/视频自适应、间距舒适 */
.prose-desc p{margin:0 0 12px}
.prose-desc img{max-width:100%;height:auto;border-radius:12px;margin:6px 0;display:block}
.prose-desc video{max-width:100%;height:auto;border-radius:12px;margin:8px 0;background:#000;display:block}
.prose-desc ul,.prose-desc ol{margin:0 0 12px;padding-left:22px}
.prose-desc li{margin:2px 0}
.prose-desc a{color:var(--brand);text-decoration:underline}

/* 资讯正文富文本：图文自适应、间距舒适 */
.news-body p{margin:0 0 14px;line-height:1.85}
.news-body img{max-width:100%;height:auto;border-radius:12px;margin:10px 0;display:block}
.news-body figure{margin:10px 0}
.news-body figure img{width:100%}
.news-body figcaption{font-size:13px;color:#888;text-align:center;margin-top:6px}
.news-body h1,.news-body h2,.news-body h3,.news-body h4{margin:18px 0 10px;font-weight:700;line-height:1.4}
.news-body ul,.news-body ol{margin:0 0 14px;padding-left:24px}
.news-body li{margin:4px 0}
.news-body a{color:var(--brand);text-decoration:underline}
.news-body strong{font-weight:600}
.news-body blockquote{border-left:4px solid var(--brand-light);padding:6px 14px;color:#555;margin:14px 0;background:#f8fbf9;border-radius:0 8px 8px 0}
.news-body table{border-collapse:collapse;width:100%;margin:14px 0;font-size:14px}
.news-body th,.news-body td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left}
.news-body th{background:#f5f7f6;font-weight:600}

/* 资讯正文：老站导入的 WordPress 画廊（wp-block-gallery / blocks-gallery-grid）宫格显示 */
.news-body .wp-block-gallery{margin:14px 0;padding:0}
.news-body .blocks-gallery-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.news-body .blocks-gallery-grid li{margin:0;list-style:none}
.news-body .blocks-gallery-grid figure{margin:0}
.news-body .blocks-gallery-grid img{width:100%;height:auto;display:block;margin:0;border-radius:10px;aspect-ratio:1/1;object-fit:cover}
.news-body .wp-block-gallery.is-cropped .blocks-gallery-grid img{object-fit:cover}
.news-body .wp-block-gallery.columns-3 .blocks-gallery-grid{grid-template-columns:repeat(3,1fr)}
.news-body .wp-block-gallery.columns-2 .blocks-gallery-grid{grid-template-columns:repeat(2,1fr)}
/* 画廊在手机上改为 2 列，避免太挤 */
@media (max-width:640px){
  .news-body .blocks-gallery-grid{grid-template-columns:repeat(2,1fr)}
  .news-body .wp-block-gallery.columns-3 .blocks-gallery-grid{grid-template-columns:repeat(2,1fr)}
}
/* WordPress 单张图（wp-block-image）自适应 */
.news-body .wp-block-image{margin:14px 0}
.news-body .wp-block-image img{max-width:100%;height:auto;border-radius:12px;display:block}
.news-body .wp-block-image.alignleft img{margin-right:auto}
.news-body .wp-block-image.aligncenter img{margin-left:auto;margin-right:auto}
.news-body .wp-block-image.alignright img{margin-left:auto}
