/* =========================================================================
   然立咨询 · 全站设计系统 v3「深序」
   实现层：wp-content/themes/astra-rl/assets/design-v3.css
   用法：整份替换 design-v2.css（handle rlx-design 改指向本文件），不做叠加
   约束：
     · 沿用现有 rlx-* class 与 DOM，不改页面 HTML
     · 不用 web font / blur / backdrop-filter / 任何外部请求
     · 动画只用 transform / opacity，且响应 prefers-reduced-motion
     · 选择器统一 html body[class] 前缀，用于压过 Astra 动态 CSS
   ========================================================================= */

/* ── 0. Token：一套值，旧名保留为别名 ──────────────────────────────── */
:root{
  /* 主色与点缀（面积 < 5%） */
  --c-navy:#1e3a5f;
  --c-deep:#14283f;
  --c-seal:#b8442e;
  --c-seal-soft:#f5e8e3;
  /* 底与线 */
  --c-paper:#fafaf7;
  --c-soft:#f3f2ee;
  --c-white:#ffffff;
  --c-line:#e5e3dd;
  --c-line-2:#d8d5cd;
  /* 墨色：四级，最浅一级也过 4.5:1 */
  --c-ink-1:#1a1a1a;
  --c-ink-2:#3d3d3d;
  --c-ink-3:#585858;
  --c-ink-4:#6b6b6b;
  --c-steel:#44536a;
  /* 深色区文字 */
  --c-on-deep:#ffffff;
  --c-on-deep-2:rgba(255,255,255,.78);
  --c-on-deep-3:rgba(255,255,255,.62);
  /* 版心与形态 */
  --c-wrap:1140px;
  --c-r-card:12px;
  --c-r-btn:6px;
  --c-shadow:0 8px 24px rgba(20,40,63,.06);
  --c-shadow-2:0 12px 28px rgba(20,40,63,.10);
  /* 间距阶梯：8 的倍数 */
  --s1:8px;  --s2:16px; --s3:24px; --s4:32px;
  --s5:40px; --s6:56px; --s7:72px; --s8:96px; --s9:112px;
  /* 字族：全站无 web font，标题正文同族，只用字重分层 */
  --c-sans:"PingFang SC","Source Han Sans CN","Noto Sans CJK SC","Microsoft YaHei",sans-serif;

  /* ---- 旧变量名（v2）别名：页面内联样式与旧 HTML 直接引用过，不能断 ---- */
  --paper:var(--c-paper);
  --wash:var(--c-soft);
  --white:var(--c-white);
  --navy:var(--c-navy);
  --navy-deep:var(--c-deep);
  --royal:var(--c-navy);
  --ink:var(--c-ink-1);
  --muted:var(--c-ink-3);
  --faint:var(--c-ink-4);
  --steel:var(--c-steel);
  --line:var(--c-line);
  --line-strong:var(--c-line-2);
  --seal:var(--c-seal);
  --seal-line:rgba(184,68,46,.45);
  --serif:var(--c-sans);   /* 关键：v2 的全部标题 font-family 走 --serif，这里直接改成无衬线 */
  --sans:var(--c-sans);
  --wrap:var(--c-wrap);
}

/* ── 1. 基础 reset ──────────────────────────────────────────────────── */
/* 滚动行为放在 html 上（放 body 上无效） */
html{scroll-behavior:smooth}
html body[class]{
  background:var(--c-paper) !important;   /* 压 Astra body 背景（动态 CSS 会设 #fff） */
  background-image:none !important;
  color:var(--c-ink-1);
  font-family:var(--c-sans);
  font-size:17px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
html body[class] *,
html body[class] *::before,
html body[class] *::after{ box-sizing:border-box; }

/* 元素级规则：一律收进 .rlx-page + :where() 归零特异性，
   文章页（.single-post，无 .rlx-page）完全不受影响 ——
   正文的 p / h2 / blockquote / a / img 由 rl-article.css 决定。 */
html body[class] img{max-width:100%;height:auto}          /* 全局安全项：只防溢出，不设外观 */
html body[class].rlx-page :where(img){border-radius:0}
html body[class].rlx-page :where(a){color:var(--c-navy);text-decoration:none}
html body[class].rlx-page :where(a):hover{color:var(--c-deep)}
html body[class].rlx-page :where(hr){border:0;border-top:1px solid var(--c-line);margin:var(--s5) 0}
html body[class].rlx-page .lead{display:none !important}  /* 原文的行首符号/分隔符：视觉交给 CSS，文案留在 DOM */
html body[class] :focus-visible{
  outline:2px solid var(--c-navy);
  outline-offset:3px;
  border-radius:2px;
}
html body[class] .rlx-vh{
  position:absolute !important;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ── 2. 骨架：所有 .rlx-page 共用（报告 §9.3 的 1/2/3/6 条等价重写） ── */
/* 2.1 隐藏 Astra 原生页头。全站统一用 Base.astro 注入的 .rlx-header（E32）。 */
html body[class] header.site-header,
html body[class] #masthead,
html body[class] .ast-main-header-wrap,
html body[class] .ast-mobile-header-wrap,
html body[class] .ast-above-header,
html body[class] .ast-below-header,
html body[class] .ast-primary-header-bar,
html body[class] .ast-header-banner{ display:none !important; }

/* 2.1b 面包屑：此前无任何样式，裸渲染成白底大字（E33） */
html body[class] .rl-crumb{
  max-width:var(--c-wrap);
  margin:0 auto;
  padding:20px 32px 0;
  font-size:13px;
  line-height:1.6;
  color:var(--c-ink-4);
}
html body[class] .rl-crumb a{color:var(--c-ink-3);text-decoration:none}
html body[class] .rl-crumb a:hover{color:var(--c-navy)}
html body[class] .rl-crumb-sep{margin:0 7px;opacity:.55}

/* 2.2 清掉 Astra 的容器底板，区块底色才能通栏 */
html body[class] #page,
html body[class] .hfeed.site,
html body[class] #wrapper,
html body[class] .site-content,
html body[class] .ast-container,
html body[class] .ast-container-fluid,
html body[class] .content-area,
html body[class] .site-main,
html body[class] article.ast-article-single,
html body[class] article.post{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html body[class].rlx-page .ast-container,
html body[class].rlx-page .ast-container-fluid,
html body[class].rlx-page #content,
html body[class].rlx-page #primary,
html body[class].rlx-page .content-area,
html body[class].rlx-page .site-main,
html body[class].rlx-page .ast-separate-container .ast-container{
  max-width:none !important;
  width:100% !important;
  padding-left:0 !important;padding-right:0 !important;
  margin-left:0 !important;margin-right:0 !important;
  float:none !important;
}
/* #primary 在 Astra 独立页上有 60px 上下外边距，会把 sticky 页头推离顶端 */
html body[class].rlx-page #primary{margin-top:0 !important;margin-bottom:0 !important}
html body[class].rlx-page .site-content{padding-top:0 !important}
html body[class].rlx-page .entry-header{display:none !important}  /* rlx 页面自带 hero h1 */
html body[class].rlx-page .entry-content{padding:0 !important;margin:0 !important}
html body[class].rlx-page .entry-content > *{
  max-width:none !important;width:100% !important;
  margin-left:0 !important;margin-right:0 !important;
}
/* 2.3 页面内 reset（原各有 55 KB / 69 KB 内联里的一条，等价保留）
       注意：**不能写 `.entry-content *`** —— 那会把 .rlx-sec 自己的 padding 一起清零，
       所有区块会紧贴在一起（实测踩到：课程页 / 关于页区块无缝）。
       这里只 reset 文本元素，组件容器的间距交给组件自己控制。 */
html body[class].rlx-page .entry-content :where(p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,figure,blockquote,pre,table,hr,img,svg){
  margin:0;
  padding:0;
}
html body[class].rlx-page,
html body[class].rlx-page #page,
html body[class].rlx-page #wrapper{ overflow-x:clip !important; }
html body[class].rlx-page{ max-width:100vw !important; }

/* ── 3. 版心与区块 ──────────────────────────────────────────────────── */
html body[class] .rlx-wrap{
  max-width:var(--c-wrap) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:32px;
  padding-right:32px;
  box-sizing:border-box;
}
html body[class] .rlx-sec{
  padding:var(--s9) 0;
  position:relative;
  border:0;
}
html body[class] .rlx-sec.tight{padding-top:0}
html body[class] .rlx-sec.wash,
html body[class] .rlx-sec.soft{background:var(--c-soft)}
html body[class] .rlx-sec.paper{background:var(--c-paper)}
html body[class] .rlx-sec.dark,
html body[class] .rlx-dark{
  background:var(--c-deep);
  color:var(--c-on-deep);
  position:relative;
  overflow:clip;
}
/* 深色区的弥散光：纯 radial-gradient，不加 blur（避免整层光栅化） */
html body[class] .rlx-sec.dark::before,
html body[class] .rlx-dark::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(38% 46% at 84% 4%, rgba(184,68,46,.24), rgba(184,68,46,0) 78%),
    radial-gradient(42% 50% at 6% 88%, rgba(70,120,190,.24), rgba(70,120,190,0) 80%),
    radial-gradient(58% 62% at 40% 30%, rgba(48,86,128,.28), rgba(48,86,128,0) 80%);
}
html body[class] .rlx-sec.dark > .rlx-wrap,
html body[class] .rlx-dark > .rlx-wrap{position:relative;z-index:1}

/* ── 4. 排版：一套比例，桌面 / 移动各一档 ──────────────────────────── */
/* 重要：这里的元素级规则只作用在 .rlx-page（自建页面），且全部用 :where() 归零特异性。
   文章页（body.single-post）没有 .rlx-page，正文的 h2/h3/p/blockquote 归 rl-article.css 管，
   design-v3 不参与 ——— 否则会与它争同一个选择器（第三轮复核意见 1）。 */
html body[class].rlx-page :where(.rlx-hero h1, .rlx-page h1:not(.entry-title), h1.rlx-h1){
  font-family:var(--c-sans);
  font-size:clamp(30px,4.2vw,54px);
  font-weight:700;
  line-height:1.22;
  letter-spacing:0;
  color:var(--c-deep);
  text-wrap:balance;
}
html body[class].rlx-page :where(.rlx-sec h2, .rlx-head h2){
  font-family:var(--c-sans);
  font-size:clamp(24px,2.8vw,38px);
  font-weight:700;
  line-height:1.28;
  letter-spacing:0;
  color:var(--c-deep);
  text-wrap:balance;
}
html body[class].rlx-page :where(.rlx-sec h3){
  font-family:var(--c-sans);
  font-size:clamp(19px,1.7vw,23px);
  font-weight:700;
  line-height:1.5;
  letter-spacing:0;
  color:var(--c-navy);
}
html body[class].rlx-page :where(.rlx-sec h4){
  font-family:var(--c-sans);
  font-size:17px;
  font-weight:700;
  line-height:1.55;
  color:var(--c-ink-1);
}
html body[class].rlx-page :where(.rlx-sec.dark h1, .rlx-sec.dark h2, .rlx-sec.dark h3,
  .rlx-dark h1, .rlx-dark h2, .rlx-dark h3){color:var(--c-on-deep)}

html body[class].rlx-page :where(.rlx-sec p, .rlx-hero p, .rlx-prose p, .rlx-card p, .rlx-clause p){
  font-size:17px;line-height:1.75;color:var(--c-ink-2);text-wrap:pretty;
}
html body[class] .rlx-head{max-width:880px;margin-bottom:var(--s6)}
html body[class] .rlx-head .sub,
html body[class] .rlx-sec .sub{
  margin-top:var(--s2);
  font-size:17px;
  line-height:1.75;
  color:var(--c-ink-4);
  max-width:36em;
  font-weight:400;
}
html body[class] .rlx-sec.dark .sub,
html body[class] .rlx-dark .sub{color:var(--c-on-deep-2)}
html body[class] .rlx-center{text-align:center}
html body[class] .rlx-center .rlx-head{margin-left:auto;margin-right:auto}
html body[class] .rlx-center .rlx-head .sub{margin-left:auto;margin-right:auto}
html body[class] .rlx-num{font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1}
html body[class] .rlx-kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-size:14px;font-weight:500;letter-spacing:.10em;
  color:var(--c-ink-4);
}
html body[class] .rlx-kicker::before{content:"";width:6px;height:6px;background:var(--c-seal);flex:none}
html body[class] .rlx-sec.dark .rlx-kicker,
html body[class] .rlx-dark .rlx-kicker{color:var(--c-on-deep-2)}

/* 摘要 / 引用带 */
html body[class] .rlx-summary{
  margin-top:var(--s3);
  display:flex;flex-wrap:wrap;gap:10px;
  font-size:13.5px;font-weight:400;letter-spacing:.06em;
}
html body[class] .rlx-summary > span{
  display:inline-flex;align-items:center;min-height:34px;padding:6px 16px;
  border:1px solid var(--c-line-2);border-radius:999px;
  color:var(--c-ink-3);background:var(--c-white);
}
html body[class] .rlx-sec.dark .rlx-summary > span,
html body[class] .rlx-dark .rlx-summary > span{
  border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.05);color:rgba(255,255,255,.88);
}
/* 引用带：只作用于 rlx 自建组件，不含裸 blockquote（文章页正文的引用块归 rl-article.css） */
html body[class] .rlx-quote{
  margin:0;
  padding:var(--s5) var(--s6);
  border-left:3px solid var(--c-seal);
  background:var(--c-soft);
  border-radius:0 var(--c-r-card) var(--c-r-card) 0;
}
html body[class] .rlx-quote p{
  font-size:clamp(18px,1.9vw,22px);line-height:1.7;color:var(--c-deep);font-weight:600;
}

/* ── 5. 页头（DOM 来自 rl-header.php，不新增 JS） ───────────────────── */
html body[class] .rlx-header{
  position:sticky;top:0;z-index:900;
  background:var(--c-paper);            /* 不用 backdrop-filter */
  border-bottom:1px solid var(--c-line);
}
html body[class] .rlx-head-in{
  max-width:var(--c-wrap) !important;
  margin:0 auto !important;
  padding:0 32px;
  height:72px;
  display:flex;align-items:center;gap:36px;
  box-sizing:border-box;
}
html body[class] .rlx-logo{display:flex;align-items:center;margin-right:auto;flex:none}
/* 2026-11-23：logo 换成 726x450（121:75）留白版，58px 盒高 = 内容视觉高 30px，与旧图一致 */
html body[class] .rlx-logo img{height:58px;width:auto;display:block}
html body[class] .rlx-nav{display:flex;align-items:center;gap:26px;font-size:14.5px}
html body[class] .rlx-nav > a,
html body[class] .rlx-nav > .rlx-dd > a{color:var(--c-ink-3);white-space:nowrap;border:0}
html body[class] .rlx-nav > a:hover,
html body[class] .rlx-nav > .rlx-dd > a:hover{color:var(--c-navy)}
html body[class] .rlx-nav > a.on,
html body[class] .rlx-nav > .rlx-dd > a.on{color:var(--c-navy);font-weight:700}
html body[class] .rlx-nav > a.rlx-nav-cta{
  display:inline-flex;align-items:center;
  background:var(--c-navy);color:#fff !important;
  font-size:14.5px;font-weight:500;
  padding:10px 22px;border-radius:var(--c-r-btn);
  border:1px solid var(--c-navy);
  min-height:42px;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
html body[class] .rlx-nav > a.rlx-nav-cta:hover{background:var(--c-deep);border-color:var(--c-deep);color:#fff !important}
html body[class] .rlx-dd{position:relative}
html body[class] .rlx-dd > a{display:inline-flex;align-items:center;gap:6px}
html body[class] .rlx-dd .rlx-caret{display:inline-flex;opacity:.7;transition:transform .18s ease}
html body[class] .rlx-dd:hover .rlx-caret,
html body[class] .rlx-dd:focus-within .rlx-caret{transform:rotate(180deg);opacity:1}
html body[class] .rlx-dd-menu{
  position:absolute;top:calc(100% + 14px);left:-18px;min-width:300px;
  background:var(--c-white);
  border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
  padding:8px;
  box-shadow:var(--c-shadow-2);
  opacity:0;visibility:hidden;transform:translateY(-4px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
html body[class] .rlx-dd:hover .rlx-dd-menu,
html body[class] .rlx-dd:focus-within .rlx-dd-menu{opacity:1;visibility:visible;transform:none}
html body[class] .rlx-dd-menu a{display:block;padding:11px 14px;border-radius:6px;color:var(--c-ink-1)}
html body[class] .rlx-dd-menu a:hover{background:var(--c-soft)}
html body[class] .rlx-dd-menu .t{display:block;font-size:14.5px;font-weight:600;color:var(--c-ink-1)}
html body[class] .rlx-dd-menu .d{display:block;font-size:12.5px;color:var(--c-ink-4);margin-top:2px}

/* 汉堡与移动菜单：沿用既有 JS（.mobile-menu-btn / .mobile-menu-overlay / .active） */
html body[class] .rlx-header .mobile-menu-btn,
html body[class] .mobile-menu-btn{
  display:none;background:none;border:0;padding:8px;margin:0;
  font-size:22px;line-height:1;color:var(--c-navy);cursor:pointer;min-width:44px;min-height:44px;
}
html body[class] .mobile-menu-overlay{
  position:fixed;inset:0;z-index:1000;
  background:var(--c-paper);
  display:none;flex-direction:column;justify-content:center;
  padding:72px 32px;box-sizing:border-box;overflow-y:auto;
}
html body[class] .mobile-menu-overlay.active{display:flex}
html body[class] .mobile-menu-overlay a{
  display:block;width:100%;align-self:stretch;box-sizing:border-box;
  font-size:20px;font-weight:700;color:var(--c-navy);
  padding:15px 0;border-bottom:1px solid var(--c-line);min-height:44px;text-decoration:none;
}
html body[class] .mobile-menu-overlay a:hover{color:var(--c-deep)}
/* 移动端菜单项：非当前项走次级色 + 常规字重，.on 才看得出区别
   （这两条原在 rl_header_css() 里，迁入 v3） */
html body[class] .mobile-menu-overlay a.mobile-menu-link{color:var(--c-ink-3);font-weight:400}
html body[class] .mobile-menu-overlay a.mobile-menu-link.on{color:var(--c-navy);font-weight:700}
html body[class] .mobile-menu-overlay .mobile-menu-sublink{
  font-size:14.5px;font-weight:400;color:var(--c-ink-3);padding:10px 0 10px 18px;
  border-bottom:1px solid var(--c-line);
}
html body[class] .mobile-menu-overlay .mobile-close-btn{
  position:absolute;top:18px;right:20px;background:transparent;border:0;box-shadow:none;
  border-radius:0;padding:8px;min-width:44px;min-height:44px;
  font-size:28px;line-height:1;color:var(--c-navy);cursor:pointer;
  -webkit-appearance:none;appearance:none;
}
/* 窄屏切换 */
@media(max-width:920px){
  html body[class] .rlx-header .rlx-nav{display:none !important}
  html body[class] .rlx-header .mobile-menu-btn{display:flex !important;align-items:center;justify-content:center}
}

/* ── 6. 按钮与文字链 ────────────────────────────────────────────────── */
html body[class] .rlx-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--c-navy);color:#fff;
  font-family:var(--c-sans);font-size:15px;font-weight:500;letter-spacing:.02em;
  padding:14px 28px;min-height:48px;border-radius:var(--c-r-btn);
  border:1px solid var(--c-navy);
  line-height:1.4;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
html body[class] .rlx-btn:hover{background:var(--c-deep);border-color:var(--c-deep);color:#fff}
html body[class] .rlx-btn.ghost{background:transparent;color:var(--c-navy);border-color:var(--c-line-2)}
html body[class] .rlx-btn.ghost:hover{background:var(--c-soft);border-color:var(--c-navy);color:var(--c-navy)}
/* 深色区上的主按钮：白底深字（藏青在深藏青上对比不足）
   注意：只覆盖真正的深底 —— .rlx-sec.dark / .rlx-dark / .rlx-cta.rl-contact。
   .rlx-cta 单独使用时是浅底，不能套白底按钮（否则白底白边框、看不见）。 */
html body[class] .rlx-sec.dark .rlx-btn,
html body[class] .rlx-hero.dark .rlx-btn,
html body[class] .rlx-hero.rlx-dark .rlx-btn,
html body[class] .rlx-dark .rlx-btn,
html body[class] .rlx-cta.rl-contact .rlx-btn,
html body[class] .rlx-btn.inv{
  background:#fff;border-color:#fff;color:var(--c-deep);
}
html body[class] .rlx-sec.dark .rlx-btn:hover,
html body[class] .rlx-hero.dark .rlx-btn:hover,
html body[class] .rlx-hero.rlx-dark .rlx-btn:hover,
html body[class] .rlx-dark .rlx-btn:hover,
html body[class] .rlx-cta.rl-contact .rlx-btn:hover,
html body[class] .rlx-btn.inv:hover{background:#f1efe9;border-color:#f1efe9;color:var(--c-deep)}
html body[class] .rlx-sec.dark .rlx-btn.ghost,
html body[class] .rlx-hero.dark .rlx-btn.ghost,
html body[class] .rlx-hero.rlx-dark .rlx-btn.ghost,
html body[class] .rlx-dark .rlx-btn.ghost,
html body[class] .rlx-cta.rl-contact .rlx-btn.ghost{
  background:transparent;border-color:rgba(255,255,255,.45);color:#fff;
}
html body[class] .rlx-sec.dark .rlx-btn.ghost:hover,
html body[class] .rlx-hero.dark .rlx-btn.ghost:hover,
html body[class] .rlx-hero.rlx-dark .rlx-btn.ghost:hover,
html body[class] .rlx-cta.rl-contact .rlx-btn.ghost:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}
html body[class] .rlx-link-more{
  font-size:14.5px;font-weight:500;color:var(--c-navy);
  border-bottom:1px solid var(--c-line-2);padding-bottom:3px;min-height:44px;display:inline-flex;align-items:center;
}
html body[class] .rlx-link-more:hover{color:var(--c-seal);border-bottom-color:var(--c-seal)}
html body[class] .rlx-cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:var(--s4)}
html body[class] .rlx-btn-inline{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 18px;min-height:44px;border-radius:var(--c-r-btn);
  font-size:13.5px;font-weight:500;background:var(--c-navy);color:#fff;
}
html body[class] .rlx-btn-inline:hover{background:var(--c-deep);color:#fff}

/* ── 7. 卡片与数字台账 ──────────────────────────────────────────────── */
html body[class] .rlx-card{
  background:var(--c-white);
  border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
  padding:var(--s4) var(--s4) var(--s5);
  display:flex;flex-direction:column;height:100%;
}
html body[class] .rlx-card .k{
  display:flex;align-items:center;gap:10px;
  font-size:15px;font-weight:600;letter-spacing:.04em;color:var(--c-navy);
}
html body[class] .rlx-card .k::before{content:"";width:16px;height:2px;background:var(--c-seal);flex:none}
html body[class] .rlx-card h3{margin-top:var(--s2)}
html body[class] .rlx-card p{margin-top:var(--s2);font-size:16px;color:var(--c-ink-2)}
html body[class] .gd-card-cta-row{
  margin-top:auto;padding-top:var(--s3);
  border-top:1px solid var(--c-line);
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
html body[class] .gd-card-cta-hint{font-size:13px;color:var(--c-ink-4);margin:0;flex:1;min-width:0}

/* 校样式条目：左上一道 2px 点缀线 + 序号 */
html body[class] .rlx-clauses{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s3)}
html body[class] .rlx-clause{
  position:relative;background:var(--c-white);
  border:1px solid var(--c-line);border-radius:var(--c-r-card);
  padding:var(--s4) var(--s4) var(--s5);height:100%;
}
html body[class] .rlx-clause::before{
  content:"";position:absolute;top:-1px;left:24px;width:28px;height:2px;background:var(--c-seal);
}
html body[class] .rlx-clause .no{
  /* 序号有两类写法：关于页是纯数字「01」，课程页是「01 / 服务对象」。
     用 CSS 检测不了文本长短，所以统一按眉标字号处理：22px / 600 / 钢青，
     两种写法都成立，且 22px 属于正文字号（需 4.5:1）。
     钢青 #44536a 在白卡上实测 7.46:1，余量充足。
     首页的 .v3-why .no 是另一套（48px 大字装饰），不受这里影响。 */
  font-size:22px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.06em;
  color:var(--c-steel);
  font-variant-numeric:tabular-nums;
}
html body[class] .rlx-clause .no + h3{margin-top:10px}
html body[class] .rlx-clause h3{margin:var(--s3) 0 var(--s2)}
html body[class] .rlx-clause p{font-size:16px;color:var(--c-ink-2)}
html body[class] .rlx-clause p + p{margin-top:10px}

/* 数字台账：桌面 4 栏 → 平板 2 栏 → 移动 2 栏 */
html body[class] .rlx-ledger{
  display:grid;grid-template-columns:repeat(4,1fr);gap:var(--s2);
  margin-bottom:var(--s6);
}
html body[class] .rlx-ledger .c{
  padding:var(--s3) var(--s3) var(--s4);
  background:var(--c-white);
  border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
}
html body[class] .rlx-ledger .n{
  font-size:clamp(26px,2.7vw,38px);font-weight:700;line-height:1.20;
  letter-spacing:0;color:var(--c-navy);font-variant-numeric:tabular-nums;
}
html body[class] .rlx-ledger .l{margin-top:10px;font-size:13.5px;line-height:1.7;color:var(--c-ink-4)}
/* 深色区里的台账：半透明白块（无 backdrop-filter） */
html body[class] .rlx-sec.dark .rlx-ledger .c,
html body[class] .rlx-dark .rlx-ledger .c{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}
html body[class] .rlx-sec.dark .rlx-ledger .n,
html body[class] .rlx-dark .rlx-ledger .n{color:#fff}
html body[class] .rlx-sec.dark .rlx-ledger .l,
html body[class] .rlx-dark .rlx-ledger .l{color:var(--c-on-deep-2)}

/* 首页背书三卡 */
html body[class] .rlx-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s2)}
html body[class] .rlx-proof .c{
  padding:var(--s3);border-radius:var(--c-r-card);
  border:1px solid var(--c-line);background:var(--c-white);
}
html body[class] .rlx-proof .n{
  font-size:clamp(22px,2.2vw,30px);font-weight:700;line-height:1.3;
  color:var(--c-deep);letter-spacing:0;font-variant-numeric:tabular-nums;
}
html body[class] .rlx-proof .l{margin-top:8px;font-size:13.5px;line-height:1.7;color:var(--c-ink-4)}
html body[class] .rlx-sec.dark .rlx-proof .c,
html body[class] .rlx-dark .rlx-proof .c{
  background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);
}
html body[class] .rlx-sec.dark .rlx-proof .n,
html body[class] .rlx-dark .rlx-proof .n{color:#fff}
html body[class] .rlx-sec.dark .rlx-proof .l,
html body[class] .rlx-dark .rlx-proof .l{color:var(--c-on-deep-2)}

/* ── 8. 首屏 ───────────────────────────────────────────────────────── */
html body[class] .rlx-hero{
  position:relative;
  padding:var(--s9) 0 var(--s8);
  background:var(--c-paper);
  border-bottom:1px solid var(--c-line);
}
html body[class] .rlx-hero .rlx-wrap{position:relative}
html body[class] .rlx-hero h1{margin:var(--s3) 0 var(--s3);max-width:18em}
html body[class] .rlx-hero .rlx-deck{
  font-size:18px;line-height:1.8;color:var(--c-ink-2);max-width:36em;
}
html body[class] .rlx-hero.dark,
html body[class] .rlx-hero.rlx-dark{
  background:var(--c-deep);border-bottom:0;color:var(--c-on-deep);
}
html body[class] .rlx-hero.dark h1,
html body[class] .rlx-hero.rlx-dark h1{color:#fff}
html body[class] .rlx-hero.dark .rlx-deck,
html body[class] .rlx-hero.rlx-dark .rlx-deck{color:var(--c-on-deep-2)}
html body[class] .rlx-hero.dark .rlx-kicker,
html body[class] .rlx-hero.rlx-dark .rlx-kicker{color:var(--c-on-deep-2)}

/* ── 9. 表格（服务菜单 / 价格表） ───────────────────────────────────── */
html body[class] .rlx-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
html body[class] table.rlx-menu{
  width:100%;border:0;border-collapse:collapse;background:transparent;
  font-size:14.5px;line-height:1.75;
}
html body[class] table.rlx-menu th{
  text-align:left;font-size:12.5px;letter-spacing:.10em;font-weight:500;
  color:var(--c-ink-4);padding:12px 22px 12px 2px;
  border:0;border-top:2px solid var(--c-navy);border-bottom:1px solid var(--c-line-2);
  background:transparent;
}
html body[class] table.rlx-menu td{
  padding:15px 22px 15px 2px;border:0;border-bottom:1px solid var(--c-line);
  color:var(--c-ink-2);vertical-align:top;background:transparent;
}
html body[class] table.rlx-menu tr:last-child td{border-bottom:0}
html body[class] table.rlx-menu .item{color:var(--c-ink-1);font-weight:600;width:26%}
html body[class] table.rlx-menu .days{
  width:84px;white-space:nowrap;text-align:right;
  color:var(--c-navy);font-weight:600;font-variant-numeric:tabular-nums;
}
html body[class] table.rlx-menu th.r{text-align:right}
html body[class] table.rlx-menu .fee{white-space:nowrap;text-align:right;color:var(--c-navy);font-weight:600}
html body[class] table.rlx-menu .sub{display:block;font-weight:400;font-size:12.5px;color:var(--c-ink-4);margin-top:3px}
html body[class] table.rlx-menu tr.grp td{
  background:var(--c-soft);font-weight:700;color:var(--c-navy);
  font-size:14px;letter-spacing:.02em;padding:11px 22px 11px 2px;
  border:0;border-bottom:1px solid var(--c-line-2);
}
html body[class] .rlx-table-hint{display:none;font-size:12.5px;color:var(--c-ink-4);margin:0 0 10px;letter-spacing:.04em}
/* 深色区表格 */
html body[class] .rlx-sec.dark table.rlx-menu th,
html body[class] .rlx-dark table.rlx-menu th{
  color:var(--c-on-deep-3);
  border-top-color:rgba(255,255,255,.28);
  border-bottom-color:rgba(255,255,255,.16);
}
html body[class] .rlx-sec.dark table.rlx-menu td,
html body[class] .rlx-dark table.rlx-menu td{
  color:var(--c-on-deep-2);border-bottom-color:rgba(255,255,255,.10);
}
html body[class] .rlx-sec.dark table.rlx-menu .item,
html body[class] .rlx-dark table.rlx-menu .item{color:#fff}
html body[class] .rlx-sec.dark table.rlx-menu .days,
html body[class] .rlx-dark table.rlx-menu .days{color:#fff}

/* 菜单块容器 */
html body[class] .rlx-menu-block{
  margin:0;
  padding:var(--s3) var(--s4) var(--s4);
  border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
  background:var(--c-white);
}
html body[class] .rlx-sec.dark .rlx-menu-block,
html body[class] .rlx-dark .rlx-menu-block{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.14);
}
html body[class] .rlx-cap{
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:0 2px 14px;flex-wrap:wrap;
}
html body[class] .rlx-cap h3,
html body[class] .rlx-cap h4{
  font-size:19px;font-weight:700;letter-spacing:0;line-height:1.5;color:var(--c-ink-1);
}
html body[class] .rlx-sec.dark .rlx-cap h3,
html body[class] .rlx-dark .rlx-cap h3{color:#fff}
html body[class] .rlx-cap h3 .n{
  font-size:13px;color:var(--c-seal);font-weight:500;margin-left:12px;letter-spacing:.05em;
}
html body[class] .rlx-cap .r{font-size:12.5px;color:var(--c-ink-4)}
html body[class] .rlx-menu-foot{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  padding:var(--s2) 2px 0;border-top:1px solid var(--c-line-2);
  font-size:13.5px;color:var(--c-ink-3);
}
html body[class] .rlx-sec.dark .rlx-menu-foot,
html body[class] .rlx-dark .rlx-menu-foot{
  border-top-color:rgba(255,255,255,.16);color:var(--c-on-deep-3);
}
/* 深色区里的 "表格正文" 不能一律算作 78% 白：样例里 .item / .days 是纯白，
   但次级别的 <td> 文本需要继续满足 4.5:1，于是把默认值抬到 .80 */

/* ── 10. 清单 / 适配点列 / 标签 ─────────────────────────────────────── */
html body[class] ul.rlx-list{list-style:none;margin:var(--s2) 0 0;padding:0;max-width:860px}
html body[class] ul.rlx-list li{
  position:relative;padding:11px 0 11px 22px;border-bottom:1px solid var(--c-line);
  font-size:16px;color:var(--c-ink-2);line-height:1.75;
}
html body[class] ul.rlx-list li:last-child{border-bottom:0}
html body[class] ul.rlx-list li::before{
  content:"";position:absolute;left:0;top:20px;width:6px;height:6px;background:var(--c-seal);
}
html body[class] ul.rlx-list li b{color:var(--c-ink-1);font-weight:700}
/* 深色区里的清单：同 .rlx-fit，默认深色字在深底上看不见 */
html body[class] .rlx-sec.dark ul.rlx-list li,
html body[class] .rlx-dark ul.rlx-list li{
  color:var(--c-on-deep-2);
  border-bottom-color:rgba(255,255,255,.16);
}
html body[class] .rlx-sec.dark ul.rlx-list li b,
html body[class] .rlx-dark ul.rlx-list li b{color:#fff}

html body[class] .rlx-fit{display:grid;grid-template-columns:1fr 1fr;gap:4px 48px;max-width:1040px}
html body[class] .rlx-fit .it{
  display:flex;gap:14px;padding:var(--s2) 0;border-bottom:1px solid var(--c-line);
  font-size:16px;color:var(--c-ink-2);line-height:1.8;
}
html body[class] .rlx-fit .it b{color:var(--c-deep);font-weight:700}
html body[class] .rlx-fit .it b::after{content:"："}
html body[class] .rlx-fit .dot{
  flex:0 0 6px;width:6px;height:6px;background:var(--c-seal);margin-top:11px;
}
html body[class] .rlx-fit .it .lead{display:none}
/* 深色区里的适配清单：深底反白（.rlx-fit 默认写死深色字，放在 .rlx-sec.dark 里会看不见） */
html body[class] .rlx-sec.dark .rlx-fit .it,
html body[class] .rlx-dark .rlx-fit .it{
  color:var(--c-on-deep-2);
  border-bottom-color:rgba(255,255,255,.16);
}
html body[class] .rlx-sec.dark .rlx-fit .it b,
html body[class] .rlx-dark .rlx-fit .it b{color:#fff}

html body[class] .rlx-tags{display:flex;flex-wrap:wrap;gap:10px 18px;margin:var(--s3) 0 var(--s1)}
html body[class] .rlx-tags span{
  font-size:13px;color:var(--c-steel);border-bottom:1px solid var(--c-line-2);
  padding-bottom:2px;letter-spacing:.04em;
}
html body[class] .rlx-tag{
  display:inline-block;padding:5px 12px;margin:4px;
  background:var(--c-soft);color:var(--c-ink-2);
  border:1px solid var(--c-line);border-radius:4px;
  font-size:13px;font-weight:500;
}

/* 注记：用一条点缀竖线代替字符徽标，避免气泡感 */
html body[class] .rlx-note{
  position:relative;
  margin:var(--s4) 0 0;
  padding-left:20px;
  font-size:14.5px;line-height:1.8;color:var(--c-ink-3);max-width:860px;
}
html body[class] .rlx-note::before{
  content:"";position:absolute;left:0;top:5px;bottom:5px;width:2px;
  background:var(--c-seal);border-radius:1px;
}
/* 深色区里的注记 */
html body[class] .rlx-sec.dark .rlx-note,
html body[class] .rlx-dark .rlx-note,
html body[class] .rlx-hero.dark .rlx-note{color:var(--c-on-deep-3)}

/* ── 11. 价格行 / 双栏 / 付款 ───────────────────────────────────────── */
html body[class] .rlx-price-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 var(--s3)}
html body[class] .rlx-price-line .p{
  font-size:clamp(26px,2.6vw,34px);font-weight:700;color:var(--c-navy);line-height:1.2;
  font-variant-numeric:tabular-nums;
}
html body[class] .rlx-price-line .u{color:var(--c-ink-4);font-size:14px}
html body[class] .rlx-price-line a{border-bottom:1px solid var(--c-line-2);padding-bottom:2px}
/* 深色区里的价格行 */
html body[class] .rlx-sec.dark .rlx-price-line .p,
html body[class] .rlx-dark .rlx-price-line .p{color:#fff}
html body[class] .rlx-sec.dark .rlx-price-line .u,
html body[class] .rlx-dark .rlx-price-line .u,
html body[class] .rlx-sec.dark .rlx-price-line a,
html body[class] .rlx-dark .rlx-price-line a{
  color:var(--c-on-deep-2);
  border-bottom-color:rgba(255,255,255,.22);
}

html body[class] .rlx-duo{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--s2);
}
html body[class] .rlx-duo .d{
  padding:var(--s4);
  background:var(--c-white);
  border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
}
html body[class] .rlx-duo .k{font-size:12.5px;letter-spacing:.18em;color:var(--c-ink-4)}
html body[class] .rlx-duo h3{margin:10px 0 8px;font-size:clamp(19px,1.8vw,22px);color:var(--c-deep)}
html body[class] .rlx-duo p{font-size:14.5px;color:var(--c-ink-2);max-width:44em}
html body[class] .rlx-duo .p{
  margin-top:14px;font-size:clamp(22px,2.2vw,28px);font-weight:700;color:var(--c-navy);
  font-variant-numeric:tabular-nums;
}
html body[class] .rlx-duo .p small{font-weight:400;font-size:13px;color:var(--c-ink-4)}
html body[class] .rlx-duo a.more{
  display:inline-block;margin-top:10px;font-size:13.5px;
  border-bottom:1px solid var(--c-line-2);padding-bottom:2px;
}

html body[class] .rlx-pay{
  display:grid;grid-template-columns:1fr 1fr;max-width:860px;gap:var(--s2);
}
html body[class] .rlx-pay .s{
  padding:var(--s3) var(--s4);
  background:var(--c-white);border:1px solid var(--c-line);border-radius:var(--c-r-card);
}
html body[class] .rlx-pay .tag{font-size:12px;letter-spacing:.14em;color:var(--c-seal);font-weight:600}
html body[class] .rlx-pay .v{
  margin-top:6px;font-size:24px;font-weight:700;color:var(--c-navy);font-variant-numeric:tabular-nums;
}
html body[class] .rlx-pay .v small{font-size:13.5px;font-weight:400;color:var(--c-ink-3)}
html body[class] .rlx-pay .d{font-size:14px;color:var(--c-ink-2);line-height:1.75}

/* ── 12. 时间轴（纵向 / 横向） ──────────────────────────────────────── */
html body[class] .rlx-tl{position:relative;padding-left:38px;max-width:920px}
html body[class] .rlx-tl::before{
  content:"";position:absolute;left:7px;top:14px;bottom:26px;width:1px;background:var(--c-line-2);
}
html body[class] .rlx-ph{position:relative;padding:0 0 var(--s5)}
html body[class] .rlx-ph:last-child{padding-bottom:0}
html body[class] .rlx-ph::before{
  content:"";position:absolute;left:-38px;top:6px;width:15px;height:15px;
  border-radius:50%;background:var(--c-paper);border:2px solid var(--c-navy);box-sizing:border-box;
}
html body[class] .rlx-ph:last-child::before{background:var(--c-navy)}
html body[class] .rlx-ph .when{
  font-size:16px;font-weight:700;color:var(--c-navy);letter-spacing:.02em;
  font-variant-numeric:tabular-nums;
}
html body[class] .rlx-ph .when small{
  font-weight:400;font-size:12.5px;color:var(--c-ink-4);letter-spacing:.08em;margin-left:6px;
}
html body[class] .rlx-ph h3{margin:8px 0 10px;font-size:19px;color:var(--c-deep)}
html body[class] .rlx-ph .sit{font-size:15.5px;color:var(--c-ink-2);max-width:720px;line-height:1.8}
html body[class] .rlx-ph .we{
  margin-top:14px;padding-left:16px;border-left:2px solid var(--c-seal-soft);
  font-size:14.5px;color:var(--c-ink-3);max-width:720px;line-height:1.8;
}
html body[class] .rlx-ph .we b{color:var(--c-navy);font-weight:700;margin-right:4px}

html body[class] .rlx-journey{display:grid;grid-template-columns:repeat(5,1fr);position:relative;max-width:1040px}
html body[class] .rlx-journey::before{
  content:"";position:absolute;left:28px;right:28px;top:8px;height:1px;background:var(--c-line-2);
}
html body[class] .rlx-j{position:relative;padding:0 24px 0 0}
html body[class] .rlx-j .dot{
  display:block;width:17px;height:17px;border-radius:50%;background:var(--c-paper);
  border:2px solid var(--c-seal);position:relative;z-index:1;margin-bottom:var(--s3);box-sizing:border-box;
}
html body[class] .rlx-j .dot::after{content:"";position:absolute;inset:3px;background:var(--c-seal);border-radius:50%}
html body[class] .rlx-j .st{font-size:12px;letter-spacing:.14em;color:var(--c-steel)}
html body[class] .rlx-j .st .no{color:var(--c-ink-4);margin-right:8px;font-variant-numeric:tabular-nums}
html body[class] .rlx-j h3{margin:8px 0 8px;font-size:17.5px;color:var(--c-deep)}
html body[class] .rlx-j p{font-size:13.5px;color:var(--c-ink-3);line-height:1.75}

/* ── 13. 分栏 / 创始人档案 / 团队数据带 ─────────────────────────────── */
html body[class] .rlx-split{display:grid;grid-template-columns:5fr 7fr;gap:var(--s6);align-items:start}
html body[class] .rlx-split .rlx-prose p,
html body[class] .rlx-prose p{
  font-size:17px;line-height:1.85;color:var(--c-ink-2);margin-bottom:18px;
}
html body[class] .rlx-prose p:last-child{margin-bottom:0}
html body[class] .rlx-prose strong{color:var(--c-ink-1)}

html body[class] .rlx-cols{display:grid;grid-template-columns:1fr 1fr;gap:var(--s2);max-width:980px}
html body[class] .rlx-col{
  padding:var(--s3) var(--s4);
  background:var(--c-white);border:1px solid var(--c-line);border-radius:var(--c-r-card);
}
html body[class] .rlx-col .no{font-size:13px;font-weight:600;color:var(--c-ink-4);letter-spacing:.10em}
html body[class] .rlx-col h3{margin:10px 0 8px;font-size:20px}
html body[class] .rlx-col p{font-size:15.5px;color:var(--c-ink-2)}
html body[class] .rlx-col a{
  display:inline-block;margin-top:10px;font-size:13.5px;
  border-bottom:1px solid var(--c-line-2);padding-bottom:2px;
}

html body[class] .rlx-founder{display:grid;grid-template-columns:240px 1fr;gap:var(--s6);align-items:start}
html body[class] .rlx-founder .ph{max-width:240px;margin:0}
html body[class] .rlx-founder .ph img{
  width:100%;display:block;border-radius:var(--c-r-card);border:1px solid var(--c-line);
}
html body[class] .rlx-founder .nm{font-size:28px;font-weight:700;color:var(--c-deep);line-height:1.35}
html body[class] .rlx-founder .tt{font-size:14px;color:var(--c-ink-3);margin:8px 0 var(--s4);line-height:1.8}
html body[class] .rlx-cred{
  display:grid;grid-template-columns:150px 1fr;gap:20px;
  padding:18px 0;border-bottom:1px solid var(--c-line);
}
html body[class] .rlx-cred:first-child{border-top:1px solid var(--c-line-2)}
html body[class] .rlx-cred:last-child{border-bottom:0}
html body[class] .rlx-cred h4{font-size:16px;font-weight:700;color:var(--c-navy);line-height:1.55}
html body[class] .rlx-cred p{font-size:15px;color:var(--c-ink-2);line-height:1.8}

html body[class] .rlx-band{
  display:grid;grid-template-columns:repeat(2,1fr);gap:var(--s2);
  margin-top:var(--s4);
}
html body[class] .rlx-band .b{
  padding:var(--s3) var(--s4);
  background:var(--c-soft);border-radius:var(--c-r-card);
}
html body[class] .rlx-band .b .n{
  font-size:26px;font-weight:700;color:var(--c-navy);line-height:1.3;font-variant-numeric:tabular-nums;
}
html body[class] .rlx-band .b p{font-size:13.5px;color:var(--c-ink-3);margin-top:4px}

/* 编号小标题（关于页 h2[data-num]） */
html body[class] h1[data-num]::before,
html body[class] h2[data-num]::before{
  content:attr(data-num) "  ";
  font-size:.62em;font-weight:600;color:var(--c-ink-4);
  letter-spacing:.06em;vertical-align:.12em;margin-right:8px;
}

/* ── 14. 联系区与页面 CTA ──────────────────────────────────────────── */
/* 页面级 CTA 带（.rlx-cta 单独用）：浅底，与下方深色联系区明确区分 */
html body[class] .rlx-cta{
  position:relative;
  padding:var(--s8) 0;
  background:var(--c-soft) !important;
  background-image:none !important;
  color:var(--c-ink-1);
  overflow:clip;
}
html body[class] .rlx-cta .in{
  display:flex;gap:var(--s6);align-items:center;justify-content:space-between;flex-wrap:wrap;
}
html body[class] .rlx-cta .txt{max-width:640px}
html body[class] .rlx-cta h2{color:var(--c-deep);font-size:clamp(24px,2.6vw,34px)}
html body[class] .rlx-cta p{margin-top:var(--s2);font-size:16.5px;line-height:1.8;color:var(--c-ink-2);max-width:34em}
html body[class] .rlx-cta .ch{display:flex;gap:28px;margin-top:var(--s3);flex-wrap:wrap;font-size:14px;color:var(--c-ink-3)}
html body[class] .rlx-cta .ch b{color:var(--c-ink-1);font-weight:600;margin-left:6px}
html body[class] .rlx-cta .row{display:flex;gap:14px;margin-top:var(--s4);flex-wrap:wrap}

/* 全站联系区（.rlx-cta.rl-contact）：深色，居中一套 */
html body[class] .rlx-cta.rl-contact{
  background:var(--c-deep) !important;
  color:var(--c-on-deep);
  text-align:center;
  padding:var(--s9) 0 var(--s8);
}
html body[class] .rlx-cta.rl-contact::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(38% 46% at 84% 4%, rgba(184,68,46,.24), rgba(184,68,46,0) 78%),
    radial-gradient(42% 50% at 6% 88%, rgba(70,120,190,.24), rgba(70,120,190,0) 80%);
}
html body[class] .rlx-cta.rl-contact .rlx-wrap{position:relative;z-index:1}
html body[class] .rlx-cta.rl-contact .in{
  display:block;max-width:860px;margin:0 auto;
}
html body[class] .rlx-cta.rl-contact .txt{max-width:none}
html body[class] .rlx-cta.rl-contact h2{
  color:#fff;font-size:clamp(26px,3.2vw,42px);text-align:center;
}
html body[class] .rlx-cta.rl-contact p{
  margin:var(--s2) auto 0;color:var(--c-on-deep-2);font-size:17px;text-align:center;max-width:34em;
}
html body[class] .rlx-cta.rl-contact .ch{justify-content:center;gap:36px;color:var(--c-on-deep-3)}
html body[class] .rlx-cta.rl-contact .ch b{color:#fff}
html body[class] .rlx-cta.rl-contact .ch a,
html body[class] .rlx-cta.rl-contact .rl-mail{
  color:#fff;border-bottom:1px solid rgba(255,255,255,.38);padding-bottom:1px;
}
html body[class] .rlx-cta.rl-contact .ch a:hover{border-bottom-color:#fff}
html body[class] .rlx-cta.rl-contact .rlx-btn{
  background:#fff;border-color:#fff;color:var(--c-deep);
}
html body[class] .rlx-cta.rl-contact .rlx-btn:hover{background:#f1efe9;border-color:#f1efe9;color:var(--c-deep)}

html body[class] .rlx-qrs{display:flex;justify-content:center;gap:20px;margin-top:var(--s5);flex-wrap:wrap}
html body[class] .rlx-qr{
  width:236px;padding:18px 18px 20px;text-align:center;
  background:#fff;border-radius:var(--c-r-card);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  color:var(--c-ink-3);font-size:12.5px;
}
html body[class] .rlx-qr img{
  width:176px;height:176px;object-fit:contain;display:block;margin:0 auto;border-radius:4px;
}
html body[class] .rlx-qr .k{
  display:block;margin-top:14px;font-size:10.5px;letter-spacing:.16em;color:var(--c-ink-4);
}
html body[class] .rlx-qr b{display:block;margin-top:8px;font-size:15px;font-weight:700;color:var(--c-ink-1);line-height:1.5}
html body[class] .rlx-qr .t{display:block;margin-top:6px;font-size:12.5px;line-height:1.7;color:var(--c-ink-4)}
html body[class] .rl-qr .ph,
html body[class] .rlx-qr .ph{
  width:176px;height:176px;margin:0 auto;display:flex;align-items:center;justify-content:center;
  border:1px dashed var(--c-line-2);border-radius:4px;background:var(--c-soft);
  color:var(--c-ink-4);font-size:11px;line-height:1.6;
}

/* ── 15. 全站页脚（新组件：由 astra_footer_content_bottom 钩子输出） ── */
html body[class] .rlx-foot-band{
  background:#0f1f30;
  color:rgba(255,255,255,.60);
  padding:0;
}
html body[class] .rlx-foot-band .rlx-foot{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  padding:var(--s2) 0;
  font-size:12.5px;line-height:1.8;
}
html body[class] .rlx-foot-band .rlx-foot a{color:rgba(255,255,255,.68)}
html body[class] .rlx-foot-band .rlx-foot a:hover{color:#fff}
html body[class] .rlx-foot-band .rlx-beian{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
html body[class] .rlx-foot-band .rlx-beian img{
  height:14px;width:14px;display:inline-block;vertical-align:-2px;margin-right:5px;opacity:.85;
}
/* Astra 的 #colophon 在页脚组件为空时不该占位；垫一层底色让页脚与页面连成一块 */
html body[class] footer.site-footer{
  background:#0f1f30;
  border-top:0;
  margin-top:0;
  padding:0;
}
html body[class] footer.site-footer:empty{background:transparent}
/* 旧结构（过渡期兜底）：section.rlx-cta--foot 仍按同一套渲染 */
html body[class] .rlx-cta--foot{
  background:#0f1f30 !important;background-image:none !important;
  padding:0 !important;color:rgba(255,255,255,.60);
}
html body[class] .rlx-cta--foot .rlx-foot{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  margin:0 !important;padding:var(--s2) 0;border-top:1px solid rgba(255,255,255,.10);
  font-size:12.5px;line-height:1.8;
}
html body[class] .rlx-cta--foot .rlx-foot a{color:rgba(255,255,255,.68)}
html body[class] .rlx-cta--foot .rlx-beian{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
html body[class] .rlx-cta--foot .rlx-beian img{height:14px;width:14px;vertical-align:-2px;margin-right:5px;opacity:.85}

/* 复制微信号（原在 rl_header_css() 里，迁入 v3；与 v2 等价，深色区专用） */
html body[class] .rlx-cta.rl-contact .rl-copy{
  display:inline-flex;align-items:center;gap:6px;
  position:relative;color:#fff;font-weight:500;margin-left:6px;letter-spacing:.02em;
  cursor:pointer;user-select:all;-webkit-user-select:all;
  border-bottom:1px dashed rgba(255,255,255,.35);padding-bottom:1px;outline-offset:3px;
}
html body[class] .rlx-cta.rl-contact .rl-copy:hover,
html body[class] .rlx-cta.rl-contact .rl-copy:focus{border-bottom-color:#fff}
html body[class] .rlx-cta.rl-contact .rl-copy .rl-copy-tip{
  font-style:normal;font-size:11px;color:rgba(255,255,255,.62);
  margin-left:6px;letter-spacing:0;transition:color .15s ease;
  border:0;padding:0;opacity:1;
}
html body[class] .rlx-cta.rl-contact .rl-copy.is-copied .rl-copy-tip{color:#9be3b4}

/* ── 16. 合作客户 logo 墙（彩色，不加灰度） ─────────────────────────── */
html body[class] .rlx-clients{
  position:relative;overflow:visible;
  border:0;
  -webkit-mask-image:none;mask-image:none;
}
html body[class] .rlx-clients-track{display:block;width:100%;animation:none !important;transform:none !important}
html body[class] .rlx-clients-set{
  display:grid;grid-template-columns:repeat(8,1fr);gap:1px;width:100%;
  background:var(--c-line);border:1px solid var(--c-line);
  border-radius:var(--c-r-card);overflow:hidden;
}
html body[class] .rlx-clients-set[aria-hidden="true"]{display:none}
html body[class] .rlx-client{
  display:flex;align-items:center;justify-content:center;
  width:auto;height:104px;padding:16px 8px;border:0;background:var(--c-white);
}
html body[class] .rlx-client img{
  max-width:100%;max-height:30px;width:auto;height:auto;object-fit:contain;
  filter:none;opacity:1;transform:none;
}
/* 单个 logo 的视觉体量（与首页 v3 一致） */
html body[class] .rlx-client--shuyun img{max-height:38px}
html body[class] .rlx-client--defan img{max-height:33px;transform:none}
html body[class] .rlx-client--pinlan img{max-height:32px;transform:none}
html body[class] .rlx-client--weiming img{max-height:30px}
html body[class] .rlx-client--xiazhi img{max-height:28px}
html body[class] .rlx-client--yuhe img{max-height:27px}
html body[class] .rlx-client--matrix img{max-height:30px}
html body[class] .rlx-client--qingsong img{max-height:28px;transform:none}
html body[class] .rlx-client--shumai img{max-height:29px}
html body[class] .rlx-client--suoyi img{max-height:29px}
html body[class] .rlx-client--weishengda img{max-height:28px}
html body[class] .rlx-client--daying img{max-height:28px}
html body[class] .rlx-client--shangpai img{max-height:28px}
html body[class] .rlx-client--harmon img{max-height:28px}
html body[class] .rlx-client--bingkun img{max-height:28px}
html body[class] .rlx-client--weisheng img{max-height:28px}

/* ── 17. 首页「最新洞察」 ──────────────────────────────────────────── */
html body[class] .rlx-latest .rlx-latest-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--s2);margin-top:var(--s1);
}
html body[class] .rlx-latest .rlx-latest-item{
  display:flex;flex-direction:column;gap:12px;
  padding:var(--s3) var(--s4);
  background:var(--c-white);border:1px solid var(--c-line);border-radius:var(--c-r-card);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
html body[class] .rlx-latest .rlx-latest-item:hover{
  transform:translateY(-2px);box-shadow:var(--c-shadow);border-color:var(--c-line-2);
}
html body[class] .rlx-latest .rlx-latest-item .d{
  font-size:12.5px;letter-spacing:.06em;color:var(--c-ink-4);font-variant-numeric:tabular-nums;
}
html body[class] .rlx-latest .rlx-latest-item .t{
  font-size:17px;font-weight:600;color:var(--c-navy);line-height:1.6;
}
html body[class] .rlx-latest .rlx-latest-item:hover .t{color:var(--c-seal)}
html body[class] .rlx-latest .rlx-latest-more{margin-top:var(--s5)}
html body[class] .rlx-latest .rlx-latest-more a{
  display:inline-flex;align-items:center;min-height:44px;
  font-size:14.5px;font-weight:500;color:var(--c-navy);
  border-bottom:1px solid var(--c-line-2);padding-bottom:3px;
}
html body[class] .rlx-latest .rlx-latest-more a:hover{color:var(--c-seal);border-bottom-color:var(--c-seal)}

/* ── 18. 归档模板：/blog/ 与 /tag/ 共用一套 ─────────────────────────── */
html body[class].blog #primary,
html body[class].blog .site-content,
html body[class].blog #main,
html body[class].archive #primary,
html body[class].archive .site-content,
html body[class].archive #main{padding-top:0 !important}

html body[class].blog .rl-blog-hero,
html body[class].archive .rl-blog-hero,
html body[class].archive .page-header{
  padding:var(--s9) 0 var(--s4);
  background:var(--c-paper);
  text-align:center;
  border-bottom:1px solid var(--c-line);
}
html body[class].archive .page-header .page-title{
  font-size:clamp(26px,3vw,36px);font-weight:700;color:var(--c-deep);line-height:1.3;margin:0;
}
html body[class].blog .rl-blog-hero h1,
html body[class].archive .rl-blog-hero h1{
  font-size:clamp(28px,3.2vw,36px);font-weight:700;color:var(--c-deep);line-height:1.3;margin:0;
}
html body[class].blog .rl-blog-hero p,
html body[class].archive .rl-blog-hero p{
  max-width:680px;margin:var(--s2) auto 0;padding:0 20px;
  color:var(--c-ink-3);font-size:16px;line-height:1.75;
}

html body[class].blog .ast-container,
html body[class].archive .ast-container{
  max-width:1132px !important;padding:0 32px !important;
}
html body[class].blog #primary,
html body[class].archive #primary{
  width:100% !important;float:none !important;margin:0 !important;padding:0 !important;
}
html body[class].blog .ast-row,
html body[class].archive .ast-row{display:block !important;margin:0 !important}

/* 目录式单列：左 168px 放分类/日期，右侧标题 + 摘要 */
html body[class].blog article.ast-article-post,
html body[class].archive article.ast-article-post{
  display:block !important;position:relative;
  width:100% !important;margin:0 !important;
  padding:var(--s4) 0 var(--s4) 176px !important;
  border:0 !important;border-bottom:1px solid var(--c-line) !important;
  background:transparent !important;box-shadow:none !important;border-radius:0 !important;
}
html body[class].blog article.ast-article-post:first-child,
html body[class].archive article.ast-article-post:first-child{border-top:1px solid var(--c-line-2) !important}
html body[class].blog .ast-blog-featured-section,
html body[class].archive .ast-blog-featured-section{display:none !important}
html body[class].blog .ast-article-inner,
html body[class].blog .post-content,
html body[class].blog .ast-post-format-,
html body[class].archive .ast-article-inner,
html body[class].archive .post-content,
html body[class].archive .ast-post-format-{
  background:transparent !important;box-shadow:none !important;border:0 !important;
  padding:0 !important;margin:0 !important;
}
html body[class].blog .cat-links,
html body[class].archive .cat-links{
  position:absolute !important;left:0;top:var(--s4);width:150px;margin:0 !important;
  font-size:12.5px !important;line-height:1.8;color:var(--c-steel) !important;letter-spacing:.04em;
}
html body[class].blog .cat-links a,
html body[class].archive .cat-links a{color:var(--c-steel) !important;font-weight:400 !important}
html body[class].blog .entry-header,
html body[class].archive .entry-header{
  position:absolute !important;left:0;top:72px;width:150px;margin:0 !important;
}
html body[class].blog .entry-meta,
html body[class].archive .entry-meta{font-size:12.5px !important;color:var(--c-ink-4) !important;line-height:1.9}
html body[class].blog .entry-meta a,
html body[class].archive .entry-meta a{color:var(--c-ink-4) !important}
html body[class].blog .entry-title,
html body[class].archive .entry-title{
  margin:0 0 8px !important;font-size:clamp(19px,2.2vw,23px) !important;
  font-weight:700 !important;line-height:1.5 !important;letter-spacing:0;
}
html body[class].blog .entry-title a,
html body[class].archive .entry-title a{color:var(--c-ink-1) !important}
html body[class].blog .entry-title a:hover,
html body[class].archive .entry-title a:hover{color:var(--c-navy) !important}
html body[class].blog .ast-excerpt-container,
html body[class].archive .ast-excerpt-container{margin:0 !important}
html body[class].blog .ast-excerpt-container p,
html body[class].archive .ast-excerpt-container p{
  font-size:15px !important;color:var(--c-ink-2) !important;margin:0 !important;
  line-height:1.75;max-width:760px;
}
html body[class].blog .entry-content,
html body[class].blog .read-more,
html body[class].archive .entry-content,
html body[class].archive .read-more{display:none !important}

/* 分页 */
html body[class].blog nav.navigation.pagination,
html body[class].archive nav.navigation.pagination{border:0;margin-top:var(--s5)}
html body[class].blog .nav-links,
html body[class].archive .nav-links{
  display:flex !important;justify-content:center;gap:8px;flex-wrap:wrap;padding:var(--s5) 0 var(--s7);
}
html body[class].blog .nav-links .page-numbers,
html body[class].archive .nav-links .page-numbers{
  min-width:41px;height:41px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--c-line);border-radius:6px;color:var(--c-ink-3);font-size:15px;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
html body[class].blog .nav-links .page-numbers.current,
html body[class].archive .nav-links .page-numbers.current{
  background:var(--c-navy);border-color:var(--c-navy);color:#fff;
}
html body[class].blog .nav-links a.page-numbers:hover,
html body[class].archive .nav-links a.page-numbers:hover{
  border-color:var(--c-navy);color:var(--c-navy);
}
html body[class].blog .ast-pagination .next.page-numbers,
html body[class].blog .nav-links .next.page-numbers{
  width:auto;padding:0 18px;letter-spacing:.06em;
}

/* ── 19. 文章页（与 rl-article.css 共存） ───────────────────────────────
   原则：正文内部排版必须与现网 v2 逐值一致，不做任何“顺手优化”。
   所以本段是 design-v2.css L615–735 的逐值移植，只做了三件事：
     ① var(--navy) 等旧变量已在本文件 §0 别名到 v3 值 → 颜色随 token 变；
     ② --serif / --sans 已指向无衬线 → 标题字族变，这两项是任务书允许的；
     ③ 卡片圆角用 v3 的 --c-r-card（6px → 12px），只影响外框，不影响文字度量。
   字号 / 行高 / 内外边距 / 字重 / 字距 一律与 v2 相同，`verify_article.py` 可逐项比对。 */
html body[class].single-post{background:var(--c-paper) !important}
/* 文章页沿用 v2 的基础字号与正文色（16px / #24303F）。
   理由：文章页的正文排版由 rl-article.css 决定，它没有逐元素写死字号的地方靠继承，
   而 v3 把全站正文阶梯提到 17px —— 那会把目录、面包屑等未写死字号的元素一并改变。
   复核要求文章页与现网逐值一致，所以本页单独保留 v2 的基准值。 */
html body[class].single-post{font-size:16px;line-height:1.85;color:#24303F}
html body[class].single-post .site-content{padding:var(--s6) 0 var(--s7) !important}
html body[class].single-post .ast-container{max-width:1180px}
html body[class].single-post .ast-separate-container .ast-article-single,
html body[class].single-post article.ast-article-single{
  background:transparent !important;padding:0 !important;border:0 !important;
}

/* 标题卡：默认四边闭合（没有完整 .rl-article 的文章，正文不在 .rl-article 里） */
html body[class].single-post .entry-header{
  margin:0 auto !important;max-width:820px;text-align:left;
  background:var(--c-white);border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
  padding:var(--s5) var(--s6) 0 !important;box-sizing:border-box;
}
/* 只有带 rlx-wrapped 的文章才与正文卡读作一张：标题卡去下边框、下方不圆角 */
html body[class].rlx-wrapped.single-post .entry-header{
  border-bottom:0;
  border-radius:var(--c-r-card) var(--c-r-card) 0 0;
}
html body[class].single-post .entry-title{
  margin:0 0 14px !important;font-size:clamp(24px,3vw,31px) !important;
  font-weight:700 !important;color:var(--c-ink-1) !important;
  line-height:1.5 !important;letter-spacing:.01em;
}
html body[class].single-post .entry-meta{
  font-size:13px !important;color:var(--c-ink-4) !important;padding-bottom:22px;
}
html body[class].single-post .entry-meta a{color:var(--c-ink-4) !important}
html body[class].single-post .entry-content{padding:0 !important;margin:0 !important}
/* 正文开头的手工空段（报告 §8.8，3 个 <p><br></p>）：
   在 v2 下它们在标题卡与正文卡之间撑出约 80px 空白，是纯编辑残留。
   这里隐藏它们 —— 这是本期唯一一处主动修改正文 DOM 渲染的地方，已列入偏离说明。 */
html body[class].single-post .entry-content > p.wp-block-paragraph:has(> br:only-child){display:none}

/* 正文卡（.rl-article）：v2 逐值移植，padding 8/56/48 与 max-width 820 决定正文行宽 */
html body[class].rlx-wrapped.single-post .rl-article{
  background:var(--c-white);border:1px solid var(--c-line);border-top:0;
  max-width:820px;margin:0 auto;padding:8px 56px 48px;
  border-radius:0 0 var(--c-r-card) var(--c-r-card);
  box-sizing:border-box;
  font-size:16.5px;line-height:2;color:#333D4B;
}
/* 非 spec 文章：正文直接挂在 .entry-content 上，外层只提供卡片外壳。
   字号、行高、颜色一律不设，继承 body.single-post 的现网值 16px / 1.85。 */
html body[class].single-post:not(.rlx-wrapped) .entry-content{
  max-width:820px;margin:16px auto 0 !important;
  background:var(--c-white);border:1px solid var(--c-line);
  border-radius:var(--c-r-card);
  padding:8px 56px 48px !important;box-sizing:border-box;
}

/* —— 以下到段尾：v2 L651–735 的逐值移植（含 !important，与 v2 一致） —— */
html body[class].single-post .rl-article p{margin:22px 0;font-size:16.5px;line-height:2;color:#333D4B}
html body[class].single-post .rl-article h2{
  font-size:21px !important;font-weight:700 !important;
  color:var(--c-deep) !important;margin:48px 0 6px !important;line-height:1.6;
  padding:0;border:0;background:none;
}
html body[class].single-post .rl-article h2::before{
  content:"";display:inline-block;width:3px;height:17px;background:var(--c-seal);
  margin-right:14px;vertical-align:-2px;
}
html body[class].single-post .rl-article h3{
  font-size:18px !important;color:var(--c-deep) !important;
  margin:32px 0 4px !important;
}
html body[class].single-post .rl-article a{
  color:var(--c-navy);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--c-line-2);
}
html body[class].single-post .rl-article a:hover{text-decoration-color:var(--c-navy)}
html body[class].single-post .rl-article blockquote{
  margin:30px 0;padding:6px 26px;border-left:3px solid var(--c-seal);
  color:var(--c-navy);font-weight:600;font-size:17.5px;
  background:none;border-radius:0;
}
html body[class].single-post .rl-article ul,
html body[class].single-post .rl-article ol{margin:22px 0;padding-left:22px}
html body[class].single-post .rl-article li{margin:8px 0;font-size:16.5px;line-height:2}
html body[class].single-post .article-intro{
  background:var(--c-soft);border-left:3px solid var(--c-navy);border-radius:0 3px 3px 0;
  margin:0 0 26px;padding:22px 26px;
}
html body[class].single-post .article-intro p{font-size:14.5px !important;line-height:1.95;color:var(--c-ink-3);margin:0}
html body[class].single-post .article-intro b,
html body[class].single-post .article-intro strong{color:var(--c-navy)}
html body[class].single-post .author-note{
  font-size:13px;color:var(--c-ink-4);padding:0 0 22px;margin:0 0 26px;
  border-bottom:1px solid var(--c-line);background:none;border-left:0;border-radius:0;
}
html body[class].single-post :is(.article-toc,.rl-article-toc){
  background:none;border:0;border-radius:0;padding:0;margin:0 0 26px;
}
html body[class].single-post :is(.article-toc,.rl-article-toc) .toc-header h4{
  font-size:13px;letter-spacing:.18em;color:var(--c-ink-4);font-weight:500;margin:0 0 10px;
}
html body[class].single-post :is(.article-toc,.rl-article-toc) ol{list-style:none;margin:0;padding:0;counter-reset:toc}
html body[class].single-post :is(.article-toc,.rl-article-toc) li{
  counter-increment:toc;padding:9px 0;border-bottom:1px dashed var(--c-line);
  font-size:14.5px;line-height:1.8;margin:0;
}
html body[class].single-post :is(.article-toc,.rl-article-toc) li::before{
  content:counter(toc) ". ";color:var(--c-ink-4);margin-right:6px;
}
/* 正文表格：宽表横向滚动 + 提示行（E33） */
html body[class].single-post .rl-table-scroll,
html body[class].single-post .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
html body[class].single-post .rl-table-hint{
  font-size:12.5px;color:var(--c-ink-4);margin:0 0 8px;letter-spacing:.02em;
}
html body[class].single-post .rn-callout,
html body[class].single-post .rl-callout{background:var(--c-soft);border-left:3px solid var(--c-navy)}
/* 文章摘要：v2 后期的期刊式眉题排版（L786–812） */
html body[class].single-post .article-intro.article-intro-plain,
html body[class].single-post .article-intro{
  background:none;border:0;border-radius:0;
  padding:0;margin:6px 0 0;
}
html body[class].single-post .article-intro::before{
  content:"摘 要";display:block;
  font-size:12.5px;font-weight:600;
  letter-spacing:.32em;color:var(--c-seal);margin:0 0 10px;
}
html body[class].single-post .article-intro p{
  font-size:15.5px !important;line-height:2.05;color:var(--c-steel);margin:0 0 26px !important;
}
html body[class].single-post .article-intro p:last-child{margin-bottom:26px !important}
html body[class].single-post .article-intro p b,
html body[class].single-post .article-intro p strong{color:var(--c-navy)}
html body[class].single-post :is(.article-toc,.rl-article-toc) .toc-header p{
  font-size:12.5px;color:var(--c-ink-4);margin:0 0 12px;
}
/* 目录链接：压过 rl-article.css 的全局 a 规则（v2 L805） */
html body[class].single-post :is(.article-toc,.rl-article-toc) a{
  color:var(--c-steel) !important;text-decoration:none;border-bottom:0;
}
html body[class].single-post .article-toc a:hover{color:var(--c-navy) !important}
/* 文末：相关服务 / 相关文章 */
html body[class].single-post .rl-related-services,
html body[class].single-post .rl-related-posts{
  background:none !important;border:0 !important;border-top:1px solid var(--c-line) !important;
  border-radius:0 !important;padding:26px 0 0 !important;margin:40px 0 0 !important;
}
html body[class].single-post .rl-rs-title,
html body[class].single-post .rl-rp-title{
  font-size:13px !important;letter-spacing:.18em;color:var(--c-ink-4) !important;
  font-weight:500 !important;margin:0 0 14px !important;
}
html body[class].single-post .rl-rs-list{display:block !important}
html body[class].single-post .rl-rs-item{
  background:none !important;border:0 !important;border-bottom:1px dashed var(--c-line) !important;
  border-radius:0 !important;padding:12px 0 !important;box-shadow:none !important;
}
html body[class].single-post .rl-rs-link{font-size:15.5px !important;color:var(--c-navy) !important}
html body[class].single-post .rl-rs-desc{font-size:13px !important;color:var(--c-ink-4) !important;margin:4px 0 0 !important}
html body[class].single-post .rl-rp-item{
  font-size:15px !important;border-bottom:1px dashed var(--c-line);padding:9px 0;
}
html body[class].single-post .rl-rp-item a{color:var(--c-navy)}

/* ── 19b. 文章正文的对比度补丁（⚠ 第 4 步重做文章排版时删除本段） ────────
   这三行不是 v3 引入的问题：`.breadcrumb span` 与 `.article-footer p` 的颜色
   都来自 rl-article.css，与 v2 时期完全相同。本步不改 rl-article.css，
   但又要求「交付前不留下低于 4.5:1 的项」，因此在这里点状覆盖。
   axe 实测：面包屑分隔符 2.25:1 / 1.48:1，文末说明 4.01:1 → 修正后均 ≥ 5.3:1。
   第 4 步重做文章排版时，这三行连同 rl-article.css 一起处理，删掉即可。 */
html body[class].single-post .breadcrumb span{color:var(--c-ink-4) !important}
html body[class].single-post .article-footer p{color:var(--c-ink-3) !important}

/* /blog/ 由 rl-header.php 通过 astra_header_before 自己挂载了统一页头，
   所以必须把 Astra 原生页头藏掉，否则会出现两道页头（实测已复现）。
   标签归档与文章页没有挂载统一页头，保留 Astra 原生页头，用下一段换 token。 */
html body[class].blog header.site-header,
html body[class].blog #masthead{display:none !important}

/* ── 20. 非 rlx-page 页面的 Astra 原生页头（目前为 /tag/、文章页） ──
   这三类页面不经过 rl-header.php 的页头（rl_is_header_mounted_view 只覆盖
   is_page(2729)/is_home()），i.e. 它们用的是 Astra 自带 header。为了让全站页头看起来是同一套，
   这里给原生页头换 v3 token（不改 DOM、不改 PHP）。如果上线时改用统一页头，本段可整段删除。 */
html body[class] .site-header{
  background:var(--c-paper) !important;
  border-bottom:1px solid var(--c-line);
  box-shadow:none;
}
html body[class] .ast-primary-header-bar{border-bottom:0}
html body[class] .site-title,
html body[class] .site-title a{
  font-family:var(--c-sans) !important;
  font-weight:700 !important;
  font-size:19px !important;
  letter-spacing:.02em;
  color:var(--c-navy) !important;
}
html body[class] .main-header-menu a,
html body[class] .ast-builder-menu a{
  font-size:14.5px !important;
  color:var(--c-ink-3) !important;
  font-weight:400 !important;
}
html body[class] .main-header-menu a:hover{color:var(--c-navy) !important}
html body[class] .main-header-menu li.current-menu-item > a{color:var(--c-navy) !important;font-weight:700 !important}
html body[class] .ast-mobile-menu-trigger-minimal,
html body[class] .main-header-menu-toggle{color:var(--c-navy) !important}

/* 页头 logo 尺寸（2026-11-28 修复）
   现象：2026-11-23 换成 726×450 的 rl-logo-121x75-transparent.png 后，Astra 原生页头按原图
   尺寸渲染（桌面页头高 419px、移动端 183px），且 .ast-logo-title-inline 把站点名挤到 logo 右侧，
   折成「然立咨/询」（390 下竖排 4 行）。
   处理：只按 rlx-header 的既有尺寸收口（img 高 58px，图内留白后视觉约 30px），并隐藏重复的
   文字站点名（logo 图里已含「然立咨询」，alt 仍是品牌名）。不改 DOM、不改 PHP。 */
html body[class] #masthead .custom-logo-link{display:inline-flex;align-items:center}
html body[class] #masthead img.custom-logo{
  width:auto !important;
  height:58px !important;
  max-width:100% !important;
}
html body[class] #masthead .ast-site-title-wrap{display:none !important}
html body[class] #masthead .site-branding .site-logo-img{padding-right:0 !important}
/* 同批修复：rl-article.css 里有一条裸 `a{border-bottom:1px solid #93c5fd}`（文章内链样式），
   它同时命中了页头 —— logo 和每个菜单项都被画上淡蓝下划线（菜单 a 高 81px，
   下划线被拉成横贯菜单区的一条长线）。只在页头范围内关掉，正文 / 目录 / CTA 链接不受影响。 */
html body[class] #masthead a,
html body[class] #masthead a:hover{border-bottom:0 !important;text-decoration:none !important}

/* ── 21. 动效与偏好 ─────────────────────────────────────────────────── */
/* 注：scroll-behavior 已上提到第 1 节（放 html 上），这里只管动效降级 */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html body[class] *,
  html body[class] *::before,
  html body[class] *::after{
    transition:none !important;
    animation:none !important;
  }
}
/* 锚点落位避开 sticky 页头 */
html body[class] #contact,
html body[class] .rlx-sec[id],
html body[class] .rlx-hero[id]{scroll-margin-top:88px}

/* ── 22. 响应式 ─────────────────────────────────────────────────────── */
@media(max-width:1139px){
  :root{--s9:88px;--s8:80px}
  html body[class] .rlx-clients-set{grid-template-columns:repeat(4,1fr)}
  html body[class] .rlx-journey{grid-template-columns:repeat(5,1fr)}
}
@media(max-width:960px){
  html body[class] .rlx-wrap{padding-left:24px;padding-right:24px}
  html body[class] .rlx-clauses,
  html body[class] .rlx-proof{grid-template-columns:1fr;gap:var(--s2)}
  html body[class] .rlx-col{display:block}
  html body[class] .rlx-split{grid-template-columns:1fr;gap:var(--s3)}
  html body[class] .rlx-fit{grid-template-columns:1fr}
  html body[class] .rlx-cols{grid-template-columns:1fr}
  html body[class] .rlx-founder{grid-template-columns:1fr;gap:var(--s4)}
  html body[class] .rlx-founder .ph{max-width:200px}
  html body[class] .rlx-cred{grid-template-columns:1fr;gap:6px;padding:16px 0}
  html body[class] .rlx-journey{display:block;position:relative;padding-left:0}
  html body[class] .rlx-journey::before{
    left:8px;right:auto;top:0;bottom:8px;width:1px;height:auto;
  }
  html body[class] .rlx-j{margin:0 0 var(--s4);padding-left:36px}
  html body[class] .rlx-j .dot{position:absolute;left:0;top:2px;margin:0}
  html body[class] .rlx-latest .rlx-latest-grid{grid-template-columns:1fr}
  html body[class] .rlx-duo{grid-template-columns:1fr}
  html body[class] .rlx-pay{grid-template-columns:1fr}
}
@media(max-width:767px){
  :root{--s9:64px;--s8:56px;--s7:48px;--s6:40px}
  html body[class]{font-size:16px}
  html body[class].rlx-page :where(p){font-size:16px}
  html body[class] .rlx-wrap{padding-left:20px;padding-right:20px}
  html body[class] .rlx-header .rlx-head-in{padding:0 20px;height:64px}
  html body[class] .rlx-hero{padding:var(--s6) 0 var(--s7)}
  html body[class] .rlx-hero .rlx-deck{font-size:16.5px}
  html body[class] .rlx-head .sub{font-size:15.5px}
  html body[class] .rlx-ledger{grid-template-columns:1fr 1fr;gap:10px}
  html body[class] .rlx-ledger .n{font-size:24px}
  html body[class] .rlx-ledger .l{font-size:12.5px}
  html body[class] .rlx-proof .c{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
  html body[class] .rlx-proof .n{font-size:21px}
  html body[class] .rlx-proof .l{margin-top:0;text-align:right;font-size:12.5px}
  html body[class] .rlx-clauses{grid-template-columns:1fr}
  html body[class] .rlx-btn{width:100%;justify-content:center}
  html body[class] .rlx-card{padding:var(--s3)}
  html body[class] .rlx-menu-block{padding:var(--s2) 18px var(--s3)}
  html body[class] table.rlx-menu{min-width:560px;font-size:13.5px}
  html body[class] table.rlx-menu th,
  html body[class] table.rlx-menu td{padding:13px 14px 13px 2px}
  html body[class] .rlx-table-hint{display:block}
  html body[class] .rlx-quote{padding:var(--s4) var(--s3)}
  html body[class] .rlx-quote p{font-size:18px}
  html body[class] .rlx-cta.rl-contact{padding:var(--s8) 0 var(--s7)}
  html body[class] .rlx-cta.rl-contact .ch{flex-direction:column;gap:10px}
  html body[class] .rlx-qrs{flex-direction:column;align-items:center;gap:14px;margin-top:var(--s4)}
  html body[class] .rlx-qr{width:min(100%,300px);padding:20px 18px 22px}
  html body[class] .rlx-qr img,
  html body[class] .rlx-qr .ph{width:180px;height:180px}
  html body[class] .rlx-clients-set{grid-template-columns:repeat(4,1fr)}
  html body[class] .rlx-client{height:78px;padding:12px 8px}
  html body[class] .rlx-client img{max-height:26px !important}
  html body[class] .rlx-tl{padding-left:28px}
  html body[class] .rlx-ph::before{left:-28px;width:14px;height:14px}
  html body[class] .rlx-band{grid-template-columns:1fr}
  html body[class] .rlx-tags{gap:8px 14px}
  html body[class] .rlx-foot-band .rlx-foot{justify-content:flex-start;font-size:12px}
  html body[class] .rlx-beian{gap:10px}
  /* 归档页移动端：取消左栏绝对定位，改上下结构 */
  html body[class].blog article.ast-article-post,
  html body[class].archive article.ast-article-post{
    padding:var(--s4) 0 !important;
  }
  html body[class].blog .cat-links,
  html body[class].archive .cat-links{
    position:static !important;width:auto;margin:0 0 6px !important;
  }
  html body[class].blog .entry-header,
  html body[class].archive .entry-header{
    position:static !important;width:auto;margin:0 0 8px !important;
    display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;
  }
  html body[class].blog .entry-meta,
  html body[class].archive .entry-meta{margin:0}
  /* 文章页移动端：v2 在 760px 以下把正文卡 padding 收到 28/22/32，
     不回退就会把 390px 的阅读区挤成 217px，表格全被撑高（实测踩到）。 */
  html body[class].single-post .entry-header{padding:var(--s3) 22px var(--s3) !important}
  html body[class].single-post .entry-title{font-size:24px !important}
  html body[class].rlx-wrapped.single-post .rl-article{
    padding:28px 22px 32px !important;
  }
  /* 非 spec 外卡：水平内边距归零，让 2726/3005 的正文宽度回到现网；
     左右边框一并归零并取消圆角，避免 0 内边距时文字贴住可见边线，
     也消除 1px 边框造成的 2px 宽度偏差。桌面端外卡不变。 */
  html body[class].single-post:not(.rlx-wrapped) .entry-content{
    padding:28px 0 32px !important;
    border-left-width:0;
    border-right-width:0;
    border-radius:0;
    margin-top:16px !important;
  }
}
@media(hover:none){
  html body[class] .rlx-latest .rlx-latest-item:hover{transform:none;box-shadow:none}
}
