@charset "UTF-8";
/* =============================================================================
   中国美酒网 · 帝国CMS 模板皮肤 v4「行业门户版」 | style.css | 2026-11-12
   -----------------------------------------------------------------------------
   相对 v3（深色科技版）的改造目标：去掉全部科技感，回到 www.meijiu.com
   这类酒业行业门户的版式语言。
     · 配色：纯白主体 + 浅灰页面底 + 门户深红 #b5121b（导航条、搜索按钮、
             版块标题下划线、序号、链接悬停）+ 深灰正文；无电光青、无琥珀金、
             无发光、无渐变横幅、无深色主题。
     · 形态：直角细边框卡片、1px 灰分隔线、紧凑的 12~14px 字号、高信息密度；
             不加载字体 / 图标库 / 第三方 JS，所有图形由 CSS 绘制。
     · 结构：版块统一「中文标题 + 红色短下划线 + 灰色细线 + 更多>>」，
             无编号、无英文副标、无等宽数字、无四角角标、无网格背景。
     · 版式顺序：工具条 → 站名+搜索 → 红色主导航 → 本页版块导航 →
             栏目速览 tab → 今日焦点三栏 → 中部焦点图 → 频道矩阵 3×3 →
             图文推荐 3×2 → 知识文化四栏 → 资讯排行/频道入口 → 四列页脚。
   -----------------------------------------------------------------------------
   CSS / JS **不写入 .temp**，模板里只有 <link> 与 <script src>。
   上传路径：网站根目录 /skin/default/css/style.css
   模板外链：站点地址 + /skin/default/css/style.css?v=20261112c
   改样式后请递增版本号（同步改生成器 ASSET_VER 并重跑），避免浏览器用旧缓存。
   ============================================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  color-scheme: light;
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f0f0f0;
  --line: #e2e2e2;
  --line-soft: #ededed;
  --line-strong: #cfcfcf;
  --ink: #222222;
  --text-2: #555555;
  --text-3: #888888;
  --red: #b5121b;
  --red-dark: #8f0d14;
  --red-soft: #fdf3f3;
  --wrap: 1200px;
  --gap: 16px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--red); color: #fff; padding: 9px 15px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.wrap { width: min(100% - 2 * clamp(12px, 2.5vw, 28px), var(--wrap)); margin-inline: auto; }
.mono { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- 3. 顶部工具条 ---------- */
.sysbar {
  background: #f7f7f7; border-bottom: 1px solid #e6e6e6;
  font-size: 12px; color: #777;
}
.sysbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 32px; padding-block: 4px; flex-wrap: wrap;
}
.sysbar .sys-left, .sysbar .sys-right { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sysbar .sep { color: #cccccc; }
.sysbar a { color: #666; }
.sysbar a:hover { color: var(--red); text-decoration: underline; }

/* ---------- 4. 站头：站名 + 搜索 + 快捷按钮 ---------- */
.site-header { background: #fff; border-bottom: 1px solid #e6e6e6; }
.site-header .wrap {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  min-height: 86px; padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand .mark {
  display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto;
  background: var(--red); color: #fff; font-size: 27px; font-weight: 700; line-height: 1;
}
.brand .name { display: flex; flex-direction: column; line-height: 1.2; color: var(--red); font-size: 28px; font-weight: 700; letter-spacing: .04em; }
.brand small { font-size: 11.5px; font-weight: 400; color: #999; letter-spacing: .12em; margin-top: 5px; }

.search { display: flex; flex: 1 1 320px; max-width: 430px; margin-inline-start: auto; }
.search input {
  flex: 1; min-width: 0; height: 38px; padding: 8px 12px;
  border: 1px solid var(--line-strong); border-right: 0; background: #fff; font-size: 13px;
}
.search input::placeholder { color: #aaa; }
.search input:focus { outline: none; border-color: var(--red); }
.search button {
  height: 38px; padding: 0 22px; border: 1px solid var(--red);
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
  letter-spacing: .1em;
}
.search button:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 14px; border: 1px solid var(--red);
  background: var(--red); color: #fff; font-size: 13px; white-space: nowrap;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--text-2); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--red); color: var(--red); }
.nav-toggle {
  display: none; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px; border: 0;
  background: var(--red-dark); color: #fff; font-size: 14px;
}
.nav-toggle .bars { font-size: 18px; line-height: 1; color: #fff; }

/* ---------- 5. 红色主导航 ---------- */
.site-nav { background: var(--red); position: sticky; top: 0; z-index: 20; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  display: block; flex: 0 0 auto; padding: 0 clamp(11px, 1.35vw, 19px);
  line-height: 44px; color: #fff; font-size: 15px; white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .17);
}
.nav-list a:first-child { border-left: 1px solid rgba(255, 255, 255, .17); }
.nav-list a:hover { background: var(--red-dark); color: #fff; }
.nav-list a.on { background: var(--red-dark); color: #fff; font-weight: 700; }

/* ---------- 6. 通用面板 / 门户式版块头 ---------- */
main { padding-block: 16px; }
.panel {
  background: var(--surface); border: 1px solid var(--line);
  padding: 18px 20px 22px; margin-bottom: var(--gap);
  container-type: inline-size;
}
.panel-hd {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.panel-hd h2 {
  position: relative; font-size: 20px; font-weight: 700; line-height: 1.3;
  color: var(--ink); padding: 0 3px 11px;
}
.panel-hd h2::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--red);
}
.panel-hd .hd-sub { font-size: 12px; color: var(--text-3); padding-bottom: 11px; }
.panel-hd .more {
  margin-inline-start: auto; padding-bottom: 11px;
  font-size: 12px; color: var(--text-3);
}
.panel-hd .more:hover { color: var(--red); }
.kicker { display: inline-block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }

.section-nav {
  background: #fff; border: 1px solid var(--line);
  padding: 9px 14px; margin-bottom: var(--gap);
  font-size: 13px; color: var(--text-2);
}
.section-nav .sn-label { color: var(--ink); font-weight: 700; margin-right: 4px; }
.section-nav a {
  display: inline-block; padding: 0 11px; color: var(--text-2);
  border-right: 1px solid #ddd; line-height: 1.4;
}
.section-nav a:last-child { border-right: 0; }
.section-nav a:hover, .section-nav a[aria-current="true"] { color: var(--red); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-fixed-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-label {
  font-size: 15px; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--red); padding-left: 9px; margin-bottom: 10px;
}
.mini-hd {
  font-size: 14px; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--red); padding-left: 9px; margin-bottom: 8px;
}

/* ---------- 7. 版块二 · 今日焦点 ---------- */
.hero-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); }
.hero-lead { display: flex; flex-direction: column; gap: 10px; }
.hero-lead figure { overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-3); border: 1px solid var(--line); }
.hero-lead figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-lead h3 { font-size: 19px; line-height: 1.45; font-weight: 700; }
.hero-lead p { color: var(--text-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hero-list li:last-child { border-bottom: 0; }
.hero-list h3 { font-size: 15px; font-weight: 700; line-height: 1.5; }
.hero-list p { color: var(--text-3); font-size: 12px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge {
  display: inline-block; padding: 1px 6px; background: var(--red); color: #fff;
  font-size: 11px; line-height: 1.6; margin-right: 5px; vertical-align: 2px;
}
.date-list li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.date-list li:last-child { border-bottom: 0; }
.date-list time { flex: 0 0 auto; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.date-list a { font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 8. 版块三 · 中部焦点图 ---------- */
.focus-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.focus-main { min-width: 0; }
.slider { position: relative; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); }
.slider-track { position: relative; aspect-ratio: 21 / 9; }
.focus-slider .slider-track { aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 12px 16px;
  background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 17px; font-weight: 700; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.slider-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.slider-dots button {
  width: 10px; height: 10px; padding: 0; border: 1px solid #fff;
  background: rgba(255, 255, 255, .55);
}
.slider-dots button[aria-current="true"] { background: var(--red); border-color: var(--red); }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 46px; border: 0;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 24px; line-height: 1;
}
.slider-prev { left: 0; } .slider-next { right: 0; }
.slider-prev:hover, .slider-next:hover { background: var(--red); color: #fff; }

.focus-thumbs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  padding: 10px; background: #fff; border: 1px solid var(--line); border-top: 0;
}
.focus-thumbs button {
  display: grid; grid-template-columns: 16px 52px minmax(0, 1fr);
  align-items: center; gap: 7px; min-width: 0; padding: 5px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text-2); text-align: start;
}
.focus-thumbs button:hover { border-color: var(--red); }
.focus-thumbs button[aria-current="true"] { border-color: var(--red); background: var(--red-soft); }
.focus-thumbs .th-no {
  font-size: 11px; font-weight: 700; color: var(--red); text-align: center;
  font-variant-numeric: tabular-nums;
}
.focus-thumbs img { width: 52px; height: 38px; object-fit: cover; border: 1px solid var(--line); }
.focus-thumbs .th-txt {
  font-size: 12px; line-height: 1.45; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.focus-side { background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.focus-side h3, .side-card h3 {
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  font-size: 16px; font-weight: 700; padding-bottom: 10px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.focus-side h3::before, .side-card h3::before {
  content: ""; flex: 0 0 auto; width: 3px; height: 14px; background: var(--red);
}
.focus-side h3 small, .side-card h3 small { font-size: 11.5px; font-weight: 400; color: var(--text-3); }
.focus-side-more {
  display: block; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--text-3); text-align: right;
}
.focus-side-more:hover { color: var(--red); }

/* ---------- 9. 版块一 · 栏目速览 tab ---------- */
.channel-tabs { min-width: 0; }
.tab-bar {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar button {
  flex: 0 0 auto; padding: 8px 15px;
  border: 1px solid var(--line); border-bottom: 0;
  background: var(--surface-2); color: var(--text-2);
  font-size: 14px; white-space: nowrap;
}
.tab-bar button:hover { color: var(--red); }
.tab-bar button[aria-selected="true"] {
  background: var(--red); border-color: var(--red); color: #fff; font-weight: 700;
}
.tab-panel .news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 26px; }
.tab-panel .news-list li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.tab-more {
  display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--red);
}
.tab-more:hover { text-decoration: underline; }

/* ---------- 10. 频道矩阵 / 新闻列表 / 排行 ---------- */
.channel-card {
  background: #fff; border: 1px solid var(--line); padding: 13px 15px 15px;
  content-visibility: auto; contain-intrinsic-size: auto 300px;
}
.channel-card:hover { border-color: var(--red); }
.channel-card h3 {
  font-size: 16px; font-weight: 700; padding-bottom: 9px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px;
}
.channel-card h3 > a:first-child { border-left: 3px solid var(--red); padding-left: 8px; }
.channel-card h3 .more { margin-inline-start: auto; font-size: 12px; font-weight: 400; color: var(--text-3); }
.news-list li { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; font-size: 13.5px; }
.news-list li::before {
  content: ""; flex: 0 0 auto; width: 4px; height: 4px;
  background: #c4c4c4; margin-top: .65em;
}
.news-list a { line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-list time { margin-inline-start: auto; flex: 0 0 auto; color: var(--text-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.news-list .rank {
  flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-2); font-size: 11px;
}
.news-list li:nth-child(-n+3) .rank { background: var(--red); color: #fff; }

.rank-list li {
  display: flex; gap: 9px; align-items: baseline; padding: 7px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 13.5px;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list .rk {
  flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-2); font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.rank-list li:nth-child(-n+3) .rk { background: var(--red); color: #fff; }
.rank-list a { line-height: 1.5; min-width: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rank-list time { margin-inline-start: auto; flex: 0 0 auto; color: var(--text-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tail-layout { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.tail-layout .side-card { margin-bottom: 0; }
.tail-col { display: grid; gap: var(--gap); align-content: start; min-width: 0; }

/* ---------- 11. 图文卡片 / 侧栏 / 标签 / 二维码 ---------- */
.topic-card { display: block; background: #fff; border: 1px solid var(--line); }
.topic-card:hover { border-color: var(--red); color: inherit; }
.topic-card figure { aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; border-bottom: 1px solid var(--line); }
.topic-card img { width: 100%; height: 100%; object-fit: cover; }
.topic-card .txt { padding: 10px 13px 13px; }
.topic-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-card p { color: var(--text-3); font-size: 12px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-card .meta {
  color: var(--text-3); font-size: 11.5px; margin-top: 9px;
  display: flex; justify-content: space-between; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--line-soft);
}
.topic-card .meta span { color: var(--red); }
.side-card { background: #fff; border: 1px solid var(--line); padding: 14px 16px; margin-bottom: var(--gap); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 12px; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text-2); font-size: 12.5px;
}
.tag-cloud a:hover { border-color: var(--red); color: var(--red); }
.qr-card { display: grid; grid-template-columns: 90px 1fr; gap: 13px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); padding: 12px; }
.qr-card .qr {
  aspect-ratio: 1; border: 1px dashed var(--line-strong); background: #fff;
  display: grid; place-items: center; color: var(--text-3); font-size: 11px; text-align: center; padding: 6px;
}
.qr-card h4 { font-size: 14px; margin-bottom: 5px; }
.qr-card p { font-size: 12px; color: var(--text-2); }
.img-fallback { background-image: repeating-linear-gradient(135deg, #f0f0f0 0 12px, #fafafa 12px 24px); }

/* ---------- 12. 列表页 / 内容页 / 封面 / 专题 ---------- */
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); padding: 2px 0 14px; }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--red); }
.crumb .arrow { color: #bbb; }
.page-hd { padding: 18px 20px; }
.page-hd h1 { font-size: 26px; font-weight: 700; }
.page-hd p { color: var(--text-2); margin-top: 6px; font-size: 13px; }
.list-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.article-list { padding: 0 20px; }
.article-item { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 15px; padding: 17px 0; border-bottom: 1px dashed var(--line); }
.article-item:last-child { border-bottom: 0; }
.article-item figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); }
.article-item img { width: 100%; height: 100%; object-fit: cover; }
.article-item h2 { font-size: 18px; font-weight: 700; line-height: 1.45; }
.article-item p { color: var(--text-2); font-size: 13px; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item .meta { color: var(--text-3); font-size: 11.5px; margin-top: 9px; display: flex; gap: 14px; flex-wrap: wrap; }
.article-item .meta a { color: var(--red); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 18px 0 4px; }
.pager a, .pager span { padding: 6px 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .current { background: var(--red); border-color: var(--red); color: #fff; }

.article { background: #fff; border: 1px solid var(--line); padding: clamp(18px, 3vw, 38px); }
.article-hd { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article-hd h1 { font-size: clamp(23px, 2.2vw + 12px, 32px); font-weight: 700; line-height: 1.4; margin-top: 6px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--text-3); font-size: 12px; padding-top: 12px; }
.article-body { font-size: 16px; line-height: 1.95; padding-top: 20px; }
.article-body p { margin: 0 0 1.1em; }
.article-body img { margin: 12px auto; }
.article-body h2, .article-body h3 { font-size: 1.2em; margin: 1.4em 0 .6em; color: var(--red); }
.article-body a { color: var(--red); text-decoration: underline; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; }
.article-tags a { border: 1px solid var(--line); padding: 3px 9px; font-size: 12px; background: var(--surface-2); }
.article-nav { display: grid; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--text-2); }
.related { margin-top: var(--gap); }
.cover-hero, .special-hero {
  border: 1px solid var(--line); border-left: 4px solid var(--red);
  background: #fff; padding: clamp(20px, 3vw, 36px); margin-bottom: var(--gap);
}
.cover-hero h1, .special-hero h1 { font-size: clamp(24px, 2.6vw + 10px, 34px); font-weight: 700; }
.cover-hero p, .special-hero p { margin-top: 8px; color: var(--text-2); font-size: 13.5px; }
.empty { padding: 36px 16px; text-align: center; color: var(--text-3); font-size: 14px; }

/* ---------- 13. 页脚 ---------- */
.site-footer { background: #fafafa; border-top: 2px solid var(--red); margin-top: 20px; padding-block: 30px 14px; }
.footer-grid { display: grid; gap: clamp(18px, 3vw, 38px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.site-footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.site-footer h4::before { content: ""; width: 3px; height: 13px; background: var(--red); }
.site-footer p { font-size: 12.5px; line-height: 1.9; color: var(--text-3); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.site-footer .footer-links a { font-size: 12.5px; color: var(--text-2); }
.site-footer .footer-links a:hover { color: var(--red); text-decoration: underline; }
.site-footer .copy { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; font-size: 12px; text-align: center; color: var(--text-3); }
.site-footer .copy a:hover { color: var(--red); }
.backtop {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--red); background: #fff; color: var(--red); font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.backtop.show { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--red); color: #fff; }

/* ---------- 14. 响应式（移动优先，断点向上增强） ---------- */
.site-header .wrap { flex-wrap: wrap; }
.brand { order: 1; }
.header-actions { display: none; }
.search { order: 3; flex-basis: 100%; max-width: none; margin-inline-start: 0; }
.nav-toggle { display: inline-flex; }
.only-mobile { display: block; }
.site-nav .nav-wrap { flex-wrap: wrap; }
.site-nav .nav-list { display: none; flex-basis: 100%; padding-block: 6px; }
.site-nav .nav-list.open { display: flex; flex-direction: column; align-items: stretch; }
.site-nav .nav-list.open a { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .17); line-height: 40px; }
.hero-grid { grid-template-columns: 1fr; }
.list-layout { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-fixed-3 { grid-template-columns: 1fr; }
.tab-panel .news-list { grid-template-columns: 1fr; }
.tail-layout { grid-template-columns: 1fr; }
.focus-layout { grid-template-columns: 1fr; }
.focus-thumbs { display: flex; overflow-x: auto; scrollbar-width: none; }
.focus-thumbs::-webkit-scrollbar { display: none; }
.focus-thumbs button { flex: 0 0 186px; }
.article-item { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
.article-item p { display: none; }
.slider-track { aspect-ratio: 16 / 10; }
.slider-prev, .slider-next { display: none; }
.qr-card { grid-template-columns: 74px 1fr; }

@media (max-width: 639px) {
  .sysbar .sys-right { display: none; }
  /* 窄屏工具条只保留实时日期，避免欢迎语换行占两行 */
  .sysbar .greet, .sysbar .sys-left .sep { display: none; }
  .sysbar .wrap { min-height: 28px; }
  .brand .name { font-size: 23px; }
  .brand .mark { width: 42px; height: 42px; font-size: 23px; }
  .panel { padding: 14px 13px 18px; }
  .article-list { padding: 0 13px; }
  .focus-thumbs { padding: 8px; gap: 6px; }
  .focus-thumbs button { flex-basis: 164px; grid-template-columns: 14px 44px minmax(0, 1fr); }
  .focus-thumbs img { width: 44px; height: 32px; }
  .tab-bar button { padding: 7px 11px; font-size: 13px; }
  .focus-side { padding: 12px; }
}

@media (min-width: 640px) {
  .brand { order: 0; }
  .header-actions { display: flex; }
  .site-nav .nav-list .only-mobile { display: none; }
  .nav-toggle { display: none; }
  .site-nav .nav-wrap { flex-wrap: nowrap; }
  .site-nav .nav-list { display: flex; flex-basis: auto; }
  .article-item { grid-template-columns: 150px minmax(0, 1fr); }
  .article-item p { display: -webkit-box; }
  .slider-prev, .slider-next { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-lead { grid-column: 1 / -1; }
  .grid-fixed-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tail-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .search { flex-basis: 320px; order: 0; }
  .header-actions { order: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); }
  .hero-lead { grid-column: auto; }
  .list-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .grid-fixed-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab-panel .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focus-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .focus-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .focus-thumbs button { flex: none; }
  .focus-slider .slider-track { aspect-ratio: 16 / 9; }
}

/* 容器查询：卡片宽度不足时收紧内边距，与视口宽度无关 */
@container (max-width: 270px) {
  .channel-card { padding: 10px; }
  .channel-card h3 { font-size: 14.5px; }
  .news-list li { font-size: 12.5px; }
}

/* ---------- 15. 用户偏好 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .slide { transition: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #9a9a9a; --text-3: #5a5a5a; --line-strong: #666; }
}
@media print {
  .sysbar, .site-header, .site-nav, .backtop, .slider-prev, .slider-next,
  .slider-dots, .site-footer, .pager, .section-nav, .focus-thumbs,
  .focus-side, .tab-bar, .tab-more, .focus-side-more { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .article, .article-list { border: 0; padding: 0; background: #fff; color: #000; }
  .focus-layout, .tail-layout, .tab-panel .news-list { display: block; }
  .tab-panel[hidden] { display: block !important; }
  a { text-decoration: underline; }
}