/* 新闻资讯区域样式 */
.tabs-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.tabs-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.tabs-section-head .title h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.tabs-section-head .title p {
    font-size: 16px;
    letter-spacing: 2px;
}

.more-plain-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.more-plain-btn:hover {
    background: #007bff;
    color: #fff;
}

.more-plain-btn span {
    margin-right: 8px;
    font-weight: 500;
}

.tab-nav {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.tab-nav a {
    padding: 15px 30px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.tab-nav a.active,
.tab-nav a:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-content {
    position: relative;
    /*  min-height: 400px; 设置最小高度避免内容跳动 */
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 暂无数据和错误提示样式 */
.no-data, .error-news {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    text-align: center;
}

.no-data p, .error-news p {
    color: #999;
    font-size: 16px;
    margin: 0;
}

/* 新闻项目动画增强 */

.list-article-item {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.list-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.list-article-item .pic {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.list-article-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-article-item .text {
    padding: 25px;
}

.list-article-item .text h1 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.list-article-item .text .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.list-article-item .text .info .left {
    display: flex;
    align-items: center;
}

.list-article-item .text .info .left span {
    margin-right: 15px;
}

.list-article-item .text .info .right {
    display: flex;
    align-items: center;
}

.list-article-item .text .info .right i {
    margin-right: 5px;
}

.list-article-item .text p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Swiper 样式 */
.enterprise-swiper,
.industry-swiper,
.media-swiper {
    padding: 0 50px;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ececec;
   
 

    margin-top: -20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 36px;
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tabs-section {
        padding: 40px 0;
    }
    
    .tabs-section-head {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .tabs-section-head .title {
        margin-bottom: 20px;
    }
    
    .tabs-section-head .title h1 {
        font-size: 28px;
    }
    
    .tab-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-nav a {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
    }
    
    .list-article-item {
        flex-direction: column;
        height: auto;
    }
    
    .list-article-item .pic {
        width: 100%;
        height: 180px;
    }
    
    .list-article-item .text {
        padding: 20px;
    }
    
    .enterprise-swiper,
    .industry-swiper,
    .media-swiper {
        padding: 0 20px;
    }
}

/* 工具类 */
.foxui-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.foxui-ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}