/*
Theme Name: NZ Lifestream
Theme URI: https://nzlifestream.cn/
Description: 新西兰 Lifestream 莱思纯官网定制主题。脱离 Elementor 的轻量经典主题，纯营销站，注重加载速度与可维护性。
Author: nzlifestream
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nzlifestream
*/

/* ============================================================
   设计令牌（来自原站 Elementor kit-56）
   ============================================================ */
:root {
  --color-primary: #477258;        /* 品牌指南 lifestream green */
  --color-primary-dark: #3a5e49;
  --color-header: #1e3023;          /* 页头/页脚深森林绿（再加深）*/
  --color-header-dark: #152318;     /* 移动端展开菜单底色（更深）*/
  --color-accent: #61ce70;
  --color-primary-soft: #51ac7a;
  --color-secondary: #fed4a9;
  --color-highlight: #fee799;
  --color-text: #1a1a1a;
  --color-muted: #5b6b60;
  --color-bg-cream: #fcf8f4;
  --color-bg-cream-2: #faf2eb;
  --color-bg-mint: #eff1ec;
  --color-bg-mint-2: #e0e4d6;
  --color-white: #ffffff;
  --color-border: #dcdcde;

  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(71, 114, 89, 0.12);
  --transition: 0.25s ease;
}

/* ============================================================
   基础重置
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
.site-main { overflow-x: hidden; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-text); font-weight: 700; }

/* ============================================================
   布局容器
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.8em;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; border: 2px solid var(--color-primary);
  background: var(--color-primary); color: var(--color-white);
  cursor: pointer; transition: transform var(--transition), background var(--transition);
}
.btn:hover { background: var(--color-primary-dark); color: var(--color-white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: var(--color-white); }

/* ============================================================
   站点页头
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-header);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
/* 垂直堆叠：Logo 行在上、菜单行在下 */
.site-header__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding-block: 1.1rem; }
.site-header__brand { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
.site-logo { display: inline-flex; }
/* Logo 缩小显示（高清源 320×50，按比例缩到 120px 宽，清晰锐利）；转白 */
.site-logo img { width: 140px; height: auto; filter: brightness(0) invert(1); }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); flex-wrap: wrap; }
.primary-nav ul { display: flex; gap: clamp(2rem, 4.5vw, 4.5rem); list-style: none; margin: 0; padding: 0; justify-content: center; }
.primary-nav a { font-family: var(--font-heading); font-weight: 500; color: var(--color-white); font-size: 1.12rem; opacity: 0.92; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--color-highlight); opacity: 1; }
/* 导航按钮：新西兰官网 —— 低调描边小胶囊 + 外链箭头，与菜单项区分但不突兀 */
.primary-nav .nav-cta { font-family: var(--font-heading); font-weight: 500; font-size: 0.92rem; color: rgba(255,255,255,0.9); background: transparent; padding: 0.32em 0.95em; border-radius: 999px; border: 1px solid rgba(255,255,255,0.38); opacity: 1; white-space: nowrap; transition: var(--transition); }
.primary-nav .nav-cta::after { content: "↗"; margin-left: 0.3em; font-size: 0.9em; opacity: 0.85; }
.primary-nav .nav-cta:hover { background: rgba(255,255,255,0.12); border-color: var(--color-highlight); color: var(--color-highlight); }

/* 移动端菜单切换：汉堡放在 Logo 行右侧 */
.nav-toggle { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-white); margin: 5px 0; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-header-dark);
    max-height: 0; overflow: hidden; transition: max-height var(--transition);
  }
  .primary-nav.is-open { max-height: 80vh; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 0.75rem; }
  .primary-nav li { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); text-align: center; }
  .primary-nav .nav-cta { margin: 1rem auto 1.4rem; }
}

/* ============================================================
   站点页脚
   ============================================================ */
.site-footer { background: var(--color-header); color: var(--color-white); padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer a { color: var(--color-white); }
.site-footer a:hover { color: var(--color-highlight); }

/* 购买渠道图标：白色圆底 + 品牌默认色 */
.footer-social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--color-white); border-radius: 50%; transition: transform var(--transition), box-shadow var(--transition); }
.footer-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.footer-social img { width: 22px; height: 22px; }

/* 购买渠道（居中）*/
.footer-channels { text-align: center; padding-block: 2.5rem 0; line-height: 1.9; }
.footer-channels__title { font-size: 1.15rem; font-weight: 700; color: var(--color-white); margin: 0 0 0.4rem; }
.footer-channels__icons { justify-content: center; margin: 0.9rem 0 1rem; }
.footer-channels__overseas { margin: 0; opacity: 0.92; }
.footer-channels__overseas a { color: var(--color-highlight); }

/* 品牌 Logo（页脚底部，居中、上下等距）*/
.footer-brand { text-align: center; padding-block: 2rem; }
.footer-brand .footer-logo-img { display: block; width: 150px; height: auto; margin-inline: auto; filter: brightness(0) invert(1); }

/* 底部备案信息 + 法律链接（居中两行）*/
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.875rem; text-align: center; }
.footer-beian { margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; justify-content: center; }
.footer-beian a { color: rgba(255,255,255,0.55); }
.footer-beian a:hover { color: var(--color-highlight); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--color-white); }

@media (max-width: 760px) {
	.footer-social { justify-content: center; }
	.footer-bottom { justify-content: center; text-align: center; }
	.footer-brand .footer-logo-img { width: 115px; }
}

/* ============================================================
   区块通用
   ============================================================ */
.section--mint { background: var(--color-bg-mint); }
.section--cream { background: var(--color-bg-cream); }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin: 0 0 2.5rem; }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-bg-mint); }
.hero__track { position: relative; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; animation: fade 0.6s ease; }
.hero__slide img { width: 100%; height: auto; object-fit: cover; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.6rem; }
.hero__dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.6); cursor: pointer; transition: var(--transition); }
.hero__dot.is-active { background: var(--color-white); transform: scale(1.25); }

/* ---------- 核心理念 ---------- */
.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.intro__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 1.5rem; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .intro__grid { grid-template-columns: 1fr; } }

/* ---------- 产品系列 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.product-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform var(--transition); }
.product-card:hover { transform: translateY(-6px); }
.product-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-card__body { padding: 1.75rem; text-align: center; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.product-card__name { margin: 0; font-size: 1.3rem; }
.product-card__desc { margin: 0; color: var(--color-muted); flex: 1; }
.product-card .btn { align-self: center; }
@media (max-width: 700px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- 产品详情（我们的产品：左右轮流）---------- */
.product-details .section { padding-block: clamp(2rem, 4.5vw, 3.75rem); scroll-margin-top: 6rem; }
.prod__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
.prod--reverse .prod__media { order: 2; }
.prod__media { display: flex; align-items: center; justify-content: center; }
.prod__media img { max-width: 100%; max-height: 360px; width: auto; object-fit: contain; }
.prod__placeholder { width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-muted); background: var(--color-white); border: 2px dashed var(--color-bg-mint-2); border-radius: var(--radius); }
/* 信息栏收成一个紧凑的块，靠近产品图 */
.prod__info { max-width: 31rem; }
.prod--reverse .prod__info { margin-left: auto; }
/* 推荐徽章：跟在产品名后面，不再单独占一行 */
.prod__tag { display: inline-block; vertical-align: middle; margin-left: 0.55em; position: relative; top: -0.12em; background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-size: 0.66rem; font-weight: 600; line-height: 1.4; padding: 0.2em 0.75em; border-radius: 999px; white-space: nowrap; }
.prod__headline { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--color-primary); font-weight: 600; margin: 0 0 0.4rem; }
.prod__name { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 0 0 0.1rem; }
.prod__en { color: var(--color-primary-soft); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; margin: 0 0 1rem; }
.prod__compose { font-size: 1rem; color: var(--color-text); margin: 0 0 1.1rem; }
/* 规格 / 推荐用量：下划线表格（每行一条底线，顶部一条线收口）*/
.prod__meta { margin: 0 0 1.4rem; padding: 0; border: none; display: grid; gap: 0; }
.prod__meta div { display: grid; grid-template-columns: 4.5em 1fr; gap: 1rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
.prod__meta div:first-child { border-top: 1px solid var(--color-border); }
.prod__meta dt { color: var(--color-muted); font-weight: 600; font-size: 0.9rem; }
.prod__meta dd { margin: 0; color: var(--color-text); font-size: 0.92rem; }
@media (max-width: 760px) { .prod__grid, .prod--reverse .prod__media { grid-template-columns: 1fr; order: 0; } .prod--reverse .prod__info { margin-left: 0; } }

/* ---------- 博客 ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.blog-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.blog-card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: 1.75rem; }
.blog-card__title { font-size: 1.25rem; margin: 0 0 0.75rem; }
.blog-card__title a { color: var(--color-text); }
.blog-card__excerpt { color: var(--color-muted); margin: 0 0 1rem; }
.link-more { font-family: var(--font-heading); font-weight: 600; }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- 新闻动态列表 ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.news-item__link { display: grid; grid-template-columns: 72px 300px 1fr; gap: 1.75rem; align-items: stretch; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); transition: box-shadow var(--transition), transform var(--transition); color: inherit; }
.news-item__link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.news-item__date { text-align: center; align-self: center; }
.news-item__day { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.news-item__ym { display: block; font-size: 0.8rem; color: var(--color-muted); margin-top: 0.25rem; }
/* 缩略图放大：撑满整行高度，至少与文字块等高 */
.news-item__thumb { height: 100%; min-height: 180px; border-radius: 10px; overflow: hidden; background: var(--color-bg-mint); display: flex; align-items: center; justify-content: center; }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item__body { align-self: center; }
.news-item__thumb-ph { color: var(--color-muted); font-size: 0.8rem; }
.news-item__title { font-size: 1.2rem; margin: 0 0 0.5rem; color: var(--color-text); }
.news-item__excerpt { color: var(--color-muted); font-size: 0.92rem; line-height: 1.6; margin: 0 0 0.75rem; }
.news-item__more { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); font-size: 0.9rem; }
@media (max-width: 720px) {
	.news-item__link { grid-template-columns: 60px 1fr; }
	.news-item__thumb { display: none; }
}

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; gap: 2.5rem; }
.about-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-card__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.about-card__body h3 { font-size: 1.5rem; margin: 0 0 1rem; }
.about-card__body p { color: var(--color-muted); margin: 0 0 1.5rem; }
.about-card--reverse .about-card__media { order: 2; }
@media (max-width: 760px) {
  .about-card, .about-card--reverse .about-card__media { grid-template-columns: 1fr; order: 0; }
}

/* ============================================================
   内页组件
   ============================================================ */
.container--narrow { max-width: 820px; }
.container--news { max-width: 1080px; }

/* ---------- 页面 Hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--color-header); color: var(--color-white); padding-block: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,32,24,.68), rgba(20,32,24,.38) 60%, rgba(20,32,24,.18)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero--image { min-height: 320px; display: flex; align-items: center; }
.page-hero--image .container { width: 100%; }
.page-hero__title { color: var(--color-white); font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.75rem; }
.breadcrumb { display: flex; gap: 0.6rem; justify-content: center; font-size: 0.9rem; opacity: 0.9; }
.breadcrumb a { color: var(--color-white); }
.breadcrumb a:hover { color: var(--color-highlight); }
.breadcrumb__current { opacity: 0.8; }

/* 新版 Hero：英文大标题 + 中文，左对齐（我们的故事/历史/产品/新闻）*/
.page-hero--intro { text-align: left; min-height: clamp(280px, 42vw, 460px); }
.page-hero--intro .page-hero__en { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: 0.02em; color: var(--color-white); margin: 0 0 0.5rem; text-transform: uppercase; }
.page-hero--intro .page-hero__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.1; margin: 0 0 1rem; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.page-hero__rule { display: block; width: 56px; height: 2px; background: rgba(255,255,255,0.7); }

/* 页面正文引言（Hero 下方：大标题 + 描述）*/
.page-intro { text-align: center; }
.page-intro__heading { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin: 0 0 1rem; }
.page-intro__desc { max-width: 62ch; margin: 0 auto; color: var(--color-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.85; }

/* 内容型 Hero：大标题 + 描述段落（旧，保留兼容）*/
.page-hero__heading { color: var(--color-white); font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.2; margin: 0 0 1.1rem; max-width: 20ch; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.page-hero__desc { color: var(--color-white); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.8; margin: 0 0 1.25rem; max-width: 56ch; opacity: 0.95; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }

/* ---------- 图文交替 ---------- */
.media-text-list { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.media-text__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; }
.media-text__body { font-size: 1.08rem; line-height: 1.8; }
.media-text__heading { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1rem; }
.media-text__todo { color: var(--color-muted); font-style: italic; }
.media-text__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.media-text__points li { position: relative; padding-left: 1.5rem; color: var(--color-muted); }
.media-text__points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.media-text__body .story-stats { margin-top: 0.5rem; }
.media-text--reverse .media-text__media { order: 2; }
@media (max-width: 760px) {
  .media-text, .media-text--reverse .media-text__media { grid-template-columns: 1fr; order: 0; }
}

/* ---------- 要点卡 ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.feature-item { background: var(--color-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.feature-item h3 { margin: 0 0 0.75rem; }
.feature-item p { margin: 0; color: var(--color-muted); }
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- 我们的故事：风光画廊 ---------- */
.story-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.story-gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-gallery__item img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 640px) { .story-gallery { grid-template-columns: 1fr; } }

/* ---------- 我们的故事：海外口碑 ---------- */
.story-awards .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.award-placeholder { min-height: 300px; border: 2px dashed var(--color-bg-mint-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--color-muted); text-align: center; background: var(--color-white); }
.story-stats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.story-stats li { display: flex; align-items: baseline; gap: 0.75rem; border-bottom: 1px solid var(--color-bg-mint-2); padding-bottom: 1rem; }
.story-stats strong { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--color-primary); line-height: 1; }
.story-stats span { color: var(--color-muted); font-size: 1.05rem; }
@media (max-width: 760px) { .story-awards .container { grid-template-columns: 1fr; } }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--color-bg-mint-2); }
.timeline__item { position: relative; padding-left: 3.5rem; margin-bottom: 2.5rem; }
.timeline__marker { position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); border: 3px solid var(--color-white); box-shadow: 0 0 0 2px var(--color-accent); }
.timeline__card { background: var(--color-white); border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow); }
.timeline__year { display: inline-block; font-family: var(--font-heading); font-weight: 700; color: var(--color-accent); font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline__title { margin: 0 0 0.5rem; font-size: 1.25rem; }
.timeline__text { margin: 0; color: var(--color-muted); }

/* ---------- 3 列博客 ---------- */
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .blog-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .blog-grid--3 { grid-template-columns: 1fr; } }

/* ---------- 内容页 / 文章 ---------- */
.page-content, .single-post__content { font-size: 1.08rem; line-height: 1.85; }
.page-content :is(h2,h3), .single-post__content :is(h2,h3) { margin-top: 2rem; }
.page-content img, .single-post__content img { border-radius: var(--radius); margin-block: 1.5rem; }
.single-post__meta { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.single-post__thumb img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.single-post__footer { margin-top: 2.5rem; }

/* ---------- 产品详情 ---------- */
.product-detail__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product-detail__media { background: var(--color-bg-mint); border-radius: var(--radius); padding: 2rem; }
.product-detail__media img { width: 100%; border-radius: 8px; object-fit: contain; }
.product-detail__name { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.5rem 0 1rem; }
.product-detail__lead { font-size: 1.15rem; color: var(--color-muted); margin: 0 0 2rem; }
.breadcrumb--dark { justify-content: flex-start; color: var(--color-muted); }
.breadcrumb--dark a { color: var(--color-primary); }
.breadcrumb--dark .breadcrumb__current { color: var(--color-muted); }
.product-detail__body { margin-top: clamp(2.5rem, 5vw, 4rem); font-size: 1.08rem; line-height: 1.85; }
@media (max-width: 760px) { .product-detail__top { grid-template-columns: 1fr; } }

/* ---------- 分页 ---------- */
.pagination, nav.navigation { margin-top: 3rem; text-align: center; }
.page-numbers { display: inline-block; padding: 0.5rem 0.9rem; margin: 0 0.2rem; border-radius: 8px; background: var(--color-bg-mint); color: var(--color-text); font-family: var(--font-heading); }
.page-numbers.current { background: var(--color-primary); color: var(--color-white); }
.page-numbers:hover:not(.current) { background: var(--color-bg-mint-2); }

/* ============================================================
   首页改版（2026）
   ============================================================ */
.btn--light { background: var(--color-white); color: var(--color-header); border-color: var(--color-white); }
.btn--light:hover { background: var(--color-highlight); border-color: var(--color-highlight); color: var(--color-header); }
.section--green { background: var(--color-header); color: var(--color-white); }
.section--green .section__title, .section--green h2, .section--green h3 { color: var(--color-white); }
.accent-num { color: var(--color-accent); font-size: 1.3em; }

/* ---------- Hero banner（产品全家福，整图满铺、不留边距）---------- */
.hero-banner { background: var(--color-header); }
/* 降低 Banner 高度：整宽铺满、按高度上限裁切（客户反馈原来太高）*/
.hero-banner__img { width: 100%; height: 62vh; min-height: 340px; object-fit: cover; object-position: center; display: block; }
@media (max-width: 640px) { .hero-banner__img { height: 44vh; min-height: 240px; } }

/* ---------- 品牌介绍 + 透底标签 ---------- */
.brand-intro { text-align: left; }
.brand-intro__title { font-size: clamp(1.7rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.25; margin: 0 0 1.25rem; }
.brand-intro__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--color-muted); line-height: 1.8; margin: 0 0 1.75rem; max-width: 60ch; }
.brand-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.brand-badge { padding: 0.45em 1.3em; border: 1.5px solid var(--color-primary); border-radius: 999px; font-size: 0.92rem; font-family: var(--font-heading); color: var(--color-primary); background: transparent; }
.brand-badges-img { margin-top: 2rem; }
.brand-badges-img img { width: 100%; max-width: 640px; height: auto; }

/* ---------- CEO 采访视频 ---------- */
.ceo-video__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ceo-video__player video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; background: #000; aspect-ratio: 16/9; object-fit: cover; }
.ceo-video__text p { color: var(--color-muted); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.5rem; }
@media (max-width: 820px) { .ceo-video__grid { grid-template-columns: 1fr; } }

/* ---------- 产品一览（横向滑块）---------- */
.pshowcase__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0 1.5rem; scrollbar-width: thin; cursor: grab; }
.pshowcase__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pcard { scroll-snap-align: start; flex: 0 0 calc((100% - 3rem) / 3); min-width: 260px; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); }
.pcard:hover { box-shadow: 0 16px 36px rgba(71,114,89,0.18); color: inherit; }
.pcard__media { height: 240px; display: flex; align-items: center; justify-content: center; background: var(--color-bg-cream); }
.pcard__media img { max-height: 100%; width: auto; object-fit: contain; }
.pcard__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-muted); font-size: 0.9rem; text-align: center; background: repeating-linear-gradient(45deg, #f3f1ea, #f3f1ea 12px, #ece9e0 12px, #ece9e0 24px); }
.pcard__body { padding: 1.25rem 1.5rem 1.75rem; text-align: center; }
.pcard__cn { font-size: 1.2rem; margin: 0 0 0.25rem; }
.pcard__en { font-size: 0.85rem; color: var(--color-primary-soft); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 0.6rem; }
.pcard__desc { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
.pshowcase__hint { text-align: center; color: var(--color-muted); font-size: 0.85rem; margin: 0.5rem 0 0; }
@media (max-width: 980px) { .pcard { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .pcard { flex-basis: 80%; } }

/* ---------- 科学专家团（slider，3 显示 / 5 共，自动轮播）---------- */
.experts__carousel { position: relative; }
.experts__viewport { overflow: hidden; }
/* 轮播左右箭头，提示可滑动 */
.experts__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-primary); font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: var(--transition); padding: 0; }
.experts__arrow:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.experts__arrow[hidden] { display: none; }
.experts__arrow--prev { left: -10px; }
.experts__arrow--next { right: -10px; }
@media (max-width: 640px) { .experts__arrow { width: 38px; height: 38px; font-size: 1.3rem; } .experts__arrow--prev { left: -4px; } .experts__arrow--next { right: -4px; } }
/* 注意：自动轮播由 JS 精确定位，必须关闭 scroll-snap，否则每帧 scrollLeft 被吸附→滑动变瞬跳 */
.experts__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: none; padding-bottom: 0.5rem; cursor: grab; scrollbar-width: none; }
.experts__track::-webkit-scrollbar { display: none; }
.experts__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.expert-card {
	scroll-snap-align: start; flex: 0 0 calc((100% - 3rem) / 3); min-width: 240px;
	position: relative; background: var(--color-white); border: 1px solid var(--color-border);
	border-radius: var(--radius); box-shadow: var(--shadow);
	overflow: hidden; min-height: 360px;
}
/* 左侧竖色块（品牌绿渐变），恢复设计感 */
.expert-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--color-accent), var(--color-primary)); z-index: 3; }
.expert-card__inner { padding: 1.75rem 1.75rem 1.75rem 2rem; position: relative; z-index: 2; }
/* 姓名占满整行不换行；名下加一段短横色块 */
.expert-card__name { font-size: 1.3rem; margin: 0 0 0.9rem; color: var(--color-text); white-space: nowrap; }
.expert-card__name::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--color-accent); margin-top: 0.6rem; }
/* 头衔正文：加粗、每行不换行（整条一行显示） */
.expert-card__lines { list-style: none; margin: 0; padding: 0; }
.expert-card__lines li { color: var(--color-muted); font-size: 0.8rem; font-weight: 700; line-height: 1.5; padding: 0.3rem 0; white-space: nowrap; }
.expert-card__accent { display: none; }
/* 抠图人物照：右下角，较原尺寸放大约 30%，底部对齐，不接收指针避免遮挡拖拽 */
.expert-card__photo { position: absolute; right: 0; bottom: 0; width: 49%; max-width: 215px; height: 86%; display: flex; align-items: flex-end; justify-content: flex-end; z-index: 1; pointer-events: none; }
.expert-card__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom right; }
.expert-card__photo-ph { align-self: center; color: #b6b6ad; font-size: 0.8rem; border: 1px dashed #cfcfc6; border-radius: 8px; padding: 1.5rem 1rem; }
/* 轮播圆点 */
.experts__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.experts__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--color-bg-mint-2); cursor: pointer; padding: 0; transition: var(--transition); }
.experts__dots button.is-active { background: var(--color-primary); transform: scale(1.25); }
@media (max-width: 900px) { .expert-card { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .expert-card { flex-basis: 86%; } }

/* ---------- 全球分布 ---------- */
.global-reach { text-align: center; }
.map-placeholder { background: var(--color-bg-mint); border: 2px dashed var(--color-bg-mint-2); border-radius: var(--radius); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--color-muted); margin-bottom: 2rem; }
.global-reach__map { max-width: 960px; margin: 0 auto 2.5rem; }
.global-reach__map img { width: 100%; height: auto; display: block; }
.country-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 0.8rem; list-style: none; margin: 0; padding: 0; }
.country-list li { padding: 0.35em 1em; background: var(--color-bg-cream); border-radius: 999px; font-size: 0.9rem; color: var(--color-primary); }

/* ---------- 购买渠道 + 社群 ---------- */
.channels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.channels__title { color: var(--color-white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.25rem; }
.channels__shops { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.channels__shops li { padding: 0.5em 1.4em; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; font-family: var(--font-heading); }
.channels__overseas a { color: var(--color-highlight); }
.channels__community { display: flex; gap: 1.5rem; align-items: center; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 1.75rem; }
.channels__qr { flex: 0 0 130px; height: 130px; background: var(--color-white); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--color-muted); font-size: 0.8rem; text-align: center; }
.channels__community-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.4rem; color: var(--color-white); }
.channels__community-text p { margin: 0 0 0.75rem; opacity: 0.92; }
.channels__social { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; opacity: 0.85; }
@media (max-width: 820px) { .channels__grid { grid-template-columns: 1fr; } .channels__community { flex-direction: column; text-align: center; } }

/* ============================================================
   入场动画（仿原站 scroll-trigger：上移 + 浮现）
   仅在 JS 可用且用户未要求减弱动画时启用；元素进入视口加 .is-visible
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js :is(
    .hero-banner__img, .brand-intro__title, .brand-intro__lead, .brand-badges, .brand-badges-img,
    .section__title, .blog-card, .product-card, .media-text, .timeline__item,
    .feature-item, .about-card, .ceo-video__player, .ceo-video__text, .page-hero__title, .breadcrumb,
    .country-list, .global-reach__map, .footer-channels, .footer-brand, .single-post__content, .page-content
  ) {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
  }
  .js :is(
    .hero-banner__img, .brand-intro__title, .brand-intro__lead, .brand-badges, .brand-badges-img,
    .section__title, .blog-card, .product-card, .media-text, .timeline__item,
    .feature-item, .about-card, .ceo-video__player, .ceo-video__text, .page-hero__title, .breadcrumb,
    .country-list, .global-reach__map, .footer-channels, .footer-brand, .single-post__content, .page-content
  ).is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   通用工具类
   ============================================================ */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 999; }

/* ============================================================
   移动端排版微调（客户反馈：故事要点/历史节点/产品信息）
   ============================================================ */
@media (max-width: 640px) {
  /* 科学专家团：名字缩小 1px、卡片内上边距加大（文字下移）*/
  .expert-card__name { font-size: calc(1.3rem - 2px); }
  .expert-card__inner { padding-top: 2.75rem; }
  /* 我们的故事：每段要点更小、加粗、间距更紧 */
  .media-text__body { font-size: 1rem; line-height: 1.65; }
  .media-text__heading { font-size: 1.35rem; margin-bottom: 0.7rem; }
  .media-text__points { gap: 0.3rem; }
  .media-text__points li { font-size: 0.9rem; font-weight: 600; line-height: 1.5; padding-left: 1.3rem; color: var(--color-text); }
  .media-text__points li::before { top: 0.5em; width: 6px; height: 6px; }

  /* 我们的历史：每个节点描述文字更小 */
  .timeline__card { padding: 1.2rem 1.3rem; }
  .timeline__title { font-size: 1.12rem; }
  .timeline__text { font-size: 0.88rem; line-height: 1.6; }

  /* 我们的产品：每个产品做成带浅灰边框的白色卡片，左右留出间距（去掉区块浅色背景）*/
  .product-details .section { background: none; padding-block: 0.6rem; }
  .product-details .prod__grid { width: auto; max-width: none; margin-inline: var(--gutter); overflow: hidden; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.15rem 1.15rem 1.35rem; box-shadow: 0 4px 16px rgba(71,114,89,0.06); gap: 0.5rem; }
  .prod__media, .prod__info { min-width: 0; }
  .prod__media img { max-height: 260px; }
  .prod__info { max-width: none; }
  .prod__headline { font-size: 1.02rem; margin-bottom: 0.5rem; }
  .prod__name { margin-bottom: 0.1rem; }
  .prod__en { font-size: 0.85rem; margin-bottom: 0.85rem; }
  .prod__compose { font-size: 0.95rem; margin-bottom: 0.9rem; }
  .prod__meta { margin-bottom: 1rem; }
  .prod__meta div { grid-template-columns: 4.5em 1fr; gap: 0.6rem; padding: 0.5rem 0; }
  .prod__meta dt { font-size: 0.9rem; }
  .prod__meta dd { font-size: 0.82rem; }
}
