﻿/* 全局样式优化 */
body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.topbanner {
    padding-top: 80px;
    min-height: 270px;
    *height: 270px;
    position: relative;
}

@media (min-width: 1260px) {
    .wcontainer {
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
        width: 1280px;
    }
}

.topbanner .wcontainer .container-left {
    width: 100%;
}

    .topbanner .wcontainer .container-left h1 {
        color: #fff;
        line-height: 64px;
        font-weight: 300;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 48px;
    }

        .topbanner .wcontainer .container-left h1 i {
            float: left;
            display: block;
            width: 64px;
            height: 64px;
            background-position: -576px -470px;
        }

.pway-icon {
    background: url(/images/other/product-icon-1x.png) no-repeat scroll 0 0;
}

.topbanner .wcontainer .container-left h1 span {
    display: block;
    float: left;
    margin-left: 10px;
}

.topbanner .wcontainer .container-left .text-lg {
    color: #fff;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 20px;
}

.topbanner .wcontainer .container-left .btn-box .btn-L, .topbanner .wcontainer .container-left .btn-box .btn-R {
    border: 1px solid #fff;
    float: left;
}

    .topbanner .wcontainer .container-left .btn-box .btn-L a, .topbanner .wcontainer .container-left .btn-box .btn-R a {
        display: block;
        text-decoration: none;
        color: #fff;
        padding: 5px 25px;
        font-size: 14px;
    }

    .topbanner .wcontainer .container-left .btn-box .btn-L:hover a {
        color: #000;
        background-color: #fff;
    }

/* 主内容区 */
.wcontainer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.center-box {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    margin-left: auto;
    margin-right: auto;
}

.center-left {
    width: 245px;
    padding: 20px 0;
}

.center-right {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.center-left .section_help {
    font-style: italic;
    background-color: #21afea;
    margin-top: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    line-height: 32px;
    padding: 14px 10px;
    display: block;
    text-decoration: none;
}
/* 导航标签 */
.tab-nav {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.tab-item {
    padding: 10px 25px;
    margin-right: 10px;
    font-size: 16px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-bottom: none;
}

    .tab-item:hover {
        background: #e9e9e9;
    }

    .tab-item.active {
        background-color: #00719d;
        color: white;
        border-color: #00719d;
        position: relative;
        margin-bottom: -1px;
        z-index: 1;
    }

/* 图片展示区 */
.gallery-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

    .gallery-container.active {
        display: grid;
        opacity: 1;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

.gallery-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    transition: all 0.3s ease;
    margin: 10px 10px
}

    .gallery-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.gallery-img-container {
    height: 200px;
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #fff;
}

.gallery-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-title {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 左侧导航 */
.side-nav {
    background: #F5F5F5;
    border-radius: 4px;
    overflow: hidden;
}

.side-nav-header {
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid #e1e1e1;
    background: #e9e9e9;
}

.side-nav-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e1e1e1;
    position: relative;
}

    .side-nav-link:hover {
        background: #eee;
        color: #00719d;
    }

    .side-nav-link.active {
        background-color: #00719d;
        color: white;
    }

/* 分页样式 */
.pagination-container {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pagination-item {
    margin: 0;
    border: 1px solid #ddd;
    border-right: none;
    background: #fff;
}

    .pagination-item:last-child {
        border-right: 1px solid #ddd;
    }

.pagination-link {
    display: block;
    padding: 8px 16px;
    color: #00719d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-item.active .pagination-link {
    background-color: #00719d;
    color: white;
    border-color: #00719d;
}

.pagination-item.disabled .pagination-link {
    color: #ccc;
    cursor: not-allowed;
}

.pagination-link:hover:not(.disabled) {
    background-color: #f5f5f5;
}

.pagination-info {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .center-left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .center-right {
        grid-template-columns: repeat(3, 1fr);
    }

    .topbanner .container-left h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .pagination-link {
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .topbanner {
        padding-top: 60px;
        min-height: 200px;
    }

    .center-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-item {
        padding: 8px 15px;
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination-info {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .center-right {
        grid-template-columns: 1fr;
    }

    .pagination-link {
        padding: 5px 10px;
        font-size: 14px;
    }
}
