:root {
  --brand: #2f7d5d;
  --brand-2: #3f9b78;
  --brand-soft: #e6f2ea;
  --accent: #c98b3a;
  --accent-soft: #f8ecdb;

  --bg: #f7f5ef;
  --bg-soft: #efecdf;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --ink: #1e2b24;
  --ink-2: #41544a;
  --muted: #7c8c82;
  --line: rgba(30, 43, 36, .10);
  --line-strong: rgba(30, 43, 36, .18);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .60);
  --wrap: 1220px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px;
  border: 0;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); }
.btn--ghost { background: var(--surface); color: var(--ink-2); }
.btn--ghost:hover { color: var(--brand); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .9); color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; }

.link-arrow { color: var(--brand); font-size: 13px; font-weight: 600; transition: gap .3s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.badge .dot { width: 7px; height: 7px; background: var(--brand); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 12.5px; }
html[data-theme="dark"] .topbar { background: #0b110d; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar__left { display: flex; align-items: center; gap: 14px; }
.topbar__jieqi { color: #9fe3c0; font-weight: 600; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__right a:hover { color: #fff; }
.topbar__btn { padding: 3px 12px; background: rgba(255,255,255,.12); color: #fff !important; }

/* ---------- 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: background .45s var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  transition: transform .5s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 19px; letter-spacing: .02em; }
.logo__text em { font-size: 9.5px; font-style: normal; letter-spacing: .18em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav__link {
  position: relative; padding: 8px 12px;
  font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 18px; height: 3px; background: var(--brand);
}

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.quicksearch { position: relative; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  background: var(--surface); color: var(--muted);
  transition: width .3s var(--ease);
}
.quicksearch input { width: 150px; border: 0; outline: none; background: none; font-size: 13.5px; color: var(--ink); }
.quicksearch input::placeholder { color: var(--muted); }
.quicksearch__panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: 320px;
  padding: 8px;
  background: var(--surface);
  z-index: 20;
}
.quicksearch__panel a { display: block; padding: 8px 12px; font-size: 13.5px; color: var(--ink-2); }
.quicksearch__panel a:hover { background: var(--brand-soft); color: var(--brand); }
.quicksearch__panel .qs-empty { padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.theme-switch { display: flex; gap: 2px; padding: 3px; background: var(--surface); }
.theme-switch button {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; background: none; cursor: pointer; color: var(--muted);
  transition: background .25s, color .25s;
}
.theme-switch button:hover { color: var(--ink); }
.theme-switch button.is-on { background: var(--brand); color: #fff; }

.menu-toggle { display: none; width: 38px; height: 38px; border: 0;
  background: var(--surface); cursor: pointer; padding: 10px 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 0 0 4px; transition: .3s var(--ease); }
.menu-toggle span:last-child { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; filter: blur(60px); opacity: .5; }
.blob--1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, var(--brand-2), transparent 70%); }
.blob--2 { width: 340px; height: 340px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .28; }
.leaf--1 {
  position: absolute; right: 6%; top: 22%; width: 150px; height: 150px;
  background: currentColor; color: var(--brand); opacity: .07;
  clip-path: polygon(50% 0, 100% 38%, 78% 100%, 22% 100%, 0 38%);
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(8deg); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 16px; font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 10px;
  background: var(--accent); opacity: .28; z-index: -1;
}
.hero__desc { max-width: 560px; color: var(--ink-2); font-size: 16px; }

.hero__search {
  display: flex; align-items: center; gap: 10px; margin: 28px 0 14px;
  padding: 7px 7px 7px 18px;
  background: var(--surface);
  max-width: 620px; color: var(--muted);
}
.hero__search input { flex: 1; border: 0; outline: none; background: none; font-size: 15px; height: 40px; color: var(--ink); }
.hero__search input::placeholder { color: var(--muted); }

.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero__tags a { padding: 4px 12px; background: var(--surface); color: var(--ink-2); transition: .25s var(--ease); }
.hero__tags a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 26px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-size: 26px; color: var(--brand); font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: 12.5px; color: var(--muted); }

/* Hero 右侧节气卡 */
.hero__card { position: relative; }
.hero__jqcard { padding: 26px; }
.hero__jqcard-top { display: flex; align-items: center; justify-content: space-between; }
.pill { padding: 4px 12px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.hero__jqdate { font-size: 12.5px; color: var(--muted); }
.hero__jqtitle { margin: 14px 0 8px; font-size: 24px; }
.hero__jqdesc { font-size: 14px; color: var(--ink-2); }
.jq-list { margin: 18px 0; display: grid; gap: 10px; }
.jq-list li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; color: var(--ink-2); }
.jq-list span {
  flex: 0 0 auto; padding: 2px 9px; font-size: 11.5px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand);
}
.floating-mini {
  position: absolute; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
  font-size: 12px; color: var(--muted); animation: floaty 7s ease-in-out infinite;
}
.floating-mini b { font-size: 14px; color: var(--ink); }
.floating-mini--1 { left: -46px; bottom: 46px; }
.floating-mini--2 { right: -26px; top: -22px; animation-delay: -3s; }

/* ---------- 快捷分类 ---------- */
.quickgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px;
  padding: 20px; background: var(--surface); }
.quickgrid__item {
  padding: 16px 12px; text-align: center;
  transition: transform .4s var(--ease), background .3s;
}
.quickgrid__item:hover { transform: translateY(-4px); background: var(--surface-2); }
.quickgrid__ico {
  width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--i1), var(--i2));
  transition: transform .45s var(--ease);
}
.quickgrid__item:hover .quickgrid__ico { transform: rotate(-8deg) scale(1.08); }
.quickgrid__item b { display: block; font-size: 14px; }
.quickgrid__item i { display: block; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--muted); }

/* ---------- 主体布局 ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.col-main { min-width: 0; display: grid; gap: 40px; }
.col-side { display: grid; gap: 22px; position: sticky; top: 88px; }

.block__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.block__head--center { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 32px; }
.block__title { font-size: 24px; position: relative; padding-left: 14px; }
.block__title::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 5px; height: 22px; background: var(--brand);
}
.block__head--center .block__title { padding-left: 0; }
.block__head--center .block__title::before { display: none; }
.block__sub { font-size: 13.5px; color: var(--muted); }

/* ---------- Tabs + 文章列表 ---------- */
.tabs-panel { background: var(--surface); padding: 22px; }
.tabs { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.tabs__btn {
  padding: 7px 16px; border: 0; cursor: pointer;
  background: none; font-size: 14.5px; color: var(--ink-2); transition: .25s var(--ease);
}
.tabs__btn:hover { background: var(--brand-soft); color: var(--brand); }
.tabs__btn.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.tabs__more { margin-left: auto; font-size: 13px; color: var(--muted); }
.tabs__more:hover { color: var(--brand); }

.article-list li { }
.article-list li:last-child { }
.article-item {
  display: grid; grid-template-columns: 1fr 88px; gap: 18px; align-items: center;
  padding: 16px 10px;
  transition: background .3s, transform .35s var(--ease);
}
.article-item:hover { background: var(--surface-2); transform: translateX(4px); }
.article-item h3 { font-size: 16px; margin-bottom: 6px; transition: color .25s; }
.article-item:hover h3 { color: var(--brand); }
.article-item p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item__meta { margin-top: 8px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.article-item__meta em { font-style: normal; color: var(--accent); }
.article-item__thumb {
  height: 62px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--t1), var(--t2));
}

/* ---------- 食谱卡 ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.recipe-card {
  background: var(--surface);
  overflow: hidden; transition: transform .45s var(--ease);
}
.recipe-card:hover { transform: translateY(-6px); }
.recipe-card__thumb {
  position: relative; height: 130px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--c1), var(--c2));
}
.recipe-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px;
  background: rgba(255,255,255,.9); color: #2f7d5d; font-size: 11.5px; font-weight: 700;
}
.recipe-card__body { padding: 16px 18px 18px; }
.recipe-card__body h3 { font-size: 16px; }
.recipe-card__body p { margin: 8px 0 12px; font-size: 13.5px; color: var(--muted); }
.recipe-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.recipe-meta span { padding: 3px 10px; background: var(--bg-soft); font-size: 11.5px; color: var(--ink-2); }

/* ---------- 中医卡 ---------- */
.tcm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tcm-card {
  position: relative; padding: 22px;
  background: var(--surface);
  transition: transform .45s var(--ease);
}
.tcm-card:hover { transform: translateY(-5px); }
.tcm-card__idx { font-size: 30px; font-weight: 800; color: var(--brand); opacity: .18; line-height: 1; }
.tcm-card h3 { margin: 6px 0 8px; font-size: 17px; }
.tcm-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }

/* ---------- 运动卡 ---------- */
.sport-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sport-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px;
  background: var(--surface); text-align: center;
  transition: transform .45s var(--ease);
}
.sport-card:hover { transform: translateY(-5px); }
.sport-card__ico { width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.sport-card b { font-size: 15px; }
.sport-card span { font-size: 12px; color: var(--muted); }

/* ---------- 侧栏 ---------- */
.side-card { background: var(--surface); padding: 20px; }
.side-card__title { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.side-card__bar { width: 4px; height: 16px; background: var(--brand); }
.tip { padding: 12px 0; }
.tip:first-of-type { padding-top: 0; }
.tip b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.tip p { font-size: 13px; color: var(--muted); }

.rank-list li a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.rank-list a:hover { color: var(--brand); }
.rank-list i {
  flex: 0 0 20px; height: 20px; display: grid; place-items: center;
  font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--bg-soft); color: var(--muted);
}
.rank-list li:nth-child(1) i { background: var(--brand); color: #fff; }
.rank-list li:nth-child(2) i { background: #5fa583; color: #fff; }
.rank-list li:nth-child(3) i { background: #8fc2a8; color: #fff; }

.bmi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.bmi__row label { display: block; font-size: 12.5px; color: var(--muted); }
.bmi__row input {
  width: 100%; height: 38px; margin-top: 5px; padding: 0 10px;
  border: 0; outline: none; background: var(--surface-2);
}
.bmi__result { margin-top: 14px; padding: 14px; background: var(--brand-soft); }
.bmi__result b { font-size: 22px; color: var(--brand); }
.bmi__result p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.bmi__result .bar { height: 8px; margin: 10px 0 6px;
  background: linear-gradient(90deg, #7bb8e8, #5cc094, #e0a758, #d88181); position: relative; }
.bmi__result .bar span { position: absolute; top: -3px; width: 4px; height: 14px; background: var(--ink); }
.bmi__note { margin-top: 10px; font-size: 11.5px; color: var(--muted); }

.side-card--promo { background: linear-gradient(140deg, var(--brand-2), var(--brand)); color: #fff; }
.side-card--promo h3 { font-size: 18px; margin: 8px 0; }
.side-card--promo p { font-size: 13.5px; opacity: .88; margin-bottom: 16px; }
.side-card__kicker { font-size: 11.5px; letter-spacing: .16em; opacity: .8; }

.follow { display: flex; gap: 14px; align-items: center; }
.follow__qr { width: 76px; height: 76px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink); }
.follow__text b { display: block; font-size: 14px; }
.follow__text span { display: block; font-size: 12.5px; color: var(--muted); }
.follow__id { margin-top: 4px; font-family: ui-monospace, Consolas, monospace; color: var(--brand) !important; }

/* ---------- 四季 ---------- */
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season-card {
  padding: 24px; background: var(--surface);
  transition: transform .45s var(--ease);
}
.season-card:hover { transform: translateY(-6px); }
.season-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.season-card__ico { font-size: 24px; }
.season-card h3 { font-size: 18px; }
.season-card p { font-size: 13.5px; color: var(--ink-2); }
.season-card ul { margin-top: 14px; display: grid; gap: 7px; font-size: 12.5px; color: var(--muted); }
.season-card li { padding-left: 14px; position: relative; }
.season-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--brand); opacity: .6; }

.jieqi-strip { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px;
  background: var(--surface); }
.jieqi-strip__label { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--brand); }
.jieqi-strip__scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.jieqi-strip__scroll::-webkit-scrollbar { height: 6px; }
.jieqi-strip__scroll::-webkit-scrollbar-thumb { background: var(--line-strong); }
.jieqi-item { flex: 0 0 auto; padding: 6px 14px; font-size: 13px; white-space: nowrap;
  background: var(--bg-soft); color: var(--ink-2); transition: .25s var(--ease); }
.jieqi-item:hover { color: var(--brand); }
.jieqi-item.is-now { background: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 专家 ---------- */
.expert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expert-card {
  display: flex; gap: 14px; padding: 20px;
  background: var(--surface);
  transition: transform .45s var(--ease);
}
.expert-card:hover { transform: translateY(-6px); }
.expert-card__avatar {
  flex: 0 0 52px; height: 52px; display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, var(--a1), var(--a2));
}
.expert-card__body { min-width: 0; }
.expert-card__body h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.expert-card__body h3 span { padding: 2px 8px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 600; }
.expert-card__hosp { margin: 4px 0 6px; font-size: 12.5px; color: var(--muted); }
.expert-card__skill { font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 人群 ---------- */
.crowd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.crowd-chip {
  display: flex; flex-direction: column; gap: 4px; padding: 20px;
  background: var(--surface);
  transition: transform .4s var(--ease), background .3s;
}
.crowd-chip:hover { transform: translateY(-4px); background: var(--brand-soft); }
.crowd-chip b { font-size: 16px; }
.crowd-chip span { font-size: 12.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 40px; background: var(--ink); color: rgba(255,255,255,.7); }
html[data-theme="dark"] .footer { background: #0b110d; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding: 52px 0 36px; }
.footer__brand p { margin: 16px 0 14px; font-size: 13.5px; line-height: 1.9; max-width: 420px; }
.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text em { color: rgba(255,255,255,.5); }
.footer__contact { display: grid; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__links h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.footer__links a { display: block; padding: 5px 0; font-size: 13px; transition: color .25s, transform .25s; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer__disclaimer {
  padding: 16px 20px; margin-bottom: 24px;
  background: rgba(255,255,255,.06); font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.62);
}
.footer__disclaimer strong { color: #f0c48c; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 0 28px; font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer__friendly a { margin-left: 10px; }
.footer__friendly a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 50;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; cursor: pointer;
  background: var(--surface); color: var(--brand);
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .quickgrid { grid-template-columns: repeat(4, 1fr); }
  .expert-row { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-wrap: wrap; position: absolute; top: 68px; left: 0; right: 0;
    padding: 16px 20px; background: var(--surface);
  }
  .nav.is-open .nav__link { width: 33.33%; text-align: center; }
  .menu-toggle { display: block; }
  .quicksearch { display: none; }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .floating-mini { display: none; }
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .season-grid, .crowd-grid, .sport-row { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: 1fr; }
  .tcm-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 32px; }
  .quickgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
  .season-grid, .crowd-grid, .sport-row, .expert-row, .col-side { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .hero__stats b { font-size: 21px; }
  .article-item { grid-template-columns: 1fr; }
  .article-item__thumb { display: none; }
  .header__inner { height: 60px; gap: 12px; }
  .logo__text em { display: none; }
  .topbar__left .topbar__date { display: none; }
  .nav.is-open .nav__link { width: 50%; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .to-top { right: 14px; bottom: 18px; }
}

/* ==========================================================
   草木养生 — 文章列表页
   ========================================================== */

/* ---------- 栏目头 ---------- */
.cat-hero {
  position: relative; overflow: hidden;
  padding: 40px 0 46px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand) 62%, #245f48);
  color: #fff;
}
html[data-theme="dark"] .cat-hero { background: linear-gradient(135deg, #245c46, #1b4a39 65%, #14382c); }
.cat-hero__decor { position: absolute; inset: 0; pointer-events: none; }
.cat-hero__decor span {
  position: absolute; background: rgba(255, 255, 255, .16); filter: blur(30px);
}
.cat-hero__decor span:first-child { width: 300px; height: 300px; right: -60px; top: -120px; }
.cat-hero__decor span:last-child { width: 220px; height: 220px; right: 24%; bottom: -140px; background: rgba(255, 233, 190, .22); }
.cat-hero__inner { position: relative; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: #fff; }

.cat-hero__title { margin: 12px 0 8px; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; }
.cat-hero__desc { font-size: 15px; color: rgba(255, 255, 255, .82);}
.cat-hero__meta { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 24px; }
.cat-hero__meta li { display: flex; flex-direction: column; }
.cat-hero__meta b { font-size: 24px; font-variant-numeric: tabular-nums; }
.cat-hero__meta span { font-size: 12px; color: rgba(255, 255, 255, .75); }

.section--list { padding: 34px 0 56px; }

/* ---------- 筛选条 ---------- */
.filterbar {
  padding: 18px 20px;
  background: var(--surface);
}
.filterbar__row { display: flex; gap: 14px; align-items: flex-start; }
.filterbar__row + .filterbar__row { margin-top: 14px; padding-top: 14px; }
.filterbar__row--split { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filterbar__label { flex: 0 0 auto; padding-top: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.filterbar__count { font-size: 13px; color: var(--muted); }
.filterbar__count b { color: var(--ink); font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 14px; border: 0;
  background:var(--bg-soft); font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.chip em{font-style:normal}
.chip:hover { transform: translateY(-2px); color: var(--brand); }
.chip.is-active { background: var(--brand); color: #fff; font-weight: 600; }

.sorts { display: flex; gap: 4px; }
.sorts__btn {
  padding: 6px 14px; border: 0; cursor: pointer;
  background: none; font-size: 13.5px; color: var(--ink-2); transition: .25s var(--ease);
}
.sorts__btn:hover { background: var(--brand-soft); color: var(--brand); }
.sorts__btn.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

/* ---------- 文章卡 ---------- */
.post-list { display: grid; gap: 14px; }
.post-card {
  display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center;
  padding: 16px; margin-top: 20px;
  background: var(--surface);
  transition: transform .45s var(--ease);
}
.post-card:hover { transform: translateY(-4px); }

.post-card__thumb {
  position: relative; height: 132px; overflow: hidden;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--t1), var(--t2));
}
.post-card__thumb svg { opacity: .92; }
.post-card__cat {
  position: absolute; left: 10px; top: 10px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, .92); color: #2b6b52;
  font-size: 11.5px; font-weight: 700;
}
.post-card__body { min-width: 0; }
.post-card__title {
  font-size: 17.5px; line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .25s;
}
.post-card:hover .post-card__title { color: var(--brand); }
.post-card__desc {
  font-size: 13.5px; color: var(--muted); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.post-card__meta .author { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.post-card__meta .author i {
  width: 22px; height: 22px; display: grid; place-items: center;
  font-style: normal; font-size: 11px; color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand));
}
.post-card__meta em { font-style: normal; color: var(--accent); }
.post-card__meta .tag { padding: 2px 8px; background: var(--bg-soft); }

.post-card__rank {
  position: absolute; right: 10px; top: 10px;
  padding: 3px 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
}

/* ---------- 空状态 ---------- */
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty svg { color: var(--brand); opacity: .5; margin-bottom: 14px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.pager__btn {
  min-width: 38px; height: 38px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  background: var(--surface); font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.pager__btn:hover:not(:disabled) { transform: translateY(-2px); color: var(--brand); }
.pager__btn.is-active { background: var(--brand); color: #fff; font-weight: 700; }
.pager__btn:disabled { opacity: .45; cursor: not-allowed; }
.pager__dots { color: var(--muted); padding: 0 4px; }

/* ---------- 侧栏组件 ---------- */
.topic-list { display: grid;}
.topic-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  padding: 10px;
  transition: background .3s, transform .35s var(--ease);
}
.topic-item:hover { background: var(--surface-2); transform: translateX(3px); }
.topic-item__ico {
  height: 44px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--t1), var(--t2)); font-size: 18px;
}
.topic-item b { display: block; font-size: 14px; }
.topic-item span { font-size: 12px; color: var(--muted); }

.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a {
  padding: 4px 12px; font-size: 12.5px;
  background: var(--bg-soft); color: var(--ink-2); transition: .25s var(--ease);
}
.tagcloud a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.sub-form { display: grid; gap: 10px; }
.sub-form input {
  height: 40px; padding: 0 14px; border: 0; outline: none;
  background: rgba(255, 255, 255, .16); color: #fff;
}
.sub-form input::placeholder { color: rgba(255, 255, 255, .7); }
.sub-form input:focus { background: rgba(255, 255, 255, .24); }
.sub-note { margin-top: 10px !important; font-size: 12.5px; color: #fff; }

.side-card--tip { background: var(--accent-soft); }
.side-card--tip p { font-size: 13px; color: var(--ink-2); line-height: 1.85; }

/* ===== 分页组件 ===== */
.pagination {
  display: flex;
  justify-content: center;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 0;
  transition: background-color .25s, color .25s;
}

/* 悬停态 */
.pagination__link:hover {
  background: #f5f5f5;
  color: #2f7d5d;
}

/* 当前页 */
.pagination__link.is-active {
  background: #2f7d5d;
  color: #fff;
  font-weight: 600;
  cursor: default;
}

/* 禁用态（上一页不可用时） */
.pagination__item.is-disabled .pagination__link {
  color: #bbbbbb;
  background: #fafafa;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .col-side { position: static; }
}
@media (max-width: 760px) {
  .cat-hero { padding: 30px 0 34px; }
  .cat-hero__meta { gap: 22px; }
  .cat-hero__meta b { font-size: 20px; }
  .post-card { grid-template-columns: 1fr; gap: 12px; }
  .post-card__thumb { height: 150px; }
  .filterbar__row { flex-direction: column; gap: 10px; }
  .filterbar__row--split { flex-direction: row; justify-content: space-between; }
  .filterbar__label { padding-top: 0; }
}

/* 移动端：收紧尺寸，避免溢出 */
@media (max-width: 640px) {
  .pagination__link {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .post-card__meta { gap: 10px; }
  .pager__btn { min-width: 34px; height: 34px; padding: 0 10px; }
}

/* ---------- 子分类分组 ---------- */
.sub-block { scroll-margin-top: 96px; }
.sub-block__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; color: var(--text); font-weight: 700;
}
.sub-block__title > span {
  position: relative; padding-left: 12px;
}
.sub-block__title > span::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px; background: var(--brand);
}
.sub-block__title > em {
  font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--brand-soft); padding: 2px 9px;
}
.filterbar__hint { font-size: 13px; color: var(--muted); }