/* ===========================================
   news.css - 新闻动态样�?   =========================================== */

/* Banner */
.page-banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #2c3e50 0%, #4a5d75 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(135deg, #3a4d63 0%, #2c3e50 100%);
    opacity: 0.9;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}

.page-banner-zh {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-banner-zh::after {
    content: '�?;
    font-size: 18px;
}

.page-banner-en {
    font-size: 48px;
    font-weight: bold;
}

/* 分类 tabs */
.news-tabs {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
}

.news-tabs-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
}

.news-tab {
    padding: 20px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 15px;
    position: relative;
    transition: all 0.3s;
}

.news-tab.active {
    color: #2c5fff;
    font-weight: 600;
}

/* 点击后保持选中样式（CSS-only，不需 JS） */
.news-tab:focus,
.news-tab:focus-visible {
    outline: none;
    color: #2c5fff;
    font-weight: 600;
}

/* 悬停样式 */
.news-tab:hover {
    color: #2c5fff;
}

.news-tab.active::after,
.news-tab:focus::after,
.news-tab:focus-visible::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2c5fff;
}

/* 新闻列表 */
.news-section {
    padding: 50px 20px;
    background: #fff;
}

.news-list {
    max-width: 1400px;
    margin: 0 auto;
}


.news-item {
    display: flex;
   align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #f0f4fa;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.news-item:hover {
    background: #f8faff;
}

.news-date {
	width: 200px;
    text-align: left;
    padding-left: 20px;
}

.news-date-day {
    font-size: 36px;
    color: #333;
    font-weight: 300;
    line-height: 1;
}

.news-date-month {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

.news-date-month::after {
    content: ' / ';
    color: #ccc;
    margin-left: 4px;
}

.news-date-year {
    font-size: 13px;
    color: #999;
}
.news-info{flex:1;}
.news-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.news-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #2c5fff;
    border-radius: 4px;
    color: #2c5fff;
    margin-top: 20px;
    transition: all 0.3s;
}

.news-item:hover .news-arrow {
    background: #2c5fff;
    color: #fff;
}

.news-image {
	
   margin-left: 30px;
}
.news-image img{width: 381px;height: 258px;object-fit: cover;}


/* 分页 */
.pagination {
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid #e8edf5;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    border-color: #2c5fff;
    color: #2c5fff;
}

.pagination-btn.active {
    background: #2c5fff;
    color: #fff;
    border-color: #2c5fff;
}

.pagination-ellipsis {
    color: #999;
    padding: 0 5px;
}

/* 移动�?*/
@media (max-width: 992px) {
    .news-item {
       display: block;
        padding: 25px 0;
    }
.news-item:hover {
    background: #fff;
}
    .news-date {
        padding-left: 0;
        display: flex;
        align-items: baseline;
        margin-bottom: 15px;
    }

    .news-date-day {
        font-size: 28px;margin-right: 5px;
    }

    .news-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 280px;
    }

    .page-banner-zh {
        font-size: 16px;
    }

    .page-banner-en {
        font-size: 30px;
    }

    .news-tabs-inner {
        padding: 0 15px;
    }

    .news-tab {
        padding: 15px 20px;
        font-size: 14px;
    }

    .news-section {
        padding: 30px 15px;
    }

    .news-info h3 {
        font-size: 16px;
    }

    .news-info p {
        font-size: 13px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

.pager{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;

}
.pager .layui-btn{
    width: 40px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    color: #aa0406;
    margin: 0 5px;
    border: 1px solid #aa0406;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
}
.pager .layui-btn-primary{
    width: 40px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    color: #666!important;
    margin: 0 5px;
    border: 1px solid #666!important;
    border-radius: 5px;
    display: inline-block;
}
.pager .layui-btn-disabled{
    width: 40px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    color: #cccccc;
    margin: 0 5px;
    border: 1px solid #cccccc!important;
    border-radius: 5px;
    display: inline-block;
}