/* ---------- 设计 tokens ---------- */
        .bs-hero { background: linear-gradient(180deg, #ffffff 0%, #f2f6fc 55%, #F3F8FF 100%); }
        .bs-body-sec { background: #ffffff; }
        .bs-recent-sec { background: #fff; }

        /* ---------- 三栏布局：分享+目录 / 正文 / 报价卡片（PC 端内容区最小 1600px，避免内容被挤压） ---------- */
        .bs-layout { display: grid; gap: 2.5rem; }
        .bs-layout > * { min-width: 0; }
        @media (min-width: 1024px) {
            /* 仅本区块突破全站 .container 的 1280px !important 上限：1024~1599px 笔记本自适应填满，不出横向滚动 */
            .bs-body-sec > .container { max-width: none !important; padding-left: 1.5rem; padding-right: 1.5rem; }
            .bs-layout { grid-template-columns: 220px minmax(0, 1fr) 256px; justify-content: center; gap: 2.5rem; }
        }
        @media (min-width: 1600px) {
            /* ≥1600px PC：内容区最小 1600px，中栏 960px 保证行长可读，整组居中 */
            .bs-body-sec > .container { padding-left: 0; padding-right: 0; }
            .bs-layout { grid-template-columns: 220px minmax(0, 880px) 336px; gap: 3.5rem; min-width: 1600px; }
        }
        .bs-sticky { position: sticky; top: 130px; }

        /* ---------- 头部主图栅格：左文 5 / 右图 6（对齐参考站比例，主图更宽） ---------- */
        .bs-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
        @media (min-width: 1024px) {
            .bs-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; }
        }

        /* ---------- 面包屑 / 标题区 ---------- */
        .bs-crumb { font-size: .875rem; color: #8a8f98; }
        .bs-crumb a { color: #4b5563; transition: color .2s; }
        .bs-crumb a:hover { color: #2477dd; }
        .bs-crumb .sep { width: .75rem; height: .75rem; color: #b3b9c2; }
        .bs-crumb .cur { color: #161616; }
        .bs-tag { color: #2477dd; }
        .bs-h1 { font-size: 32px; font-weight: 700; line-height: 1.25; color: #161616; margin: 0; }
        @media (min-width: 640px) { .bs-h1 { font-size: 40px; } }
        .bs-avatar { height: 48px; width: 48px; border-radius: 9999px; border: 2px solid #fff; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
        .bs-meta-div { width: 1px; height: 40px; background: #cedffb; }
        .bs-pub { font-size: 15px; color: #4b5563; }
        .bs-hero-img { display: block; width: 100%; border-radius: .75rem; box-shadow: 0 16px 44px rgba(242,246,252,.18); }

        /* ---------- 左侧分享 + 目录 ---------- */
        .bs-share-title { font-size: 1.125rem; font-weight: 700; color: #161616; }
        .bs-share-icons a { color: #161616; transition: color .2s; }
        .bs-share-icons a:hover { color: #2477dd; }
        .bs-toc-div { border-top: 1px solid #e8e8eb; }
        .bs-toc-title { font-size: 1.125rem; font-weight: 700; color: #161616; }
        .bs-toc-list { margin-top: 1.25rem; }
        .bs-toc-list li { margin-bottom: .875rem; }
        .bs-toc-list li:last-child { margin-bottom: 0; }
        .bs-toc-link { display: block; font-size: 15px; line-height: 1.35; color: #4b5563; transition: color .2s; }
        .bs-toc-link:hover { color: #2477dd; }
        .bs-toc-link.active { color: #2477dd; font-weight: 600; }
        .bs-mobile-toc { margin-bottom: 2.5rem; border: 1px solid #cedffb; background: #fff; border-radius: .5rem; padding: 1.25rem; }
        .bs-toc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; font-size: 1rem; font-weight: 700; color: #161616; background: transparent; }

        /* ---------- 正文排版 ---------- */
        .bs-article { min-width: 0; color: #4b5563; font-size: 1.125rem; line-height: 1.8; }
        .bs-article p { margin: 0 0 1.15rem; }
        .bs-article strong { color: #161616; font-weight: 700; }
        .bs-h2 { color: #161616; font-weight: 600; font-size: 26px; line-height: 1.3; margin: 3rem 0 1.25rem; scroll-margin-top: 8rem; }
        @media (min-width: 640px) { .bs-h2 { font-size: 32px; } }
        .bs-link { color: #2477dd; font-weight: 500; }
        .bs-link:hover { text-decoration: underline; }
        .bs-link-bold { color: #2477dd; font-weight: 700; }
        .bs-link-bold:hover { text-decoration: underline; }
        .bs-ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.25rem; }
        .bs-ul li { margin-bottom: .75rem; }
        .bs-ul li::marker { color: #2477dd; }
        .bs-fig { background: #fff; border-radius: .5rem; box-shadow: 0 4px 20px rgba(22,22,22,.1); padding: .75rem; margin: 2rem 0; }
        .bs-fig img { width: 100%; }
        @media (min-width: 640px) { .bs-fig { padding: 1.25rem; } }

        /* ---------- Markdown 导入的老文章：无 class 的元素排版 ----------
           设计稿的正文样式全部挂在 class 上（.bs-h2 / .bs-ul / .bs-link），而导入的文章
           存的是最朴素的 HTML：裸 <h2> <h3> <ul> <blockquote> <a>。Tailwind 的 preflight
           又把 h1~h6 重置成 font-size/font-weight: inherit、ul 重置成 list-style:none、
           a 继承颜色，所以这些页面里标题和正文一模一样、列表没有圆点、链接看不出来。
           这里按设计稿已有的 token 补齐元素级样式，只作用于文章正文容器 .bs-article，
           设计稿自己的 class 结构（.bs-h2 等）不受影响。 */
        .bs-article h2 { color: #161616; font-weight: 600; font-size: 26px; line-height: 1.3; margin: 3rem 0 1.25rem; scroll-margin-top: 8rem; }
        .bs-article h3 { color: #161616; font-weight: 600; font-size: 21px; line-height: 1.35; margin: 2.25rem 0 1rem; scroll-margin-top: 8rem; }
        .bs-article h4 { color: #161616; font-weight: 700; font-size: 18px; line-height: 1.4; margin: 1.75rem 0 .75rem; scroll-margin-top: 8rem; }
        @media (min-width: 640px) { .bs-article h2 { font-size: 32px; } .bs-article h3 { font-size: 24px; } .bs-article h4 { font-size: 19px; } }
        .bs-article h2 + p, .bs-article h3 + p, .bs-article h4 + p { margin-top: 0; }
        /* LuckyWP 目录把锚点写成标题内层的 <span id>，直接跳链时同样要给吸顶 header 留出空间 */
        .bs-article h2 > span[id], .bs-article h3 > span[id], .bs-article h4 > span[id] { scroll-margin-top: 8rem; display: block; }

        .bs-article ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.25rem; }
        .bs-article ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.25rem; }
        .bs-article li { margin-bottom: .75rem; }
        .bs-article ul > li::marker { color: #2477dd; }
        .bs-article ol > li::marker { color: #2477dd; font-weight: 600; }
        .bs-article ul ul { list-style: circle; margin-top: .75rem; }
        .bs-article li > p { margin: 0 0 .5rem; }
        .bs-article li > p:last-child { margin-bottom: 0; }

        .bs-article a { color: #2477dd; font-weight: 500; text-decoration: none; }
        .bs-article a:hover { color: #2477dd; text-decoration: underline; }
        .bs-article em { font-style: italic; }
        .bs-article strong { color: #161616; }

        .bs-article blockquote { margin: 1.75rem 0; padding: 1.1rem 1.35rem; background: #f2f6fc; border-left: 3px solid #2477dd; border-radius: 10px; color: #37414f; font-size: 1.0625rem; line-height: 1.75; }
        .bs-article blockquote p:last-child { margin-bottom: 0; }

        .bs-article hr { height: 1px; border: 0; background: #e8e8eb; margin: 2.5rem 0; }
        .bs-article figure { margin: 2rem 0; }
        .bs-article figcaption { margin-top: .6rem; font-size: 14px; line-height: 1.5; color: #6b7280; text-align: center; }
        .bs-article img { max-width: 100%; height: auto; }
        .bs-article code { padding: .12rem .38rem; border: 1px solid #e4e9f2; border-radius: 6px; background: #f1f5fb; color: #161616; font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
        .bs-article pre { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #e8e8eb; border-radius: 10px; background: #f8fafd; overflow-x: auto; font-size: 14px; line-height: 1.7; }
        .bs-article pre code { padding: 0; border: 0; background: none; font-size: inherit; }

        /* ---------- 数据表 ----------
           Markdown 导入的老文章里表格是裸 <table>（无 class、无 wrapper），而 Tailwind 的
           preflight 已经把 table 重置成 border-collapse:collapse 且没有任何边框，所以表格
           渲染成"无边框、无内边距"的一坨文字。inc/content.php 的 idealpro_markdown_tables()
           会在渲染时补上 .bs-table-wrap / .bs-table，样式统一走这里，老文章和新设计稿共用一套。

           圆角要求 border-collapse: separate —— collapse 模式下单元格 border-radius 一律失效。
           wrapper 的 overflow-x:auto 同时负责把表头的方角裁成圆角，窄屏也仍可横向滚动。 */
        /* 数值取自全站已有的表格规范（assets/css/ip-service-pages.css 的 main section table：
           12px 圆角 + #2477dd 表头 + #e8ecf2 分隔线 + 同色阴影），保证文章表格和服务页表格是一套。 */
        .bs-table-wrap { overflow-x: auto; margin: 2rem 0; background: #fff; border: 1px solid #e8ecf2; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 42, 84, .04); }
        .bs-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; text-align: left; }
        .bs-table-lg { min-width: 640px; }
        .bs-table caption { padding: .9rem 1.25rem 0; font-size: 14px; color: #6b7280; text-align: left; caption-side: top; }
        .bs-table th { background: #2477dd; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.45; padding: 12px 16px; text-align: left; vertical-align: middle; }
        .bs-table th + th { border-left: 1px solid rgba(255, 255, 255, .22); }
        .bs-table td { padding: 12px 16px; font-size: 16px; line-height: 1.6; color: #333; background: #fff; border-top: 1px solid #e8ecf2; text-align: left; vertical-align: top; }
        .bs-table td + td { border-left: 1px solid #eef1f5; }
        .bs-table tbody tr:first-child td { border-top: 0; }
        .bs-table tbody tr:nth-child(even) td { background: #fafbfc; }
        .bs-table tbody tr:hover td { background: #f0f5fc; }
        .bs-table tbody strong { color: #161616; }
        .bs-table tfoot td { border-top: 1px solid #e8ecf2; font-size: 14px; color: #4b5563; background: #fafbfc; }
        @media (max-width: 639px) {
            .bs-table-wrap { margin: 1.5rem 0; border-radius: 12px; }
            .bs-table { min-width: 520px; }
            .bs-table th { padding: 10px 12px; font-size: 14px; }
            .bs-table td { padding: 10px 12px; font-size: 15px; }
        }

        /* ---------- FAQ 手风琴 ---------- */
        .bs-faq-item { border: 1px solid #e2e3e8; border-radius: .375rem; background: #fff; }
        .bs-faq-item + .bs-faq-item { margin-top: 1rem; }
        .bs-faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; text-align: left; font-weight: 700; font-size: 17px; line-height: 1.4; color: #252740; background: transparent; transition: color .2s; }
        .bs-faq-q:hover { color: #2477dd; }
        .bs-faq-q svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; transition: transform .3s ease; }
        .bs-faq-answer { overflow: hidden; transition: max-height .35s ease, opacity .25s ease; }
        .bs-faq-a-inner { padding: 0 1.25rem 1.25rem; font-size: 16px; line-height: 1.75rem; color: rgba(38,38,38,.8); }
        @media (min-width: 640px) {
            .bs-faq-q { font-size: 18px; padding: 1.25rem 1.5rem; }
            .bs-faq-a-inner { padding: 0 1.5rem 1.25rem; }
        }

        /* ---------- 作者卡 ---------- */
        .bs-author { margin-top: 4rem; background: #cedffb; padding: 1.5rem; box-shadow: 0 4px 16px rgba(22,22,22,.12); }
        .bs-author-img { width: 9rem; height: 9rem; border-radius: 9999px; object-fit: cover; margin: 0 auto; flex-shrink: 0; }
        .bs-author-label { font-size: 1.125rem; color: #161616; }
        .bs-author-name { margin-top: .25rem; font-size: 1.25rem; font-weight: 700; color: #161616; }
        .bs-author-bio { margin-top: .75rem; font-size: 16px; line-height: 1.75rem; color: rgba(38,38,38,.85); }
        @media (min-width: 640px) {
            .bs-author { padding: 2.5rem; }
            .bs-author-img { width: 10rem; height: 10rem; margin: 0; }
        }

        /* ---------- 右侧 / 移动端报价 CTA ---------- */
        /* 右侧浮动报价卡：对齐参考站——白底大圆角+红色顶边，轮播图全宽贴边 */
        .bs-cta { background: #fff; border-radius: 28px; border-top: 5px solid #2477dd; box-shadow: 0 10px 40px rgba(22,22,22,.14); padding: 0; text-align: center; overflow: hidden; }
        .bs-cta-inner { padding: 1.5rem 1.25rem 1.75rem; }
        .bs-cta-brand-head { padding: 1.5rem 1.25rem 0; }
        .bs-cta-brand { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.5px; color: #161616; white-space: nowrap; }
        .bs-cta-brand-sub { margin-top: .375rem; font-size: 1rem; font-weight: 700; color: #2477dd; }
        /* 工厂车间轮播（统一使用 Swiper） */
        .bs-cta-visual { position: relative; margin-top: 1.25rem; height: 190px; overflow: hidden; background: #eef0f2; }
        .bs-cta-gallery { position: relative; width: 100%; height: 100%; overflow: hidden; z-index: 1; }
        .bs-cta-gallery .swiper-wrapper { height: 100%; }
        .bs-cta-gallery .swiper-slide { height: 100%; overflow: hidden; }
        .bs-cta-gallery .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
        .bs-cta-dots { bottom: 8px; line-height: 0; z-index: 3; }
        .bs-cta-dots.swiper-pagination { text-align: center; }
        .bs-cta-dots .swiper-pagination-bullet { width: 7px !important; height: 7px !important; margin: 0 3px !important; padding: 0; border: 0 !important; border-radius: 50%; background: rgba(255,255,255,.55) !important; opacity: 1 !important; transition: width .25s ease, background .25s ease; cursor: pointer; }
        .bs-cta-dots .swiper-pagination-bullet::after { content: none !important; }
        .bs-cta-dots .swiper-pagination-bullet:hover { background: rgba(255,255,255,.85) !important; }
        .bs-cta-dots .swiper-pagination-bullet-active { width: 18px !important; height: 7px !important; margin: 0 3px !important; border: 0 !important; border-radius: 4px; background: #fff !important; }
        .bs-cta-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); color: #2477dd; cursor: pointer; transition: opacity .2s; z-index: 4; }
        .bs-cta-arrow:hover { opacity: .85; }
        .bs-cta-arrow svg { width: 18px; height: 18px; }
        .bs-cta-prev { left: 10px; }
        .bs-cta-next { right: 10px; }
        .bs-cta-title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #161616; }
        .bs-cta-sub { margin-top: .625rem; font-size: .875rem; line-height: 1.5; color: #6b7280; }
        /* 统计：白底阴影小卡 + 竖分隔线（对齐参考站） */
        .bs-cta-stats { margin: 1.25rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,.11); }
        .bs-cta-stats > div { padding: .875rem .25rem; border-left: 1px solid #e5e7eb; }
        .bs-cta-stats > div:first-child { border-left: 0; }
        .bs-cta-num { font-size: 20px; font-weight: 700; line-height: 1; color: #2477dd; }
        .bs-cta-lbl { margin-top: .375rem; font-size: .75rem; line-height: 1.25; color: #6b7280; }
        .bs-cta-btn { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: .5rem; background: #2477dd; color: #fff; font-weight: 700; font-size: 1rem; padding: 1rem 1.25rem; border-radius: .375rem; transition: background .2s; }
        .bs-cta-btn:hover { background: #d84631; }
        .bs-cta-trusted { margin-top: 1.25rem; font-size: .875rem; color: #9ca3af; }
        .bs-cta-badges { margin-top: .625rem; display: flex; align-items: center; justify-content: center; gap: .625rem; font-size: .8125rem; color: #6b7280; white-space: nowrap; }
        .bs-cta-badges > span { gap: .25rem !important; }
        .bs-cta-badges svg { width: 13px; height: 13px; flex: none; color: #4caf50; }
        .bs-cta-mobile { margin-top: 2rem; }
        .bs-cta-mobile .bs-cta-visual { height: 240px; }
        @media (min-width: 1024px) { .bs-cta-mobile { display: none; } }

        /* ---------- 相关文章标题 ---------- */
        .bs-recent-title { font-size: 28px; font-weight: 700; color: #161616; }
        @media (min-width: 640px) { .bs-recent-title { font-size: 32px; } }
        .bs-recent-bar { display: inline-block; width: 3rem; height: 4px; background: #2477dd; margin-left: .75rem; vertical-align: middle; }

/* Case detail facts strip (single-case_study.php). Written out rather than left to
   utility classes: styles.css is a compiled bundle and only ships utilities the
   approved design actually used. */
.bs-facts{display:grid;gap:12px;margin-top:22px}
@media (min-width:640px){.bs-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bs-fact{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:14px 16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.bs-fact-k{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8a97ad}
.bs-fact-v{margin-top:5px;font-size:15px;line-height:1.45;color:#131f39}
.bs-case-hero-rule{height:1px;background:linear-gradient(90deg,rgba(10,77,218,.28),rgba(10,77,218,0));margin-top:26px}
