/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}
body {
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 通用样式 */
.section {
    padding: 25px 0;
}
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}
    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background: #3498db;
        margin: 10px auto 0;
    }
.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
    .btn:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }
.btn-secondary {
    background: #ff7d00;
}
    .btn-secondary:hover {
        background: #004494;
    }
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
/* 导航栏样式 */
nav {
    background: #2c3e50;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}
    .logo span {
        color: #3498db;
    }
.nav-links {
    display: flex;
    gap: 30px;
}
    .nav-links a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s;
        position: relative;
    }
        .nav-links a:hover, .nav-links a.active {
            color: #3498db;
        }
            .nav-links a.active::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 100%;
                height: 2px;
                background: #3498db;
            }
/* 电脑端隐藏汉堡按钮 */
.nav-toggle {
    display: none !important;
}
/* 英雄区容器 - 铺满父容器，相对定位（作为轮播绝对定位的参考） */
.hero {
    width: 100%;
    height: 649px; /* 轮播高度，可自定义 */
    overflow: hidden;
}
/* 轮播核心容器 */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}
/* 轮播图片容器 */
.carousel-items {
    width: 100%;
    height: 100%;
}
/* 单个轮播项 */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 默认隐藏 */
    transition: opacity 0.5s ease; /* 切换过渡动画 */
}
    /* 激活的轮播项显示 */
    .carousel-item.active {
        opacity: 1;
        z-index: 1;
    }
    /* 轮播图片样式 */
    .carousel-item img {
        width: 100%;
        height: 100% !important;
        object-fit: cover; /* 保持图片比例，铺满容器 */
    }
/* 轮播文字说明 */
.carousel-caption {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2; /* 文字在图片上层 */
}
/* 左右切换箭头 */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3; /* 箭头在最上层 */
    display:none;
}
.carousel-prev {
    left: 20px;
    display: none;
}
.carousel-next {
    right: 20px;
    display: none;
}
/* 轮播指示器（小圆点） */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}
    .indicator.active {
        background: #fff; /* 激活的指示器高亮 */
    }
/* 核心优势样式（首页专用） */
.advantages {
    background: #fff;
}
.adv-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.adv-item {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
    .adv-item:hover {
        transform: translateY(-5px);
    }
.adv-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 2px;
}
.adv-item h3 {
    font-size: 21px;
    margin-bottom: 2px;
}
.adv-item p {
    color: #666;
}
/* 视频展示模块样式 */
.video-showcase {
    background: #fff;
    position: relative;
    overflow: hidden;
}
    .video-showcase::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
        z-index: 0;
    }
.video-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.video-container {
    flex: 1;
    position: relative;
    height: 380px !important; /* 固定高度，永不消失 */
    min-height: 280px !important;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .video-container video,
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important; /* 强制视频填满容器 */
        object-fit: cover;
        display: block !important; /* 强制视频显示 */
        opacity: 1 !important;
        z-index: 99 !important;
    }
.video-desc {
    flex: 1;
    padding: 20px 0;
}
    .video-desc h3 {
        font-size: 22px;
        color: #2c3e50;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    .video-desc p {
        font-size: 16px;
        color: #666;
        line-height: 1.8;
        margin-bottom: 25px;
    }
.video-features {
    list-style: none;
    margin-bottom: 30px;
}
    .video-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        color: #444;
        margin-bottom: 12px;
    }
        .video-features li i {
            color: #3498db;
            font-size: 18px;
            width: 24px;
            text-align: center;
        }
/* 产品分类样式 - 首页专用 */
.home-categorie {
    background: #fff;
}
.home-categorie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.home-categorie-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
    .home-categorie-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
.home-categorie-img {
    height: 370px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
    .home-categorie-img img {
        max-width: 100%;
        max-height: 100%;
        transition: transform 0.3s;
        border-bottom: 1px solid #f5f5f5;
    }
.home-categorie-card:hover .home-categorie-img img {
    transform: scale(1.05);
}
.home-categorie-info {
    padding: 20px;
    text-align: center;
}
    .home-categorie-info h3 {
        font-size: 21px;
        margin-bottom: 10px;
    }
    .home-categorie-info p {
        color: #666;
        margin-bottom: 10px;
    }
/* 产品列表样式 */
.products {
    background: #fff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
.product-img {
    height: 275px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
    .product-img img {
        max-width: 100%;
        max-height: 100%;
        transition: transform 0.3s;
    }
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.product-info {
    padding: 15px;
    text-align: left;
}
    .product-info h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .product-info p {
        color: #666;
        margin-bottom: 10px;
    }
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3d;
    margin-bottom: 15px;
}
/* 产品分类按钮栏样式 */
.product-categories {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0 auto 40px;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
/* 分类按钮样式 */
.category-btn {
    background: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
    .category-btn:hover {
        background: #3498db;
        color: #fff;
        border-color: #3498db;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(52, 152, 219, 0.2);
    }
/* 分类标题样式 */
.category-title {
    font-size: 28px;
    color: #2c3e50;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    position: relative;
    scroll-margin-top: 100px; /* 锚点定位时避开导航栏遮挡 */
}
    .category-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 80px;
        height: 2px;
        background: #ff7d00;
    }
.category-title-small {
    color: #666;
    font-size: 14px;
    margin: -20px 0 30px;
    font-style: italic;
}
/* 产品详情页样式 */
.product-detail {
    background: #fff; /* 整个产品详情区域背景白色 */
    padding: 80px 0; /* 上下内边距80px，左右0，让内容不贴边 */
}
.detail-content {
    display: flex; /* 左边图片 + 右边文字 横向并排 */
    gap: 60px; /* 图片和文字之间留60px空隙 */
}
.detail-gallery {
    flex: 1; /* 图片区域占满剩余宽度（自适应） */
}
.main-img {
    height: 548px; /* 主图容器固定高度 300px */
    background: #f5f5f5; /* 容器背景灰色（图片没占满时会露出来）*/
    border-radius: 20px; /* 圆角 */
    display: flex;
    align-items: center;
    justify-content: center; /* 图片水平居中 */
    margin-bottom: 20px; /* 底部外边距 */
}
    .main-img img {
        max-width: 100%; /* 图片最大宽度不超过容器 */
        max-height: 100%; /* 图片最大高度不超过容器 */
        border-radius: 20px; /* 图片圆角 */
        border: 1px solid #eee; /* 图片浅灰色边框 */
    }
.thumb-img {
    display: flex;
    gap: 10px;
}
.thumb-item {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
}
    .thumb-item.active {
        border-color: #3498db;
    }
    .thumb-item img {
        max-width: 90%;
        max-height: 90%;
    }
.detail-info {
    flex: 1;
}
    .detail-info h1 {
        font-size: 32px;
        margin-bottom: 15px;
        color: #2c3e50;
    }
.detail-price {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3d;
    margin-bottom: 20px;
}
.detail-desc {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}
.detail-specs {
    margin-bottom: 30px;
}
    .detail-specs h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #2c3e50;
    }
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
    .specs-table td {
        padding: 10px;
        border: 1px solid #eee;
    }
        .specs-table td:first-child {
            font-weight: bold;
            width: 30%;
            background: #f8f9fa;
        }
.detail-certs {
    margin-bottom: 30px;
}
    .detail-certs h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #2c3e50;
    }
.detail-actions {
    display: flex;
    gap: 15px;
}
/* 增值服务（首页专用） */
.valueadded {
    background: #f8f9fa;
}
.valueadded-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.valueadded-item {
    flex: 1;
    min-width: 360px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
    .valueadded-item:hover {
        transform: translateY(-5px);
    }
    .valueadded-item h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .valueadded-item p {
        color: #666;
    }
.valueadded-header {
    display: flex;
    align-items: center; /* 图标和标题垂直居中 */
    gap: 0px; /* 图标和标题的间距 */
    margin-bottom: 16px; /* 与下方内容的间距 */
    text-align: left;
}
.valueadded-icon {
    flex-shrink: 0; /* 防止图标压缩 */
    font-size: 60px; /* 图标大小 */
    color: #2c7be5; /* 图标颜色 */
    margin-right: 25px;
}
.valueadded-title {
    flex: 1; /* 标题占满剩余宽度 */
}
    .valueadded-title h3 {
        font-size: 21px;
        font-weight: 600;
        color: #1d2129;
        margin: 0 0 0px 0;
    }
    .valueadded-title p {
        font-size: 14px;
        color: #4e5969;
        margin: 0;
    }
.valueadded-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7785;
    margin: 0;
}
/* Choose us  */
.choose {
    background: #fff;
}
.choose-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.choose-item {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    margin-bottom: 20px;
}
    .choose-item h3 {
        font-size: 21px;
        margin-bottom: 8px;
    }
    .choose-item p {
        color: #666;
        font-size: 16px;
    }
/* 资质证书页样式 */
.certifications {
    background: #f8f9fa;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cert-item {
    background: #fff;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
    .cert-item:hover {
        transform: translateY(-5px);
    }
    .cert-item img {
        min-width: 160px;
        height: 250px;
        object-fit: contain;
        margin-bottom: 2px;
        padding: 10px;
        border-radius: 5px;
    }
    .cert-item h3 {
        font-size: 16px;
        color: #2c3e50;
        margin-bottom: 10px;
    }
.cert-desc {
    color: #666;
    margin-bottom: 15px;
}
.cert-download {
    color: #3498db;
    text-decoration: underline;
    font-weight: bold;
}
/* FAQ页样式 */
.faq {
    background: #f8f9fa;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.faq-question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .faq-question .icon {
        font-size: 20px;
        color: #3498db;
        transition: transform 0.3s;
    }
.faq-answer {
    color: #666;
    line-height: 1.8;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}
/* 关于我们页样式 */
.about {
    background: #fff;
}
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 5px;
}
    .about-content img {
        width: 100%;
    }
.about-img {
    flex: 1;
}
    .about-img img {
        width: 100%;
    }
.about-text {
    flex: 1;
    height: 400px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-text-panel {
    padding: 20px;
}
.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}
.about-values {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.value-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
    .value-item .icon {
        font-size: 40px;
        color: #3498db;
        margin-bottom: 15px;
    }
    .value-item h4 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #2c3e50;
    }
    .value-item p {
        color: #666;
    }
/* 联系我们页样式 */
.contact {
    background: #f8f9fa;
}
.contact-content {
    display: flex;
    gap: 60px;
}
.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.contact-info {
    flex: 1;
}
.form-group {
    margin-bottom: 20px;
}
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #2c3e50;
    }
    .form-group input, .form-group textarea, .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        transition: border-color 0.3s;
    }
        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: #3498db;
        }
    .form-group textarea {
        height: 150px;
        resize: vertical;
    }
.form-error {
    color: #e74c3d;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.info-icon {
    font-size: 24px;
    color: #3498db;
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.info-text p {
    color: #666;
}
.map-container {
    margin-top: 30px;
    height: 300px;
    background: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
/* CTA样式 */
.cta {
    background: #212529;
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-content {
    position: relative;
    width: 100%;
    height: 100%;
}
/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 0px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}
    .footer-logo span {
        color: #3498db;
    }
.footer-col {
    flex: 1;
    min-width: 200px;
}
    .footer-col h4 {
        font-size: 18px;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: #3498db;
        }
    .footer-col ul {
        list-style: none;
    }
    .footer-col li {
        margin-bottom: 10px;
    }
    .footer-col a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.3s;
    }
        .footer-col a:hover {
            color: #3498db;
        }
    .footer-col p {
        color: #ddd;
        line-height: 1.8;
        margin-bottom: 20px;
    }
.social-links {
    display: flex;
    gap: 15px;
}
    .social-links a {
        width: 40px;
        height: 40px;
        background: #34495e;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: background 0.3s;
    }
        .social-links a:hover {
            background: #3498db;
            color: #fff;
        }
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}
/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: background 0.3s;
}
    .back-to-top:hover {
        background: #2980b9;
    }
/* ========== BLOG列表页样式 ========== */
.blog-list {
    background: #fff;
    padding: 30px 0;
}
    .blog-list .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
.blog-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
.blog-img {
    height: 315px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 新增：防止图片溢出 */
    overflow: hidden;
}
    .blog-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover; /* 保证图片填充容器且不变形 */
    }
.blog-content {
    padding: 25px;
}
    /* 基础按钮增强：提高优先级，确保文字色生效 */
    .blog-content .btn {
        color: #fff !important; /* 强制白色文字，覆盖继承的文字色 */
        background: #3498db !important; /* 强制主色背景 */
        border: none;
        padding: 12px 24px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
        /* 博客按钮 hover 效果增强 */
        .blog-content .btn:hover {
            background: #2980b9 !important; /* 加深背景色 */
            color: #fff !important; /* 确保 hover 时文字仍为白色 */
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
.blog-meta {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}
.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}
.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}
/* ========== 博客详情页专属样式 ========== */
/* 面包屑导航 */
.blog-detail {
    background: #fff;
    padding: 30px 0;
}
    .blog-detail .breadcrumb {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
    }
.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}
    .breadcrumb a:hover {
        color: #2980b9;
    }
/* 博客详情标题与元信息 */
.blog-detail .blog-detail-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.4;
}
.blog-meta-detail {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
    .blog-meta-detail i {
        color: #3498db;
        margin-right: 5px;
    }
/* 博客封面图 */
.blog-banner {
    width: 100%;
    height: 580px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
}
    .blog-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* 所有样式以.blog-detail开头，避免冲突 */
.blog-detail-content {
    padding: 20px;
}
    .blog-detail-content h1 {
        font-size: 2.2rem;
        color: #222;
        text-align: center;
        margin: 30px 0 40px;
        font-weight: 700;
    }
    .blog-detail-content h2 {
        font-size: 1.8rem;
        color: #2d3748;
        margin: 35px 0 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f0f0;
        font-weight: 600;
    }
    .blog-detail-content h3 {
        font-size: 1.4rem;
        color: #4a5568;
        margin: 30px 0 15px;
        font-weight: 600;
    }
    .blog-detail-content p {
        font-size: 1rem;
        margin: 15px 0;
        text-align: justify;
    }
    .blog-detail-content ul {
        margin: 15px 0 15px 25px;
        list-style-type: disc;
    }
    .blog-detail-content ol {
        margin: 15px 0 15px 25px;
        list-style-type: decimal;
    }
    .blog-detail-content li {
        margin: 8px 0;
        font-size: 1rem;
    }
    .blog-detail-content strong {
        color: #2d3748;
        font-weight: 600;
    }
    .blog-detail-content img {
        width: 50%;
        height: 50%;
        object-fit: cover;
        margin: 0 auto;
        display: flex;
        justify-content: center; /* 水平居中 */
        align-items: center; /* 垂直居中 */
        border-radius: 10px;
        border: 1px solid #f5f5f5;
    }
/* 相关博客推荐 */
.related-articles {
    max-width: 1000px;
    margin: 60px auto 0;
}
    .related-articles h3 {
        font-size: 22px;
        color: #2c3e50;
        margin-bottom: 30px;
        font-weight: bold;
    }
.related-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px !important;
    /* 新增：适配小卡片尺寸 */
    max-width: 100%;
    margin: 0 auto;
}
.related-blog-card {
    /* 缩小卡片内边距 */
    padding: 15px;
}
    .related-blog-card .blog-img {
        height: 150px; /* 缩小相关博客图片高度 */
    }
    /* 相关博客卡片按钮适配 */
    .related-blog-card .btn {
        padding: 8px 20px !important;
        font-size: 14px !important;
    }
/* 分页按钮 */
.blog-list .btn-secondary {
    background: #2c3e50 !important;
    color: #fff !important;
}
    .blog-list .btn-secondary:hover {
        background: #1a252f !important;
        color: #fff !important;
    }
/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-content {
        flex-direction: column;
    }
    .contact-content {
        flex-direction: column;
    }
    .blog-list .blog-grid {
        grid-template-columns: 1fr;
    }
    .related-blog-grid {
        grid-template-columns: 1fr !important;
    }
    .blog-detail .blog-banner {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap !important;
        position: relative !important;
    }

    .nav-links {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        background: #2c3e50 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
    }

        .nav-links a {
            padding: 12px 20px !important;
            border-bottom: 1px solid #eee !important;
        }

    .nav-toggle {
        display: block !important;
        background: none !important;
        border: none !important;
        font-size: 22px !important;
        cursor: pointer !important;
        margin-left: auto !important;
    }

    .nav-links.show {
        display: flex !important;
    }

    /* ====================== 最终修复（100%显示） ====================== */
    /* 轮播图正常显示，无边距 */
    .hero {
        height: 240px !important;
        min-height: 240px !important;
    }

    .carousel-item img {
        height: 240px !important;
        object-fit: cover !important;
    }

    /* 视频模块：竖排 + 强制显示 */
    .video-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .video-container {
        height: 220px !important;
        min-height: 220px !important;
        display: block !important;
    }

        .video-container video {
            display: block !important;
            height: 100% !important;
            opacity: 1 !important;
        }

    /* 产品分类竖排 */
    .home-categorie-grid {
        grid-template-columns: 1fr !important;
    }
    /* ==================================================================== */

    .section-title {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
    }

    .adv-list {
        flex-direction: column;
    }

    .product-categories {
        justify-content: flex-start;
    }

    .category-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .category-title {
        font-size: 24px;
        margin: 40px 0 20px;
        scroll-margin-top: 80px;
    }

    .blog-detail {
        padding: 15px;
    }

        .blog-detail h1 {
            font-size: 1.8rem;
        }

        .blog-detail h2 {
            font-size: 1.5rem;
        }

        .blog-detail h3 {
            font-size: 1.2rem;
        }
}

@media (max-width: 576px) {
    .nav-content { flex-direction: column; gap: 15px; }
    .hero { padding: 0; }
    .btn { padding: 10px 20px; font-size: 14px; }
}