
:root{--brand:#a8322a}
/* ==========================================================================
   青囊养生 · 中医养生响应式主题（青囊卷）
   美学：青囊书卷 —— 宣纸底 / 松烟墨绿 / 朱砂点缀 / 描金细线
   断点：>=1280 全宽三栏｜1024-1279 收缩｜768-1023 右栏下沉｜<768 单列+抽屉
   ========================================================================== */

:root {
  --paper: #f4efe4;
  --paper-2: #ece4d3;
  --card: #fffdf8;
  --ink: #24413a;          /* 松烟墨绿 */
  --ink-2: #33544b;
  --cinnabar: #a8322a;     /* 朱砂 */
  --cinnabar-2: #8c2620;
  --gold: #b08d4f;
  --gold-2: #d9c391;
  --line: #e3d9c4;
  --line-2: #d5c8ab;
  --t1: #2c2a26;
  --t2: #6d675c;
  --t3: #9a9284;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --num: Georgia, "Times New Roman", serif;
  --w: 1200px;
  --shadow-1: 0 1px 2px rgba(44, 42, 38, .06), 0 8px 24px rgba(44, 42, 38, .06);
  --shadow-2: 0 4px 10px rgba(36, 65, 58, .12), 0 16px 40px rgba(36, 65, 58, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font: 16px/1.7 var(--sans);
  color: var(--t1);
  background:
    radial-gradient(140% 90% at 8% -10%, rgba(176, 141, 79, .10), transparent 55%),
    radial-gradient(120% 80% at 100% 0%, rgba(36, 65, 58, .07), transparent 50%),
    var(--paper);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cinnabar); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(168, 50, 42, .16); }

.wrap { width: min(var(--w), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--ink); color: #f6efdf; padding: 10px 16px; border-radius: 4px;
}
.skip:focus { left: 12px; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: relative;
  background: linear-gradient(180deg, #fbf7ec 0%, #f2ebda 100%);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--t2);
  z-index: 900;
}
.topbar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold) 30%, var(--gold-2) 50%, var(--gold) 70%, var(--cinnabar));
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 46px; }

.clock {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-width: 0; height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: linear-gradient(180deg, #fffefb, #f7f0de);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(44, 42, 38, .05);
  white-space: nowrap;
}
.clock-seal {
  width: 22px; height: 22px; flex: 0 0 22px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, #b8392f, var(--cinnabar-2));
  color: #fff5e6; border-radius: 4px;
  font: 600 11px/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .4), 0 1px 2px rgba(0,0,0,.18);
}
.clock-hm {
  font: 600 17px/1 var(--num); color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.clock-sc {
  font: 600 10.5px/1 var(--num); color: var(--gold);
  font-variant-numeric: tabular-nums; margin-left: -6px; align-self: flex-end;
  padding-bottom: 4px;
}
.clock-div { display: none; }
.clock-date, .clock-term, .clock-wx {
  border-left: 1px solid var(--line-2); padding-left: 10px;
}
.clock-date, .clock-term {
  font-size: 12px; color: var(--t2); line-height: 1;
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.clock-date { max-width: 236px; }
.clock-term { max-width: 150px; }
.clock-term em, .clock-date em { font-style: normal; color: var(--ink); font-weight: 600; }
.clock-wx { display: flex; align-items: center; gap: 5px; min-width: 0; }
.clock-wx svg { width: 20px; height: 20px; color: #c58a1d; flex: 0 0 20px; }
.clock-wx b { font: 600 14px/1 var(--num); color: var(--ink); }
.clock-wx > span:not(.clock-city) { font-size: 12px; color: var(--t2); }
.clock-city {
  font-size: 10px; color: var(--t3); padding: 1px 5px;
  border: 1px solid var(--line-2); border-radius: 2px; background: rgba(255,255,255,.6);
}
.clock-pop {
  position: absolute; left: 0; top: calc(100% + 8px); width: 252px;
  padding: 13px 15px; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: .22s var(--ease); pointer-events: none; z-index: 20;
}
.clock:hover .clock-pop { opacity: 1; visibility: visible; transform: none; }
.clock-pop::before {
  content: ""; position: absolute; left: 20px; top: -5px; width: 9px; height: 9px;
  background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.clock-pop h4 { font: 600 12px/1 var(--serif); color: var(--ink); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); letter-spacing: .08em; }
.clock-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; font-size: 11.5px; }
.clock-pop dt { color: var(--t3); }
.clock-pop dd { text-align: right; color: #46423a; }
.clock-pop .src { margin-top: 9px; padding-top: 7px; border-top: 1px dashed var(--line-2); font-size: 10.5px; color: var(--t3); }

.top-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: linear-gradient(180deg, #fffefb, #f6efdd);
  font-size: 12px; color: #6a5b41; transition: .2s var(--ease);
}
.tool-btn i { font-style: normal; font-size: 11px; color: var(--gold); transition: transform .3s var(--ease); }
.tool-btn:hover { background: linear-gradient(180deg, #b8392f, var(--cinnabar-2)); border-color: var(--cinnabar-2); color: #fff5e6; box-shadow: 0 3px 10px rgba(140, 38, 32, .25); }
.tool-btn:hover i { color: #ffe9c4; transform: rotate(144deg) scale(1.12); }

/* ---------------- 头部 ---------------- */
.masthead { background: linear-gradient(180deg, #f8f3e7, #f2ecdd); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 28px; padding: 22px 0 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-seal {
  width: 56px; height: 56px; border-radius: 6px; flex: 0 0 56px;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,.22), transparent 50%),
    linear-gradient(155deg, #b8392f 0%, var(--cinnabar-2) 70%);
  color: #fdf2df; font: 600 26px/1 var(--serif);
  box-shadow: inset 0 0 0 2px rgba(255, 244, 224, .38), inset 0 0 0 5px rgba(140, 38, 32, .5), 0 4px 12px rgba(140, 38, 32, .28);
  transform: rotate(-2deg);
}
.brand h1 { font: 600 30px/1.15 var(--serif); color: var(--ink); letter-spacing: .06em; }
.brand p { font-size: 12px; color: var(--t3); letter-spacing: .34em; margin-top: 5px; }

.mast-search { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex; width: 300px; height: 42px;
  border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  background: var(--card); box-shadow: inset 0 1px 3px rgba(44,42,38,.05);
}
.search input {
  flex: 1; border: 0; padding: 0 14px; font: 14px var(--sans); color: var(--t1); background: transparent; min-width: 0;
}
.search input::placeholder { color: var(--t3); }
.search button {
  width: 52px; background: var(--ink); color: #f2ead7; font-size: 13px; letter-spacing: .1em;
  transition: background .2s;
}
.search button:hover { background: var(--cinnabar); }
.mast-note { font-size: 11.5px; color: var(--t3); line-height: 1.8; text-align: right; white-space: nowrap; }
.mast-note b { color: var(--ink); font-weight: 600; }

/* ---------------- 主导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 800;
  background: linear-gradient(180deg, #2c4f45 0%, var(--ink) 100%);
  box-shadow: 0 2px 10px rgba(24, 43, 38, .28);
}
.nav-in { display: flex; align-items: center; }
.nav-list { display: flex; flex-wrap: wrap; }
.nav-list a {
  position: relative; display: block; padding: 0 17px; height: 50px; line-height: 50px;
  color: #e9e2cc; font-size: 15px; letter-spacing: .04em;
  transition: color .18s, background .18s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 9px; height: 2px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform .24s var(--ease);
}
.nav-list a:hover, .nav-list a.on { color: #fff; }
.nav-list a:hover::after, .nav-list a.on::after { transform: scaleX(1); }
.nav-burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span { width: 20px; height: 2px; background: #e9e2cc; transition: .25s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 面包屑 ---------------- */
.crumbs { display: flex; align-items: center; gap: 8px; padding: 16px 0 0; font-size: 12.5px; color: var(--t3); }
.crumbs a:hover { color: var(--cinnabar); }
.crumbs .sep { color: var(--line-2); }

/* ---------------- 首页 HERO ---------------- */
.hero { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; padding: 24px 0 8px; align-items: stretch; }
.hero-main { min-width: 0; }
.hero-lead {
  position: relative; display: block; border-radius: 8px; overflow: hidden;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow-2); isolation: isolate;
}
.hero-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hero-lead:hover img { transform: scale(1.035); }
.hero-lead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(20, 34, 30, .82) 100%);
}
.hero-lead-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px 18px; color: #fdf8ec; z-index: 2; }
.hero-lead-cap .k {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px;
  font-size: 11px; letter-spacing: .22em; color: #f0dfb8;
}
.hero-lead-cap .k::before { content: ""; width: 18px; height: 1px; background: var(--gold-2); }
.hero-lead-cap h2 { font: 600 clamp(20px, 2.4vw, 27px)/1.4 var(--serif); letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero-lead-cap p { margin-top: 6px; font-size: 13px; color: rgba(253, 248, 236, .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.hero-sub a {
  position: relative; display: block; border-radius: 6px; overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); isolation: isolate;
}
.hero-sub img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-sub a:hover img { transform: scale(1.05); }
.hero-sub a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 34, 30, .84) 100%);
}
.hero-sub b {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 13px;
  color: #fdf8ec; font: 500 14px/1.5 var(--sans); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 节气卡 */
.term-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background:
    radial-gradient(130% 100% at 100% 0%, rgba(176, 141, 79, .14), transparent 55%),
    linear-gradient(180deg, #fbf6ea, #f4edda);
  box-shadow: var(--shadow-1);
}
.term-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px dashed var(--line-2); }
.term-head .big { font: 600 26px/1 var(--serif); color: var(--cinnabar); letter-spacing: .1em; }
.term-head .sub { font-size: 11.5px; color: var(--t2); line-height: 1.55; }
.term-head .sub em { font-style: normal; color: var(--ink); }
.term-body { padding: 12px 16px 14px; }
.term-row { display: flex; gap: 10px; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed rgba(213, 200, 171, .55); }
.term-row:last-child { border-bottom: 0; }
.term-row i {
  flex: 0 0 34px; height: 22px; margin-top: 2px; display: grid; place-items: center;
  background: rgba(36, 65, 58, .08); border: 1px solid var(--line-2); border-radius: 3px;
  font: 600 11px/1 var(--serif); color: var(--ink); font-style: normal;
}
.term-row.hl i { background: rgba(168, 50, 42, .1); border-color: rgba(168, 50, 42, .3); color: var(--cinnabar); }
.term-row p { color: var(--t2); }

.hot-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-1); }
.hot-card h3, .aside-box h3 {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  font: 600 15px/1 var(--serif); color: var(--ink); letter-spacing: .1em;
}
.hot-card h3::before, .aside-box h3::before { content: ""; width: 3px; height: 14px; background: var(--cinnabar); border-radius: 1px; }
.hot-card h3 .en, .aside-box h3 .en { margin-left: auto; font: 400 10px/1 var(--num); color: var(--t3); letter-spacing: .18em; }
.hot-list { padding: 8px 10px 10px; }
.hot-list a { display: flex; gap: 11px; padding: 9px 6px; border-radius: 6px; transition: background .18s; }
.hot-list a:hover { background: rgba(176, 141, 79, .08); }
.hot-list .no {
  flex: 0 0 20px; height: 20px; margin-top: 3px; display: grid; place-items: center;
  border-radius: 3px; font: 600 11px/1 var(--num); color: var(--t3);
  background: rgba(36, 65, 58, .06);
}
.hot-list a:nth-child(-n+3) .no { background: var(--cinnabar); color: #fdf2df; }
.hot-list b { font: 500 14px/1.55 var(--sans); color: var(--t1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-list a:hover b { color: var(--cinnabar); }
.hot-list .m { margin-top: 3px; font-size: 11px; color: var(--t3); }

/* 热读风云榜 · 日/周/年 */
.hero-side { display: flex; flex-direction: column; }
.hot-card { position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.hot-card .hot-list { flex: 1; padding: 3px 10px 4px; }
.hot-card .hot-list a { flex: 1 1 auto; align-items: center; min-height: 0; max-height: 76px; padding: 5px 6px; }
.hot-card .hot-list .no { margin-top: 0; }
.hot-card .hot-list .m { margin-top: 2px; font-size: 10.5px; }
.hot-card .hot-foot { margin-top: auto; }
.hot-card::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--cinnabar) 0%, var(--gold) 50%, var(--cinnabar) 100%);
}
.hot-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.hot-head h3 { padding: 0; border-bottom: 0; flex: 1; }
.hot-tabs { display: flex; gap: 5px; }
.hot-tab {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 4px;
  background: linear-gradient(180deg, #fffefb, #f4ecd9);
  font: 600 13px/1 var(--serif); color: var(--t2);
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}
.hot-tab:hover { color: var(--cinnabar); border-color: rgba(168, 50, 42, .45); }
.hot-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hot-tab.on {
  background:
    radial-gradient(120% 120% at 22% 16%, rgba(255, 255, 255, .24), transparent 52%),
    linear-gradient(155deg, #b8392f 0%, var(--cinnabar-2) 72%);
  border-color: var(--cinnabar-2); color: #fdf2df;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .42), inset 0 0 0 3px rgba(140, 38, 32, .45), 0 2px 7px rgba(140, 38, 32, .3);
  transform: rotate(-3deg);
  animation: hot-stamp .32s var(--ease);
}
@keyframes hot-stamp {
  0% { transform: scale(1.3) rotate(-10deg); opacity: .55; }
  62% { transform: scale(.95) rotate(-1deg); opacity: 1; }
  100% { transform: rotate(-3deg); }
}
.hot-panel { display: none; }
.hot-card .hot-panel.on { display: flex; flex-direction: column; justify-content: space-evenly; }
.hot-panel.on a { animation: hot-in .42s var(--ease) backwards; }
.hot-panel.on a:nth-child(2) { animation-delay: .04s; }
.hot-panel.on a:nth-child(3) { animation-delay: .08s; }
.hot-panel.on a:nth-child(4) { animation-delay: .12s; }
.hot-panel.on a:nth-child(5) { animation-delay: .16s; }
.hot-panel.on a:nth-child(6) { animation-delay: .2s; }
.hot-panel.on a:nth-child(7) { animation-delay: .24s; }
.hot-panel.on a:nth-child(8) { animation-delay: .28s; }
.hot-panel.on a:nth-child(9) { animation-delay: .32s; }
.hot-panel.on a:nth-child(10) { animation-delay: .36s; }
@keyframes hot-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
.hot-panel .no {
  font-family: var(--serif);
}
.hot-foot {
  margin: 0; padding: 9px 16px 12px; border-top: 1px dashed var(--line-2);
  font-size: 10.5px; color: var(--t3); letter-spacing: .12em; text-align: center;
}

/* ---------------- 板块 ---------------- */
.section { padding: 30px 0 6px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.sec-title { display: flex; align-items: center; gap: 12px; }
.sec-title .v {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 5px;
  background: linear-gradient(155deg, var(--ink) 0%, #1b332d 100%);
  color: #ecdfc0; font: 600 15px/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(236, 223, 192, .3);
}
.sec-title h2 { font: 600 24px/1.2 var(--serif); color: var(--ink); letter-spacing: .05em; }
.sec-title .en { font: 400 10.5px/1 var(--num); color: var(--t3); letter-spacing: .2em; margin-left: 4px; }
.sec-more { margin-left: auto; font-size: 13px; color: var(--t2); display: inline-flex; align-items: center; gap: 5px; }
.sec-more::after { content: "›"; font-family: var(--num); color: var(--cinnabar); transition: transform .2s; }
.sec-more:hover::after { transform: translateX(3px); }
.sec-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); align-self: center; }

.sec-intro { font: 400 13px/1.7 var(--serif); color: var(--t2); letter-spacing: .04em; white-space: nowrap; }

/* 三列图文册页：3×2 均匀网格 · 宣纸底 + 描金角花 + 朱砂序号印 + 虚线内框 */
.sec-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.doc, .doc-list {
  position: relative; display: flex; flex-direction: column;
  border-radius: 8px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fcf7ec, #f6efdd);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.doc:hover, .doc-list:hover { transform: translateY(-3px); border-color: rgba(176, 141, 79, .6); box-shadow: var(--shadow-2); }
.doc::before, .doc-list::before {
  content: ""; position: absolute; inset: 6px; z-index: 3; pointer-events: none; opacity: .85;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) left top    / 16px 1.5px,
    linear-gradient(var(--gold-2), var(--gold-2)) left top    / 1.5px 16px,
    linear-gradient(var(--gold-2), var(--gold-2)) right top   / 16px 1.5px,
    linear-gradient(var(--gold-2), var(--gold-2)) right top   / 1.5px 16px,
    linear-gradient(var(--gold-2), var(--gold-2)) left bottom / 16px 1.5px,
    linear-gradient(var(--gold-2), var(--gold-2)) left bottom / 1.5px 16px,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom/ 16px 1.5px,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom/ 1.5px 16px;
  background-repeat: no-repeat;
}
.doc .ph { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.doc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.doc:hover .ph img { transform: scale(1.05); }
.doc .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(20, 34, 30, .42)); }
.doc .cat {
  position: absolute; left: 13px; top: 13px; z-index: 2;
  padding: 3px 10px; border-radius: 3px; background: rgba(36, 65, 58, .88);
  color: #ecdfc0; font-size: 11px; letter-spacing: .14em;
}
.doc .seal {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px;
  transform: rotate(-4deg);
  background: linear-gradient(155deg, #b8392f, var(--cinnabar-2)); color: #fdf2df;
  font: 600 13px/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .42), 0 2px 6px rgba(140, 38, 32, .35);
  transition: transform .28s var(--ease);
}
.doc:hover .seal { transform: rotate(3deg) scale(1.08); }
.doc-bd {
  flex: 1; display: flex; flex-direction: column;
  margin: 10px 12px 12px; padding: 12px 14px;
  background: rgba(255, 253, 246, .72);
  border: 1px dashed rgba(176, 141, 79, .45); border-radius: 6px;
}
.doc-bd h3 { font: 600 17px/1.55 var(--serif); color: var(--t1); min-height: calc(2 * 1.55em);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-bd h3 a { color: inherit; transition: color .18s; }
.doc-bd h3 a:hover { color: var(--cinnabar); }
.doc-bd p { margin-top: 7px; font-size: 13px; line-height: 1.68; color: var(--t2); min-height: calc(2 * 1.68em);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-meta {
  margin-top: auto; padding-top: 9px; display: flex; align-items: center; gap: 12px;
  border-top: 1px solid rgba(176, 141, 79, .28);
  font-size: 11.5px; color: var(--t3);
}
.doc-meta time { font: 11.5px/1 var(--num); color: var(--t3); }
.doc-meta time::before { content: "◇ "; color: var(--gold-2); }
.doc-meta .go { margin-left: auto; color: var(--cinnabar); font-size: 12px; transition: transform .2s; }
.doc-meta .go:hover { transform: translateX(2px); }

/* 养生之道 · 顶部小图文卡带 + 三列标题墙（标题多、图片小） */
.mix-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mini {
  display: flex; align-items: center; gap: 11px; min-width: 0;
  padding: 9px 12px 9px 9px;
  background: linear-gradient(180deg, #fcf7ec, #f6efdd);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.mini:hover { transform: translateY(-2px); border-color: rgba(176, 141, 79, .6); box-shadow: var(--shadow-2); }
.mini img { flex: 0 0 96px; width: 96px; height: 72px; border-radius: 4px; object-fit: cover; box-shadow: var(--shadow-1); transition: transform .5s var(--ease); }
.mini:hover img { transform: scale(1.05); }
.mini .mx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mini .mx b {
  font: 600 13.5px/1.5 var(--serif); color: var(--t1); min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(2 * 1.5em); transition: color .18s;
}
.mini:hover .mx b { color: var(--cinnabar); }
.mini .mm { font-size: 10.5px; color: var(--t3); }
.mini .mm time { font: 10.5px/1 var(--num); }
.mini .mgo { flex: 0 0 auto; color: var(--line-2); font: 15px/1 var(--num); transition: color .18s, transform .18s; }
.mini:hover .mgo { color: var(--cinnabar); transform: translateX(2px); }
.mix-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.mix-wall .doc-list li { min-height: 42px; }
.mix-wall .doc-list li b { font-size: 13.5px; }
.doc-list .dl-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px 11px; border-bottom: 1px solid var(--line);
}
.dl-seal {
  flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 4px; transform: rotate(-4deg);
  background: linear-gradient(155deg, #b8392f, var(--cinnabar-2)); color: #fdf2df;
  font: 600 12px/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .42), 0 2px 5px rgba(140, 38, 32, .32);
}
.dl-head b { font: 600 15px/1 var(--serif); color: var(--ink); letter-spacing: .1em; }
.dl-head .en { margin-left: auto; font: 400 10px/1 var(--num); color: var(--t3); letter-spacing: .16em; }
.doc-list ul { flex: 1; display: flex; flex-direction: column; list-style: none; margin: 0; padding: 4px 12px 2px; }
.doc-list li { flex: 1; display: flex; min-height: 46px; border-bottom: 1px dashed rgba(176, 141, 79, .35); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 5px 2px; border-radius: 4px; }
.doc-list .no {
  flex: 0 0 20px; height: 20px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(36, 65, 58, .05);
  font: 600 11px/1 var(--serif); color: var(--t2);
}
.doc-list li a:hover .no { border-color: rgba(168, 50, 42, .45); color: var(--cinnabar); }
.doc-list li b {
  flex: 1; min-width: 0; font: 500 14px/1.6 var(--sans); color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .18s;
}
.doc-list li a:hover b { color: var(--cinnabar); }
.doc-list .new {
  flex: 0 0 auto; font-size: 10px; color: #fff; background: var(--cinnabar);
  border-radius: 2px; padding: 1px 4px; letter-spacing: .06em;
}
.doc-list time { flex: 0 0 auto; font: 11.5px/1 var(--num); color: var(--t3); }
.dl-more {
  margin: 0 14px; padding: 10px 0 12px; border-top: 1px dashed rgba(176, 141, 79, .35);
  text-align: center; font-size: 12px; color: var(--t2); letter-spacing: .06em;
}
.dl-more:hover { color: var(--cinnabar); }

/* 药膳食疗 · 左 2×3 小图文卡阵 + 右标题长墙（标题多、图片小） */
.sec-ll { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; align-items: stretch; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.mini-grid .mini { height: 100%; }

/* 中医健康 · 特稿横条（图窄文宽）+ 三列「小图卡头 + 标题柱」 */
.sec-mg .mg-feature { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); grid-auto-rows: 220px; }
.mg-feature .ph { aspect-ratio: auto; height: 100%; min-height: 0; }
.mg-feature .fg-tx { padding: 20px 26px; }
.mg-feature .fg-tx h3 { font-size: 19px; -webkit-line-clamp: 2; }
.mg-feature .fg-tx p { font-size: 13px; line-height: 1.75; -webkit-line-clamp: 2; }
.fg-tx { display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
.fg-k { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .22em; color: var(--cinnabar); }
.fg-k::before { content: ""; width: 18px; height: 1px; background: var(--gold-2); }
.fg-tx h3 { margin-top: 10px; font: 600 21px/1.55 var(--serif); color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fg-tx h3 a { color: inherit; transition: color .18s; }
.fg-tx h3 a:hover { color: var(--cinnabar); }
.fg-tx p { margin-top: 9px; font-size: 13.5px; line-height: 1.8; color: var(--t2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.mg-media { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mg-media img { flex: 0 0 96px; width: 96px; height: 72px; border-radius: 4px; object-fit: cover; box-shadow: var(--shadow-1); transition: transform .5s var(--ease); }
.mg-col:hover .mg-media img { transform: scale(1.05); }
.mg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mg-tx b { font: 600 14.5px/1.5 var(--serif); color: var(--t1); min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.5em); transition: color .18s; }
.mg-col:hover .mg-tx b { color: var(--cinnabar); }
.mg-tx .mm { font-size: 10.5px; color: var(--t3); }
.mg-tx .mm time { font: 10.5px/1 var(--num); }
.mg-col .ss-list { padding: 4px 12px 2px; }

/* 中药百态 · 本草档案图鉴目录（账簿式药屉条目：序号印+小图+标题+简介+档案） */
.dr-body {
  flex: 1; padding: 6px 16px 2px;
  display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(3, 1fr); grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}
.dr-row:nth-child(n+4) {
  padding-left: 15px; margin-left: -15px;
  border-left: 1px dashed rgba(176, 141, 79, .4);
}
.dr-row:nth-child(3), .dr-row:nth-child(6) { border-bottom: 0; }
.dr-row {
  flex: 1; min-height: 92px; min-width: 0;
  display: flex; align-items: center; gap: 16px; padding: 10px 2px;
  border-bottom: 1px dashed rgba(176, 141, 79, .35);
}
.dr-row:last-child { border-bottom: 0; }
.dr-no {
  flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 5px;
  transform: rotate(-4deg);
  background: linear-gradient(155deg, #b8392f, var(--cinnabar-2)); color: #fdf2df;
  font: 600 14px/1 var(--serif);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .42), 0 2px 5px rgba(140, 38, 32, .3);
  transition: transform .25s var(--ease);
}
.dr-row:hover .dr-no { transform: rotate(3deg) scale(1.08); }
.dr-row img { flex: 0 0 96px; width: 96px; height: 72px; border-radius: 4px; object-fit: cover; box-shadow: var(--shadow-1); transition: transform .5s var(--ease); }
.dr-row:hover img { transform: scale(1.05); }
.dr-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dr-tx b { font: 600 16px/1.45 var(--serif); color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .18s; }
.dr-row:hover .dr-tx b { color: var(--cinnabar); }
.dr-d { font-size: 12.5px; color: var(--t2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; color: var(--t3); }
.dr-meta time { font: 11px/1 var(--num); }
.dr-row .mgo { flex: 0 0 auto; color: var(--line-2); font: 17px/1 var(--num); transition: color .18s, transform .18s; }
.dr-row:hover .mgo { color: var(--cinnabar); transform: translateX(2px); }

.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 11px; font-size: 11.5px; color: var(--t3); }
.meta span::before { content: "·"; margin-right: 5px; color: var(--line-2); }
.meta span:first-child::before { content: ""; margin: 0; }

/* 四季养生 · 四联季节册页（春青/夏赤/秋金/冬墨） */
.sec-seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.season, .season .ss-list {
  position: relative; display: flex; flex-direction: column;
}
.season {
  border-radius: 8px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fcf7ec, #f6efdd);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.season:hover { transform: translateY(-3px); border-color: rgba(176, 141, 79, .6); box-shadow: var(--shadow-2); }
.ss-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ss-seal {
  flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px;
  font: 600 21px/1 var(--serif); color: #fdf2df;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 224, .3), 0 2px 5px rgba(20, 34, 30, .25);
}
.sp-spring .ss-seal { background: linear-gradient(155deg, #4a7c59, #2f5d3f); }
.sp-summer .ss-seal { background: linear-gradient(155deg, #b8392f, #8c2620); }
.sp-autumn .ss-seal { background: linear-gradient(155deg, #b08d4f, #8a6a35); }
.sp-winter .ss-seal { background: linear-gradient(155deg, #2f4d63, #1f3a4d); }
.ss-t { flex: 1; min-width: 0; }
.ss-t b { display: block; font: 600 17px/1.3 var(--serif); color: var(--ink); letter-spacing: .08em; }
.ss-t span { display: block; margin-top: 3px; font-size: 10px; color: var(--t3); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-ph { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 4px; object-fit: cover; box-shadow: var(--shadow-1); }
.ss-list { flex: 1; list-style: none; margin: 0; padding: 4px 12px 2px; }
.ss-list li { flex: 1; min-height: 46px; display: flex; border-bottom: 1px dashed rgba(176, 141, 79, .35); }
.ss-list li:last-child { border-bottom: 0; }
.ss-list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 4px 2px; }
.ss-list .no {
  flex: 0 0 18px; height: 18px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(36, 65, 58, .05); font: 600 10.5px/1 var(--serif); color: var(--t2);
}
.ss-list b { flex: 1; min-width: 0; font: 500 13.5px/1.55 var(--sans); color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .18s; }
.ss-list a:hover b { color: var(--cinnabar); }
.ss-list time { flex: 0 0 auto; font: 11px/1 var(--num); color: var(--t3); }
.season .dl-more {
  margin: 0 14px; padding: 9px 0 11px; border-top: 1px dashed rgba(176, 141, 79, .35);
  text-align: center; font-size: 11.5px; color: var(--t2); letter-spacing: .06em;
}
.season .dl-more:hover { color: var(--cinnabar); }

/* 标签云带 */
.tagband {
  margin: 34px 0 0; padding: 20px 24px; border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbf6ea, #f3ecd9);
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
}
.tagband .lab { font: 600 14px/1 var(--serif); color: var(--ink); margin-right: 10px; display: inline-flex; align-items: center; gap: 8px; }
.tagband .lab::before { content: ""; width: 3px; height: 13px; background: var(--cinnabar); border-radius: 1px; }
.tag { padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: 12.5px; color: var(--t2); transition: .18s; }
.tag:hover { background: var(--ink); border-color: var(--ink); color: #ecdfc0; }

/* ---------------- 列表页 ---------------- */
.page-head { padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.page-head .kicker { font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.page-head h1 { margin-top: 8px; font: 600 clamp(26px, 3vw, 34px)/1.3 var(--serif); color: var(--ink); letter-spacing: .04em; }
.page-head p { margin-top: 10px; max-width: 640px; font-size: 14px; color: var(--t2); }
.page-head .stat { display: inline-flex; gap: 22px; margin-top: 14px; font-size: 12px; color: var(--t3); }
.page-head .stat b { font: 600 16px/1 var(--num); color: var(--cinnabar); margin-right: 4px; }

.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 30px; padding: 26px 0 30px; }
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 14px; margin-bottom: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.filter-bar .lab { font-size: 12.5px; color: var(--t3); margin-right: 4px; }
.chip { padding: 4px 13px; border-radius: 999px; border: 1px solid transparent; font-size: 12.5px; color: var(--t2); transition: .18s; }
.chip:hover { color: var(--cinnabar); }
.chip.on { background: var(--ink); color: #ecdfc0; }
.filter-bar .sort { margin-left: auto; display: flex; gap: 2px; border-left: 1px dashed var(--line-2); padding-left: 12px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .ph img { transform: scale(1.045); }
.card .cat { position: absolute; left: 12px; top: 12px; padding: 2px 9px; border-radius: 3px; background: rgba(36,65,58,.88); color: #ecdfc0; font-size: 10.5px; letter-spacing: .1em; }
.card .body { padding: 14px 16px 15px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 600 17px/1.55 var(--serif); color: var(--t1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--cinnabar); }
.card p { margin-top: 7px; font-size: 13px; color: var(--t2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 10px; }

.plain-title { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.plain-title ul { padding: 4px 16px 10px; columns: 2; column-gap: 36px; }
.plain-title li { break-inside: avoid; border-bottom: 1px dashed var(--line); }
.plain-title a { display: flex; gap: 10px; align-items: baseline; padding: 10px 2px; }
.plain-title b { flex: 1; font: 500 14.5px/1.6 var(--sans); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.plain-title a:hover b { color: var(--cinnabar); }
.plain-title time { font: 11.5px/1 var(--num); color: var(--t3); }

.pager { display: flex; justify-content: center; gap: 8px; margin: 30px 0 6px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--card); font: 500 14px/1 var(--num); color: var(--t2); transition: .18s;
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .cur { background: var(--ink); border-color: var(--ink); color: #ecdfc0; }

/* 侧栏 */
.aside-box { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 20px; box-shadow: var(--shadow-1); overflow: hidden; }
.rank-list { padding: 8px 12px 12px; counter-reset: r; }
.rank-list a { display: flex; gap: 11px; padding: 9px 6px; border-radius: 6px; transition: background .18s; }
.rank-list a:hover { background: rgba(176,141,79,.08); }
.rank-list .no { flex: 0 0 20px; height: 20px; margin-top: 3px; display: grid; place-items: center; border-radius: 3px; font: 600 11px/1 var(--num); color: var(--t3); background: rgba(36,65,58,.06); }
.rank-list a:nth-child(-n+3) .no { background: var(--cinnabar); color: #fdf2df; }
.rank-list b { font: 500 14px/1.55 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-list a:hover b { color: var(--cinnabar); }
.aside-banner { border-radius: 8px; overflow: hidden; }
.aside-banner img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ---------------- 文章页 ---------------- */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; padding: 26px 0 30px; align-items: start; }
.art-main { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 34px 40px 38px; box-shadow: var(--shadow-1); }
.art-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.art-head h1 { font: 600 clamp(24px, 2.6vw, 32px)/1.5 var(--serif); color: var(--t1); letter-spacing: .02em; }
.art-sub { margin-top: 10px; font-size: 15px; color: var(--t2); line-height: 1.8; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 12.5px; color: var(--t3); align-items: center; }
.art-meta b { color: var(--t2); font-weight: 600; }
.art-meta .num { font-family: var(--num); }

.art-body { padding-top: 24px; }
.art-body p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.95; color: #3a372f; }
.art-body > p:first-of-type::first-letter {
  float: left; font: 600 54px/0.9 var(--serif); color: var(--cinnabar);
  margin: 6px 10px 0 0;
}
.art-body h2 {
  margin: 34px 0 16px; font: 600 21px/1.5 var(--serif); color: var(--ink);
  padding-left: 13px; position: relative; letter-spacing: .03em;
}
.art-body h2::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--cinnabar), var(--gold)); }
.art-body figure { margin: 24px 0; }
.art-body figure img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-1); }
.art-body figcaption { margin-top: 9px; text-align: center; font-size: 12.5px; color: var(--t3); }
.art-body blockquote {
  margin: 22px 0; padding: 16px 20px;
  background: linear-gradient(180deg, #faf5e9, #f4edda);
  border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0;
  font: 500 16px/1.9 var(--serif); color: #55503f;
}
.art-body ul.tip { margin: 0 0 20px; }
.art-body ul.tip li { position: relative; padding: 7px 0 7px 26px; font-size: 15.5px; line-height: 1.85; color: #3a372f; border-bottom: 1px dashed var(--line); }
.art-body ul.tip li::before {
  content: ""; position: absolute; left: 6px; top: 17px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 79, .18);
}
.note-card {
  margin: 24px 0; padding: 16px 20px; border-radius: 8px;
  border: 1px dashed rgba(168, 50, 42, .4);
  background: rgba(168, 50, 42, .05);
  font-size: 13.5px; line-height: 1.8; color: #7a4440;
}
.note-card b { display: block; margin-bottom: 4px; font: 600 14px/1.6 var(--serif); color: var(--cinnabar); letter-spacing: .06em; }

.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.art-nav a { padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fbf7ec; transition: .2s; }
.art-nav a:hover { border-color: var(--gold); }
.art-nav em { display: block; font-style: normal; font-size: 11px; color: var(--t3); letter-spacing: .14em; margin-bottom: 5px; }
.art-nav b { font: 500 14px/1.6 var(--sans); color: var(--t1); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.art-nav a.next { text-align: right; }

.rel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.rel-cards a .ph { border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; }
.rel-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rel-cards a:hover img { transform: scale(1.05); }
.rel-cards b { display: block; margin-top: 9px; font: 500 13.5px/1.6 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-cards a:hover b { color: var(--cinnabar); }

.comment { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.comment h3 { font: 600 18px/1 var(--serif); color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.comment h3::before { content: ""; width: 3px; height: 15px; background: var(--cinnabar); border-radius: 1px; }
.comment label { display: block; font-size: 12.5px; color: var(--t2); margin: 0 0 6px; }
.comment input, .comment textarea {
  width: 100%; padding: 11px 13px; margin-bottom: 14px;
  border: 1px solid var(--line-2); border-radius: 6px; background: #fffefb;
  font: 14px/1.6 var(--sans); color: var(--t1);
}
.comment textarea { min-height: 110px; resize: vertical; }
.comment input:focus, .comment textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 79, .16); }
.comment button {
  height: 42px; padding: 0 30px; border-radius: 6px;
  background: var(--ink); color: #ecdfc0; font-size: 14px; letter-spacing: .14em; transition: .2s;
}
.comment button:hover { background: var(--cinnabar); }

.art-aside { position: sticky; top: 66px; }
.toc { padding: 6px 16px 14px; }
.toc a { position: relative; display: block; padding: 8px 0 8px 16px; font-size: 13.5px; color: var(--t2); border-left: 2px solid var(--line); transition: .18s; }
.toc a:hover { color: var(--cinnabar); }
.toc a.on { color: var(--cinnabar); border-left-color: var(--cinnabar); font-weight: 600; }
.subs { padding: 16px; text-align: center; }
.subs .wx { font: 600 19px/1 var(--num); letter-spacing: .05em; color: var(--ink); }
.subs p { margin-top: 8px; font-size: 12.5px; color: var(--t3); }

/* ---------------- 页脚 ---------------- */
.footer {
  margin-top: 46px;
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(176, 141, 79, .12), transparent 55%),
    linear-gradient(180deg, #24413a 0%, #1b322c 100%);
  color: #b9c4b4;
}
.footer-in {
  width: min(var(--w), calc(100% - 40px)); margin: 0 auto;
  display: flex; flex-direction: column; padding: 36px 0 0;
}
.ft-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px 13px; }
.ft-tag {
  padding: 6px 19px; border: 1px solid rgba(233, 226, 204, .28); border-radius: 999px;
  font-size: 12.5px; color: #c3cdbd; letter-spacing: .05em; transition: .18s;
}
.ft-tag:hover { border-color: var(--gold-2); color: #ecdfc0; transform: translateY(-1px); }
.ft-tag.on {
  border-color: rgba(224, 122, 110, .8); color: #f0b0a6; background: rgba(168, 50, 42, .18);
  box-shadow: inset 0 0 0 1px rgba(224, 122, 110, .25);
}
.ft-divide {
  display: flex; align-items: center; gap: 14px;
  width: min(620px, 86%); margin: 26px auto 20px;
  font-size: 12px; color: var(--gold-2);
}
.ft-divide::before, .ft-divide::after { content: ""; flex: 1; height: 1px; }
.ft-divide::before { background: linear-gradient(90deg, transparent, rgba(233, 226, 204, .3)); }
.ft-divide::after { background: linear-gradient(90deg, rgba(233, 226, 204, .3), transparent); }
.ft-divide i { font-style: normal; text-shadow: 0 0 6px rgba(176, 141, 79, .5); }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 38px; }
.ft-nav a {
  position: relative; font: 600 14.5px/1 var(--serif); color: #ecdfc0; letter-spacing: .16em;
  padding: 4px 2px; transition: color .18s;
}
.ft-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--cinnabar)); border-radius: 1px;
  transform: translateX(-50%); transition: width .22s var(--ease);
}
.ft-nav a:hover { color: #fff8e8; }
.ft-nav a:hover::after { width: 100%; }
.ft-bottom {
  margin-top: 20px; border-top: 1px solid rgba(233, 226, 204, .14);
  padding: 14px 0; text-align: center; font-size: 11.5px; color: rgba(164, 176, 160, .55);
  letter-spacing: .06em;
}

/* ---------------- 浮动组件 ---------------- */
.toast {
  position: fixed; left: 50%; top: 78px; transform: translate(-50%, -8px);
  padding: 9px 18px; border-radius: 4px; background: rgba(27, 50, 44, .94);
  color: #ecdfc0; font-size: 13px; letter-spacing: .04em;
  box-shadow: var(--shadow-2); opacity: 0; visibility: hidden;
  transition: .24s var(--ease); z-index: 2000;
}
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.backtop {
  position: fixed; right: 26px; bottom: 46px; width: 50px; height: 50px;
  z-index: 1500; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .26s var(--ease);
}
.backtop.on { opacity: 1; visibility: visible; transform: none; }
.backtop .bg {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(180deg, #fffdf8, #f3ecd9);
  box-shadow: 0 5px 14px rgba(27, 50, 44, .2), inset 0 0 0 1px var(--line-2);
  transition: .24s;
}
.backtop svg { position: absolute; inset: 0; width: 50px; height: 50px; transform: rotate(-90deg); }
.backtop .ring-bg { fill: none; stroke: var(--line); stroke-width: 2; }
.backtop .ring { fill: none; stroke: var(--cinnabar); stroke-width: 2; stroke-linecap: round; }
.backtop .ar { position: absolute; inset: 0; display: grid; place-items: center; font: 600 17px/1 var(--num); color: var(--cinnabar); transition: .24s; }
.backtop .tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  padding: 4px 9px; border-radius: 3px; background: rgba(27, 50, 44, .92); color: #ecdfc0;
  font-size: 11px; white-space: nowrap; opacity: 0; visibility: hidden; transition: .2s; pointer-events: none;
}
.backtop:hover .bg { background: linear-gradient(180deg, #b8392f, var(--cinnabar-2)); box-shadow: 0 6px 18px rgba(140, 38, 32, .32); }
.backtop:hover .ar { color: #fff2df; }
.backtop:hover .tip { opacity: 1; visibility: visible; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1279px) {
  .mast-search .search { width: 240px; }
  .nav-list a { padding: 0 13px; font-size: 14px; }
}
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; }
  .topbar-in { height: auto; min-height: 46px; flex-wrap: wrap; gap: 8px; padding: 7px 0; }
  .top-tools { margin-left: auto; }
  .sec-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .mix-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sec-mg .mg-feature { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mg-feature .ph { aspect-ratio: 16/9; height: auto; min-height: 0; }
  .mg-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sec-intro { display: none; }
  .list-layout, .art-layout { grid-template-columns: 1fr; }
  .art-aside { position: static; }
  .art-main { padding: 26px 24px 30px; }
  .sec-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-cloud { gap: 9px 10px; }
  .ft-tag { padding: 5px 14px; font-size: 12px; }
  .ft-nav { gap: 10px 24px; }
  .mast-note { display: none; }
}
@media (max-width: 1180px) {
  .clock-term { display: none; }
}
@media (max-width: 980px) {
  .clock-date { display: none; }
}
@media (max-width: 600px) {
  .clock-city { display: none; }
  .mg-cols { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 28px); }
  .topbar-in { height: auto; padding: 8px 0; flex-wrap: wrap; gap: 8px; }
  .masthead-in { flex-wrap: wrap; gap: 14px; padding: 16px 0; }
  .brand h1 { font-size: 24px; }
  .brand-seal { width: 46px; height: 46px; flex-basis: 46px; font-size: 21px; }
  .mast-search { margin-left: 0; width: 100%; }
  .search { width: 100%; }
  .nav { position: relative; }
  .nav-burger { display: inline-flex; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--ink);
    box-shadow: 0 18px 30px rgba(20, 34, 30, .35); padding: 6px 0 10px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { height: 46px; line-height: 46px; padding: 0 22px; }
  .nav-list a::after { display: none; }
  .hero-lead { aspect-ratio: 4/3; }
  .hero-sub { grid-template-columns: repeat(2, 1fr); }
  .hero-sub a:nth-child(3) { display: none; }
  .sec-grid3 { grid-template-columns: 1fr; }
  .mix-top, .mix-wall { grid-template-columns: 1fr; }
  .sec-ll { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dr-d { display: none; }
  .dr-row { gap: 12px; min-height: 78px; }
  .dr-row img { flex-basis: 80px; width: 80px; height: 60px; }
  .dr-body { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
  .dr-row:nth-child(n+4) { border-left: 0; padding-left: 0; margin-left: 0; }
  .dr-row:nth-child(3) { border-bottom: 1px dashed rgba(176, 141, 79, .35); }
  .dr-row:nth-child(6) { border-bottom: 0; }
  .fg-tx { padding: 16px 18px; }
  .cards { grid-template-columns: 1fr; }
  .plain-title ul { columns: 1; }
  .sec-seasons { grid-template-columns: 1fr; }
  .art-main { padding: 22px 18px 26px; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav a.next { text-align: left; }
  .rel-cards { grid-template-columns: 1fr; }
  .sec-title h2 { font-size: 20px; }
  #wxCond { display: none; }
  .backtop { right: 14px; bottom: 20px; }
}

/* ≥1024：左栏撑满行高 —— 主图吃掉余量，三张小图底边与右栏榜单严丝合缝 */
@media (min-width: 1024px) {
  .hero-main { display: flex; flex-direction: column; }
  .hero-lead { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; }
  .hero-sub { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== qn-portal 生产补丁 ===== */
/* 图位降级：无封面条目（data-t 题字 + 松烟墨渐变） */
.ph[data-t]{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#3d5a50,#24413a)}
.ph[data-t]::after{content:attr(data-t);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(244,239,228,.92);font-size:12px;letter-spacing:2px;text-align:center;padding:0 8px;overflow:hidden;line-height:1.5}
.mini .ph[data-t],.dr-row .ph[data-t],.mg-media .ph[data-t]{flex:0 0 96px;width:96px;height:72px;border-radius:4px;box-shadow:var(--shadow-1)}
.mg-media .ph[data-t]{flex:0 0 100%;width:100%;height:110px;border-radius:0;box-shadow:none}
.ss-head .ph[data-t]{flex:0 0 56px;width:56px;height:56px;border-radius:4px;box-shadow:var(--shadow-1)}
.hero-lead .ph[data-t],.hero-sub a .ph[data-t],.doc .ph .ph[data-t],.card .ph .ph[data-t],.rel-cards a .ph .ph[data-t]{position:absolute;inset:0;width:100%;height:100%}
/* 报头 logo */
.brand-logo{height:64px;width:auto;max-width:300px;object-fit:contain}
/* 列表页行内链接（视图预组 lt_html） */
.card .ph .lt{display:block;width:100%;height:100%}
.card .ph .lt img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.card:hover .ph .lt img{transform:scale(1.045)}
/* 广告容器（配置后才渲染） */
.adbar{margin:26px auto 6px;display:block;background:var(--card);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.adbar img{display:block;width:100%;height:auto}
/* 榜单行（视图预组 title_html 直出） */
.rank-list .rk-row{display:flex;gap:10px;align-items:baseline;padding:9px 2px;border-bottom:1px dashed var(--line-2)}
.rank-list .rk-row .no{flex:0 0 22px;font:700 13px/1 var(--num);color:var(--cinnabar)}
.rank-list .rk-row a{flex:1;font:500 14px/1.6 var(--sans);color:var(--t1);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.rank-list .rk-row a:hover{color:var(--cinnabar)}
.rank-list .rk-row .vw{flex:0 0 auto;font:11.5px/1 var(--num);color:var(--t3)}
.rel-rank .rk-row{padding:11px 2px}
/* 法务 / 联系卡 */
.law-bd{padding:6px 22px 20px}
.law-bd h3{margin:18px 0 6px;font:600 16px/1.6 var(--serif);color:var(--t1)}
.law-bd p{font-size:13.5px;line-height:1.9;color:var(--t2)}
.c-row{display:flex;gap:12px;padding:10px 2px;border-bottom:1px dashed var(--line)}
.c-row .lab{flex:0 0 64px;color:var(--t3);font-size:13px}
.c-row .val{color:var(--t1);font-size:14px;line-height:1.7}
/* 文章页正文排版 */
.art-body img{max-width:100%;height:auto;border-radius:6px}
.art-nav .dis{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border:1px dashed var(--line-2);border-radius:8px;color:var(--t3)}
.art-nav a,.art-nav .dis{flex:1;min-width:0}
.art-nav b{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}


/* data-img-center */.art-body img,.article-body img,.art-content img,.g-art-content img,.html-content img,.html img,.a-body img,.fn-content img,.ls-content img,.sp-content img,.tv-content img,.news-content img,.rt-content img,.bd_Article img,.tap-rich-content__body img,.hn-body img,.jkb-art-body img,.ctt-details-texts img,.ed-xl-text img,.n_text img,.win-news-content img,.eeo-art-body img,.info-text img{display:block;margin:16px auto;max-width:100%;height:auto}.art-body img[style*="max-width"],.article-body img[style*="max-width"],.art-content img[style*="max-width"],.g-art-content img[style*="max-width"],.html-content img[style*="max-width"],.html img[style*="max-width"],.a-body img[style*="max-width"],.fn-content img[style*="max-width"],.ls-content img[style*="max-width"],.sp-content img[style*="max-width"],.tv-content img[style*="max-width"],.news-content img[style*="max-width"],.rt-content img[style*="max-width"],.bd_Article img[style*="max-width"],.tap-rich-content__body img[style*="max-width"],.hn-body img[style*="max-width"],.jkb-art-body img[style*="max-width"],.ctt-details-texts img[style*="max-width"],.ed-xl-text img[style*="max-width"],.n_text img[style*="max-width"],.win-news-content img[style*="max-width"],.eeo-art-body img[style*="max-width"],.info-text img[style*="max-width"],.art-body img[style*="inline-block"],.article-body img[style*="inline-block"],.art-content img[style*="inline-block"],.g-art-content img[style*="inline-block"],.html-content img[style*="inline-block"],.html img[style*="inline-block"],.a-body img[style*="inline-block"],.fn-content img[style*="inline-block"],.ls-content img[style*="inline-block"],.sp-content img[style*="inline-block"],.tv-content img[style*="inline-block"],.news-content img[style*="inline-block"],.rt-content img[style*="inline-block"],.bd_Article img[style*="inline-block"],.tap-rich-content__body img[style*="inline-block"],.hn-body img[style*="inline-block"],.jkb-art-body img[style*="inline-block"],.ctt-details-texts img[style*="inline-block"],.ed-xl-text img[style*="inline-block"],.n_text img[style*="inline-block"],.win-news-content img[style*="inline-block"],.eeo-art-body img[style*="inline-block"],.info-text img[style*="inline-block"]{display:block!important;margin-left:auto!important;margin-right:auto!important}