       /* ===== 全局重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: #f9f8f8;
            color: #333;
            line-height: 1.6;
            -webkit-text-size-adjust: 100%;
            overflow-x: hidden;
            width: 100%;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            padding: 0 20px;
        }
        a {
    text-decoration: none;
}
/* ===== 顶部导航 ===== */
.top-wrapper {
    background-color: #1a2634;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== Logo 区域 ===== */
.top-wrapper .logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.top-wrapper .logo-area span {
    font-weight: bold;
    font-size: 20px;
    color: #ffd700;
    letter-spacing: 1px;
}

/* ===== 导航链接 ===== */
.top-wrapper .nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.top-wrapper .nav-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease, border-bottom 0.25s ease;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.top-wrapper .nav-links li a:hover {
    color: #fff;
    border-bottom-color: #ffd700;
}

.top-wrapper .nav-links li a.active {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* ============================================================
   移动端适配 - 导航在右边
   ============================================================ */

/* ===== 平板 (≤768px) ===== */
@media (max-width: 768px) {
    .top-wrapper {
        padding: 8px 0;
    }

    .top-wrapper .container {
        flex-direction: row;           /* 保持水平排列 */
        justify-content: space-between; /* Logo 在左，导航在右 */
        align-items: center;
        padding: 0 12px;
        gap: 6px;
    }

    .top-wrapper .logo-area span {
        font-size: 17px;
    }

    .top-wrapper .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;    /* 导航靠右对齐 */
        flex: 1;                      /* 占据剩余空间 */
    }

    .top-wrapper .nav-links li a {
        font-size: 13px;
        padding: 3px 0;
        white-space: nowrap;
    }
}

/* ===== 小手机 (≤480px) ===== */
@media (max-width: 480px) {
    .top-wrapper {
        padding: 6px 0;
    }

    .top-wrapper .container {
        padding: 0 8px;
        gap: 4px;
    }

    .top-wrapper .logo-area span {
        font-size: 14px;
    }

    .top-wrapper .nav-links {
        gap: 6px;
    }

    .top-wrapper .nav-links li a {
        font-size: 12px;
        padding: 2px 0;
    }
}

/* ===== 超小屏 (≤380px) ===== */
@media (max-width: 380px) {
    .top-wrapper .logo-area span {
        font-size: 13px;
    }

    .top-wrapper .nav-links {
        gap: 4px;
    }

    .top-wrapper .nav-links li a {
        font-size: 11px;
    }
}
        /* ===== 轮播图 ===== */
        #slider {position: relative;
    width: 100%;
    height: 60vh;
    min-height: 300px;
    max-height: 600px;
    overflow: hidden;
    background-color: #1a2634;
        }

        .slide {
            display: none;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .dot-container {
            position: absolute;
            bottom: 12px;
            width: 100%;
            text-align: center;
            z-index: 10;
        }

        .dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 5px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active {
            background: #ffd700;
        }

        /* ===== 当前位置 ===== */
        .position {
            font-size: 14px;
            color: #888;
            padding: 10px 0 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .position a {
            color: #17a2b8;
        }

        /* ===== 分类导航 ===== */
        .sonsort {
            background: #e5ebeb;
            padding: 12px 16px;
            border-radius: 8px;
            margin: 10px 0 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .sonsort .btn {
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 13px;
            border: none;
            cursor: pointer;
            transition: 0.2s;
            white-space: nowrap;
            text-decoration: none;
            display: inline-block;
        }

        .sonsort .btn-light {
            background: #fff;
            color: #555;
        }

        .sonsort .btn-info {
            background: #17a2b8;
            color: #fff;
        }

        .sonsort .btn-light:hover {
            background: #e0e0e0;
        }

        .sonsort .badge {
            background: rgba(0, 0, 0, 0.1);
            padding: 1px 8px;
            border-radius: 12px;
            font-size: 11px;
            margin-left: 4px;
        }

        .sonsort .btn-info .badge {
            background: rgba(255, 255, 255, 0.25);
            color: #fff;
        }

        /* ===== 文章内容 ===== */
        .content-title {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            color: #1a2634;
            margin-top: 30px;
            padding: 0 10px;
            word-break: break-word;
        }

        .content-meta {
            text-align: center;
            color: #999;
            font-size: 14px;
            padding: 10px 0 20px;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
        }

        .content-body {
            background: #ffffff;
            padding: 30px 35px;
            border-radius: 8px;
            margin-top: 20px;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        .content-body p {
            margin-bottom: 12px;
            font-size: 15px;
            line-height: 1.8;
        }

        /* ===== 图片区域 - 修复缩略图切换 ===== */
        .overview {
            margin: 20px auto;
        }

        .overview .img {
            max-width: 100%;
        }

        .overview .img .imgContainer {
            border-radius: 8px;
            overflow: hidden;
            background: #f0f0f0;
            text-align: center;
            cursor: pointer;
            position: relative;
        }

        .overview .img .imgContainer img {
            width: 100%;
            max-width: 600px;
            height: auto;
            max-height: 500px;
            object-fit: contain;
            transition: transform 0.3s;
            display: block;
            margin: 0 auto;
        }

        .overview .img .imgContainer img:hover {
            transform: scale(1.02);
        }

        .thumbnail-img {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    width: 60%;           /* 宽度50% */
    margin-left: auto;    /* 居中 */
    margin-right: auto;   /* 居中 */
    overflow: hidden;
}

        .thumbnail-img .pre,
        .thumbnail-img .next {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #f0f0f0;
            text-align: center;
            line-height: 30px;
            cursor: pointer;
            font-size: 28px;
            color: #333;
            flex-shrink: 0;
            user-select: none;
            transition: background 0.2s;
        }

        .thumbnail-img .pre:hover,
        .thumbnail-img .next:hover {
            background: #e0e0e0;
        }

        .thumbnail-img .smallpic {
            display: flex;
            gap: 8px;
            list-style: none;
            padding: 0;
            margin: 0;
            overflow-x: auto;
            flex: 1;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
        }

        .thumbnail-img .smallpic::-webkit-scrollbar {
            height: 4px;
        }

        .thumbnail-img .smallpic::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 4px;
        }

        .thumbnail-img .smallpic li {
            flex-shrink: 0;
            width: 80px;
            height: 60px;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s;
        }

        .thumbnail-img .smallpic li.selected {
            border-color: #ff8c00;
        }

        .thumbnail-img .smallpic li img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ===== 模态框 ===== */
        .modal {
            display: none;
            position: fixed;
            z-index: 10001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .modal.open {
            display: flex !important;
        }

        .modal .modal-content {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .modal .close {
            position: fixed;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 40px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
            z-index: 10002;
            background: none;
            border: none;
        }

        .modal .close:hover {
            color: #ffd700;
            transform: rotate(90deg);
        }

        /* ===== 页脚 ===== */
        .footer-wrapper {
            background: #1a2634;
            color: #ccc;
            padding: 20px 0 10px;
            margin-top: 20px;
            width: 100%;
        }

        .footer-wrapper .f-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 12px;
            gap: 10px;
        }

        .footer-wrapper .f-title ul {
            display: flex;
            list-style: none;
            gap: 12px;
            flex-wrap: wrap;
        }

        .footer-wrapper .f-title ul li a {
            color: #ccc;
            font-size: 12px;
            transition: color 0.2s;
            white-space: nowrap;
        }

        .footer-wrapper .f-title ul li a:hover {
            color: #fff;
        }

        .footer-wrapper .f-title .pull-right {
            font-size: 12px;
            color: #aaa;
            max-width: 380px;
            text-align: right;
        }

        .footer-wrapper .bottom {
            text-align: center;
            font-size: 11px;
            color: #888;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* ============================================================
           客服悬浮按钮
           ============================================================ */
        .float-btn {
            position: fixed;
            bottom: 28px;
            right: 20px;
            z-index: 9999;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2771e3 0%, #57f5e6 100%);
            color: #fff;
            border: none;
            box-shadow: 0 8px 32px rgba(39, 113, 227, 0.45);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: floatPulse 2.5s ease-in-out infinite;
        }

        .float-btn:hover {
            transform: scale(1.08) rotate(-5deg);
        }
        .float-btn:active {
            transform: scale(0.92);
        }

        .float-btn svg {
            stroke: #fff;
        }

        .float-bubble {
            position: fixed;
            bottom: 104px;
            right: 20px;
            z-index: 9998;
            background: rgba(26, 38, 52, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            color: #fff;
            padding: 10px 18px;
            border-radius: 16px;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.3px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
            opacity: 0;
            transform: translateY(16px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            pointer-events: none;
        }

        .float-bubble.show {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .float-bubble::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 22px;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid rgba(26, 38, 52, 0.92);
        }

        .float-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            animation: modalFade 0.35s ease;
        }

        .float-modal.open {
            display: flex;
        }

        .float-modal-content {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 36px 30px 28px;
            max-width: 340px;
            width: 90%;
            text-align: center;
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
            animation: modalSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .float-modal-close {
            position: absolute;
            top: 14px;
            right: 18px;
            background: rgba(0, 0, 0, 0.05);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-size: 18px;
            color: #999;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .float-modal-close:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #333;
        }

        .float-modal-icon svg {
            stroke: #319d63;
        }

        .float-modal-icon {
            margin-bottom: 8px;
            display: block;
            animation: bounce 2s infinite;
        }

        .float-modal-content h3 {
            font-size: 22px;
            color: #1a2634;
            margin-bottom: 4px;
        }

        .float-modal-content p {
            color: #999;
            font-size: 14px;
            margin-bottom: 18px;
        }

        .float-modal-phone {
            font-size: 26px;
            font-weight: 700;
            color: #029c4a;
            padding: 14px 0;
            border-top: 2px dashed #f0f0f0;
            border-bottom: 2px dashed #f0f0f0;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .float-modal-call {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #03b752 0%, #0052d9 100%);
            color: #fff;
            border: none;
            border-radius: 14px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .float-modal-call:active {
            transform: scale(0.96);
        }

        .float-modal-tip {
            font-size: 12px;
            color: #bbb;
            margin-top: 14px;
        }

        /* ===== 动画 ===== */
        @keyframes floatPulse {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        @keyframes modalFade {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes modalSlide {
            from { opacity: 0; transform: translateY(40px) scale(0.92); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* ============================================================
           移动端适配
           ============================================================ */

        @media (max-width: 600px) {
            .container {
                padding: 0 12px;
            }

            #slider {
                height: 20vh;
        min-height: 150px;
            }

            .position {
                font-size: 12px;
                padding: 8px 0 4px;
                white-space: normal;
                word-break: break-all;
            }

            .sonsort {
                padding: 8px 12px;
                gap: 6px;
            }

            .sonsort .btn {
                font-size: 12px;
                padding: 3px 10px;
            }

            .content-title {
                font-size: 20px;
                margin-top: 20px;
            }

            .content-meta {
                font-size: 13px;
                padding: 8px 0 16px;
            }

            .content-body {
                padding: 16px 18px;
                margin-top: 12px;
            }

            .content-body p {
                font-size: 14px;
            }

            .overview .img .imgContainer img {
                max-height: 350px;
            }

            .thumbnail-img .smallpic li {
                width: 60px;
                height: 45px;
            }

            .thumbnail-img .pre,
            .thumbnail-img .next {
                width: 26px;
                height: 26px;
                line-height: 26px;
                font-size: 24px;
            }

            .modal .close {
                top: 16px;
                right: 20px;
                font-size: 32px;
            }

            .modal .modal-content {
                max-width: 95%;
                max-height: 85%;
            }

            .float-btn {
                width: 52px;
                height: 52px;
                bottom: 20px;
                right: 16px;
            }

            .float-btn svg {
                width: 24px;
                height: 24px;
            }

            .float-bubble {
                font-size: 12px;
                padding: 8px 14px;
                bottom: 86px;
                right: 16px;
            }

            .float-modal-content {
                padding: 28px 20px 24px;
            }

            .float-modal-phone {
                font-size: 22px;
            }

            .float-modal-call {
                font-size: 16px;
                padding: 12px;
            }

            .footer-wrapper .f-title {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .footer-wrapper .f-title .pull-right {
                text-align: left;
                max-width: 100%;
                font-size: 11px;
            }

            .footer-wrapper .f-title ul {
                gap: 8px;
            }

            .footer-wrapper .f-title ul li a {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 8px;
            }

            #slider {
                aspect-ratio: 16 / 11;
                max-height: 220px;
            }

            .dot {
                width: 8px;
                height: 8px;
                margin: 0 4px;
            }

            .sonsort .btn {
                font-size: 11px;
                padding: 2px 8px;
            }

            .content-title {
                font-size: 17px;
                margin-top: 16px;
            }

            .content-meta {
                font-size: 12px;
            }

            .content-body {
                padding: 12px 14px;
            }

            .content-body p {
                font-size: 13px;
            }

            .overview .img .imgContainer img {
                max-height: 280px;
            }

            .thumbnail-img .smallpic li {
                width: 50px;
                height: 38px;
            }

            .thumbnail-img .pre,
            .thumbnail-img .next {
                width: 22px;
                height: 22px;
                line-height: 22px;
                font-size: 24px;
            }

            .float-btn {
                width: 46px;
                height: 46px;
                bottom: 16px;
                right: 12px;
            }

            .float-btn svg {
                width: 20px;
                height: 20px;
            }

            .float-bubble {
                font-size: 11px;
                padding: 6px 12px;
                bottom: 76px;
                right: 12px;
            }

            .float-modal-content {
                padding: 24px 16px 20px;
                max-width: 300px;
            }

            .float-modal-phone {
                font-size: 20px;
                padding: 10px 0;
            }

            .float-modal-call {
                font-size: 15px;
                padding: 10px;
                border-radius: 10px;
            }

            .float-modal-content h3 {
                font-size: 18px;
            }

            .float-modal-icon svg {
                width: 40px;
                height: 40px;
            }

            .modal .close {
                top: 12px;
                right: 16px;
                font-size: 28px;
            }

            .footer-wrapper .f-title ul li a {
                font-size: 10px;
            }

            .footer-wrapper .bottom {
                font-size: 10px;
            }
        }

        @media (max-width: 380px) {
            .sonsort .btn {
                font-size: 10px;
                padding: 2px 6px;
            }

            .content-title {
                font-size: 15px;
            }

            .content-body {
                padding: 10px 12px;
            }

            .content-body p {
                font-size: 12px;
            }

            .overview .img .imgContainer img {
                max-height: 220px;
            }

            .thumbnail-img .smallpic li {
                width: 42px;
                height: 32px;
            }

            .float-btn {
                width: 42px;
                height: 42px;
                bottom: 14px;
                right: 10px;
            }

            .float-btn svg {
                width: 18px;
                height: 18px;
            }

            .float-modal-content {
                padding: 20px 14px 16px;
                max-width: 280px;
            }

            .float-modal-phone {
                font-size: 18px;
            }

            .float-modal-call {
                font-size: 14px;
                padding: 8px;
            }
        }

        /* ===== 仅PC显示客服 ===== */
        @media (min-width: 769px) {
            .float-btn,
            .float-bubble {
                display: none !important;
            }
        }
}