/* 资源详情页：三语博客文章 blog/<slug>/ 与客户故事 customer-story.html 共用。
 * 与列表页 resource-hub.css 同一套视觉：浅蓝渐变头部、品牌蓝强调、白底描边卡片、浅色 CTA 卡，不使用深色蒙版。
 * 结构：居中头部（面包屑 → 标题 → 导语 → 信息行）→ 宽幅封面 →（客户故事：指标卡）→ 居中正文 + 左侧目录 → 相关内容。
 * 注意：subpage-system 的 body.subpage :where(p, li / h1, h2, h3) 特异性为 (0,1,1)，本文件对应规则都写成「元素 + 类」或带父级。
 */
body.resource-detail {
  --rh-ink: #101828; --rh-text: #344054; --rh-muted: #5f6b7c; --rh-subtle: #667085;
  --rh-line: #e6ebf3; --rh-line-strong: #cdd7e8; --rh-soft: #f4f6f9; --rh-canvas: #f7f9fc;
  --rh-blue: #315dff; --rh-blue-deep: #2449dc; --rh-blue-soft: #edf2ff;
  --rd-sticky: 108px;
}
html:has(body.resource-detail), body.subpage.resource-detail { background: var(--rh-canvas); }
/* subpage.css 给 html, body 设了 overflow-x: hidden !important，body 会变成不滚动的滚动容器，position: sticky 失效（目录不固定）。
 * clip 同样裁掉横向溢出，但不生成滚动容器；不支持 clip 的旧浏览器会回退到 hidden，只是目录不固定。 */
html:has(body.resource-detail), body.subpage.resource-detail { overflow-x: clip !important; }
.rd-main { background: #fff; color: var(--rh-ink); }
/* subpage.css 旧规则 .customer-story-detail-page main 带 !important 灰底，这里同样用 !important 覆盖 */
body.resource-detail main.rd-main { background: #fff !important; color: var(--rh-ink) !important; }
.rd-main [hidden] { display: none !important; }
/* design-tokens 在窄屏给子页面所有链接加了 nowrap，正文与标题里的链接需要正常换行 */
.rd-main a { white-space: normal; }
.rd-shell { width: min(1180px, calc(100% - 2 * var(--shx-gutter, 24px))); margin-inline: auto; }

/* ---------- 头部 ---------- */
.rd-hero { padding: 64px 0 0; background: linear-gradient(180deg, #edf2fd 0%, #f5f8fe 46%, #fff 84%); }
/* 客户案例页的导航固定在顶部：72px 导航高度 + 56px 首屏留白，避免面包屑紧贴导航下沿。 */
body.customer-story-detail-page .rd-hero { padding-top: 128px; }
.rd-hero-inner { width: min(860px, calc(100% - 2 * var(--shx-gutter, 24px))); margin: 0 auto; text-align: center; }
.rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 0 0 28px; color: var(--rh-subtle); font-size: 14px; }
.rd-crumbs a { color: var(--rh-muted); text-decoration: none; transition: color .15s ease; }
.rd-crumbs a:hover { color: var(--rh-blue); }
.rd-brand-logo { display: block; width: auto; height: var(--logo-h, 34px); max-width: 180px; margin: 0 auto 24px; object-fit: contain; }
strong.rd-brand-logo { height: auto; color: var(--rh-ink); font-size: 20px; font-weight: 700; }
h1.rd-title { margin: 0; color: var(--rh-ink); font-size: 42px; font-weight: 700; line-height: 1.32; letter-spacing: -.03em; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
h1.rd-title .bl-seg { display: inline-block; }
/* 客户故事标题是 30–60 字的长句：按中文常规断行（避头尾）并均衡各行长度，避免标点或两三个字单独成行 */
h1.rd-title.is-sentence { font-size: 38px; line-height: 1.36; word-break: normal; line-break: strict; }
p.rd-dek { max-width: 760px; margin: 20px auto 0; color: var(--rh-muted); font-size: 18px; line-height: 1.8; text-wrap: pretty; }
p.rd-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 24px 0 0; color: var(--rh-subtle); font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.rd-meta > * + *::before { content: '·'; margin: 0 10px; color: #c7cedb; }
.rd-meta a { color: var(--rh-blue); font-weight: 600; text-decoration: none; }
.rd-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 0; }

/* 中文客户案例首屏：编辑式左右分栏，成果数据直接融入场景图，避免悬浮数据卡。 */
@media (min-width: 1100px) {
  body.case-hero-image-stats .rd-hero {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(360px, 500px);
    column-gap: clamp(40px, 4vw, 64px);
    align-items: start;
    justify-content: center;
    padding: 128px var(--shx-gutter, 24px) 0;
  }
  body.case-hero-image-stats .rd-hero-inner {
    width: auto;
    margin: 0;
    text-align: left;
  }
  body.case-hero-image-stats .rd-crumbs {
    justify-content: flex-start;
    margin-bottom: 32px;
  }
  body.case-hero-image-stats .rd-brand-logo {
    margin: 0 0 28px;
  }
  body.case-hero-image-stats h1.rd-title.is-sentence {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  body.case-hero-image-stats p.rd-dek {
    max-width: 590px;
    margin-left: 0;
    font-size: 17px;
    line-height: 1.78;
  }
  body.case-hero-image-stats p.rd-meta,
  body.case-hero-image-stats .rd-actions {
    justify-content: flex-start;
  }
  body.case-hero-image-stats p.rd-meta { margin-top: 20px; }
  body.case-hero-image-stats .rd-actions { margin-top: 26px; }
  body.case-hero-image-stats .rd-visual-proof {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 52px 0 0;
    overflow: hidden;
    border-radius: 22px;
  }
  body.case-hero-image-stats .rd-cover {
    width: 100%;
    margin: 0;
    border-radius: inherit;
  }
  body.case-hero-image-stats .rd-cover.is-wide { aspect-ratio: 4 / 3; }
  body.case-hero-image-stats .rd-stats {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 70px 26px 22px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(8, 14, 26, 0) 0%, rgba(8, 14, 26, .82) 72%, rgba(8, 14, 26, .92) 100%);
    box-shadow: none;
  }
  body.case-hero-image-stats .rd-stats > div {
    padding: 0;
    border: 0;
  }
  body.case-hero-image-stats .rd-stats > div + div {
    padding-left: 0;
    border-left: 0;
  }
  body.case-hero-image-stats .rd-stats > div:nth-child(n) { text-align: center; }
  body.case-hero-image-stats .rd-stats b {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.035em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .2);
  }
  body.case-hero-image-stats .rd-stats span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 500;
  }
}

@media (max-width: 1099px) {
  body.case-hero-image-stats .rd-visual-proof {
    position: relative;
    width: min(1080px, calc(100% - 2 * var(--shx-gutter, 24px)));
    margin: 48px auto 0;
    overflow: hidden;
    border-radius: 24px;
  }
  body.case-hero-image-stats .rd-cover {
    width: 100%;
    margin: 0;
    border-radius: inherit;
  }
  body.case-hero-image-stats .rd-stats {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px 12px 18px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(8, 14, 26, 0) 0%, rgba(8, 14, 26, .86) 76%, rgba(8, 14, 26, .94) 100%);
    box-shadow: none;
  }
  body.case-hero-image-stats .rd-stats > div {
    padding: 0 6px;
    border: 0;
    text-align: center;
  }
  body.case-hero-image-stats .rd-stats > div + div { border-left: 0; }
  body.case-hero-image-stats .rd-stats b { color: #fff; font-size: 24px; }
  body.case-hero-image-stats .rd-stats span { margin-top: 5px; color: rgba(255, 255, 255, .76); font-size: 11px; }
}

body.case-hero-image-stats .rd-stats:has(> div:only-child) { grid-template-columns: 1fr; }
body.case-hero-image-stats .rd-stats:has(> div:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }


/* 按钮：演示类按钮带 shulex-demo-cta（埋点 + 站内统一品牌蓝），其余为描边 */
.rd-main a.rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 99px; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease; }
.rd-main a.rd-btn-primary { background: var(--rh-blue); color: #fff; }
.rd-main a.rd-btn-ghost { border-color: var(--rh-line-strong); background: #fff; color: var(--rh-ink); }
.rd-main a.rd-btn-ghost:hover { border-color: var(--rh-blue); color: var(--rh-blue-deep); }
.rd-main a.rd-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 封面与指标 ---------- */
.rd-cover { position: relative; width: min(1080px, calc(100% - 2 * var(--shx-gutter, 24px))); margin: 48px auto 0; overflow: hidden; border-radius: 24px; background: var(--rh-soft); aspect-ratio: 16 / 9; }
.rd-cover.is-wide { aspect-ratio: 2 / 1; }
.rd-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 指标卡宽度随指标数量变化：1 个指标时不会撑成空荡的长条 */
.rd-stats { position: relative; z-index: 1; display: grid; grid-auto-columns: minmax(220px, max-content); grid-auto-flow: column; width: fit-content; max-width: min(880px, calc(100% - 2 * var(--shx-gutter, 24px) - 64px)); margin: -56px auto 0; padding: 28px 12px; border: 1px solid var(--rh-line); border-radius: 20px; background: #fff; box-shadow: 0 28px 56px -32px rgba(16, 24, 40, .28); }
.rd-stats > div { min-width: 0; padding: 0 20px; text-align: center; }
.rd-stats > div + div { border-left: 1px solid var(--rh-line); }
.rd-stats b { display: block; color: var(--rh-blue); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rd-stats span { display: block; margin-top: 10px; color: var(--rh-muted); font-size: 14px; line-height: 1.5; }

/* ---------- 正文区：居中正文 + 左侧目录（宽屏） ---------- */
.rd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); column-gap: 48px; padding: 72px var(--shx-gutter, 24px) 104px; }
.rd-toc { grid-column: 1; grid-row: 1 / span 2; justify-self: end; align-self: start; position: sticky; top: var(--rd-sticky); width: min(220px, 100%); max-height: calc(100vh - var(--rd-sticky) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.rd-toc > p { margin: 0 0 12px; color: var(--rh-ink); font-size: 14px; font-weight: 600; }
.rd-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; border-left: 1px solid var(--rh-line); list-style: none; }
.rd-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--rh-muted); font-size: 13px; line-height: 1.6; text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.rd-toc a:hover { color: var(--rh-ink); }
.rd-toc a.is-active { border-left-color: var(--rh-blue); color: var(--rh-blue-deep); font-weight: 600; }
.rd-main a.rd-toc-back { display: inline-flex; margin-top: 22px; color: var(--rh-muted); font-size: 13px; text-decoration: none; }
.rd-main a.rd-toc-back:hover { color: var(--rh-blue); }
.rd-toc-mobile { display: none; grid-column: 2; grid-row: 1; margin: 0 0 32px; border: 1px solid var(--rh-line); border-radius: 14px; background: var(--rh-canvas); }
.rd-toc-mobile > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: var(--rh-ink); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.rd-toc-mobile > summary::-webkit-details-marker { display: none; }
.rd-toc-mobile > summary::after { content: ''; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--rh-subtle); border-bottom: 2px solid var(--rh-subtle); transform: rotate(45deg); transition: transform .2s ease; }
.rd-toc-mobile[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.rd-toc-mobile ol { display: grid; margin: 0; padding: 0 18px 10px; list-style: none; }
.rd-toc-mobile a { display: block; padding: 10px 0; border-top: 1px solid var(--rh-line); color: var(--rh-muted); font-size: 14px; line-height: 1.55; text-decoration: none; }

/* ---------- 正文排版 ---------- */
.rd-prose { grid-column: 2; grid-row: 2; min-width: 0; color: var(--rh-text); font-size: 18px; line-height: 1.9; }
.rd-prose > * { margin: 0; }
.rd-prose > * + * { margin-top: 24px; }
.rd-prose p, .rd-prose li { color: var(--rh-text); line-height: 1.9; }
/* 锚点标题只留 16px 余量：styles.css 已给 html 设 scroll-padding-top（96px，窄屏 76px）为固定导航让位，两者相加。
 * 这里若写 --rd-sticky（108px），点目录后标题停在 204px，超过滚动监听的 150px 阈值，高亮会落到上一节。 */
.rd-prose h2 { margin-top: 64px; color: var(--rh-ink); font-size: 28px; font-weight: 600; line-height: 1.42; letter-spacing: -.025em; scroll-margin-top: 16px; text-wrap: pretty; }
.rd-prose h3 { margin-top: 40px; color: var(--rh-ink); font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; scroll-margin-top: 16px; }
.rd-prose h2 + *, .rd-prose h3 + * { margin-top: 16px; }
.rd-prose strong, .rd-prose b { color: var(--rh-ink); font-weight: 600; }
.rd-prose a { color: var(--rh-blue); text-decoration: underline; text-decoration-color: rgba(49, 93, 255, .35); text-underline-offset: 3px; }
.rd-prose a:hover { text-decoration-color: currentColor; }
.rd-prose ul, .rd-prose ol { display: grid; gap: 10px; padding-left: 1.3em; }
.rd-prose li::marker { color: #7b93ff; }
.rd-prose img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 16px; }
.rd-prose p:has(> img:only-child) { margin-top: 32px; }
.rd-prose blockquote { margin-top: 32px; padding: 22px 26px; border: 0; border-radius: 16px; background: #f5f8ff; box-shadow: inset 3px 0 0 var(--rh-blue); color: var(--rh-ink); font-size: 18px; line-height: 1.85; }
.rd-prose blockquote p { margin: 0; color: var(--rh-ink); }
.rd-prose blockquote > * + * { margin-top: 10px; }
.rd-prose .imageTextBox { margin-top: 32px; text-align: center; }
.rd-prose .imageDesc { margin-top: 10px; color: var(--rh-subtle); font-size: 14px; line-height: 1.6; }
.rd-prose .backgroundGray { padding: 20px 24px; border-radius: 16px; background: var(--rh-canvas); }
.rd-prose p.rd-lead { color: var(--rh-ink); font-size: 20px; line-height: 1.85; }
.rd-prose .rd-label { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 6px; background: var(--rh-blue-soft); color: var(--rh-blue-deep); font-size: 13px; font-weight: 600; line-height: 24px; vertical-align: 2px; }
.rd-prose p.rd-callout { padding: 18px 22px; border-radius: 14px; background: var(--rh-canvas); color: var(--rh-ink); font-weight: 600; }
.rd-prose .rd-source-note { padding: 16px 18px; border: 1px solid #e4d7ae; border-radius: 14px; background: #fffaf0; color: #6f5a22; font-size: 14px; line-height: 1.75; }
.rd-prose .rd-source-note a { font-weight: 600; }
.rd-prose pre { max-width: 100%; overflow-x: auto; padding: 18px 20px; border-radius: 14px; background: #101828; color: #eef3ff; font-size: 14px; line-height: 1.7; }
.rd-prose code { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .9em; }

/* 核心要点 */
.rd-prose .rd-keypoints { padding: 26px 28px; border: 1px solid #dfe7fb; border-radius: 20px; background: linear-gradient(150deg, #f8faff 0%, #eef3ff 100%); }
.rd-prose p.rd-keypoints-title { margin: 0 0 14px; color: var(--rh-ink); font-size: 18px; font-weight: 600; line-height: 1.5; }
.rd-prose .rd-keypoints ul { gap: 12px; padding: 0; list-style: none; }
.rd-prose .rd-keypoints li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.8; }
.rd-prose .rd-keypoints li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--rh-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 功能要点卡 */
.rd-prose ul.rd-points { gap: 12px; padding: 0; list-style: none; }
.rd-prose .rd-points li { padding: 18px 22px; border: 1px solid var(--rh-line); border-radius: 16px; background: #fff; font-size: 16px; line-height: 1.8; }
.rd-prose .rd-points li strong { display: block; margin-bottom: 4px; font-size: 18px; }

/* 表格 */
.rd-prose .rd-table { overflow-x: auto; border: 1px solid var(--rh-line); border-radius: 16px; }
.rd-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.rd-table th, .rd-table td { padding: 13px 16px; border-bottom: 1px solid var(--rh-line); text-align: left; vertical-align: top; }
.rd-table th { background: var(--rh-canvas); color: var(--rh-ink); font-weight: 600; white-space: nowrap; }
.rd-table td:first-child { color: var(--rh-ink); white-space: nowrap; }
.rd-table tr:last-child td { border-bottom: 0; }

/* 文中 CTA：浅色卡 */
.rd-prose .rd-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 48px; padding: 28px 32px; border: 1px solid #dde6fb; border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, #ffffff 0%, #f2f6ff 50%, #e7eeff 100%); }
.rd-cta > div:first-child { flex: 1 1 320px; min-width: 0; }
.rd-cta b { display: block; color: var(--rh-ink); font-size: 20px; font-weight: 600; line-height: 1.45; }
.rd-prose .rd-cta p { margin: 6px 0 0; color: var(--rh-muted); font-size: 15px; line-height: 1.7; }
.rd-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.rd-prose .rd-cta a.rd-link { color: var(--rh-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.rd-prose .rd-cta a.rd-link:hover { color: var(--rh-blue-deep); }

/* 常见问题 */
.rd-prose .rd-faq { margin-top: 72px; }
.rd-prose .rd-faq h2 { margin: 0 0 8px; }
.rd-prose .rd-faq-item { padding: 22px 0; border-bottom: 1px solid var(--rh-line); }
.rd-prose .rd-faq-item h3 { margin: 0; font-size: 18px; line-height: 1.6; }
.rd-prose .rd-faq-item p { margin: 8px 0 0; color: var(--rh-muted); font-size: 16px; line-height: 1.85; }

/* ---------- 相关内容 ---------- */
.rd-related { padding: 80px 0 112px; background: var(--rh-canvas); }
body.subpage main > section.rd-related { border-top: 1px solid var(--rh-line); }
.rd-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.rd-related-head h2 { margin: 0; color: var(--rh-ink); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.rd-main a.rd-related-all { color: var(--rh-blue); font-size: 15px; font-weight: 600; text-decoration: none; }
.rd-main a.rd-related-all:hover { color: var(--rh-blue-deep); }
.rd-related .bl-seg { display: inline-block; }
.rd-related-blog .rh-card-title { word-break: keep-all; overflow-wrap: anywhere; }

/* 未找到 */
.rd-missing { padding: 120px 0 140px; text-align: center; }
.rd-missing h1 { margin: 0; font-size: 36px; }
.rd-missing p { margin: 14px 0 28px; color: var(--rh-muted); }

@media (prefers-reduced-motion: reduce) {
  .rd-toc a, .rd-main a.rd-btn, .rd-toc-mobile > summary::after { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1339px) {
  .rd-body { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
  .rd-toc { display: none; }
  .rd-toc-mobile { display: block; grid-column: 1; }
  .rd-prose { grid-column: 1; }
}

@media (max-width: 1050px) {
  h1.rd-title { font-size: 36px; }
  h1.rd-title.is-sentence { font-size: 32px; }
  p.rd-dek { font-size: 17px; }
  .rd-stats b { font-size: 34px; }
  .rd-prose { font-size: 17px; }
  .rd-prose h2 { font-size: 26px; }
}

@media (max-width: 760px) {
  .rd-hero { padding-top: 40px; }
  /* 窄屏仍要为固定导航留位，同时收紧桌面端的额外留白。 */
  body.customer-story-detail-page .rd-hero { padding-top: 104px; }
  /* 手机：头部改为左对齐，长导语更易读 */
  .rd-hero-inner { text-align: left; }
  .rd-crumbs, p.rd-meta, .rd-actions { justify-content: flex-start; }
  .rd-crumbs { margin-bottom: 20px; font-size: 13px; }
  .rd-brand-logo { margin: 0 0 18px; }
  /* 手机：标题行宽短，按中文常规断行；宽屏仍优先在标点、空格处换行 */
  h1.rd-title, h1.rd-title.is-sentence { font-size: 26px; line-height: 1.42; text-wrap: balance; word-break: normal; line-break: strict; }
  h1.rd-title .bl-seg { display: inline; }
  p.rd-dek { margin-top: 14px; font-size: 16px; line-height: 1.75; }
  p.rd-meta { margin-top: 16px; font-size: 13px; }
  .rd-actions { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .rd-main a.rd-btn { width: 100%; }
  .rd-cover { margin-top: 28px; border-radius: 16px; }
  .rd-cover.is-wide { aspect-ratio: 16 / 9; }
  .rd-stats { grid-auto-columns: minmax(0, 1fr); width: calc(100% - 2 * var(--shx-gutter, 20px)); max-width: none; margin-top: 14px; padding: 18px 4px; border-radius: 16px; box-shadow: none; }
  .rd-stats > div { padding: 0 8px; }
  .rd-stats b { font-size: 24px; }
  .rd-stats span { margin-top: 6px; font-size: 12px; }
  .rd-body { padding-top: 36px; padding-bottom: 72px; }
  .rd-toc-mobile { margin-bottom: 24px; }
  .rd-prose { font-size: 16px; }
  .rd-prose > * + * { margin-top: 20px; }
  .rd-prose h2 { margin-top: 48px; font-size: 22px; }
  .rd-prose h3 { margin-top: 32px; font-size: 18px; }
  .rd-prose p.rd-lead { font-size: 17px; }
  .rd-prose blockquote { padding: 18px 20px; font-size: 16px; }
  .rd-prose .rd-keypoints { padding: 20px 18px; }
  .rd-prose .rd-keypoints li, .rd-prose .rd-points li { font-size: 15px; }
  .rd-prose .rd-cta { padding: 22px 20px; }
  .rd-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .rd-prose .rd-cta a.rd-link { text-align: center; }
  .rd-related { padding: 56px 0 80px; }
  .rd-related-head h2 { font-size: 22px; }
}

/* 底部 CTA 的描边次按钮：subpage-system 会给 .closing-section 里的链接涂蓝底，这里显式还原 */
.resource-detail .site-cta .cta-row .rh-cta-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 10px; background: transparent; color: #fff; font-size: 15px; text-decoration: none; white-space: nowrap; }
.resource-detail .site-cta .cta-row .rh-cta-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) {
  .resource-detail .site-cta .cta-row { flex-direction: column-reverse; align-items: stretch; }
}

/* 超窄屏（≤360px）：放在所有断点之后。长标题控制在 6 行内，保证均衡换行生效 */
@media (max-width: 360px) {
  h1.rd-title, h1.rd-title.is-sentence { font-size: 23px; }
}

/* ---------- 中文案例正文：克制的编辑式阅读系统 ----------
 * 只作用于中文案例页，避免影响博客及其他语言版本。
 * 正文收窄到舒适行长；标题用留白与细线分节；引用取消“大圆角卡片”。 */
body.case-hero-image-stats .rd-body {
  grid-template-columns: minmax(180px, 220px) minmax(0, 680px) minmax(180px, 220px);
  max-width: 1460px;
  margin-inline: auto;
  column-gap: 60px;
  padding-top: 88px;
}
body.case-hero-image-stats .rd-toc { width: 210px; padding-top: 4px; }
body.case-hero-image-stats .rd-toc > p { margin-bottom: 14px; font-size: 13px; letter-spacing: .08em; }
body.case-hero-image-stats .rd-toc a { padding: 7px 0 7px 14px; font-size: 12.5px; line-height: 1.55; }
body.case-hero-image-stats .rd-prose {
  color: #3f4a5b;
  font-size: 17px;
  line-height: 1.88;
  letter-spacing: .005em;
}
body.case-hero-image-stats .rd-prose > * + * { margin-top: 20px; }
body.case-hero-image-stats .rd-prose p,
body.case-hero-image-stats .rd-prose li {
  line-height: 1.88;
  text-wrap: pretty;
  word-break: normal;
  line-break: strict;
}
body.case-hero-image-stats .rd-prose h2 {
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid #e5e9f0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -.035em;
}
body.case-hero-image-stats .rd-prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.case-hero-image-stats .rd-prose h3 {
  margin-top: 44px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.45;
}
body.case-hero-image-stats .rd-prose h2 + *,
body.case-hero-image-stats .rd-prose h3 + * { margin-top: 18px; }
body.case-hero-image-stats .rd-prose blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border: 0;
  border-left: 2px solid var(--rh-blue);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1f293b;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: -.015em;
}
body.case-hero-image-stats .rd-prose blockquote p {
  color: inherit;
  line-height: inherit;
}
body.case-hero-image-stats .rd-prose .rd-quote-attribution { margin-top: 14px; color: #667085; font-size: 13px; font-weight: 600; font-style: normal; }
body.case-hero-image-stats .rd-prose .rd-inline-cta a { color: var(--rh-blue-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
body.case-hero-image-stats .rd-prose .rd-inline-cta a:hover { color: var(--rh-blue); }
body.case-hero-image-stats .rd-prose .rd-inline-cta a:focus-visible { outline: 2px solid var(--rh-blue); outline-offset: 4px; }
body.case-hero-image-stats .rd-prose p:has(> img:only-child) { margin-top: 40px; }
body.case-hero-image-stats .rd-prose img {
  border: 1px solid #e7ebf1;
  border-radius: 12px;
  background: #f7f8fa;
}
body.case-hero-image-stats .rd-prose .imageDesc { margin-top: 12px; font-size: 13px; line-height: 1.65; }
body.case-hero-image-stats .rd-prose ul,
body.case-hero-image-stats .rd-prose ol { gap: 12px; }

@media (max-width: 1339px) {
  body.case-hero-image-stats .rd-body {
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
    max-width: none;
    padding-inline: var(--shx-gutter, 24px);
  }
  body.case-hero-image-stats .rd-toc-mobile,
  body.case-hero-image-stats .rd-prose { grid-column: 1; }
}

@media (max-width: 760px) {
  body.case-hero-image-stats.case-proof-in-view :is(.global-advisor-qr, shulex-chatbot-lancher) { display: none !important; }
  body.case-hero-image-stats .rd-body { padding: 40px 20px 72px; }
  body.case-hero-image-stats .rd-prose { font-size: 16px; line-height: 1.82; letter-spacing: 0; }
  body.case-hero-image-stats .rd-prose > * + * { margin-top: 18px; }
  body.case-hero-image-stats .rd-prose p,
  body.case-hero-image-stats .rd-prose li { line-height: 1.82; }
  body.case-hero-image-stats .rd-prose h2 {
    margin-top: 52px;
    padding-top: 22px;
    font-size: 23px;
    line-height: 1.42;
  }
  body.case-hero-image-stats .rd-prose h3 { margin-top: 34px; font-size: 19px; }
  body.case-hero-image-stats .rd-prose blockquote {
    margin: 30px 0;
    padding: 4px 0 4px 20px;
    font-size: 18px;
    line-height: 1.72;
  }
  body.case-hero-image-stats .rd-prose p:has(> img:only-child) { margin-top: 28px; }
  body.case-hero-image-stats .rd-prose img { border-radius: 10px; }
}

/* ---------- 三语博客正文：知识文章的编辑式阅读系统 ----------
 * 与客户案例的叙事排版分开：博客强调持续阅读、步骤、清单、表格与代码信息。
 * 仅作用于中文博客，英文与日文详情页保持原样。 */
body.blog-post { background: #fff; }
body.blog-post .rd-hero {
  padding-top: 128px;
  background:
    radial-gradient(68% 92% at 82% 8%, rgba(84, 122, 255, .13) 0%, rgba(84, 122, 255, 0) 72%),
    linear-gradient(180deg, #edf3ff 0%, #f7f9ff 64%, #fff 100%);
}
body.blog-post .closing-section { margin-top: 0 !important; }

/* 文章尾部以“继续阅读”代替泛化的产品尾注：简单的上图下文卡片。 */
body.blog-post :is(.rd-related-reading, .rd-related-blog) {
  padding: 64px var(--shx-gutter, 24px) 88px;
  border-top: 1px solid #e3e8f0;
  background: #f7f9fc;
}
body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-shell {
  width: min(1180px, 100%);
}
body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head {
  align-items: flex-end;
  margin-bottom: 26px;
}
body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head h2 {
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}
body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head p {
  margin: 8px 0 0;
  color: var(--rh-muted);
  font-size: 15px;
  line-height: 1.7;
}
body.blog-post .rd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
body.blog-post a.rd-related-item {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dce3ed;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
body.blog-post .rd-related-media {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f1f4f8;
}
body.blog-post .rd-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
body.blog-post .rd-related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}
body.blog-post .rd-related-meta span {
  color: var(--rh-blue-deep);
  font-weight: 650;
}
body.blog-post .rd-related-item h3 {
  margin: 10px 20px 0;
  color: #182230;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.48;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
body.blog-post .rd-related-item > p {
  display: -webkit-box;
  margin: 9px 20px 0;
  overflow: hidden;
  color: #5f6b7c;
  font-size: 14px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.blog-post .rd-related-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 18px 20px 20px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}
body.blog-post .rd-related-cue > span {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid #dce3ed;
  border-radius: 50%;
  place-items: center;
  color: #344054;
  font-size: 14px;
  line-height: 1;
}
body.blog-post a.rd-related-item:hover h3,
body.blog-post a.rd-related-item:hover .rd-related-cue { color: var(--rh-blue-deep); }
body.blog-post a.rd-related-item:hover { border-color: #b8c7e5; transform: translateY(-2px); }
body.blog-post a.rd-related-item:hover .rd-related-media img { transform: scale(1.025); }

@media (max-width: 980px) {
  body.blog-post .rd-related-grid { gap: 14px; }
  body.blog-post .rd-related-item h3 { font-size: 17px; }
}
@media (min-width: 1100px) {
  body.blog-post .rd-hero {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(360px, 500px);
    column-gap: clamp(40px, 4vw, 64px);
    align-items: start;
    justify-content: center;
    padding: 128px var(--shx-gutter, 24px) 28px;
  }
  body.blog-post .rd-hero-inner {
    width: auto;
    margin: 0;
    text-align: left;
  }
  body.blog-post .rd-crumbs {
    justify-content: flex-start;
    margin-bottom: 32px;
  }
  body.blog-post h1.rd-title {
    font-size: 38px;
    line-height: 1.3;
    letter-spacing: -.035em;
    text-wrap: balance;
    word-break: normal;
    line-break: strict;
  }
  body.blog-post p.rd-dek {
    max-width: 590px;
    margin-left: 0;
    font-size: 17px;
    line-height: 1.78;
  }
  body.blog-post p.rd-meta {
    justify-content: flex-start;
    margin-top: 20px;
  }
  body.blog-post .rd-cover {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 52px 0 0;
    border-radius: 22px;
    background: #f3f5f8;
    aspect-ratio: 1.45 / 1;
  }
  body.blog-post .rd-cover img { object-fit: cover; }
}
body.blog-post .rd-body {
  grid-template-columns: 220px minmax(0, 700px) minmax(180px, 220px);
  justify-content: center;
  max-width: 1460px;
  margin-inline: auto;
  column-gap: 60px;
  padding-top: 48px;
}
body.blog-post .rd-toc { width: 220px; padding-top: 4px; }
body.blog-post .rd-toc > p {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .08em;
}
body.blog-post .rd-toc a {
  padding: 7px 0 7px 14px;
  font-size: 12.5px;
  line-height: 1.55;
}
body.blog-post .rd-prose {
  color: #3f4a5b;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .005em;
}
body.blog-post .rd-prose > * + * { margin-top: 20px; }
body.blog-post .rd-prose p,
body.blog-post .rd-prose li {
  line-height: 1.9;
  text-wrap: pretty;
  word-break: normal;
  line-break: strict;
}
body.blog-post .rd-prose > p:first-child {
  color: #202a3b;
  font-size: 19px;
  line-height: 1.82;
  letter-spacing: -.01em;
}
body.blog-post .rd-prose h2 {
  margin-top: 76px;
  padding-top: 30px;
  border-top: 1px solid #e3e8ef;
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.035em;
}
body.blog-post .rd-prose h3 {
  margin-top: 42px;
  color: #1f2937;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.02em;
}
body.blog-post .rd-prose h2 + *,
body.blog-post .rd-prose h3 + * { margin-top: 18px; }
body.blog-post .rd-prose strong,
body.blog-post .rd-prose b { color: #202a3b; font-weight: 650; }
body.blog-post .rd-prose ul,
body.blog-post .rd-prose ol {
  gap: 12px;
  padding-left: 1.35em;
}
body.blog-post .rd-prose li { padding-left: .18em; }
body.blog-post .rd-prose li::marker {
  color: #5b76e8;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
body.blog-post .rd-prose blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border: 0;
  border-left: 2px solid var(--rh-blue);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1f293b;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: -.015em;
}
body.blog-post .rd-prose blockquote p {
  color: inherit;
  line-height: inherit;
}
body.blog-post .rd-prose .rd-table {
  margin-top: 28px;
  border-color: #dfe5ee;
  border-radius: 12px;
  background: #fff;
}
body.blog-post .rd-table table {
  font-size: 14.5px;
  line-height: 1.65;
}
body.blog-post .rd-table th,
body.blog-post .rd-table td {
  padding: 14px 16px;
  border-bottom-color: #e6eaf0;
}
body.blog-post .rd-table th {
  background: #f5f7fa;
  color: #344054;
  font-size: 13px;
  letter-spacing: .02em;
}
body.blog-post .rd-table td:first-child {
  color: #1f2937;
  font-weight: 650;
}
body.blog-post .rd-prose code:not(pre code) {
  padding: .12em .4em;
  border: 1px solid #e1e6ef;
  border-radius: 5px;
  background: #f5f7fa;
  color: #334155;
  font-size: .88em;
}
body.blog-post .rd-prose pre {
  margin-top: 28px;
  border-radius: 10px;
  box-shadow: 0 16px 36px -28px rgba(16, 24, 40, .55);
}
body.blog-post .rd-prose pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
body.blog-post .rd-prose p:has(> img:only-child) { margin-top: 40px; }
body.blog-post .rd-prose img {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #f7f8fa;
}
body.blog-post .rd-prose hr {
  height: 1px;
  margin: 56px 0;
  border: 0;
  background: #e3e8ef;
}

@media (max-width: 1339px) {
  body.blog-post .rd-body {
    grid-template-columns: minmax(0, 700px);
    justify-content: center;
    max-width: none;
    padding-inline: var(--shx-gutter, 24px);
  }
  body.blog-post .rd-toc-mobile,
  body.blog-post .rd-prose { grid-column: 1; }
}

@media (max-width: 760px) {
  body.blog-post :is(.global-advisor-qr, shulex-chatbot-lancher) { display: none !important; }
  body.blog-post .rd-hero { padding-top: 104px; }
  body.blog-post .rd-body { padding: 40px 20px 72px; }
  body.blog-post .rd-prose {
    font-size: 16px;
    line-height: 1.84;
    letter-spacing: 0;
  }
  body.blog-post .rd-prose > * + * { margin-top: 18px; }
  body.blog-post .rd-prose p,
  body.blog-post .rd-prose li { line-height: 1.84; }
  body.blog-post .rd-prose > p:first-child {
    font-size: 17px;
    line-height: 1.8;
  }
  body.blog-post .rd-prose h2 {
    margin-top: 54px;
    padding-top: 22px;
    font-size: 23px;
    line-height: 1.44;
  }
  body.blog-post .rd-prose h3 {
    margin-top: 34px;
    font-size: 19px;
  }
  body.blog-post .rd-prose blockquote {
    margin: 30px 0;
    padding: 4px 0 4px 20px;
    font-size: 18px;
    line-height: 1.72;
  }
  body.blog-post .rd-prose .rd-table { margin-top: 24px; }
  body.blog-post .rd-table th,
  body.blog-post .rd-table td { padding: 12px 14px; }
  body.blog-post .rd-prose p:has(> img:only-child) { margin-top: 28px; }
  body.blog-post .rd-prose img { border-radius: 10px; }
  body.blog-post :is(.rd-related-reading, .rd-related-blog) { padding: 52px 20px 68px; }
  body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head { align-items: flex-start; margin-bottom: 26px; }
  body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head h2 { font-size: 24px; }
  body.blog-post :is(.rd-related-reading, .rd-related-blog) .rd-related-head p { font-size: 14px; }
  body.blog-post .rd-related-grid { grid-template-columns: 1fr; gap: 34px; }
  body.blog-post .rd-related-item h3 { font-size: 19px; }
}

/* Article reading area: reference layout. The existing hero, summary and cover are untouched. */
body.resource-detail main.rd-main:has(.rd-body-reference) { background: var(--rh-canvas) !important; }
body.resource-detail .rd-body.rd-body-reference {
  width: min(1360px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: 56px 0 104px;
  display: grid;
  grid-template-columns: minmax(155px, 200px) minmax(0, 760px) minmax(220px, 250px);
  justify-content: center;
  align-items: start;
  column-gap: clamp(22px, 2.3vw, 32px);
}
body.resource-detail .rd-body-reference .rd-toc {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  padding-top: 8px;
}
body.resource-detail .rd-body-reference .rd-toc > p { margin-bottom: 16px; font-size: 13px; font-weight: 750; letter-spacing: .07em; }
body.resource-detail .rd-body-reference .rd-toc a { padding: 8px 0 8px 16px; font-size: 13px; }
body.resource-detail .rd-body-reference .rd-toc a.is-active { border-left-color: var(--rh-blue); color: var(--rh-blue-deep); font-weight: 700; }
body.resource-detail .rd-body-reference .rd-prose {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 50px clamp(32px, 4vw, 58px) 68px;
  border: 1px solid #dfe5ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px -54px rgba(16, 24, 40, .5);
}
body.resource-detail .rd-body-reference .rd-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
body.resource-detail .rd-body-reference .rd-prose h2 { color: var(--rh-ink); }
body.resource-detail .rd-body-reference .rd-prose blockquote {
  margin: 32px 0;
  padding: 18px 24px;
  border: 0;
  border-left: 3px solid var(--rh-blue);
  border-radius: 0 12px 12px 0;
  background: #f6f8fc;
  box-shadow: none;
}
body.resource-detail .rd-body-reference .rd-conversion-card {
  grid-column: 3;
  grid-row: 1;
  position: sticky;
  top: var(--rd-sticky);
  min-width: 0;
  padding: 28px 24px;
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0, rgba(111, 139, 255, .38), transparent 38%), #111a34;
  color: #fff;
  box-shadow: 0 24px 60px -36px rgba(17, 26, 52, .7);
}
body.resource-detail .rd-conversion-card .rd-conversion-eyebrow { color: #9db0ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
body.resource-detail .rd-conversion-card h2 { margin: 18px 0 0; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.38; letter-spacing: -.035em; }
body.resource-detail .rd-conversion-card p { margin: 16px 0 0; color: #bac5dd; font-size: 14px; line-height: 1.72; }
body.resource-detail .rd-conversion-card ul { display: grid; gap: 11px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }
body.resource-detail .rd-conversion-card li { position: relative; padding-left: 20px; color: #dce3f2; font-size: 13px; line-height: 1.55; }
body.resource-detail .rd-conversion-card li::before { content: '✓'; position: absolute; left: 0; color: #9db0ff; font-weight: 800; }
body.resource-detail .rd-conversion-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 16px;
  border-radius: 10px;
  background: #fff;
  color: #111a34;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}
/* The shared demo-button rule is layered and important; keep this article card in that same layer. */
@layer shulex-brand {
  body.resource-detail .rd-body-reference .rd-conversion-card a.shulex-demo-cta {
    background: #fff !important;
    border-color: #fff !important;
    color: #111a34 !important;
    box-shadow: none !important;
  }
  body.resource-detail .rd-body-reference .rd-conversion-card a.shulex-demo-cta:hover {
    background: #edf2ff !important;
    border-color: #edf2ff !important;
    color: #111a34 !important;
    box-shadow: none !important;
  }
}
body.resource-detail .rd-conversion-card a:focus-visible { outline: 3px solid #a9bbff; outline-offset: 3px; }
body.resource-detail .rd-conversion-card a span { flex: none; font-size: 19px; }

@media (max-width: 1139px) {
  body.resource-detail .rd-body.rd-body-reference {
    width: min(1050px, calc(100% - 48px));
    grid-template-columns: minmax(0, 760px) minmax(220px, 250px);
  }
  body.resource-detail .rd-body-reference .rd-toc { display: none; }
  body.resource-detail .rd-body-reference .rd-toc-mobile { display: block; grid-column: 1; grid-row: 1; }
  body.resource-detail .rd-body-reference .rd-prose { grid-column: 1; grid-row: 2; }
  body.resource-detail .rd-body-reference .rd-conversion-card { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 899px) {
  body.resource-detail .rd-body.rd-body-reference { width: min(760px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr); }
  body.resource-detail .rd-body-reference .rd-conversion-card { grid-column: 1; grid-row: 3; position: static; margin-top: 24px; }
}
@media (max-width: 760px) {
  body.resource-detail .rd-body.rd-body-reference { width: calc(100% - 32px); padding: 32px 0 72px; }
  body.resource-detail .rd-body-reference .rd-prose { padding: 30px 24px 42px; border-radius: 16px; }
  body.resource-detail .rd-body-reference .rd-conversion-card { padding: 26px 23px; }
}
