/*!* 加载占位符状态样式 *!*/
/*.loader-container {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  background-color: #fff;*/
/*  z-index: 9999;*/
/*  transition: opacity 0.5s ease-out;*/
/*}*/
/*.loader-container.hidden {*/
/*      opacity: 0;*/
/*      pointer-events: none;*/
/*}*/

/* 头图样式 */

.conewshd .container{

    padding: 0 0;

}

.conewshd img{
    /* position: relative; */
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* 新闻列表 */
.news-container{
    padding: 0 150px;
    /*height: 900px;*/
}

/* 新闻分类标签样式 */
.news-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-top: 10px;
    margin-bottom: 30px;

}

.news-tab {
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #666;

}

.news-tab.active {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

.news-tab:hover:not(.active) {
    color: #3498db;
    border-bottom-color: #ddd;
}

.news-list-container{
    /*display: flex;*/
    /*height: 700px;*/
}
/* 新闻列表 - 列布局 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;

}

.news-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

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

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

.news-subcategory {
    display: inline-block;
    font-size: 12px;
    color: #4285f4;
    background: #f0f7ff;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: fit-content;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
    margin-top: auto;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date::before {
    content: "📅";
    margin-right: 5px;
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;

}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.pagination-btn:hover {
    background: #3498db;
    /* color: #fff; */
    border-color: #ccc;
}

.pagination-btn:disabled {
    opacity: 0.6;
    /* cursor: not-allowed; */
    cursor: default;
    background: #f5f5f5;
}

#pageInput {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#pageInfo {
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-tab {
        padding: 8px 18px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .news-tab {
        padding: 8px 12px;
        font-size: 15px;
    }
}

@media (max-width: 1290px) {
    .news-container {
        padding: 0 20px;
    }
    .news-list-container {
        height: unset;
    }
}