.header-banner {
    height: 60vh;
    display: flex;
    align-items:center;
    position: relative;
    overflow: hidden;
    background-image: url('/images/news/banner.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.header-banner h1{
    color: var(--dark-text);
}

.contact-title-one{
    display: block;
    color: var(--dark-text);
}


.contact-title-two{
    display: none;
    color: var(--dark-text);
}


/* Tabs切换区域 */
.dark .tabs-container {
    display: flex;
    align-items: center;
    justify-content:space-between;
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 42%;
    height: 60px;
    transform: translateX(-50%);
    background: var(--glass-dark);    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    overflow: hidden;
    z-index: 10;
    padding: 0 5px;
}

.light .tabs-container {
    display: flex;
    align-items: center;
    justify-content:space-between;
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 42%;
    height: 60px;
    transform: translateX(-50%);
    background: var(--glass-light);    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    overflow: hidden;
    z-index: 10;
    padding: 0 5px;
}

.layui-col-md4{
    margin: 0 !important;
    padding: 0 !important;
}

.tab-btn span{
    display: block;
    text-align: center;
    line-height: 50px;
    width: 100%;
    height: 50px;
    cursor: pointer;
}

.tab-btn span:hover{
    color: var(--Enterprise-text);
}

.tab-btn span.active{
    color: var(--dark-text);
    border-radius: 50px;    
    background-color: var(--Enterprise-text);
    border-color: var(--card-dark-border);
}

/* 新闻内容区域 */
.tab-content {
    display: none;
    margin-top: 20px; /* 增加内容区域顶部间距 */
}

.tab-content.active {
    display: block;
}

.dark .news-item {
    background-color: var(--card-dark-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.light .news-item {
    background-color: var(--card-light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.news-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.news-info {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    font-size: 12px;
}

.dark .news-title-item {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.light .news-title-item {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.news-content{
    margin-top: 30px;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin: 40px 0 80px;
}

.dark .load-more-btn {
    padding: 12px 30px;
    background-color: var(--dark-bg);
    color: var(--icon-text-color);
    border: 1px solid var(--icon-text-color);
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.light .load-more-btn {
    padding: 12px 30px;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    border: 1px solid transparent;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background-color: var(--icon-text-color);
    color: #fff;
}

.load-more-btn.loading {
    cursor: not-allowed;
    opacity: 0.7;
}


/* 响应式调整 */
@media (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
    }
    

    .tab-btn {
        font-size: 16px;
    }

    .header-banner {
        height: 60vh;
        display: flex;
        align-items:flex-start;
        position: relative;
        overflow: hidden;
        padding-top: 150px;
        background-image: url('/images/news/banner.png');
        background-repeat: no-repeat;
        background-size: cover;
    }

.dark .tabs-container {
        display: flex;
        align-items: center;
        justify-content:space-between;
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 80%;
        height: 55px;
        transform: translateX(-50%);
        background: var(--glass-dark);    
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 60px;
        overflow: hidden;
        z-index: 10;
        padding: 0 5px;
    }

.light .tabs-container {
        display: flex;
        align-items: center;
        justify-content:space-between;
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 80%;
        height: 55px;
        transform: translateX(-50%);
        background: var(--glass-light);    
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 60px;
        overflow: hidden;
        z-index: 10;
        padding: 0 5px;
    }

    .contact-title-one{
        display: none;
    }
    
    
    .contact-title-two{
        display: block;
    }
    
    .tab-btn span{
        display: block;
        text-align: center;
        line-height: 45px;
        width: 100%;
        height: 45px;
        cursor: pointer;
    }
    
    .tab-btn span:hover{
        color: var(--Enterprise-text);
    }
    
    .tab-btn span.active{
        color: var(--dark-text);
        border-radius: 50px;    
        background-color: var(--Enterprise-text);
        border-color: var(--card-dark-border);
    }

}