/* ==========================================================================
   步长制药官网 · 全站样式
   设计基调：专业 · 大气 · 现代中药品牌；深青主色 + 步长红点缀 + 描金细节
   响应式：360px 起适配，取消固定 1200px；内置 AI 对话悬浮窗
   ========================================================================== */

:root {
  --ink: #1c2b36;
  --navy: #143a52;
  --navy-2: #1d5573;
  --brand: #e2233f;
  --brand-dark: #bd1630;
  --gold: #e0a53a;
  --teal: #12a594;
  --sky: #2f80ed;
  --sun: #f6a623;
  --bg: #ffffff;
  --bg-soft: #f3f9fb;
  --bg-mist: #e9f4f7;
  --line: #e3ecf1;
  --muted: #5f7482;
  --grad-fresh: linear-gradient(120deg, #12a594, #2f80ed);
  --grad-warm: linear-gradient(120deg, #e2233f, #f6a623);
  --grad-sky: linear-gradient(120deg, #2f80ed, #56ccf2);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(20, 58, 82, .07);
  --shadow: 0 12px 36px rgba(20, 58, 82, .12);
  --shadow-lg: 0 24px 60px rgba(20, 58, 82, .18);
  --wrap: 1220px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.28; color: var(--navy); font-weight: 800; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* 首页隐藏页面垂直滚动条（仍可用滚轮/键盘滚动），其他页保持默认。
   注意：文档滚动条实际渲染在根元素 html 上，body 的 ::-webkit-scrollbar 管不到，
   须由 main.js 把 page-home 类同步到 <html> 后对 html 生效 */
html.page-home, body.page-home { scrollbar-width: none; -ms-overflow-style: none; }
html.page-home::-webkit-scrollbar, body.page-home::-webkit-scrollbar { width: 0; height: 0; display: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* AI 对话：悬浮按钮 + 原生问答面板 */
.ai-chat-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 1200; border: 0;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: #2D85E4; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 133, 228, .38); transition: transform .25s, box-shadow .25s;
}
.ai-chat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(45, 133, 228, .5); }
.ai-chat-mask {
  position: fixed; inset: 0; z-index: 1300; background: rgba(8, 30, 46, .55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: calc(113px + 16px) 24px 16px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.ai-chat-mask.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.ai-chat-dialog {
  width: min(1000px, 94%); height: min(76vh, 720px); max-height: calc(100vh - 140px); background: #fff;
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(4, 24, 38, .35);
  transform: translateY(18px) scale(.98); transition: transform .25s ease;
}
.ai-chat-mask.is-open .ai-chat-dialog { transform: none; }
.ai-chat-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(120deg, #12a594, #2f80ed); color: #fff; padding: 12px 18px;
}
.ai-chat-title { font-weight: 700; font-size: 1rem; letter-spacing: 1px; }
.ai-chat-max {
  margin-left: auto; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .16); color: #fff;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.ai-chat-max:hover { background: rgba(255, 255, 255, .32); border-color: #fff; }
.ai-chat-max svg { display: block; flex: 0 0 auto; }
.ai-chat-close {
  border: 0; background: rgba(255, 255, 255, .16); color: #fff;
  width: 30px; height: 30px; border-radius: 50%; font-size: 1.25rem; line-height: 1;
  cursor: pointer; transition: background .2s;
}
.ai-chat-close:hover { background: rgba(255, 255, 255, .32); }
/* 最大化：头部下划线与导航条底边对齐（顶部约留 57px，即导航条 113 - 对话框头部 56），左右下各留 50px；实际值由 JS 实测微调 */
.ai-chat-mask.is-max { padding: 57px 50px 50px; align-items: stretch; }
.ai-chat-mask.is-max .ai-chat-dialog { width: 100%; height: calc(100vh - 107px); max-height: none; border-radius: 16px; }
/* 消息记录（隐藏垂直滚动条但保留滚动） */
.ai-chat-log { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 22px 26px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; -ms-overflow-style: none; }
.ai-chat-log::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ai-msg { display: flex; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-bot { justify-content: flex-start; }
.ai-msg-body {
  max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: .96rem;
  line-height: 1.75; word-break: break-word;
}
.ai-msg-user .ai-msg-body { white-space: pre-wrap; background: linear-gradient(120deg, #12a594, #2f80ed); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg-bot .ai-msg-body { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
/* AI 回答内渲染后的 Markdown 排版 */
.ai-msg-bot .ai-msg-body > :first-child { margin-top: 0; }
.ai-msg-bot .ai-msg-body > :last-child { margin-bottom: 0; }
.ai-msg-bot .ai-msg-body p { margin: 0 0 .7em; }
.ai-msg-bot .ai-msg-body h1, .ai-msg-bot .ai-msg-body h2, .ai-msg-bot .ai-msg-body h3,
.ai-msg-bot .ai-msg-body h4, .ai-msg-bot .ai-msg-body h5, .ai-msg-bot .ai-msg-body h6 {
  margin: .9em 0 .5em; line-height: 1.4; color: var(--navy); font-weight: 700;
}
.ai-msg-bot .ai-msg-body h1 { font-size: 1.25rem; } .ai-msg-bot .ai-msg-body h2 { font-size: 1.16rem; }
.ai-msg-bot .ai-msg-body h3 { font-size: 1.08rem; } .ai-msg-bot .ai-msg-body h4 { font-size: 1.02rem; }
.ai-msg-bot .ai-msg-body ul, .ai-msg-bot .ai-msg-body ol { margin: 0 0 .7em; padding-left: 1.4em; }
.ai-msg-bot .ai-msg-body ul { list-style: disc; } .ai-msg-bot .ai-msg-body ol { list-style: decimal; }
.ai-msg-bot .ai-msg-body li { margin: .25em 0; }
.ai-msg-bot .ai-msg-body li > ul, .ai-msg-bot .ai-msg-body li > ol { margin: .25em 0; }
.ai-msg-bot .ai-msg-body hr { border: 0; border-top: 1px solid var(--line); margin: .9em 0; }
.ai-msg-bot .ai-msg-body code { background: var(--bg-mist); padding: 1px 6px; border-radius: 5px; font-family: var(--font-en); font-size: .9em; }
.ai-msg-bot .ai-msg-body strong { color: var(--navy); }
.ai-msg-body.ai-typing::after { content: "▋"; margin-left: 2px; color: var(--teal); animation: aiBlink 1s steps(2) infinite; }
@keyframes aiBlink { 50% { opacity: 0; } }
.ai-msg-sources { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ai-src-label { font-size: .78rem; color: var(--muted); letter-spacing: 1px; }
.ai-msg-sources ul { margin-top: 4px; display: flex; flex-direction: column; gap: 4px; }
.ai-msg-bot .ai-msg-body .ai-msg-sources ul { list-style: none; padding-left: 0; margin: 4px 0 0; }
.ai-msg-sources a { font-size: .85rem; color: var(--brand); }
.ai-msg-sources a:hover { color: var(--brand-dark); text-decoration: underline; }
/* 药品图卡片：展示在白色回答气泡内部顶部（bot 行纵向堆叠），点击可放大 */
.ai-msg-bot { flex-direction: column; align-items: flex-start; }
.ai-msg-images { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.ai-img-item { margin: 0; width: 118px; text-align: center; }
.ai-img-item img {
  width: 118px; height: 118px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow-sm);
  cursor: zoom-in; transition: box-shadow .2s, transform .2s;
}
.ai-img-item img:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ai-img-item img:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ai-img-item figcaption { margin-top: 5px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
/* 图片放大灯箱 */
.ai-img-lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(8, 30, 46, .86);
  display: flex; align-items: center; justify-content: center; padding: 48px;
  cursor: zoom-out; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.ai-img-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.ai-img-lightbox img {
  max-width: 92%; max-height: 86vh; object-fit: contain; background: #fff;
  border-radius: 14px; padding: 14px; box-shadow: var(--shadow-lg); cursor: default;
  transform-origin: center center; transition: transform .12s ease;
}
.ai-img-lightbox .ai-img-lb-cap { position: absolute; bottom: 48px; left: 0; right: 0; text-align: center; color: #eafcff; font-size: .95rem; padding: 0 20px; }
.ai-img-lightbox .ai-img-lb-hint { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(234,252,255,.72); font-size: .8rem; letter-spacing: 1px; }
.ai-img-lightbox .ai-img-lb-close {
  position: absolute; top: 22px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ai-img-lightbox .ai-img-lb-close:hover { background: rgba(255,255,255,.28); border-color: #fff; }
/* 快捷提问 */
.ai-chat-quick { flex: 0 0 auto; display: flex; gap: 8px; padding: 10px 14px 0; flex-wrap: wrap; }
.ai-chat-quick button {
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  border-radius: 18px; padding: 6px 12px; font-size: .82rem; transition: .2s;
}
.ai-chat-quick button:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-mist); }
/* 输入区 */
.ai-chat-form { flex: 0 0 auto; display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px 16px; background: #fff; border-top: 1px solid var(--line); }
.ai-chat-input {
  flex: 1 1 auto; resize: none; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; font-size: .95rem; font-family: inherit; color: var(--ink); max-height: 120px;
}
.ai-chat-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,128,237,.14); }
.ai-chat-send {
  flex: 0 0 auto; border: 0; border-radius: 12px; padding: 0 18px; height: 42px;
  background: linear-gradient(120deg, #12a594, #2f80ed); color: #fff; font-weight: 700; cursor: pointer;
  transition: filter .2s, opacity .2s;
}
.ai-chat-send:hover { filter: brightness(1.06); }
.ai-chat-send:disabled { opacity: .6; cursor: default; }
body.ai-chat-open { overflow: hidden; }
html.ai-chat-lock { overflow: hidden; }
@media (max-width: 640px) {
  .ai-chat-mask { padding: 0; }
  .ai-chat-dialog { width: 100%; height: 100%; border-radius: 0; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: var(--shadow-sm); }
.site-header.is-scrolled { box-shadow: var(--shadow); }

.topbar { background: var(--grad-fresh); color: #eafcff; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 38px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 700; letter-spacing: .5px; }
.topbar-sep { opacity: .4; }
.topbar-actions { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.topbar-actions a { color: #eafcff; }
.topbar-actions a:hover { color: #fff; }
.btn-adr { border: 1px solid rgba(255,255,255,.35); padding: 3px 10px; border-radius: 20px; }
.btn-adr:hover { background: var(--brand); border-color: var(--brand); color: #fff !important; }

.mainnav { border-top: 1px solid var(--line); }
.mainnav-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.primary-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-item { position: relative; }
.menu-link { display: block; padding: 10px 11px; font-weight: 700; color: var(--navy); font-size: 1rem; border-radius: 8px; white-space: nowrap; }
.menu-item:hover .menu-link, .menu-item.active .menu-link { color: var(--brand); }
.menu-item.active .menu-link { position: relative; }
.menu-item.active .menu-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px;
  background: var(--brand); border-radius: 3px;
}
.has-mega > .menu-link::before { content: ""; }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .22s ease; z-index: 50;
}
.has-mega:hover .submenu, .has-mega:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.submenu a:hover { background: var(--bg-mist); color: var(--brand); }

.menu-search { margin-left: 8px; }
.menu-search form { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 2px 4px 2px 12px; }
.menu-search input { border: 0; background: transparent; padding: 7px 4px; width: 120px; font-size: .9rem; color: var(--ink); }
.menu-search input:focus { outline: none; }
.menu-search button { border: 0; background: transparent; cursor: pointer; font-size: .95rem; padding: 6px 8px; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px auto; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  display: grid; /* 三帧堆叠到同一网格单元，容器高度取最高帧，天然不裁切 */
  background: linear-gradient(120deg, #12a594, #2f80ed 52%, #f6a623); /* 兜底品牌渐变，防止任何情况下白屏 */
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: clamp(48px, 9vw, 118px) 0; }
/* 首屏自适应：Hero 轮播占满整个可视高度（减去 sticky 页头），无数据带不留空白 */
.home-top { display: flex; flex-direction: column; min-height: calc(100vh - 113px); }
.home-top .hero { flex: 1 1 auto; }

/* ---- Hero 轮播帧：堆叠 + 淡入淡出 + 渐变遮罩 ---- */
.hero-slide {
  grid-area: 1 / 1; position: relative;
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .9s ease, visibility 0s; z-index: 2; }
.hero-slide-1 { background-image: linear-gradient(120deg, rgba(18,165,148,.82), rgba(47,128,237,.68) 52%, rgba(246,166,35,.55)), url("../img/hero-slide-1.png"); }
.hero-slide-2 { background-image: linear-gradient(120deg, rgba(14,72,120,.86), rgba(18,165,148,.66) 55%, rgba(47,128,237,.55)), url("../img/hero-slide-2.png"); }
.hero-slide-3 { background-image: linear-gradient(120deg, rgba(16,185,129,.72), rgba(20,184,166,.56) 50%, rgba(56,163,230,.46)), url("../img/hero-slide-3.png"); }

/* ---- 轮播控件：左右箭头 + 底部圆点 ---- */
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px); color: #fff;
  font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.hero-prev { left: 22px; } .hero-next { right: 22px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.28); border-color: #fff; }
.hero-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 20px; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; }
.hero-dot:hover { background: rgba(255,255,255,.8); }
.hero-dot.is-active { width: 30px; background: #fff; }

.hero .eyebrow { color: var(--gold); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; font-size: .85rem; }
/* 仅首帧用 h1（全站唯一 H1），后续帧降级为 h2 但保持同等视觉层级 */
.hero h1, .hero h2.hero-title { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.18; margin-bottom: .3em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #dbe8ef; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.hero-card h2 { color: #fff; font-size: 1.1rem; }
.quote { font-family: var(--font-en); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; line-height: 1.5; }
.quote .cn { font-family: var(--font); display: block; margin-top: 8px; color: var(--gold); font-size: 1.05rem; letter-spacing: 4px; }

/* ==========================================================================
   Redesign · Home Hero 入场动画（双栏玻璃卡）
   ========================================================================== */
.hero-copy > *, .hero-card { opacity: 0; transform: translateY(26px); }
.hero-slide.is-active .hero-copy > *, .hero-slide.is-active .hero-card { animation: fadeUp .85s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-slide.is-active .hero-copy .eyebrow { animation-delay: .1s; }
.hero-slide.is-active .hero-copy h1, .hero-slide.is-active .hero-copy h2.hero-title { animation-delay: .22s; }
.hero-slide.is-active .hero-copy .lead { animation-delay: .4s; }
.hero-slide.is-active .hero-copy .hero-actions { animation-delay: .56s; }
.hero-slide.is-active .hero-card { animation-delay: .5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .hero-copy > *, .hero-card { opacity:1; transform:none; animation:none; } }

/* 金色按钮 */
.btn-gold { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 26px rgba(246,166,35,.35); }
.btn-gold:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(226,35,63,.42); }

/* ==========================================================================
   Redesign · Home 数据带（计数动画）
   ========================================================================== */
.section-alt { background: var(--bg-soft); }
.section-cta-bg { background: linear-gradient(135deg, var(--bg-mist), #fff); }
.section-eyebrow { color: var(--brand); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; font-size: .8rem; }
.more-link { color: var(--brand); font-weight: 700; white-space: nowrap; }
.more-link:hover { color: var(--brand-dark); }
.stats-band { background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.stat-cell { text-align: center; padding: 44px 16px; }
.stat-num { font-family: var(--font-en); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--brand); line-height: 1; }
.stat-integer { display: inline-block; }
.stat-suffix { font-size: .5em; color: var(--teal); margin-left: 3px; font-weight: 800; }
.stat-label { color: var(--muted); margin-top: 12px; font-size: .98rem; }

/* 关于步长 分栏 */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.about-badge { position: absolute; left: 22px; bottom: 22px; background: var(--grad-warm); color: #fff; font-family: var(--font-en); font-weight: 800; letter-spacing: 1px; padding: 10px 20px; border-radius: 30px; box-shadow: var(--shadow); }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 16px; }
.about-copy .prose-content { color: var(--muted); line-height: 1.85; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin: 24px 0 28px; }
.about-facts dt { color: var(--muted); font-size: .85rem; }
.about-facts dd { margin: 3px 0 0; color: var(--navy); font-weight: 700; }

/* 核心产品大图卡 */
.prod-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; }
.prod-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-feature-img { position: relative; aspect-ratio: 4/3; background: radial-gradient(120% 120% at 50% 0%, #ffffff 30%, #eef7fa 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-feature-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .5s ease; }
.prod-feature:hover .prod-feature-img img { transform: scale(1.09); }
.prod-feature-img .thumb-ph { font-family: var(--font-en); font-size: 3rem; font-weight: 800; color: var(--teal); opacity: .5; }
.prod-feature-tag { position: absolute; top: 12px; left: 12px; background: var(--grad-warm); color: #fff; font-size: .72rem; padding: 4px 12px; border-radius: 20px; font-weight: 700; }
.prod-feature-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-feature-body h3 { margin: 0; font-size: 1.16rem; }
.prod-feature-body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.prod-feature-more { color: var(--brand); font-weight: 700; font-size: .9rem; margin-top: auto; transition: transform .2s; }
.prod-feature:hover .prod-feature-more { transform: translateX(4px); }

/* 精选新闻 */
.news-feature-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; align-items: stretch; }
.news-feature { position: relative; background: var(--grad-fresh); color: #fff; border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; overflow: hidden; transition: .3s; }
.news-feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.news-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-feature time { font-family: var(--font-en); color: #fff2c2; letter-spacing: 1px; font-weight: 700; position: relative; }
.news-feature h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 12px 0; line-height: 1.4; position: relative; }
.news-feature p { color: #e6f6fb; margin: 0 0 16px; position: relative; }
.news-feature-more { color: #fff; font-weight: 700; position: relative; }
.news-mini-list { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.news-mini-list li { flex: 1; border-bottom: 1px solid var(--line); }
.news-mini-list li:last-child { border-bottom: 0; }
.news-mini-list a { display: flex; gap: 18px; align-items: center; padding: 16px 14px; transition: .2s; height: 100%; }
.news-mini-list a:hover { background: var(--bg-soft); }
.news-mini-date { font-family: var(--font-en); font-weight: 800; color: var(--brand); font-size: 1.05rem; flex: none; }
.news-mini-title { color: var(--navy); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow:hidden; }

/* 快捷入口大卡 */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; overflow: hidden; transition: .3s; box-shadow: var(--shadow-sm); }
.quick-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--grad-warm); transition: width .35s; }
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-card:hover::after { width: 100%; }
.quick-idx { font-family: var(--font-en); font-size: 2rem; font-weight: 800; color: var(--bg-mist); display: block; line-height: 1; transition: color .3s; }
.quick-card:hover .quick-idx { color: var(--brand); }
.quick-card h3 { margin: 12px 0 6px; font-size: 1.25rem; color: var(--navy); }
.quick-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* 分类磁贴补充（首页） */
.cat-tile p { position: relative; color: var(--muted); margin: 8px 0 0; font-size: .92rem; }
.cat-arrow { position: relative; display: inline-block; margin-top: 16px; color: var(--tile); font-weight: 800; transition: transform .25s; }
.cat-tile:hover .cat-arrow { transform: translateX(6px); }

/* ==========================================================================
   关键数据条 */
.stats-bar { background: var(--grad-fresh); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stats-note { margin: 10px 0 0; text-align: center; font-size: .8rem; color: #d8f3fb; opacity: .85; }
.stat { text-align: center; padding: 26px 12px; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-en); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; }
.stat .num b { color: #fff2c2; }
.stat .label { color: #eafcff; font-size: .9rem; margin-top: 4px; }

/* ==========================================================================
   Sections & titles
   ========================================================================== */
.section { padding: clamp(50px, 7vw, 92px) 0; }
.section.soft { background: var(--bg-soft); }
.section.mist { background: var(--bg-mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head .en { color: var(--brand); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 0; }
.section-head .side-note { color: var(--muted); max-width: 480px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: .2s; font-size: .98rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.text-link { color: var(--brand); font-weight: 700; }

/* ==========================================================================
   Cards grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #eef7fa, #f7fbfc); position: relative; display: flex; align-items: center; justify-content: center; color: var(--brand); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card.product-card .thumb { aspect-ratio: 4/3; background: radial-gradient(120% 120% at 50% 0%, #ffffff 30%, #eef7fa 100%); }
.card.product-card .thumb img { object-fit: contain; padding: 18px; }
.card .thumb .thumb-ph { font-family: var(--font-en); font-size: 3.4rem; font-weight: 800; color: var(--teal); opacity: .55; }
.card .thumb .pill.thumb-label { position: absolute; left: 10px; bottom: 10px; margin: 0; font-size: .72rem; padding: 2px 10px; background: rgba(255,255,255,.88); backdrop-filter: blur(4px); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; }
.card .meta { color: var(--muted); font-size: .85rem; }

/* 共铸中国心 · 特色公益项目卡（通栏：左视觉面板 + 右内容） */
.csr-features { display: grid; gap: 26px; }
.csr-feature { display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; }
.csr-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.csr-feature .cf-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 240px; padding: 30px; color: #fff; background: linear-gradient(150deg, #e2233f, #a30f2a 72%); overflow: hidden; }
.csr-feature .cf-visual::after { content: ""; position: absolute; right: -46px; bottom: -56px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.09); }
.csr-feature .cf-badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); padding: 3px 12px; border-radius: 20px; font-size: .76rem; letter-spacing: 1px; }
.csr-feature .cf-mark { font-size: 3.2rem; font-weight: 800; letter-spacing: 4px; line-height: 1.15; text-shadow: 0 2px 16px rgba(0,0,0,.22); }
.csr-feature .cf-en { font-family: var(--font-en); font-size: .82rem; opacity: .85; text-align: center; max-width: 230px; }
.csr-feature .cf-body { padding: 30px 36px; display: flex; flex-direction: column; gap: 10px; }
.csr-feature .cf-sub { color: var(--teal); font-weight: 700; font-size: .9rem; }
.csr-feature .cf-body h3 { margin: 0; font-size: 1.6rem; }
.csr-feature .cf-body p { color: var(--muted); margin: 0; line-height: 1.85; }
.csr-feature .cf-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 768px) { .csr-feature { grid-template-columns: 1fr; } .csr-feature .cf-visual { min-height: 180px; } .csr-feature .cf-body { padding: 24px 24px 28px; } }

/* 共铸中国心 · 五大方向徒标（cat-tile 用作 <a> 时补块级与文字色） */
a.cat-tile { display: block; }
a.cat-tile h3, a.cat-tile .idx { color: inherit; }
a.cat-tile .cat-arrow { position: absolute; right: 18px; top: 24px; font-size: 1.3rem; color: var(--tile); opacity: .55; transition: transform .25s; }

/* 共铸中国心 · 历届“心”闻（按年份归档的新闻卡片网格） */
.csr-news-year { margin-bottom: 34px; }
.csr-news-year:last-child { margin-bottom: 0; }
.csr-news-year-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.csr-news-year-head .cny-num { font-family: var(--font-en); font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: 1px; }
.csr-news-year-head .cny-label { color: var(--muted); font-size: .9rem; }
.csr-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.csr-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; }
.csr-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.csr-news-card .cnc-thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(150deg, #e2233f, #a30f2a); overflow: hidden; }
.csr-news-card .cnc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.csr-news-card:hover .cnc-thumb img { transform: scale(1.06); }
.csr-news-card .cnc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92); font-weight: 800; letter-spacing: 3px; font-size: 1.15rem; }
.csr-news-card .cnc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.csr-news-card .cnc-date { font-family: var(--font-en); font-size: .8rem; color: var(--teal); font-weight: 700; letter-spacing: .5px; }
.csr-news-card .cnc-title { margin: 0; font-size: 1.06rem; line-height: 1.5; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.csr-news-card:hover .cnc-title { color: var(--brand); }
.csr-news-card .cnc-sum { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.csr-news-card .cnc-more { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 700; font-size: .86rem; }

/* 共铸中国心 · 公益相册（图片墙，点击放大） */
.csr-album { margin-bottom: 38px; }
.csr-album:last-child { margin-bottom: 0; }
.csr-album-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--brand); padding-bottom: 10px; margin-bottom: 20px; }
.csr-album-head h3 { margin: 0; font-size: 1.25rem; }
.csr-album-head .cah-en { color: var(--muted); font-size: .82rem; font-family: var(--font-en); }
.csr-album-head .cah-count { margin-left: auto; flex: none; background: var(--bg-mist); color: var(--navy); border-radius: 16px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }
.csr-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.csr-album-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-sm); transition: .25s; }
.csr-album-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.csr-album-item img { width: 100%; aspect-ratio: 26/22; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
@media (max-width: 520px) { .csr-album-grid { grid-template-columns: repeat(2, 1fr); } }

/* 共铸中国心 · 公益历程（逐条落库的动态时间轴：中轴 + 年份倒序 + 左右交错） */
.csr-timeline { position: relative; padding: 8px 0 0; display: flex; flex-direction: column; gap: 34px; }
/* 中轴：自上而下的青→蓝→红渐变，呼应品牌色 */
.csr-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(226, 35, 63, .55), var(--teal) 22%, var(--sky) 70%, var(--line)); border-radius: 3px; }
/* 轴底收尾节点 */
.ct-end { position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; transform: translateX(-50%); border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 5px rgba(226, 35, 63, .12); }
.ct-year { position: relative; display: flex; align-items: flex-start; }
.ct-year-badge { position: relative; z-index: 2; flex: 0 0 50%; display: flex; align-items: baseline; gap: 8px; padding-right: 42px; text-align: right; }
.ct-year-badge .cty-num { font-family: var(--font-en); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: 1px; }
.ct-year-badge .cty-label { font-size: .82rem; color: var(--muted); }
.ct-year.is-right .ct-year-badge { padding-right: 0; padding-left: 42px; text-align: left; order: 2; }
/* 年份轴节点：首年（最新）用品牌红强调 */
.ct-year::after { content: ""; position: absolute; left: 50%; top: 10px; width: 16px; height: 16px; transform: translateX(-50%); border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 5px rgba(18, 165, 148, .13); z-index: 3; }
.ct-year:first-child::after { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(226, 35, 63, .14); }
.ct-year:first-child .cty-num { color: var(--brand); }
.ct-nodes { list-style: none; flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding-left: 42px; margin: 0; }
.ct-year.is-left .ct-nodes { padding-left: 0; padding-right: 42px; margin-right: auto; align-items: flex-end; }
.ct-year.is-right .ct-nodes { margin-left: auto; align-items: flex-start; }
.ct-node { position: relative; width: 100%; max-width: 520px; }
/* 卡片与中轴之间的连接短横 */
.ct-node::before { content: ""; position: absolute; top: 24px; width: 30px; height: 2px; background: linear-gradient(90deg, var(--line), rgba(18, 165, 148, .5)); }
.ct-year.is-right .ct-node::before { left: -30px; }
.ct-year.is-left .ct-node::before { right: -30px; background: linear-gradient(270deg, var(--line), rgba(18, 165, 148, .5)); }
.ct-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ct-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ct-node--lead .ct-card { border-left-color: var(--brand); background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.ct-title { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--navy); }
.ct-desc { margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.ct-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.ct-meta .ct-tag { background: rgba(18, 165, 148, .1); color: #0e8f80; border-radius: 12px; padding: 1px 10px; font-weight: 700; }
.ct-meta .ct-date { font-family: var(--font-en); letter-spacing: .5px; }
.ct-meta .ct-link { color: var(--brand); font-weight: 700; }
.ct-meta .ct-link:hover { text-decoration: underline; }
/* 官网原图参考：默认收起，需要核对时再展开并可灯箱放大 */
.csr-journey-ref { margin-top: 34px; text-align: center; }
.csr-journey-ref summary { display: inline-block; cursor: pointer; color: var(--muted); font-size: .9rem; border: 1px dashed var(--line); border-radius: 22px; padding: 6px 20px; list-style: none; transition: .2s; }
.csr-journey-ref summary:hover { color: var(--brand); border-color: var(--brand); }
.csr-journey-ref summary::-webkit-details-marker { display: none; }
.csr-journey-ref[open] summary { margin-bottom: 18px; color: var(--brand); border-color: var(--brand); }
.csr-journey { margin: 0; display: flex; justify-content: center; }
.csr-journey img { display: block; width: 100%; max-width: 660px; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; cursor: zoom-in; transition: .25s; }
.csr-journey img:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
@media (max-width: 880px) {
  .csr-timeline { gap: 26px; padding-left: 26px; }
  .csr-timeline::before, .ct-end { left: 8px; transform: none; }
  .ct-year { flex-direction: column; }
  .ct-year-badge, .ct-year.is-right .ct-year-badge { order: 0; flex: none; width: 100%; padding: 0 0 12px 26px; text-align: left; }
  .ct-year::after { left: 8px; transform: translateX(-50%); }
  .ct-nodes, .ct-year.is-left .ct-nodes, .ct-year.is-right .ct-nodes { padding: 0; margin: 0; width: 100%; align-items: stretch; }
  .ct-node { max-width: none; }
  .ct-year.is-left .ct-node::before, .ct-year.is-right .ct-node::before { left: -26px; right: auto; background: linear-gradient(90deg, var(--line), rgba(18, 165, 148, .5)); }
}


/* 产品分类磁贴（默认即带清新渐变，浅绿系为主，干净靓丽） */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { --tile: #14b8a6; --g1: #e9fbf2; --g2: #cbf4e0; position: relative; border: 1px solid rgba(255,255,255,.75); border-radius: var(--radius); padding: 26px 22px 26px 28px; color: var(--navy); overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: var(--shadow-sm); transition: .25s; }
.cat-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tile); transition: width .25s; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-tile:hover::before { width: 10px; }
.cat-tile .en { position: absolute; right: 14px; bottom: 12px; font-size: .68rem; letter-spacing: 1px; opacity: .5; text-transform: uppercase; color: var(--muted); }
.cat-tile h3 { color: var(--navy); margin: 0; font-size: 1.25rem; position: relative; }
.cat-tile .idx { font-family: var(--font-en); color: var(--tile); font-size: .9rem; letter-spacing: 2px; font-weight: 800; position: relative; }
/* 四列循环的清新配色：翠绿 / 薄荷青 / 清水蓝 / 嫩芽绿 */
.cat-tiles .cat-tile:nth-child(4n+1) { --tile: #10b981; --g1: #e8fbf1; --g2: #c7f4dd; }
.cat-tiles .cat-tile:nth-child(4n+2) { --tile: #14b8a6; --g1: #e6faf7; --g2: #c3f1ea; }
.cat-tiles .cat-tile:nth-child(4n+3) { --tile: #38a3e6; --g1: #eaf5ff; --g2: #cfeaff; }
.cat-tiles .cat-tile:nth-child(4n+4) { --tile: #7cc527; --g1: #f1fbe4; --g2: #dff6c6; }

/* 新闻 */
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item time { display: block; font-family: var(--font-en); }
.news-date { background: var(--bg-mist); border-radius: 12px; text-align: center; padding: 12px 6px; color: var(--navy); }
.news-date .d { font-size: 1.7rem; font-weight: 800; line-height: 1; display: block; }
.news-date .ym { font-size: .78rem; color: var(--muted); margin-top: 4px; display: block; }
.news-item h3 { font-size: 1.18rem; margin: 0 0 6px; }
.news-item .tag { display: inline-block; font-size: .75rem; color: var(--brand); background: rgba(200,16,46,.08); padding: 2px 10px; border-radius: 12px; margin-bottom: 8px; }
.news-item p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Page hero (inner)
   ========================================================================== */
/* 内页横幅统一采用浅色版式（对齐富信息页头 page-intro）：米白→浅青底 + 深色文字 + 柔和彩色光晕 */
.page-hero { background: linear-gradient(160deg, #fdf7ec 0%, var(--bg-soft) 46%, var(--bg-mist) 100%); color: var(--navy); padding: clamp(40px, 6vw, 74px) 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 165, 148, .10), transparent); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 128, 237, .10), transparent); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0; }
.page-hero .eyebrow { color: var(--teal); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; font-size: .82rem; margin-bottom: 8px; }
.page-hero .hero-sub { color: var(--muted); margin-top: 10px; max-width: 760px; }
/* 图片型横幅（如共铸中国心采用官网水墨 banner）：通栏展示，渐变标题区下移衔接 */
.page-hero-img { background: #fff; }
.page-hero-img img { display: block; width: 100%; height: auto; }
.page-hero--below-img { padding-top: clamp(28px, 4vw, 48px); }
/* 背景图型横幅（如企业概况采用园区实景）：图片近原图亮度铺满，仅在最左侧文字区叠一层很淡的渐变遮罩保证白字可读，不压暗整图、保留步长 logo */
.page-hero--bg { background-size: cover; background-position: center; background-repeat: no-repeat; min-height: clamp(300px, 32vw, 400px); display: flex; align-items: center; border-bottom: 0; }
.page-hero--bg::after { display: none; }
.page-hero--bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 74, 92, .38) 0%, rgba(11, 74, 92, .14) 26%, transparent 52%); pointer-events: none; }
.page-hero--bg .wrap { position: relative; }
.page-hero--bg h1 { color: #fff; }
.page-hero--bg .eyebrow { color: #fff2c2; }
.page-hero--bg .hero-sub { color: #e6f6fb; }
.page-hero--bg h1, .page-hero--bg .eyebrow, .page-hero--bg .hero-sub { text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
/* 富信息页头介绍区（由共铸中国心 csr-intro 泛化，partials/_page_hero_intro.html）：
   左标题导语 + 右数据卡 + 印章点缀；pi--* 修饰类只切换主题色变量，版式全站统一 */
.page-intro { position: relative; background: linear-gradient(160deg, #fdf7ec 0%, var(--bg-soft) 46%, var(--bg-mist) 100%); padding: clamp(30px, 4.5vw, 60px) 0 clamp(34px, 5vw, 64px); overflow: hidden;
  --pi-accent: var(--brand); --pi-accent-dark: var(--brand-dark); --pi-seal-grad: linear-gradient(150deg, #e2233f, #a30f2a); --pi-seal-shadow: rgba(226, 35, 63, .3); }
.page-intro::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pi-accent) 7%, transparent), transparent); pointer-events: none; }
.page-intro::after { content: ""; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pi-accent) 7%, transparent), transparent); pointer-events: none; }
.pi--gold { --pi-accent: #c98a1b; --pi-accent-dark: #9a6812; --pi-seal-grad: linear-gradient(150deg, #e0a53a, #b97e17); --pi-seal-shadow: rgba(224, 165, 58, .35); }
.pi--teal { --pi-accent: #0e8f80; --pi-accent-dark: #0b6e62; --pi-seal-grad: linear-gradient(150deg, #12a594, #0b7d6f); --pi-seal-shadow: rgba(18, 165, 148, .3); }
.pi--sky { --pi-accent: var(--sky); --pi-accent-dark: #1f64c0; --pi-seal-grad: linear-gradient(150deg, #2f80ed, #1f5fb8); --pi-seal-shadow: rgba(47, 128, 237, .3); }
.pi--navy { --pi-accent: var(--navy); --pi-accent-dark: #0d2839; --pi-seal-grad: linear-gradient(150deg, #143a52, #0b2333); --pi-seal-shadow: rgba(20, 58, 82, .3); }
.page-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-intro .eyebrow { color: var(--pi-accent); letter-spacing: 3px; font-weight: 700; text-transform: uppercase; font-size: .82rem; margin: 0 0 10px; }
.page-intro h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin: 0; display: flex; align-items: center; gap: 14px; }
/* 印章点缀：取栏目名两字，呼应共铸中国心水墨横幅的国风元素 */
.page-intro .ci-seal { flex: none; width: 46px; height: 46px; border-radius: 8px; background: var(--pi-seal-grad); color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: 2px; display: inline-flex; align-items: center; justify-content: center; transform: rotate(6deg); box-shadow: 0 6px 16px var(--pi-seal-shadow); writing-mode: vertical-rl; }
.page-intro .hero-sub { color: var(--muted); margin: 14px 0 0; max-width: 620px; }
/* 关键词胶囊：补充视觉层次 */
.page-intro .ci-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-intro .ci-tags li { border: 1px solid color-mix(in srgb, var(--pi-accent) 28%, transparent); color: var(--pi-accent-dark); background: rgba(255, 255, 255, .7); border-radius: 20px; padding: 4px 14px; font-size: .85rem; font-weight: 700; }
/* 右侧数据卡：2×N 网格，白底浮卡 */
.page-intro .ci-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; position: relative; }
.page-intro .ci-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 16px; text-align: center; box-shadow: var(--shadow-sm); transition: .25s; }
.page-intro .ci-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.page-intro .ci-stat .num { font-family: var(--font-en); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--navy); line-height: 1.2; }
.page-intro .ci-stat .num b { color: var(--pi-accent); font-weight: 800; }
.page-intro .ci-stat .label { color: var(--muted); font-size: .84rem; margin-top: 4px; }
.page-intro .ci-stat .s-note { color: var(--muted); font-size: .76rem; margin-top: 3px; opacity: .8; }
.page-intro .ci-note { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; font-size: .78rem; color: var(--muted); opacity: .8; }
.page-intro .ci-note-card { grid-column: 1 / -1; text-align: left; padding: 20px 22px; }
.page-intro .ci-note-card .label { font-size: .92rem; font-weight: 700; color: var(--pi-accent-dark, var(--navy)); margin-bottom: 8px; }
.page-intro .ci-note-card .s-note { font-size: .86rem; line-height: 1.85; opacity: 1; color: var(--ink, #22323f); }
/* 右列品牌图变体（如共铸中国心页头题字图）：整图自适应、不裁切，后台可上传更换 */
.page-intro .ci-media { position: relative; }
.page-intro .ci-media img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.page-intro .ci-media .ci-note { margin-top: 10px; }
@media (max-width: 900px) { .page-intro-grid { grid-template-columns: 1fr; } }

/* 面包屑导航：全站按需求隐藏（面向 AI 的 BreadcrumbList 仍由 JSON-LD 提供，不受影响） */
.breadcrumb { display: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; font-size: .86rem; color: #b7ccd8; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumb a { color: #d7e6ef; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:last-child { color: var(--gold); }

/* ==========================================================================
   Article (news / announcement detail)
   ========================================================================== */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article { max-width: 780px; }
.article h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.article-meta { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-meta .author { color: var(--brand); font-weight: 700; }
.article-body { font-size: 1.06rem; color: #22323f; }
.article-body p { margin: 0 0 1.15em; }
.article-body .note { color: var(--muted); font-size: .9rem; background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0; }
/* 正文图片居中：全局 img 已是 block，此处用 auto 左右外边距把照片在文章栏内水平居中（宽度不足栏宽时不再贴左） */
.article-body img { border-radius: 12px; margin: 12px auto; }

.aside-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; }
.aside-box h3 { font-size: 1.05rem; border-bottom: 2px solid var(--brand); padding-bottom: 8px; margin-bottom: 14px; }
.aside-box li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.aside-box li:last-child { border-bottom: 0; }

/* ==========================================================================
   Fact card / sidebar components
   ========================================================================== */
.fact-card { background: linear-gradient(180deg, #fff, var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.fact-card-title { font-size: 1.15rem; display: flex; align-items: baseline; gap: 10px; }
.fact-card-title .fact-card-sub { color: var(--brand); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.fact-list { margin: 0; }
.fact-item { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fact-item:last-child { border-bottom: 0; }
.fact-item dt { color: var(--muted); font-weight: 700; }
.fact-item dd { margin: 0; color: var(--navy); font-weight: 700; }
.fact-cutoff { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 3px; }

/* 联系我们：左信息 + 右园区实景图 分栏 */
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
/* 未配置配图时退为单列居中（与原联系我们页一致的窄栏形态），不留右半空白 */
.contact-layout.contact-single { grid-template-columns: 1fr; max-width: 760px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
/* 右侧配图与左栏「联系方式」方框等高：栅格 stretch 让两栏同高，图片绝对定位撑满列高并裁切，不参与行高计算 */
.contact-visual { display: flex; }
.contact-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); flex: 1; }
.contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 16px; color: #fff; font-weight: 700; letter-spacing: 1px; font-size: .92rem; background: linear-gradient(180deg, transparent, rgba(10,30,42,.72)); }
/* 联系我们右栏可交互地图（高德）：与左栏「联系方式」方框等高，图块绝对定位撑满、不参与行高计算；底部叠加地址与外链 */
.contact-map-wrap { position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-map-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: #fff; font-size: .86rem; background: linear-gradient(180deg, transparent, rgba(10,30,42,.72)); }
.contact-map-caption span { letter-spacing: .5px; }
.contact-map-caption a { flex: none; color: #fff; font-weight: 700; white-space: nowrap; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; padding: 3px 14px; }
.contact-map-caption a:hover { background: rgba(255,255,255,.18); }

/* 企业概况（/about/）：简介正文 + 右浮动配图，文字环绕图片并在图片下方通栏续排，不留右侧空白 */
.overview-article { max-width: none; }
.overview-article::after { content: ""; display: table; clear: both; }
.overview-media { position: relative; float: right; width: clamp(280px, 40%, 480px); margin: 4px 0 20px 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.overview-media img { display: block; width: 100%; height: auto; }
.overview-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 16px; color: #fff; font-weight: 700; letter-spacing: 1px; font-size: .92rem; background: linear-gradient(180deg, transparent, rgba(10,30,42,.72)); }
@media (max-width: 640px) {
  .overview-media { float: none; width: 100%; margin: 0 0 18px; }
}

/* ==========================================================================
   Product
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 24px; background: #fff; font-size: .92rem; color: var(--navy); }
.filter-bar a:hover { border-color: var(--brand); color: var(--brand); }
.filter-bar a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-hero { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.product-gallery .thumb { aspect-ratio: 1/1; border-radius: var(--radius); background: radial-gradient(120% 120% at 50% 0%, #ffffff 35%, #eef7fa 100%); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 3rem; font-family: var(--font-en); box-shadow: var(--shadow-sm); overflow: hidden; }
.product-gallery .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.product-gallery .thumb .thumb-ph { font-weight: 800; opacity: .55; }
.rx-notice { background: rgba(200,16,46,.07); border: 1px solid rgba(200,16,46,.25); color: var(--brand-dark); padding: 14px 18px; border-radius: 10px; font-weight: 700; }
.health-notice { background: #fff7e6; border: 1px solid #ffe1a8; color: #8a5a00; padding: 14px 18px; border-radius: 10px; font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); width: 130px; font-weight: 700; }
.spec-table td { color: var(--navy); }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.data-table caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 8px; }
.data-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.data-source { font-size: .82rem; color: var(--muted); }

/* 药品说明书明细（逐字来自官网接口） */
.instruction { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px clamp(20px, 4vw, 48px); }
.instruction-title { text-align: center; font-size: 1.4rem; color: var(--navy); margin: 0 0 8px; }
.instruction-notice { text-align: center; font-weight: 700; color: var(--brand-dark, var(--brand)); background: rgba(200,16,46,.06); border: 1px solid rgba(200,16,46,.2); border-radius: 10px; padding: 12px 16px; margin: 0 0 22px; line-height: 1.8; }
.instruction-figure { margin: 0 0 22px; text-align: center; }
.instruction-figure img { display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
.instruction-figure figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.instruction-list { margin: 0; }
.instruction-item { display: grid; grid-template-columns: 132px 1fr; gap: 8px 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.instruction-item:last-child { border-bottom: 0; }
.instruction-item dt { color: var(--teal); font-weight: 700; line-height: 1.9; }
.instruction-item dd { margin: 0; color: var(--ink); }
.instruction-item dd p { margin: 0 0 .5em; line-height: 1.9; }
.instruction-item dd p:last-child { margin-bottom: 0; }
.instruction-item dd img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 8px auto; }
@media (max-width: 640px) {
  .instruction-item { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Topic five-part layout
   ========================================================================== */
.topic-section { margin-bottom: 46px; }
.topic-section > h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.topic-section > h2::before { content: ""; width: 8px; height: 22px; background: var(--brand); border-radius: 4px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; flex: none; width: 26px; height: 26px; border-radius: 6px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.faq-list .faq-a { padding: 0 20px 16px 58px; color: #2a3a46; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }

.timeline { position: relative; margin-left: 10px; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 26px; }
.timeline-item::before { content: ""; position: absolute; left: -37px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline-item .tl-date { font-family: var(--font-en); color: var(--brand); font-weight: 800; font-size: 1.1rem; }
.timeline-item h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.timeline-item p { color: var(--muted); margin: 0; }

/* ==========================================================================
   People
   ========================================================================== */
.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* 企业概况首页只展示 4 位核心领导：一排铺满（≤1080px 起由后面的响应式规则退为 2 列/1 列） */
.person-grid-4 { grid-template-columns: repeat(4, 1fr); }
.person-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: .25s; }
.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.avatar { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; font-family: var(--font-en); }
/* 真实照片：填满圆形容器，裁切不变形 */
img.avatar-photo { object-fit: cover; object-position: center 20%; padding: 0; background: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: block; }
.person-card h3 { margin: 0; color: var(--pc-name, var(--navy)); }
/* 职务/姓名颜色可在 CMS「高管人物」逐人配置（卡片 style 下发 --pc-accent / --pc-name），留空回落站点默认配色 */
.person-card .job { color: var(--pc-accent, var(--brand)); font-weight: 700; margin-bottom: 12px; }

/* ==========================================================================
   走进步长新增栏目：步长之魂 / 企业文化 / 企业结构 / 发展历程
   ========================================================================== */
.soul-figure { display: grid; grid-template-columns: 168px 1fr; gap: 32px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.soul-figure:last-of-type { border-bottom: 0; }
.soul-fig { margin: 0; }
.soul-avatar { width: 168px; height: 192px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; font-family: var(--font-en); }
/* 官网人物照为 210×240 竖版，比例接近容器，仅需微量裁切 */
img.soul-photo { object-fit: cover; object-position: center 12%; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.soul-photo-src { margin: 8px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.5; text-align: center; }
.soul-body h2 { margin: 0 0 4px; font-size: 1.6rem; color: var(--navy); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.soul-job { font-size: .95rem; font-weight: 700; color: var(--brand); background: rgba(31,122,140,.1); padding: 3px 12px; border-radius: 14px; }
.soul-bio { color: var(--ink); line-height: 1.95; }
.soul-bio p { margin: 0 0 12px; }
.soul-more { margin: 8px 0 0; }
/* 人物快速定位 chips */
.soul-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 6px; }
.soul-nav-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; font-weight: 700; color: var(--navy); font-size: .95rem; transition: .2s; }
.soul-nav-item span { font-weight: 400; font-size: .82rem; color: var(--muted); }
.soul-nav-item:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.soul-foot { margin: 34px 0 0; color: var(--muted); font-size: .95rem; }
/* 锚点定位时预留吸顶导航高度 */
.soul-figure[id] { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  .soul-figure { grid-template-columns: 1fr; }
  .soul-avatar { width: 140px; height: 160px; }
}

/* 人物实体页侧栏照片 */
.person-photo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; text-align: center; }
.person-photo img { max-width: 100%; height: auto; border-radius: 12px; }
.person-photo-cap { margin: 10px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.6; }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.culture-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 20px 22px; transition: .25s; }
.culture-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.culture-item h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--navy); }
.culture-item p { margin: 0; color: var(--muted); line-height: 1.8; }
@media (max-width: 860px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .culture-grid { grid-template-columns: 1fr; } }

/* 十四、步长30年信条：通栏卡片 + 内部三段式分栏 */
.culture-item--wide { grid-column: 1 / -1; }
.creed { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.creed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; align-items: start; }
.creed-part { padding-left: 26px; border-left: 1px dashed var(--line); }
.creed-part:first-child { padding-left: 0; border-left: 0; }
.creed-part h4 { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 1rem; line-height: 1.6; color: var(--navy); }
.creed-no { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.creed-lead { margin: 0 0 12px; padding: 11px 14px; border-radius: 8px; background: rgba(226, 35, 63, .06); color: var(--ink); font-size: .92rem; line-height: 1.85; }
.creed-list { list-style: none; counter-reset: creed; margin: 0; padding: 0; }
.creed-list li { counter-increment: creed; position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); font-size: .92rem; line-height: 1.85; }
.creed-list li::before { content: counter(creed) "、"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--brand); }
.creed-list li:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .creed-grid { grid-template-columns: 1fr; gap: 18px; }
  .creed-part { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px dashed var(--line); }
  .creed-part:first-child { padding-top: 0; border-top: 0; }
}

.structure-list { list-style: none; margin: 12px 0 0; padding: 0; }
.structure-list li { padding: 12px 0 12px 22px; border-bottom: 1px dashed var(--line); position: relative; color: var(--ink); }
.structure-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tl-desc { color: var(--muted); }
.tl-desc p { margin: 0 0 6px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-control { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; }
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,122,140,.14); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field .req::after { content: " *"; color: var(--brand); }
.field-consent label { font-weight: 400; color: var(--muted); font-size: .92rem; }
.field-consent input { margin-right: 8px; }
.errorlist { color: var(--brand); font-size: .85rem; margin: 4px 0 0; }

/* ==========================================================================
   Pager
   ========================================================================== */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pager .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   Info list page
   ========================================================================== */
.lead-para { font-size: 1.15rem; color: var(--navy); line-height: 1.9; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.honor-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.honor-badge { flex: none; min-width: 62px; height: 52px; padding: 0 8px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), #a98434); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 800; font-size: 1.05rem; }
.pill { display: inline-block; font-size: .78rem; color: var(--teal); background: rgba(31,122,140,.1); padding: 3px 12px; border-radius: 14px; margin-bottom: 6px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #b7ccd8; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 48px; padding-bottom: 40px; }
.footer-logo { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: 2px; }
.footer-slogan { color: var(--gold); margin: 6px 0 16px; }
.footer-contact { font-style: normal; font-size: .92rem; line-height: 1.9; }
.footer-contact a:hover { color: #fff; }
.footer-sitemap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-col a { display: block; padding: 6px 0; color: #a9c0cd; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
/* 页脚二维码：微信公众号 / 不良反应采集，白底载图适配深色页脚 */
.footer-qr { display: flex; gap: 18px; align-items: flex-start; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { display: block; width: 108px; height: 108px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; }
.footer-qr-item p { margin: 8px 0 0; font-size: .82rem; color: #a9c0cd; white-space: nowrap; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .84rem; }
.footer-legal .dot { margin: 0 8px; opacity: .4; }
.footer-legal a { color: #a9c0cd; }
.copyright { margin: 8px 0; }
.updated { color: #7f96a5; }

/* ==========================================================================
   脑心同治电子杂志（/view/，原步长视野栏目改版）
   ========================================================================== */
.view-yearnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.view-yearnav a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; font-weight: 700; color: var(--navy); font-size: .92rem; transition: .2s; }
.view-yearnav a:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); transform: translateY(-2px); }
.view-yearnav a span { margin-left: 6px; font-weight: 400; font-size: .78rem; color: var(--muted); }

.view-year { margin-top: 44px; scroll-margin-top: 120px; }

.view-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.view-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .28s ease; display: flex; flex-direction: column; }
.view-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* 封面舞台：3/4 高度缩去三分之一 → 9/8，通栏贴边 */
.view-cover { position: relative; aspect-ratio: 9/8; margin: 0; border-radius: 0; overflow: hidden; background: linear-gradient(150deg, #1d4a63, #143a52); }
.view-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.view-card:hover .view-cover img { transform: scale(1.06); }
/* 封面刊头小标题：蓝色实底条，白字居中 */
.view-cap { flex: none; padding: 11px 16px; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: 3px; color: #fff; background: #2f80ed; }
/* 期号徽章：底部橙条右侧白色半透明胶囊 */
.view-no { flex: none; background: rgba(255, 255, 255, .22); color: #fff; padding: 3px 10px; border-radius: 14px; font-size: .72rem; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
/* 信息区：标题单行截断，超出显示省略号 */
.view-info { flex: 1; padding: 10px 14px; }
.view-info h3 { font-size: .88rem; line-height: 1.4; color: var(--ink); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s ease; }
.view-card:hover .view-info h3 { color: var(--brand); }
/* 底部操作行：橙红条，白字 */
.view-foot { flex: none; margin-top: auto; padding: 11px 18px; background: #f0653a; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.view-foot .meta { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .92); }

/* 期刊详情：全图阅读 */
.view-article { max-width: 960px; }
.view-reader { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; margin: 8px 0 14px; }
.view-reader img { display: block; width: 100%; height: auto; border-radius: 0; margin: 0; }
.view-note { color: var(--muted); font-size: .88rem; background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.view-pager { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 26px 0 8px; }

/* 电子杂志阅读器：外壳（深色刊头条 + 内嵌在线翻页版） */
.mag-shell { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mag-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 20px; background: linear-gradient(135deg, var(--navy), #1d4a63); }
.mag-bar-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mag-seal { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: 2px; }
.mag-bar-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mag-bar-t b, .mag-bar-t h1 { font-size: 1.08rem; margin: 0; color: #fff; line-height: 1.4; }
.mag-bar-t span { font-size: .8rem; color: rgba(255, 255, 255, .82); }
.mag-bar-r { display: flex; gap: 10px; flex-wrap: wrap; }
.mag-bar-r .btn { padding: 9px 20px; font-size: .9rem; }
.mag-frame { position: relative; aspect-ratio: 16/9; min-height: 520px; max-height: 84vh; background: #0e1a22; }
.mag-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 往期封面无图时的期数占位卡 */
.mag-cover-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: #fff; }
.mag-cover-ph b { font-family: var(--font-en); font-size: 3.2rem; font-weight: 800; line-height: 1; text-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.mag-cover-ph i { font-style: normal; font-size: .85rem; letter-spacing: 3px; opacity: .9; }
/* 发布平台原文版（如微信文章）：不可内嵌时的引导阅读卡 */
.mag-external { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 56px 32px 60px; background: linear-gradient(180deg, var(--bg-mist), #fff); }
.mag-external h2 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--navy); max-width: 760px; line-height: 1.6; }
.mag-external-t { color: var(--muted); font-size: .92rem; max-width: 640px; line-height: 1.9; margin: 0; }
.mag-external .btn { padding: 12px 30px; font-size: .95rem; }
.mag-seal-lg { width: 64px; height: 64px; font-size: 1.7rem; border-radius: 16px; background: var(--navy); border-color: rgba(255, 255, 255, .5); }

/* 单页聚合型栏目的页内锚点导航 + 并入的专题区块（步长视野 / 投资者关系共用） */
.vd-anchorbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 74px; z-index: 40; box-shadow: var(--shadow-sm); }
.vd-anchorbar-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 0; }
.vd-anchorbar-inner--2 { grid-template-columns: repeat(2, 1fr); }
.vd-anchorbar .sa-item { display: flex; align-items: baseline; gap: 10px; padding: 8px 14px; border-radius: 12px; transition: .2s; }
.vd-anchorbar .sa-item:hover { background: var(--bg-mist); }
.vd-anchorbar .sa-idx { font-family: var(--font-en); font-weight: 800; color: var(--teal); font-size: .95rem; }
.vd-anchorbar .sa-t { font-weight: 800; color: var(--navy); }
.vd-anchorbar .sa-en { font-size: .74rem; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
#magazine, #brand-strategy, #quality-brand, #reader, #issues { scroll-margin-top: 170px; }
#announcements, #facts, #ir-compliance, #quote { scroll-margin-top: 170px; }

.vd-topic .section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.vd-more { flex: none; font-weight: 700; color: var(--teal); font-size: .92rem; border: 1px solid var(--line); border-radius: 24px; padding: 8px 18px; background: #fff; transition: .2s; }
.vd-more:hover { border-color: var(--teal); background: var(--bg-mist); transform: translateY(-2px); }
.vd-topic-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; margin-top: 26px; }
.vd-topic-grid aside { position: sticky; top: 150px; }
.vd-sub { font-size: 1.08rem; color: var(--navy); margin: 26px 0 12px; }
.vd-sub:first-child { margin-top: 0; }

/* ==========================================================================
   投资者关系（股票行情 / 公告与通函列表 / 公告详情）
   ========================================================================== */
.ir-hint { flex: none; font-size: .85rem; color: var(--muted); }
.ir-quote { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.ir-cells { display: grid; gap: 14px; align-content: start; }
.ir-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; box-shadow: var(--shadow-sm); }
.ir-cl { display: block; font-size: .82rem; color: var(--muted); letter-spacing: 1px; }
.ir-cv { display: block; font-family: var(--font-en); font-weight: 800; font-size: 1.45rem; color: var(--navy); margin-top: 3px; }
.ir-cv i { font-style: normal; font-size: .85rem; color: var(--muted); margin-left: 4px; font-weight: 700; }
.ir-cv--code { color: var(--brand); letter-spacing: 2px; }
.ir-cn { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* 行情图：无 JS 的单选钮切换（radio 先于 tabs/body，靠兄弟选择器控制显隐） */
.ir-chart { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px 18px 18px; }
.ir-radio { position: absolute; opacity: 0; pointer-events: none; }
.ir-chart-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.ir-chart-tabs label { cursor: pointer; font-size: .9rem; font-weight: 700; color: var(--navy); border: 1px solid var(--line); border-radius: 22px; padding: 6px 18px; background: #fff; transition: .2s; }
.ir-chart-tabs label:hover { border-color: var(--teal); color: var(--teal); }
#irchart-daily:checked ~ .ir-chart-tabs label[for="irchart-daily"],
#irchart-min:checked ~ .ir-chart-tabs label[for="irchart-min"] { background: var(--navy); border-color: var(--navy); color: #fff; }
#irchart-daily:checked ~ .ir-chart-body .c-min { display: none; }
#irchart-min:checked ~ .ir-chart-body .c-daily { display: none; }
.ir-chart-body { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); overflow: hidden; }
.ir-chart-body img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* 实时行情：报价头 + canvas 自绘图表（默认隐藏，数据可用时由 JS 加 has-live 切换） */
.ir-chart.has-live .ir-chart-body { display: none; }
.ir-canvas-wrap { display: none; position: relative; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.ir-chart.has-live .ir-canvas-wrap { display: block; }
#irChart { display: block; width: 100%; }
.is-up { color: #d81e06; } .is-down { color: #0a9e6b; }
.ir-quote-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 4px 2px 14px; }
.ir-qh-main { display: flex; align-items: baseline; gap: 12px; }
.ir-qh-name { font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.ir-qh-code { font-family: var(--font-en); font-weight: 700; color: var(--muted); font-size: .82rem; margin-left: 8px; letter-spacing: 1px; }
.ir-qh-price { font-family: var(--font-en); font-weight: 800; font-size: 2rem; line-height: 1; }
.ir-qh-chg { font-family: var(--font-en); font-weight: 700; font-size: 1rem; }
.ir-qh-cells { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.ir-qh-cell { display: inline-flex; align-items: baseline; gap: 6px; font-size: .85rem; }
.ir-qh-cell i { font-style: normal; color: var(--muted); }
.ir-qh-cell b { font-family: var(--font-en); color: var(--navy); font-weight: 700; }
.ir-tip { position: absolute; z-index: 5; pointer-events: none; background: rgba(16, 34, 46, .92); color: #fff; border-radius: 8px; padding: 8px 11px; font-size: .8rem; line-height: 1.7; box-shadow: var(--shadow-lg); min-width: 118px; }
.ir-tip .ir-tip-t { font-family: var(--font-en); font-weight: 700; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 3px; }
.ir-tip .ir-tip-row { display: flex; justify-content: space-between; gap: 16px; }
.ir-tip .ir-tip-row i { font-style: normal; opacity: .72; }
.ir-tip .ir-tip-row b { font-family: var(--font-en); font-weight: 700; }
.ir-tip .is-up { color: #ff8a80; } .ir-tip .is-down { color: #6ee7b7; }

/* 公告与通函列表 */
.ir-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
.ir-years { display: flex; align-items: center; gap: 10px; }
.ir-ylab { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.ir-yselect { appearance: none; -webkit-appearance: none; -moz-appearance: none; font: inherit; font-size: .92rem; font-weight: 700; color: var(--navy); border: 1px solid var(--line); border-radius: 22px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f7482' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; padding: 8px 38px 8px 16px; cursor: pointer; transition: .2s; }
.ir-yselect:hover { border-color: var(--brand); }
.ir-yselect:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 165, 148, .12); }
.ir-years button { border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--navy); padding: 6px 16px; font-weight: 700; cursor: pointer; }
.ir-search { display: flex; gap: 8px; align-items: center; flex: none; }
.ir-search input { border: 1px solid var(--line); border-radius: 22px; padding: 8px 16px; min-width: 210px; font-size: .92rem; background: #fff; }
.ir-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 165, 148, .12); }
.ir-search button { border: 0; border-radius: 22px; padding: 9px 20px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; transition: .2s; }
.ir-search button:hover { background: var(--brand-dark); }
.ir-clear { font-size: .86rem; color: var(--muted); }
.ir-clear:hover { color: var(--brand); }
.ir-count { color: var(--muted); font-size: .88rem; margin: 0 0 12px; }
.ir-count b { color: var(--brand); font-family: var(--font-en); font-size: 1.05rem; }
.ir-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ir-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.ir-row:hover { background: var(--bg-mist); }
.ir-date { font-family: var(--font-en); font-weight: 700; color: var(--muted); font-size: .92rem; letter-spacing: .5px; }
.ir-title { display: block; font-size: 1.02rem; color: var(--navy); font-weight: 700; line-height: 1.6; }
.ir-title:hover { color: var(--brand); }
.ir-sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ir-no { font-family: var(--font-en); font-size: .78rem; font-weight: 700; color: var(--teal); background: rgba(18, 165, 148, .1); border-radius: 10px; padding: 2px 9px; }
.ir-kfile { font-size: .74rem; font-weight: 800; letter-spacing: .5px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 2px 8px; background: #fff; }
.ir-kfile--docx { color: #2b6cb0; border-color: rgba(43, 108, 176, .35); background: rgba(43, 108, 176, .08); }
.ir-kfile--doc { color: #4a5b8a; border-color: rgba(74, 91, 138, .35); background: rgba(74, 91, 138, .08); }
.ir-kfile--pdf { color: var(--brand); border-color: rgba(200, 16, 46, .3); background: rgba(200, 16, 46, .07); }
.ir-ops { display: flex; gap: 8px; flex: none; }
.ir-btn { font-size: .82rem; color: var(--navy); border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 5px 14px; white-space: nowrap; transition: .2s; }
.ir-btn:hover { border-color: var(--brand); color: var(--brand); }
.ir-btn--dl { border-color: rgba(18, 165, 148, .45); color: var(--teal); }
.ir-btn--dl:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.ir-empty { padding: 30px 8px; color: var(--muted); }
.ir-pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 28px; }
.ir-pager a, .ir-pager span { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 7px 18px; font-size: .9rem; color: var(--navy); }
.ir-pager a:hover { border-color: var(--brand); color: var(--brand); }
.ir-pager .is-cur { background: var(--navy); border-color: var(--navy); color: #fff; font-family: var(--font-en); font-weight: 700; }
.ir-pager .is-off { color: var(--muted); background: var(--bg-soft); }
.ir-channels { margin-top: 26px; color: var(--muted); font-size: .9rem; }
.ir-channels .btn { padding: 9px 20px; font-size: .9rem; }
.ir-compliance { margin-top: 26px; }

/* 投资者关系·行情图交易时段自动刷新状态条 */
.ir-chart-status { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; line-height: 1.6; flex-wrap: wrap; }
.ir-chart-status.is-live { color: var(--teal); }
.ir-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; animation: irPulse 1.6s ease-in-out infinite; }
@keyframes irPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .ir-live-dot { animation: none; } }

/* 投资者关系：左侧栏目菜单 + 右侧内容（仿老官网两栏布局） */
.ir-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
/* 网格子项默认 min-width:auto 会被年份条/检索框撑破导致整栏溢出 .wrap，须显式 min-width:0 归位 */
.ir-main { min-width: 0; }
.ir-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.ir-side-head { background: var(--grad-sky); color: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.ir-side-head h2 { color: #fff; margin: 0; font-size: 1.4rem; letter-spacing: 3px; }
.ir-side-en { display: block; margin-top: 4px; font-family: var(--font-en); font-size: .8rem; letter-spacing: 1px; opacity: .88; }
.ir-side-menu { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.ir-side-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); transition: .2s; }
.ir-side-item:last-child { border-bottom: 0; }
.ir-side-item i { font-style: normal; color: var(--muted); transition: transform .2s; }
.ir-side-item:hover { background: var(--bg-mist); color: var(--brand); }
.ir-side-item.active { background: var(--navy); color: #fff; }
.ir-side-item.active i { color: rgba(255, 255, 255, .82); transform: translateX(3px); }
.ir-side-contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 20px; box-shadow: var(--shadow-sm); }
.ir-side-contact h3 { font-size: 1.05rem; margin: 0 0 10px; border-bottom: 2px solid var(--brand); padding-bottom: 8px; }
.ir-side-contact h3 small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.ir-side-contact li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; color: var(--ink); }
.ir-side-contact li:last-child { border-bottom: 0; }
.ir-side-contact li span { color: var(--muted); }
.ir-crumbs { background: var(--bg-soft); border-radius: 10px; padding: 12px 18px; font-size: .9rem; color: var(--muted); margin: 0 0 22px; }
.ir-crumbs span { margin: 0 6px; color: var(--line); }
.ir-crumbs b { color: var(--brand); font-weight: 700; }
.ir-crumbs a { color: var(--navy); }
.ir-crumbs a:hover { color: var(--brand); }
.ir-page-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 12px; }

/* 公告详情：无侧栏，正文列在 wrap 内水平居中，使左右留白相等（保留 920px 阅读宽度） */
.ann-article { max-width: 920px; margin-inline: auto; }
.ann-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.ann-tags .tag { margin-bottom: 0; }
.tag-no { color: var(--teal) !important; background: rgba(18, 165, 148, .1) !important; font-family: var(--font-en); }
.tag-year { color: var(--muted) !important; background: var(--bg-soft) !important; }
.ann-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.ann-ops .btn { padding: 10px 22px; font-size: .92rem; }
.ann-nofile { align-self: center; font-size: .88rem; color: var(--muted); }
.ann-article .note { color: var(--muted); font-size: .9rem; background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-top: 24px; }
.ann-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.ann-nav a { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.6; transition: .2s; }
.ann-nav a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.ann-nav a span { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.ann-next { text-align: right; }

/* 公告正文里的表格（由披露 DOCX 原件还原）：无表头标签，首行按表头处处理 */
.article-body table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; word-break: break-word; }
.article-body tr:first-child td { background: var(--bg-mist); font-weight: 700; }

/* ==========================================================================
   步长科技（研发中心 / 科研荣誉 / 研发实力）
   ========================================================================== */
.sci-anchorbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 74px; z-index: 40; box-shadow: var(--shadow-sm); }
.sci-anchorbar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 10px 0; }
.sci-anchorbar .sa-item { display: flex; align-items: baseline; gap: 10px; padding: 8px 14px; border-radius: 12px; transition: .2s; }
.sci-anchorbar .sa-item:hover { background: var(--bg-mist); }
.sci-anchorbar .sa-idx { font-family: var(--font-en); font-weight: 800; color: var(--brand); font-size: .95rem; }
.sci-anchorbar .sa-t { font-weight: 800; color: var(--navy); }
.sci-anchorbar .sa-en { font-size: .74rem; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.sci-anchorbar .sa-out .sa-t::after { content: "↗"; margin-left: 4px; color: var(--teal); font-size: .82em; }
#strength, #centers, #honors { scroll-margin-top: 170px; }

.stats-band .stat-cell small { color: var(--muted); font-size: .8rem; opacity: .85; }

/* 研发实力：正文占满整行（四大研发纲领卡已下线） */
#strength .two-col { grid-template-columns: 1fr; }
#strength .article { max-width: none; }

/* 研发中心：设施实景照片带 */
.sci-center { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 28px 30px; margin-bottom: 26px; }
.sc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.sc-head h3 { margin: 0; font-size: 1.35rem; }
.sc-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-fresh); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 1.05rem; box-shadow: 0 8px 20px rgba(18, 165, 148, .3); }
.sc-en { margin: 2px 0 0; color: var(--muted); font-size: .85rem; font-family: var(--font-en); }
.sc-src { margin-left: auto; flex: none; font-size: .85rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.sc-src:hover { color: var(--brand-dark); text-decoration: underline; }
.sc-facilities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sc-fac p { text-align: center; margin: 10px 0 0; font-weight: 700; color: var(--navy); font-size: .92rem; }
.sc-photo { display: block; position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #eef7fa, #f7fbfc); border: 1px solid var(--line); }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sc-fac:hover .sc-photo img { transform: scale(1.07); }
.sc-photo .thumb-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.6rem; font-weight: 800; color: var(--teal); opacity: .55; }

/* 科研荣誉：奖牌/证书墙 */
.sci-honor-group { margin-bottom: 36px; }
.shg-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--brand); padding-bottom: 10px; margin-bottom: 20px; }
.shg-head h3 { margin: 0; font-size: 1.2rem; }
.shg-en { color: var(--muted); font-size: .82rem; font-family: var(--font-en); }
.shg-count { margin-left: auto; flex: none; background: var(--bg-mist); color: var(--navy); border-radius: 16px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }
.shg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.shg-item { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-sm); }
.shg-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; background: #fbfcfd; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; }
.shg-item:hover { z-index: 30; }
.shg-item:hover img { transform: scale(1.85); box-shadow: var(--shadow-lg); }
.shg-item .thumb-ph { display: flex; align-items: center; justify-content: center; height: 100%; aspect-ratio: 4/3; font-weight: 800; color: var(--teal); opacity: .5; }

/* ==========================================================================
   Reveal animation (progressive enhancement; content可见 regardless)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* 期刊卡片特有用缩放浮现（覆盖通用 .reveal 的从上滑下），结束后恢复悬浮上浮 */
.view-card.reveal { opacity: 0; transform: scale(.92); transition: opacity .55s ease, transform .55s ease, box-shadow .28s ease, border-color .28s ease; }
.view-card.reveal.in { opacity: 1; transform: none; }
.view-card.reveal.in:hover { transform: translateY(-6px); transition: transform .25s ease, box-shadow .28s ease, border-color .28s ease; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .article-wrap, .two-col { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .person-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .product-gallery .thumb { max-width: 380px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-top { min-height: 0; }
  .vd-topic-grid { grid-template-columns: 1fr; gap: 24px; }
  .vd-topic-grid aside { position: static; }
  /* 投资者关系：左侧栏目菜单退化为顶部横排，行情区与公告行改为单列堆叠 */
  .ir-layout { grid-template-columns: 1fr; gap: 22px; }
  .ir-side { position: static; }
  .ir-side-menu { display: grid; grid-template-columns: repeat(2, 1fr); }
  .ir-side-item:last-child { border-bottom: 1px solid var(--line); }
  .ir-quote { grid-template-columns: 1fr; }
  .ir-cells { grid-template-columns: repeat(2, 1fr); }
  .ir-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 6px; }
  .ir-ops { justify-content: flex-start; }
  .ir-bar { flex-wrap: wrap; }
  .ir-years { flex: 1 1 100%; }
  .ir-search { width: 100%; }
  .ir-search input { min-width: 0; flex: 1; }
  .ann-nav { grid-template-columns: 1fr; }
  .ann-next { text-align: left; }
  .hero-prev, .hero-next { width: 38px; height: 38px; font-size: 1.4rem; }
  .hero-prev { left: 10px; } .hero-next { right: 10px; }
  .hero-dots { bottom: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,.10); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .view-grid { grid-template-columns: repeat(3, 1fr); }
  /* Home 新结构响应式 */
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-visual { display: block; }
  .contact-media { min-height: 340px; }
  .contact-map-wrap { min-height: 340px; }
  .prod-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-feature-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-sitemap { grid-template-columns: repeat(2, 1fr); }
  .footer-qr { justify-content: flex-start; }
  .topbar-actions { display: none; }
  .topbar-sep, .topbar-item:last-of-type { display: none; }

  .nav-toggle { display: block; }
  .primary-menu {
    position: fixed; inset: 0 0 0 auto; width: min(84%, 340px); background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 84px 20px 20px;
    margin: 0; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto; height: 100vh;
  }
  .primary-menu.open { transform: none; }
  .menu-item { border-bottom: 1px solid var(--line); }
  .menu-link { padding: 14px 6px; }
  .menu-item.active .menu-link::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 8px 14px; }
  .has-mega.open .submenu { display: block; }
  .menu-search { margin: 16px 0 0; }
  .menu-search input { width: 100%; }
}
@media (max-width: 860px) and (min-width: 521px) {
  .sci-anchorbar-inner { grid-template-columns: repeat(2, 1fr); }
  .sc-facilities { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: 1fr; }
  .view-grid { grid-template-columns: repeat(2, 1fr); }
  .person-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 84px 1fr; gap: 14px; }
  .fact-item { grid-template-columns: 1fr; gap: 2px; }
  .footer-sitemap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-feature-grid, .quick-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .sci-anchorbar { top: 66px; }
  .sci-anchorbar-inner { gap: 6px 14px; }
  .sci-anchorbar .sa-en { display: none; }
  .vd-anchorbar { top: 66px; }
  .vd-anchorbar-inner { grid-template-columns: 1fr 1fr; gap: 4px; }
  .vd-anchorbar .sa-en { display: none; }
  .mag-frame { aspect-ratio: auto; height: 72vh; min-height: 460px; }
  .mag-external { padding: 40px 18px 44px; }
  .mag-bar { padding: 12px 14px; }
  .ir-cells { grid-template-columns: 1fr; }
  .article-body table { font-size: .86rem; }
  .article-body th, .article-body td { padding: 7px 8px; }
  .sc-facilities { grid-template-columns: repeat(2, 1fr); }
  .shg-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- 引用格式建议
   方案 5.3：把「已给好格式」的引用块呈现出来，降低媒体与大模型的引用成本。 */
.citation-box {
  margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line);
  border-left: 3px solid var(--brand, #0e2a3a); border-radius: 8px; background: #fafbfc;
}
.citation-box h2 { font-size: 1rem; margin: 0 0 6px; color: var(--ink-strong, #10222e); }
.citation-box .meta { margin: 0 0 10px; font-size: .85rem; color: var(--ink-soft, #5b6b78); }
.citation-text {
  margin: 0 0 12px; padding: 12px 14px; background: #fff; border: 1px dashed var(--line);
  border-radius: 6px; font-size: .88rem; line-height: 1.7; white-space: pre-wrap;
  word-break: break-word; overflow-wrap: anywhere;
}
.citation-list { margin: 0; padding-left: 18px; font-size: .85rem; line-height: 1.9; color: var(--ink-soft, #5b6b78); }
.citation-list a { word-break: break-all; }
