/* ===================== 全局基础样式 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", SimHei, "PingFang SC", sans-serif;
}

html,
body {
    height: 100%;
    background: #f9fafb;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* 👉 新增：手机端独立按钮容器 - PC端彻底隐藏 */
.mobile-bottom-btn {
    display: none !important;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

a {
    text-decoration: none;
    color: #333;
}

/* PC端强制隐藏滚动条 + 标题样式固定 */
@media (min-width: 768px) {

    html,
    body {
        overflow: hidden;
    }

    .h1-title {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 24px !important;
    }


}

/* ===================== 整体布局容器 ===================== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    height: 100vh;
    padding: 20px 15px;
    gap: 20px;
    box-sizing: border-box;
}

/* 主内容区：flex布局拆分左侧正文+右侧导航 */
.main-content {
    flex: 1;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    gap: 20px;
    overflow: hidden;
}

/* ===================== 左侧正文区域 ===================== */
.main-left {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* 主标题+产品介绍容器（sticky固定在顶部 - PC端保留） */
.title-intro-container {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
    margin-bottom: 15px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
    padding: 0 5px;
}

/* ===================== 正文内容默认样式（无class也生效） ===================== */
/* 主标题默认样式（h1） */
h1 {
    font-size: 24px;
    font-weight: 700;
    color: #77B0FF;
    padding-bottom: 10px;
    border-bottom: 2px solid #0070b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

/* 二级标题默认样式（h2） */
h2 {
    font-size: 22px;
    font-weight: 600;
    color: #77B0FF;
    margin: 40px 0 20px;
    padding-left: 10px;
    border-left: 4px solid #77B0FF;
}

/* 三级标题默认样式（h3） */
h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
}

/* 四级标题默认样式（h4） */
h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

/* 五级标题默认样式（h5）+ 保留.h5-title类 */
h5,
.h5-title {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    display: inline;
}

/* 段落默认样式（p） */
p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 无序列表默认样式（ul） */
ul {
    margin: 15px 0 15px 20px;
    list-style: disc;
}

/* 有序列表 */
ol {
    margin: 15px 0 15px 20px;
    list-style: decimal;
}

/* 列表项通用样式 */
ul li,
ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 嵌套列表样式 */
ul ul {
    list-style: circle;
    margin: 8px 0 8px 20px;
}

ol ol {
    list-style: lower-alpha;
    margin: 8px 0 8px 20px;
}

ul ol,
ol ul {
    margin: 8px 0 8px 20px;
}
/* 强调文本默认样式（p、ul、表格内的strong） */
p strong,
ul strong,
.table-content strong {
    color: #A0C0B0;
    font-weight: 700;
    padding: 0 4px;
    border-radius: 2px;
}

/* 保留原有的class样式（兼容已有HTML，可按需删除） */
.h2-subtitle {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    margin-left: 2px;
    vertical-align: middle;
}

.p-content {
    margin-bottom: 15px;
    text-align: justify;
}

.ul-content {
    margin: 15px 0 15px 20px;
    list-style: disc;
}

.ul-content li {
    margin-bottom: 8px;
}

.p-content strong,
.ul-content strong,
.table-content strong {
    color: #A0C0B0;
    font-weight: 700;
    padding: 0 4px;
    border-radius: 2px;
}

/* 链接标签样式 */
a, .link-tag {
    color: #66b1ff;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

a:hover, .link-tag:hover {
    color: #0958d9;
    text-decoration-thickness: 1.5px;
}

/* 图片容器样式 */
.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 0 10px;
}

.content-img {
    height: 200px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* ===================== 下载按钮组容器 ===================== */
.btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 产品介绍行：右侧与按钮齐平 */
.product-intro-main {
    font-size: 16px;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 产品介绍文本（防换行 - PC端） */
.intro-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.intro-empty {
    width: 280px;
}

/* 正文滚动区域 - 核心：保留flex:1，确保PC端正常滚动 */
.content-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

/* 隐藏滚动条 */
.content-scroll::-webkit-scrollbar {
    display: none;
}

/* ===================== 下载按钮样式 ===================== */
@keyframes breath {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* 通用链接按钮 */
.link-btn {
    text-align: center;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.link-btn:hover {
    background: #0056b3;
}

.link-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 下载按钮 */
.download-btn {
    padding: 8px 20px;
    background: #0070b8;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 112, 184, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    opacity: 1 !important;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 112, 184, 0.15);
}

/* 按钮呼吸动画 */
.download-btn i,
.download-btn {
    animation: breath 2s ease-in-out infinite !important;
}

.download-btn i {
    font-size: 22px;
    transition: transform 0.3s;
}

.download-btn:hover {
    background: #00558c;
    box-shadow: 0 2px 6px rgba(0, 112, 184, 0.2);
    transform: translateY(-1px);
}

.download-tag {
    font-size: 22px;
    font-weight: 600;
    color: #0070b8;
    margin-left: 2px;
    vertical-align: middle;
    transition: color 0.3s;
}

.download-tag:hover {
    color: #00558c;
}

/* ===================== 右侧导航样式 ===================== */
.product-brief {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding: 5px 0;
    border-left: 3px solid #007bff;
    padding-left: 10px;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-link {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.guide-link.active {
    color: #0070b8;
    font-weight: 600;
}

.guide-link:hover {
    color: #0070b8;
}

/* ===================== 手机端适配（保留原有功能） ===================== */
@media (max-width: 768px) {

    /* 1. 根节点：保留基础设置 */
    html,
    body {
        min-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

    }

    /* 2. 全局容器：保留纵向布局 */
    .container {
        width: 100vw !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        flex-direction: column !important;
    }

    /* 3. 隐藏右侧导航 */
    .right-guide {
        display: none !important;
    }

    /* 4. 主内容区：取消高度限制，避免影响页眉 */
    .main-content {
        width: 100% !important;
        height: auto !important;
        gap: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    /* 5. 左侧正文区：核心修改！增加padding-top，给【页眉+标题】留足空间 */
    .main-left {
        flex: 1 !important;
        padding: 30px !important;
        padding-top: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* 6. 标题容器：核心修改！top值改为页眉的高度（假设页眉高60px，可按需调整） */
    .title-intro-container {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
        padding: 15px 15px 0 15px !important;
        background: #fff !important;
        z-index: 9998 !important;
    }

    /* 7. 主标题：保留居中，限制宽度和正文对齐（兼容h1和.h1-title） */
    h1,
    .h1-title {
        font-size: 24px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #0070b8 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 0 !important;
        position: relative !important;
        z-index: 999 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }

    /* 隐藏PC端按钮 */
    h1.h1-title .pc-btn-group {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* 8. 产品介绍：保留居中 */
    .product-intro-main {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        font-size: 14px !important;
        padding: 5px 0 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }

    .intro-text {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    .intro-empty {
        display: none !important;
    }

    /* 9. 正文滚动区：保留底部安全距离 */
    .content-scroll {
        flex: 1 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 100px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 10. 手机端底部按钮：提高z-index确保在最上层 */
    .mobile-bottom-btn {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 10000 !important;
        background: #fff !important;
        padding: 10px 15px !important;
        margin: 0 !important;
    }

    /* 手机端按钮组：纵向布局 */
    .mobile-bottom-btn .btn-group {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* 11. 手机端按钮样式 */
    .mobile-bottom-btn .download-btn {
        padding: 12px 0 !important;
        font-size: 16px !important;
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
        animation: none !important;
    }

    .mobile-bottom-btn .download-btn i {
        font-size: 18px !important;
    }

    .mobile-bottom-btn .download-tag {
        font-size: 14px !important;
        color: #666 !important;
        margin-top: 6px !important;
        text-align: center !important;
    }

    /* 12. 正文微调（兼容p和.p-content） */
    p,
    .p-content {
        text-align: left !important;
        line-height: 1.9 !important;
        font-size: 16px !important;
    }

    .table-content {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    .content-img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
    }

    #mobile-copy-btn {
        padding: 10px 24px !important;
        font-size: 16px !important;
        animation: none !important;
        width: 100% !important;
    }

    .mobile-bottom-btn .download-tag {
        font-size: 14px !important;
        color: #333 !important;
    }

    .h3-link-tag {
        display: none;
    }
}

/* SEO友好的面包屑样式（兼容语义化标签） */
/* ===================== SEO友好的面包屑样式（修复分隔符对齐） ===================== */
/* ===================== SEO友好的面包屑样式（最小改动修复版） ===================== */
.breadcrumb {
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
    color: #666;
    display: block;
    line-height: 1.5;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.breadcrumb .separator {
    color: #999;
    font-weight: 400;
    margin: 0 0.25rem;
    user-select: none;
    vertical-align: middle;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0070b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb .current {
    color: #0070b8;
    font-weight: 500;
}

/* 【核心修复】只加这几行，强制覆盖全局样式 */
.breadcrumb ul,
.breadcrumb ul li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.breadcrumb ul li {
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85rem;
        margin: 0 0 1.5rem 0;
    }

    .breadcrumb ul {
        gap: 0.3rem;
    }
}