/* 栏目页面样式 */
.page-banner {
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}
/* 栏目导航 */
.category-nav {
    margin-bottom: 30px;
}

.category-tabs {
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    flex-wrap: wrap;
}

.category-tabs .nav-item {
    margin-right: 5px;
    margin-bottom: 5px;
}

.category-tabs .nav-link {
    color: var(--text-dark);
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tabs .nav-link:hover {
    color: var(--primary-color);
    background-color: #e9ecef;
}

.category-tabs .nav-link.active {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 栏目内容区域 */
.subcategory-section {
    margin-bottom: 30px;
}

.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.subcategory-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.subcategory-title i {
    margin-right: 8px;
}

.more-link {
    color: var(--text-gray);

    text-decoration: none;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: var(--accent-color);
}

.more-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* 新闻列表 */
.category-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.category-news-item:last-child {
    border-bottom: none;
}

.category-news-item .news-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-gray);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.category-news-item a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-news-item a:hover {
    color: var(--primary-color);
}

.category-news-item .news-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-left: 15px;
}

/* 图片新闻 */
.image-news-container {
    margin: 0 -10px;
}

.image-news-item {
    padding: 0 10px;
    margin-bottom: 20px;
}

.image-news-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.image-news-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.image-news-body {
    padding: 15px;
}

.image-news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-news-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.image-news-title a:hover {
    color: var(--primary-color);
}

.image-news-desc {
    color: var(--text-gray);

    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
}

.image-news-meta {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

/* 视频新闻 */
.video-news-container {
    margin-bottom: 20px;
}

.video-news-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-news-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.video-news-item:hover .video-news-thumb {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-news-item:hover .video-play-icon {
    opacity: 1;
    background-color: rgba(var(--primary-color-rgb), 0.8);
}

.video-news-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}



/* 新闻中心新样式 */
.featured-news {
    /*background: #fff;*/
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    padding: 20px;
}

.main-news-item {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.02) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.main-news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.main-news-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.main-news-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-news-title a:hover {
    color: var(--primary-color);
}

.main-news-meta {
    display: flex;
    gap: 20px;

    color: var(--text-gray);
}

.side-news-item {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    border-left: 3px solid var(--primary-color);
}

.side-news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.side-news-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 25px;
}

.side-news-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.side-news-title a:hover {
    color: var(--primary-color);
}

.side-news-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 新闻轮播图区域 */
.news-carousel-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* .news-carousel-swiper {
    height: 300px;
}

.news-carousel-swiper .swiper-slide {
    height: 300px;
} */

.news-carousel-image {
    max-height: 330px;
    overflow: hidden;
}

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

.news-carousel-content {
    padding: 20px;
    /*height: 300px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-news-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.carousel-news-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-news-title a:hover {
    color: var(--accent-color);
}

.carousel-news-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    line-clamp:2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-carousel-content:hover .carousel-news-desc,.news-carousel-content:hover a{
    color: var(--accent-color);
}

.carousel-news-meta {
    display: flex;
    gap: 15px;

    color: var(--text-gray);
    align-items: center;
}

/* 轮播导航按钮 */
.news-carousel-next,
.news-carousel-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-carousel-next:after,
.news-carousel-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.news-carousel-next:hover,
.news-carousel-prev:hover {
    background: var(--primary-color);
    color: white;
}

/* 轮播分页器 */
.news-carousel-pagination {
    bottom: 20px;
}

.news-carousel-pagination .swiper-pagination-bullet {
    background: #f4f4f4;
    opacity: 1;
}

.news-carousel-pagination .swiper-pagination-bullet-active {
    background: #a21412;
}

.news-carousel-swiper .swiper-slide img:hover {
    scale: 1.1;
}

/* 新闻列表区域 */
.news-column {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-tab-section {
    height: 100%;
}

.news-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); */
    background-color: var(--primary-color);
    color: white;
}

.news-tabs {
    border: none;
    margin: 0;
}

.news-tabs .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border: none;
    background: none;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-tabs .nav-link:hover,
.news-tabs .nav-link.active {
    color: white;
    /*background: rgba(255, 255, 255, 0.2);*/
    background: none;
    padding: 0;
    border-radius: 5px;
}

.more-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
}

.news-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}
.news-item{
    transition: all 0.3s ease;
}
.news-item a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;

    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-item a:hover {
    color: var(--accent-color);
}
.news-item:hover {
    background-color: var(--light-blue);
    padding-left: 10px;
}

.news-date,.news-views {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-left: 10px;
}

/* 重要新闻区域新样式 */
.featured-news {
    /*background: #fff;*/
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    padding: 0;
}

.main-news-title-section {
    margin-bottom: 20px;
}

.main-news-title-large {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

.main-news-title-large a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.main-news-title-large a:hover {
    color: var(--accent-color);
}

.news-links-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.news-links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-link-item {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;

    overflow: hidden;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 100%;
}

.news-link-item:hover {
    color: var(--accent-color);
}

.news-link-separator {
    color: var(--text-gray);
    font-weight: 300;
    margin: 0 5px;
}

/*video*/
.video-tab{
    background: var(--primary-color);
    border-radius: 8px;
}
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.video-thumbnail {
    height: 180px;
}

.video-thumbnail img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 50px;
    height: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.video-title a:hover {
    color: #0d6efd !important;
}

.duration-badge {
    font-size: 0.75rem;
}

.section-title {
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #0d6efd;
}

/* 会员之家  */

.enterprise-card {
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.enterprise-logo {
    height: 100%;
    min-width: 30%;
}

.enterprise-name a {
    transition: color 0.2s ease;
}

.enterprise-name a:hover {
    color: #0d6efd !important;
}

.industry-tag {
    font-weight: 500;
}

.enterprise-desc {
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
      overflow: hidden;
    font-size: 0.875em;
  
}

.enterprise-contact li {
    display: flex;
    align-items: flex-start;
}

.enterprise-contact i {
    min-width: 20px;
    margin-top: 3px;
}

.section-title {
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #0d6efd;
    border-radius: 2px;
}

.enterprise-filter .form-select {
    min-width: 150px;
    border: 1px solid #dee2e6;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .category-tabs .nav-link {
        padding: 8px 15px;
    }
    
    .image-news-img {
        height: 140px;
    }
    
    .video-news-thumb {
        height: 160px;
    }
}

@media (max-width: 767px) {
    .subcategory-header {
        padding-bottom: 8px;
        margin-bottom: 10px;
    }
    
    .subcategory-title {
        font-size: 1.1rem;
    }
    
    .category-news-item {
        padding: 10px 0;
    }
    
    .image-news-img {
        height: 120px;
    }
    
    .image-news-body {
        padding: 10px;
    }
    
    .video-news-thumb {
        height: 140px;
    }
    
    .video-play-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

} 

@media (max-width: 768px) {
    .main-news-title {
        font-size: 1.2rem;
    }
    
    .side-news-title {
        font-size: 1rem;
    }
    
    .carousel-news-title {
        font-size: 1.1rem;
    }
    
    .news-carousel-content {
        padding: 20px;
        height: auto;
    }
    
    .news-carousel-image {
        height: 200px;
    }

    .main-news-title-large {
        font-size: 1.3rem;
    }
    
    .news-links-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-link-separator {
        display: none;
    }
    
    .news-link-item {
    
    }
    .enterprise-logo{
        width: 30%;
        padding-right: 0 !important;
        background: white !important;
    }
    .enterprise-name{
        font-size: 1rem !important;
    }
    .enterprise-desc{
        display: none !important;
    }
} 