/* 新闻页面容器 */
.news-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}
#wrap{
    background: #000;
}

/* 切换标签样式 */
.news-tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
}

.tab-item {
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    color: #fff;
    transition: all 0.3s ease;
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FE8B00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-item.active {
    /* color: #FE8B00; */
}

.tab-item.active::after {
    transform: scaleX(1);
}

.tab-item:hover {
    color: #FE8B00;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    background: rgba(26, 26, 26, 1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item:hover .read-more {
    display: block;
}
.news-image {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-more {
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 4px;
}

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
    flex-grow: .7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    height: 40px;
}

.news-date {
    color: #999;
    margin-bottom: 10px;
    font-size: 14px;
}

.read-more {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    width: 120px;
    height: 30px;
    border: 1px solid #fff;
    text-align: center;
    line-height: 30px;
    display: none;

}

.read-more:hover {
    background: #FE8B00;
    border: 1px solid #FE8B00;
    color: #fff;
}

/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.page-numbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-number, .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #1A1A1A;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    margin-bottom: 8px;
    box-sizing: border-box;
    user-select: none;
}

.page-number:hover, .page-btn:hover,
.page-number:active, .page-btn:active {
    color: #FE8B00;
    border-color: #FE8B00;
    background: #232323;
}

.page-number.active {
    background-color: #FE8B00;
    color: white;
    border-color: #FE8B00;
}

/* 客服按钮样式 */
.customer-service {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.service-btn {
    background-color: #FE8B00;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 164, 96, 0.3);
}

.service-btn:hover {
    background-color: #e38d45;
    transform: translateY(-2px);
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .news-image {
        flex: 0 0 250px;
    }
}

@media screen and (max-width: 768px) {
    .news-container {
        padding: 20px;
    }

    .news-tabs {
        gap: 20px;
    }

    .tab-item {
        font-size: 16px;
    }

    .news-item {
        flex-direction: column;
        gap: 0;
    }

    .news-image {
        flex: 0 0 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 18px;
    }

    .pagination {
        margin-top: 30px;
        gap: 10px;
    }
    .page-numbers {
        gap: 6px;
    }
    .page-number, .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
        border-radius: 5px;
    }
}

@media screen and (max-width: 480px) {
    .news-tabs {
        gap: 15px;
    }

    .tab-item {
        font-size: 14px;
    }

    .news-image {
        flex: 0 0 150px;
    }

    .news-title {
        font-size: 16px;
    }

    .pagination {
        gap: 6px;
        padding: 0 2vw;
    }
    .page-numbers {
        gap: 3px;
    }
    .page-number, .page-btn {
        min-width: 26px;
        height: 28px;
        font-size: 12px;
        padding: 0 4px;
        border-radius: 4px;
        margin-bottom: 4px;
    }
    .customer-service2-title, .customer-service2-cont{
        font-size: 14px !important;
    }
} 
.customer-service2{
    position: relative;
}

.customer-service2-title{
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 100px;
    z-index: 2;
}
.customer-service2-cont{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    display: block;
    color: rgba(255, 255, 255, 1);
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 50px;
    z-index: 2;
}



/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 32px;
    padding: 0 6px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #1a1a1a;
    /* border-radius: 4px; */
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

.page-item:hover {
    color: #FE8B00;
    border-color: #1a1a1a;
    background-color: #1a1a1a;
}

.page-item.current {
    background-color: #FE8B00;
    border-color: #FE8B00;
    color: #fff;
}

/* 上一页和下一页按钮样式 */
.page-item:first-child,
.page-item:last-child {
    background-color: #1a1a1a;
    color: #b0b0b0;
}

.page-item:first-child:hover,
.page-item:last-child:hover {
    color: #FE8B00 !important;
}