/* ============================================================
   华夏财经网 全新门户样式 hx2026.css  v1.0  2026-10-15
   设计规范：财经主题 / 红色主调 / SVG图标 / 自适应
   色彩规范（中国行情惯例）：涨=红 跌=绿
   ============================================================ */

:root {
  /* 品牌色 */
  --c-primary: #c8102e;
  --c-primary-dark: #9d0c23;
  --c-primary-deep: #7c091b;
  --c-gold: #b8862f;
  /* 中性色 */
  --c-ink: #171b26;
  --c-ink-2: #232838;
  --c-text: #21252e;
  --c-text-2: #575e6c;
  --c-text-3: #8b919e;
  --c-line: #e8eaf0;
  --c-bg: #f4f5f7;
  --c-card: #ffffff;
  /* 行情色：涨红跌绿 */
  --c-up: #d92c2c;
  --c-down: #149a58;
  /* 字体 */
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  /* 圆角与阴影 */
  --r-lg: 12px;
  --r-md: 8px;
  --r-sm: 6px;
  --sh-card: 0 1px 3px rgba(23, 27, 38, 0.06);
  --sh-lift: 0 6px 20px rgba(23, 27, 38, 0.1);
  /* 布局 */
  --w-page: 1200px;
  --h-nav: 48px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-primary); }

img { display: block; max-width: 100%; }
ul, ol, li, dl, dd, dt { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; }
button, input { font-family: inherit; outline: none; }

.hx-container { width: var(--w-page); max-width: 96vw; margin: 0 auto; }

/* SVG 图标基线 */
.hx-ic {
  display: inline-block;
  width: 16px; height: 16px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.hx-ic-lg { width: 22px; height: 22px; vertical-align: -5px; }

/* ================= 顶部通栏 ================= */
.hx-topbar {
  background: var(--c-ink);
  color: #aab0bd;
  font-size: 12px;
  line-height: 34px;
}
.hx-topbar .hx-container { display: flex; justify-content: space-between; align-items: center; }
.hx-topbar a { color: #cdd2db; }
.hx-topbar a:hover { color: #fff; }
.hx-topbar-links { display: flex; gap: 18px; align-items: center; }
.hx-topbar-links .sep { color: #3a4050; }

/* ================= 头部 ================= */
.hx-header { background: var(--c-card); padding: 22px 0; }
.hx-header .hx-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.hx-logo { display: flex; align-items: center; gap: 12px; }
.hx-logo-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(150deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}
.hx-logo-txt h1, .hx-logo-txt .hx-sitename { font-size: 28px; letter-spacing: 2px; color: var(--c-ink); line-height: 1.2; }
.hx-logo-txt h1 a:hover { color: var(--c-ink); }
.hx-logo-txt .hx-slogan { font-size: 11px; color: var(--c-text-3); letter-spacing: 4.5px; text-transform: uppercase; }

.hx-search { display: flex; width: 380px; max-width: 40vw; border: 2px solid var(--c-primary); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.hx-search input { flex: 1; border: 0; padding: 0 14px; font-size: 14px; height: 40px; color: var(--c-text); }
.hx-search button {
  border: 0; cursor: pointer; background: var(--c-primary); color: #fff;
  padding: 0 20px; display: flex; align-items: center; gap: 6px; font-size: 14px;
}
.hx-search button:hover { background: var(--c-primary-dark); }
.hx-hotwords { font-size: 12px; color: var(--c-text-3); margin-top: 6px; }
.hx-hotwords a { color: var(--c-text-2); margin-right: 12px; }
.hx-hotwords a:hover { color: var(--c-primary); }

/* ================= 导航 ================= */
.hx-nav {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  box-shadow: 0 2px 8px rgba(156, 12, 35, 0.28);
  position: sticky; top: 0; z-index: 500;
}
.hx-nav.is-stuck { box-shadow: 0 4px 14px rgba(23, 27, 38, 0.22); }
.hx-nav ul { display: flex; flex-wrap: nowrap; }
.hx-nav li { flex: 1; text-align: center; }
.hx-nav a {
  display: block; color: rgba(255, 255, 255, 0.92);
  font-size: 16px; line-height: var(--h-nav); padding: 0 4px; letter-spacing: 1px;
  position: relative; white-space: nowrap;
}
.hx-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hx-nav a.is-cur { color: #fff; font-weight: 600; }
.hx-nav a.is-cur::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 4px; width: 22px; height: 3px; border-radius: 2px; background: #fff;
}

/* ================= 行情条 ================= */
.hx-ticker { background: var(--c-card); border-bottom: 1px solid var(--c-line); }
.hx-ticker .hx-container { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.hx-ticker .hx-container::-webkit-scrollbar { display: none; }
.hx-ticker-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  padding: 10px 18px 10px 0; margin-right: 8px; border-right: 1px solid var(--c-line);
  white-space: nowrap;
}
.hx-ticker-label .hx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); animation: hx-blink 1.6s infinite; }
@keyframes hx-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hx-quote { display: flex; align-items: baseline; gap: 8px; padding: 10px 22px; white-space: nowrap; border-right: 1px dashed var(--c-line); }
.hx-quote:last-child { border-right: 0; }
.hx-quote .q-name { font-size: 13px; color: var(--c-text-2); }
.hx-quote .q-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hx-quote .q-pct { font-size: 12px; font-variant-numeric: tabular-nums; }
.hx-quote.up .q-price, .hx-quote.up .q-pct { color: var(--c-up); }
.hx-quote.down .q-price, .hx-quote.down .q-pct { color: var(--c-down); }
.hx-quote.flat .q-price, .hx-quote.flat .q-pct { color: var(--c-text-2); }

/* ================= 通用版块头 ================= */
.hx-sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hx-sec-hd .t { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--c-ink); }
.hx-sec-hd .t::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--c-primary); }
.hx-sec-hd .t .en { font-size: 11px; color: var(--c-text-3); letter-spacing: 1px; font-weight: 400; margin-left: 2px; }
.hx-more { font-size: 13px; color: var(--c-text-3); display: flex; align-items: center; gap: 2px; }
.hx-more:hover { color: var(--c-primary); }

/* ================= 卡片 ================= */
.hx-card { background: var(--c-card); border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: 20px; }

/* ================= 首页 Hero 区 ================= */
.hx-hero { margin-top: 18px; display: grid; grid-template-columns: 1fr 380px; gap: 16px; }

.hx-slide {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-card); background: var(--c-ink-2); min-height: 420px;
}
.hx-slide-item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.hx-slide-item.on { opacity: 1; position: relative; height: 100%; }
.hx-slide-item.on img { height: 100%; min-height: 420px; }
.hx-slide-item img { width: 100%; height: 460px; object-fit: cover; }
.hx-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 24px 18px;
  background: linear-gradient(180deg, rgba(23, 27, 38, 0) 0%, rgba(23, 27, 38, 0.88) 100%);
  color: #fff;
}
.hx-slide-cap h2 { font-size: 22px; margin-bottom: 6px; }
.hx-slide-cap h2 a { color: #fff; }
.hx-slide-cap h2 a:hover { color: #ffd7de; }
.hx-slide-cap p { font-size: 13px; color: rgba(255, 255, 255, 0.82); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-slide-dots { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; z-index: 5; }
.hx-slide-dots i { width: 10px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: all 0.3s; }
.hx-slide-dots i.on { width: 26px; background: #fff; }
.hx-slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(23, 27, 38, 0.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; opacity: 0;
}
.hx-slide:hover .hx-slide-arrow { opacity: 1; }
.hx-slide-arrow:hover { background: rgba(200, 16, 46, 0.85); }
.hx-slide-arrow.prev { left: 14px; }
.hx-slide-arrow.next { right: 14px; }

/* 今日焦点（Hero 右列） */
.hx-focus { display: flex; flex-direction: column; gap: 0; }
.hx-focus-top { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); }
.hx-focus-top img { width: 100%; height: 210px; object-fit: cover; }
.hx-focus-top .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 10px;
  background: linear-gradient(180deg, rgba(23, 27, 38, 0) 0%, rgba(23, 27, 38, 0.85) 100%);
}
.hx-focus-top .cap h3 { font-size: 15px; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hx-focus-top .cap h3 a { color: #fff; }
.hx-focus-list { background: var(--c-card); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-card); padding: 8px 18px 12px; flex: 1; }
.hx-focus-list li { border-bottom: 1px dashed var(--c-line); }
.hx-focus-list li:last-child { border-bottom: 0; }
.hx-focus-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 0;
  font-size: 15px; color: var(--c-text);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.hx-focus-list a:hover { color: var(--c-primary); }
.hx-focus-list .no {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  background: var(--c-line); color: var(--c-text-3);
  font-size: 12px; font-weight: 700; text-align: center; line-height: 18px;
}
.hx-focus-list li:nth-child(-n+3) .no { background: rgba(200, 16, 46, 0.1); color: var(--c-primary); }

/* ================= 华夏精选卡片行 ================= */
.hx-picks { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hx-pick {
  background: var(--c-card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-card); transition: transform 0.25s, box-shadow 0.25s;
}
.hx-pick:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.hx-pick .pic { overflow: hidden; }
.hx-pick .pic img { width: 100%; height: 165px; object-fit: cover; transition: transform 0.4s; }
.hx-pick:hover .pic img { transform: scale(1.05); }
.hx-pick .bd { padding: 14px 16px 16px; }
.hx-pick .tag {
  display: inline-block; font-size: 11px; color: var(--c-primary);
  background: rgba(200, 16, 46, 0.08); border-radius: 4px; padding: 1px 8px; margin-bottom: 8px;
}
.hx-pick h3 { font-size: 16px; line-height: 1.4; height: 45px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-pick p { font-size: 13px; color: var(--c-text-3); margin-top: 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ================= 主体两栏 ================= */
.hx-main { margin-top: 18px; display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.hx-col-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hx-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--h-nav) + 12px); }

/* 新闻图文卡（左栏大卡） */
.hx-newscard { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.hx-newscard:first-of-type { padding-top: 4px; }
.hx-newscard .pic { flex-shrink: 0; width: 240px; }
.hx-newscard .pic img { width: 240px; height: 150px; object-fit: cover; border-radius: var(--r-md); }
.hx-newscard .bd { min-width: 0; }
.hx-newscard h3 { font-size: 18px; margin-bottom: 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-newscard p { font-size: 13px; color: var(--c-text-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-newscard .meta { margin-top: 10px; font-size: 12px; color: var(--c-text-3); display: flex; gap: 14px; align-items: center; }

/* 文字新闻列表 */
.hx-textlist li { border-bottom: 1px dashed var(--c-line); }
.hx-textlist li:last-child { border-bottom: 0; }
.hx-textlist a {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: 15px; color: var(--c-text); min-width: 0;
}
.hx-textlist a:hover { color: var(--c-primary); }
.hx-textlist .tt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hx-textlist time { font-size: 12px; color: var(--c-text-3); flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* 点击排行 */
.hx-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.hx-rank li:last-child { border-bottom: 0; }
.hx-rank .no { width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0; background: var(--c-line); color: var(--c-text-3); font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; }
.hx-rank li:nth-child(1) .no { background: var(--c-primary); color: #fff; }
.hx-rank li:nth-child(2) .no { background: rgba(200, 16, 46, 0.75); color: #fff; }
.hx-rank li:nth-child(3) .no { background: rgba(200, 16, 46, 0.45); color: #fff; }
.hx-rank a { flex: 1; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 工具箱 */
.hx-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hx-tools a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; border-radius: var(--r-md);
  color: var(--c-text-2); font-size: 13px;
  background: var(--c-bg); transition: all 0.2s;
}
.hx-tools a:hover { background: rgba(200, 16, 46, 0.06); color: var(--c-primary); transform: translateY(-2px); }
.hx-tools .hx-ic { width: 22px; height: 22px; color: var(--c-primary); }

/* 专题（侧栏） */
.hx-ztlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-ztlist a { display: block; position: relative; border-radius: var(--r-md); overflow: hidden; }
.hx-ztlist img { width: 100%; height: 84px; object-fit: cover; transition: transform 0.35s; }
.hx-ztlist a:hover img { transform: scale(1.06); }
.hx-ztlist span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 5px;
  background: linear-gradient(180deg, rgba(23, 27, 38, 0) 0%, rgba(23, 27, 38, 0.8) 100%);
  color: #fff; font-size: 12px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* 三栏区块（财富故事/曝光台/专栏） */
.hx-tri { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* 专题横排（首页底部） */
.hx-ztrow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

/* ================= 列表页 ================= */
.hx-crumb { padding: 16px 0 0; font-size: 13px; color: var(--c-text-3); }
.hx-crumb a { color: var(--c-text-2); }
.hx-crumb a:hover { color: var(--c-primary); }
.hx-pagegrid { margin-top: 14px; display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.hx-listhead { padding: 18px 22px 0; }
.hx-listhead h1 { font-size: 24px; color: var(--c-ink); display: flex; align-items: center; gap: 10px; }
.hx-listhead h1::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--c-primary); }
.hx-listhead .desc { margin-top: 8px; font-size: 13px; color: var(--c-text-3); }

.hx-empty { padding: 50px 0; text-align: center; color: var(--c-text-3); font-size: 14px; }

/* ================= 内容页（文章） ================= */
.hx-article { padding: 24px 28px 30px; }
.hx-article > h1 { font-size: 27px; color: var(--c-ink); line-height: 1.4; }
.hx-art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); font-size: 13px; color: var(--c-text-3); }
.hx-art-meta .hx-ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.hx-art-lead {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(200, 16, 46, 0.045); border-left: 3px solid var(--c-primary);
  font-size: 14px; color: var(--c-text-2);
}
.hx-art-lead b { color: var(--c-primary); }
.hx-art-body { margin-top: 20px; font-size: 16.5px; line-height: 1.9; color: var(--c-text); word-break: break-word; }
.hx-art-body p { margin: 0 0 18px; }
.hx-art-body img { max-width: 100% !important; height: auto !important; border-radius: var(--r-md); margin: 6px auto 14px; }
.hx-art-body table { max-width: 100%; overflow-x: auto; display: block; }
.hx-art-body h2, .hx-art-body h3 { margin: 22px 0 12px; color: var(--c-ink); }
.hx-art-body blockquote { margin: 0 0 18px; padding: 10px 16px; background: var(--c-bg); border-left: 3px solid var(--c-gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--c-text-2); }
.hx-art-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.hx-art-body td, .hx-art-body th { border: 1px solid var(--c-line); padding: 8px 12px; }
.hx-art-body th { background: var(--c-bg); }

.hx-art-tags { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hx-art-tags .lb { font-size: 13px; color: var(--c-text-3); }
.hx-art-tags a {
  font-size: 13px; color: var(--c-text-2); background: var(--c-bg);
  border-radius: 20px; padding: 3px 14px;
}
.hx-art-tags a:hover { color: #fff; background: var(--c-primary); }

.hx-art-page { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.hx-art-page a, .hx-art-page span { padding: 7px 15px; border-radius: var(--r-sm); background: var(--c-bg); color: var(--c-text-2); font-size: 14px; }
.hx-art-page a:hover { background: var(--c-primary); color: #fff; }

.hx-rel li a { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--c-line); font-size: 14px; }
.hx-rel li:last-child a { border-bottom: 0; }
.hx-rel .hx-ic { width: 14px; height: 14px; color: var(--c-primary); }
.hx-rel .tt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hx-rel time { font-size: 12px; color: var(--c-text-3); }

/* ================= 尾部 ================= */
.hx-footer { margin-top: 30px; background: var(--c-ink); color: #9aa0ad; font-size: 13px; }
.hx-footer .hx-container { padding: 30px 0 0; }
.hx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #2a2f3d; }
.hx-footer h4 { color: #e7e9ee; font-size: 15px; margin-bottom: 12px; }
.hx-footer-about p { line-height: 1.8; }
.hx-footer-links a { display: block; padding: 3px 0; color: #9aa0ad; }
.hx-footer-links a:hover { color: #fff; }
.hx-footer-bd { padding: 16px 0 22px; text-align: center; font-size: 12px; color: #6d7382; line-height: 2; }
.hx-footer-bd a { color: #8b919e; }
.hx-footer-bd a:hover { color: #fff; }

/* 返回顶部 */
.hx-gotop {
  position: fixed; right: 22px; bottom: 60px; z-index: 900;
  width: 44px; height: 44px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--c-card); color: var(--c-primary);
  box-shadow: var(--sh-lift); display: none;
  align-items: center; justify-content: center;
}
.hx-gotop.show { display: flex; }
.hx-gotop:hover { background: var(--c-primary); color: #fff; }

/* 广告位容器 */
.hx-ad { margin: 14px auto; text-align: center; overflow: hidden; }
.hx-ad img { display: inline-block; max-width: 100%; height: auto; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .hx-hero { grid-template-columns: 1fr; }
  .hx-slide-item img { height: 320px; }
  .hx-slide { min-height: 320px; }
  .hx-main, .hx-pagegrid { grid-template-columns: 1fr; }
  .hx-side { position: static; }
  .hx-picks { grid-template-columns: repeat(2, 1fr); }
  .hx-tri { grid-template-columns: repeat(2, 1fr); }
  .hx-ztrow { grid-template-columns: repeat(3, 1fr); }
  .hx-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .hx-topbar-links { display: none; }
  .hx-header { padding: 14px 0; }
  .hx-header .hx-container { flex-wrap: wrap; gap: 12px; }
  .hx-search { width: 100%; max-width: none; order: 3; }
  .hx-logo-txt h1, .hx-logo-txt .hx-sitename { font-size: 22px; }
  .hx-logo-mark { width: 38px; height: 38px; }
  .hx-nav { position: static; }
  .hx-nav ul { flex-wrap: wrap; }
  .hx-nav li { flex: 0 0 20%; text-align: center; }
  .hx-nav a { font-size: 14px; line-height: 40px; }
  .hx-quote { padding: 10px 14px; }
  .hx-newscard .pic { width: 130px; }
  .hx-newscard .pic img { width: 130px; height: 86px; }
  .hx-newscard h3 { font-size: 15px; }
  .hx-article { padding: 18px 16px 24px; }
  .hx-article > h1 { font-size: 21px; }
  .hx-art-body { font-size: 15.5px; }
}

@media (max-width: 560px) {
  .hx-picks, .hx-tri { grid-template-columns: 1fr; }
  .hx-ztrow { grid-template-columns: repeat(2, 1fr); }
  .hx-tools { grid-template-columns: repeat(3, 1fr); }
  .hx-ztlist { grid-template-columns: 1fr 1fr; }
  .hx-slide-cap h2 { font-size: 17px; }
  .hx-slide-item img { height: 230px; }
  .hx-slide { min-height: 230px; }
  .hx-focus-top img { height: 170px; }
  .hx-newscard { flex-direction: column; }
  .hx-newscard .pic, .hx-newscard .pic img { width: 100%; }
  .hx-newscard .pic img { height: 180px; }
  .hx-focus-list a { font-size: 14px; }
}

/* ================= 列表页条目（listvar） ================= */
.hx-lrows li { border-bottom: 1px dashed var(--c-line); }
.hx-lrows li:last-child { border-bottom: 0; }
.hx-lrows a {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; min-width: 0;
}
.hx-lrows img {
  width: 140px; height: 88px; object-fit: cover; border-radius: var(--r-sm);
  flex-shrink: 0; background: var(--c-bg);
}
.hx-lrows .tt {
  flex: 1; font-size: 16px; color: var(--c-text); line-height: 1.5;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hx-lrows a:hover .tt { color: var(--c-primary); }
.hx-lrows time { font-size: 12px; color: var(--c-text-3); flex-shrink: 0; align-self: flex-start; margin-top: 4px; }

/* 分页 */
.hx-pagenav { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hx-pagenav a, .hx-pagenav b, .hx-pagenav span, .hx-pagenav .current {
  padding: 7px 15px; border-radius: var(--r-sm); background: var(--c-bg);
  color: var(--c-text-2); font-size: 14px; font-weight: 400; text-decoration: none;
}
.hx-pagenav a:hover { background: var(--c-primary); color: #fff; }
.hx-pagenav b, .hx-pagenav .current { background: var(--c-primary); color: #fff; font-weight: 600; }

@media (max-width: 768px) {
  .hx-lrows img { width: 96px; height: 64px; }
  .hx-lrows .tt { font-size: 14px; }
}

/* ================= 友情链接 ================= */
.hx-flinks { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hx-flinks a { font-size: 13px; color: var(--c-text-2); }
.hx-flinks a:hover { color: var(--c-primary); }

/* ================= 侧栏要闻速递（紧凑） ================= */
.hx-brief li a { padding: 8px 0; }
.hx-brief .tt { font-size: 13px; }
