/* =========================================================
   百家星耀官网主题 · 主样式
   设计：浅色内容区 + 深色视频 Hero + 香槟金点缀，简约大气、高级感
   ========================================================= */
:root {
  --ink: #14171f;
  --ink-2: #1d2129;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #23262d;
  --muted: #6b7280;
  --gold: #c2a36b;
  --gold-deep: #a8843f;
  --blue: #0b6cf0;
  --line: #e9eaee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20,23,31,.08);
  --shadow-lg: 0 20px 50px rgba(20,23,31,.14);
  --serif: "Noto Serif SC","Source Han Serif SC","Songti SC",STSong,serif;
  --sans: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  /* 首屏大字字体与字重，由「外观 → 自定义 → 字体与排版」动态覆盖 */
  --hero-font: "Oswald",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --hero-weight: 700;
  --hero-vw: 7.2vw;
  --hero-size: 100px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 3px; font-weight: 600;
  color: var(--gold-deep); text-transform: uppercase; margin-bottom: 12px;
}
.section { padding: 92px 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700; color: var(--ink); margin: 0 0 12px; letter-spacing: 1px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-sub { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: all .25s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; box-shadow: 0 8px 20px rgba(168,132,63,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168,132,63,.45); color:#fff; }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--text); padding: 9px 18px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-lg { padding: 16px 44px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.0); transition: all .3s ease;
}
/* 透明态（压在视频上）时加一层柔和暗角，保证 logo 与导航始终清晰可读 */
.site-header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
  pointer-events: none; z-index: 0; transition: opacity .3s ease;
}
.site-header.is-scrolled::before { opacity: 0; }
/* 内页（没有首屏视频垫底）：顶栏直接白底，避免白字压在浅色页面上看不见 */
.site-header.is-solid {
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .brand-text { color: var(--ink); }
.site-header.is-solid .site-nav .menu a { color: var(--text); }
.site-header.is-solid .nav-login { color: var(--ink) !important; border-color: var(--line) !important; }
.site-header.is-solid .nav-toggle span { background: var(--ink); }
.site-header.is-scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line); padding: 0;
}
.header-inner { position: relative; z-index: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.brand img, .brand .custom-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; }
.brand-text { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; }
.site-header.is-scrolled .brand-text { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
/* 导航项＝药丸块：对齐正式站 .menubar .menu-wrap > li > a（padding 0 14px / line-height 44px / radius 3px） */
/* 等宽：2 字（首页）与 4 字项目取同一宽度，蓝块才是整齐的五个方块 */
.site-nav .menu a {
  display: block; text-align: center; min-width: calc(4em + 32px); /* = 四字标题的自然宽度，随字号自适应 */
  color: rgba(255,255,255,.92); font-size: 15px; font-weight: 500;
  padding: 11px 16px; border-radius: 3px; line-height: 1.25; white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}
/* 滚动后（白底顶栏）：未选中项转深色 */
.site-header.is-scrolled .site-nav .menu a { color: var(--text); }

/* 平板竖屏 / 小笔记本：等宽导航按比例缩小，避免顶到 logo 或溢出右边缘 */
@media (max-width: 980px) and (min-width: 769px) {
  .site-nav { gap: 10px; }
  .site-nav .menu { gap: 2px; }
  .site-nav .menu a { min-width: calc(4em + 16px); padding: 10px 8px; font-size: 14px; }
  .nav-login { padding: 8px 12px; font-size: 13px; }
}

/* 只有两个字的项目（如「首页」）把字距拉开，避免左右各空一大块显得松散；
   text-indent 与 letter-spacing 取等值，正好抵消末尾多出的字距，视觉仍是居中 */
.site-nav .menu a.nav-2char { letter-spacing: .5em; text-indent: .5em; }

/* 悬停 / 当前所在板块：实心蓝底 + 白字（正式站为 #0078ff，此处沿用品牌蓝）
   current-* 类由 WordPress 自动输出（当前页面、当前栏目的父级均会命中），无需手写 */
.site-nav .menu a:hover,
.site-header.is-scrolled .site-nav .menu a:hover,
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current_page_item > a,
.site-nav .menu > li.current-menu-parent > a,
.site-nav .menu > li.current-menu-ancestor > a,
.site-nav .menu a.is-active,
body.nav-open .site-nav .menu a.is-active {
  background: var(--blue) !important; color: #fff !important;
}
.nav-login { color: #fff !important; border-color: rgba(255,255,255,.6); }
.site-header.is-scrolled .nav-login { color: var(--ink) !important; border-color: var(--line); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* 半灰遮罩：与正式站 #main_mv::after 的 #0006 完全一致 */
.hero-mask { position: absolute; inset: 0; background-color: #0006; }
.hero-content { position: relative; z-index: 2; color: #fff; text-align: center; padding-top: 72px; }
.hero-eyebrow {
  font-size: clamp(13px, 1.6vw, 20px); letter-spacing: 4px; font-weight: 600;
  color: #fff; text-transform: uppercase; margin: 0 0 14px;
}
/* H·STAR 艺术字：复刻正式站的多层投影（白高光 + 黑影 + 红影） */
.hero-title {
  font-family: var(--hero-font);
  font-size: clamp(38px, var(--hero-vw), var(--hero-size));
  font-weight: var(--hero-weight);
  letter-spacing: 1px; line-height: 1.2; color: #fff;
  margin: 0 0 22px; white-space: nowrap;
  text-shadow: 2px -2px 0px #ffffff, -8px 8px 4px #000, -10px 10px 3px #bf3030, -20px 20px 8px #000;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-outline { padding: 14px 38px; font-size: 16px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 28px; z-index: 2; opacity: .8; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.about-desc p { margin: 0 0 16px; color: var(--text); }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 48px; }
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--gold-deep); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 卡片网格 ---------- */
.cards { display: grid; gap: 26px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* 业务板块深色背景 */
.business { background: var(--bg-soft); }
.business .card { background: #fff; }

/* ---------- 达人矩阵 ---------- */
.talent-grid .talent { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; }
.talent:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.talent-photo { aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg,#1d2129,#2a2f3a); display:flex; align-items:center; justify-content:center; }
.talent-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.talent-mono { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-deep)); color:#fff; display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-size: 38px; font-weight: 700; }
.talent:hover .talent-photo img { transform: scale(1.06); }
.talent h3 { font-family: var(--serif); font-size: 18px; margin: 18px 18px 4px; color: var(--ink); }
.talent-role { color: var(--gold-deep); font-size: 13px; margin: 0 18px; font-weight: 600; }
.talent-fans { display: inline-block; margin: 6px 18px 20px; font-size: 12px; color: var(--muted); background: var(--bg-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- 案例战绩 ---------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-img { aspect-ratio: 16/9; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 22px 24px 28px; }
.case-gmv { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold-deep); }
.case-body h3 { font-size: 18px; margin: 8px 0 6px; color: var(--ink); }
.case-year { font-size: 12px; color: var(--muted); }
.case-body p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- 发展历程 时间轴 ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 0; }
.timeline::before { content: ''; position: absolute; left: 90px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px 130px; }
.tl-year { position: absolute; left: 0; top: -2px; width: 70px; text-align: right; font-family: var(--serif); font-weight: 700; color: var(--gold-deep); font-size: 18px; }
.tl-dot { position: absolute; left: 84px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(194,163,107,.2); }
.tl-body h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.tl-body p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- 社会责任 ---------- */
.social { background: var(--ink); color: #fff; }
.social .eyebrow { color: var(--gold); }
.social .section-title { color: #fff; }
.social .section-sub { color: rgba(255,255,255,.7); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.social-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.social-desc { color: rgba(255,255,255,.78); margin-top: 18px; }

/* ---------- 新闻 ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 22px 24px 28px; }
.news-body time { font-size: 12px; color: var(--gold-deep); }
.news-body h3 { font-size: 18px; margin: 8px 0; color: var(--ink); }
.news-body h3 a:hover { color: var(--gold-deep); }
.news-body p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 板块背景图（单独一层，只让背景半透明，不影响文字） ---------- */
.section, .cta { position: relative; }
.section-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-position: center center;
}
/* 内容压在背景之上 */
.section > .container, .cta > .container,
.section .container, .cta .cta-inner { position: relative; z-index: 1; }
/* 浅色板块加一层极淡白纱，保证深色背景图下文字依然清晰 */
.section-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.55);
}
.cta .section-bg::after { background: rgba(10,12,18,.45); }

/* ---------- 板块定位器（右侧竖向锚点） ---------- */
.section-nav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 90; opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.section-nav.is-visible { opacity: 1; visibility: visible; }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.section-nav li a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 5px 0; text-decoration: none;
}
.sn-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: rgba(20,23,31,.25); box-shadow: 0 0 0 3px rgba(255,255,255,.75);
  transition: all .3s ease;
}
.sn-label {
  font-size: 12px; color: var(--muted); white-space: nowrap;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  padding: 2px 9px; border-radius: 20px;
  opacity: 0; transform: translateX(6px); transition: all .28s ease;
}
.section-nav li a:hover .sn-label { opacity: 1; transform: translateX(0); }
.section-nav li a:hover .sn-dot { background: var(--gold-deep); }
.section-nav li.active .sn-dot {
  background: var(--gold); box-shadow: 0 0 0 4px rgba(194,163,107,.28);
  transform: scale(1.25);
}
.section-nav li.active .sn-label { opacity: 1; transform: translateX(0); color: var(--gold-deep); font-weight: 600; border-color: var(--gold); }

/* ---------- 合作伙伴轮播 ---------- */
.partners { background: var(--bg-soft); }
.partner-carousel .partner-item {
  display: flex; align-items: center; justify-content: center;
  height: 120px; padding: 0 16px;
}
/* 保持品牌原色（国内不宜把合作伙伴做成黑白），hover 仅做轻微上浮 */
.partner-item img {
  max-height: 72px; width: auto; object-fit: contain;
  filter: none; opacity: 1;
  transition: transform .35s ease, box-shadow .35s ease;
}
.partner-item:hover img { transform: translateY(-3px); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--ink), #2a2f3a); color: #fff; text-align: center; padding: 80px 0; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; }
.cta-inner p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto 28px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0e1016; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 18px; font-weight: 600; }
.footer-col img { height: 38px; margin-bottom: 16px; }
.footer-logo-link { display: inline-block; }
.footer-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 16px; }
.footer-about { font-size: 14px; line-height: 1.8; }
.footer-phone { margin-top: 16px; font-size: 14px; }
.footer-phone a { color: var(--gold); font-weight: 700; font-size: 18px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a:hover { color: var(--gold); }
.footer-social { list-style: none; padding: 0; margin: 0; }
.footer-social li { margin-bottom: 10px; }
.footer-social a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 归档 / 页面 ---------- */
.page-wrap, .archive-wrap, .single-wrap { padding: 120px 0 80px; }
.page-header { text-align: center; margin-bottom: 40px; }
.page-title { font-family: var(--serif); font-size: clamp(28px,4vw,44px); color: var(--ink); margin: 0; }
.archive-card { padding: 0; overflow: hidden; }
.archive-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.archive-card h3 { font-size: 18px; margin: 16px 18px 6px; }
.archive-card p { padding: 0 18px 20px; }
.single-header, .single-content, .single-thumb { max-width: 820px; }
.single-back { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 14px; transition: color .2s ease; }
.single-back:hover { color: var(--blue); }
.single-title { font-family: var(--serif); font-size: clamp(26px,4vw,40px); color: var(--ink); margin: 0 0 10px; }
.single-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.single-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.single-content { font-size: 16.5px; line-height: 1.95; }
.single-content p { margin: 0 0 18px; }

/* ---------- 最新动态列表（分类归档：一条条，左图右文） ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.news-row {
  display: grid; grid-template-columns: 264px 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.news-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.news-row-thumb {
  display: block; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden;
  background: var(--bg-soft);
}
.news-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row.no-thumb { grid-template-columns: 1fr; padding: 26px 30px; }
.news-row-body time { font-size: 13px; color: var(--gold-deep); letter-spacing: .5px; }
.news-row-body h3 { margin: 8px 0 10px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.news-row-body h3 a { transition: color .2s ease; }
.news-row-body h3 a:hover { color: var(--blue); }
.news-row-body p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.news-row-more { font-size: 14px; font-weight: 500; color: var(--blue); }
.news-row-more:hover { color: var(--gold-deep); }
/* 归档分页 */
.navigation.pagination { text-align: center; }
.navigation.pagination .nav-links { display: inline-flex; gap: 8px; }
.navigation.pagination .page-numbers {
  min-width: 40px; height: 40px; line-height: 40px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--line); color: var(--text); font-size: 14px;
}
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .social-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  /* 重要：顶栏滚动后带 backdrop-filter，会创建包含块，
     若这里用 position:fixed 会相对顶栏（仅 72px 高）定位导致菜单塌陷。
     改用 absolute + top:100%，相对顶栏下沿展开，不受影响。 */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px;
    box-shadow: 0 18px 40px rgba(20,23,31,.14);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  }
  .site-nav.open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  /* 菜单展开时锁定页面滚动，同时把顶栏转成白底，避免白色 logo 在白面板上看不见 */
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: #fff !important; box-shadow: 0 1px 0 var(--line); }
  body.nav-open .site-header::before { opacity: 0 !important; }
  body.nav-open .brand-text,
  body.nav-open .site-nav .menu a { color: var(--ink) !important; }
  body.nav-open .nav-login { color: var(--ink) !important; border-color: var(--line) !important; }
  body.nav-open .nav-toggle span { background: var(--ink) !important; }
  /* 汉堡按钮变 X */
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* 移动端不显示右侧板块定位器 & 视差背景降级，避免性能与跳变问题 */
  .section-nav { display: none; }
  .section-bg { background-attachment: scroll !important; }
  .site-nav .menu { flex-direction: column; gap: 0; }
  .site-nav .menu a { color: var(--text) !important; padding: 14px 12px; border-bottom: 1px solid var(--line); display: block; border-radius: 6px; text-align: left; }
  /* 手机端整行铺满，不需要等宽与字距 */
  .site-nav .menu a.nav-2char { letter-spacing: normal; text-indent: 0; }
  /* 手机端当前板块：实心蓝底 + 白字，与桌面端一致 */
  .site-nav .menu > li.current-menu-item > a,
  .site-nav .menu > li.current_page_item > a,
  .site-nav .menu > li.current-menu-parent > a,
  .site-nav .menu a.is-active,
  body.nav-open .site-nav .menu a.is-active {
    background: var(--blue) !important; color: #fff !important;
    border-bottom-color: transparent; border-radius: 6px;
  }
  .nav-login { margin-top: 16px; text-align: center; color: var(--ink) !important; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .news-row-thumb { aspect-ratio: 16/9; }
  .news-row-body h3 { font-size: 17px; }
  .timeline::before { left: 12px; }
  .tl-item { padding-left: 44px; }
  .tl-year { position: static; width: auto; text-align: left; margin-bottom: 4px; }
  .tl-dot { left: 6px; top: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px; }
  /* 移动端：大字换行，并减弱艺术字投影避免糊成一团 */
  .hero-title { white-space: normal; font-size: clamp(28px, 8.5vw, calc(var(--hero-size) * .46));
    text-shadow: 1px -1px 0 #ffffff, -4px 4px 3px #000, -5px 5px 2px #bf3030, -10px 10px 5px #000; }
  .hero-eyebrow { letter-spacing: 2px; }
  .hero-actions .btn-outline { padding: 12px 26px; font-size: 15px; }
}
