/* ========== 新闻页 ========== */
.news{
    width: 100%;

}
.news .box{
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* ========== 左侧新闻列表 ========== */
.news-left{
    background-color: #ffffff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.news-title{
    padding: 20px 25px 15px;
    border-bottom: 2px solid #ecf5ff;
}

.news-title h2{
    font-size: 23px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.news-title h2 i{
    margin-right: 8px;
    color: #53a8ff;
}

.news-title p{
    font-size: 14px;
    color: #999999;
}
.tags-title{
    padding: 20px 25px 15px;
    border-bottom: 2px solid #ecf5ff;
}

.tags-title h2{
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.tags-title h2 i{
    margin-right: 8px;
    color: #53a8ff;
}
.tags-title h2 span{
    color: red;
}

/* 新闻列表项 */
.news-list{
    padding: 20px 40px 30px;
}

.news-item{
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.news-item:hover{
    background: #fafafa;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 8px;
}

.news-item:last-child{
    border-bottom: none;
}

/* 日期卡片 */
.news-date{
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #53a8ff 0%, #409EFF 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.news-date .day{
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month{
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

/* 新闻内容 */
.news-content{
    flex: 1;
}

.news-content h3{
    margin-bottom: 12px;
}

.news-content h3 a{
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.news-content h3 a:hover{
    color: #409EFF;
}

.news-content p{
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻元数据 */
.news-meta{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.news-meta span{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999999;
}

.news-meta span i{
    color: #53a8ff;
    font-size: 12px;
}

/* ========== 右侧 ========== */
.news-right{
    display: flex;
    flex-direction: column;
    gap: 25px;
}



/* ========== 响应式设计 ========== */
@media (max-width: 960px){
    .news .box{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .news-title{
        padding: 25px 20px 15px;
    }
    .news-title h2{
        font-size: 22px;
    }
    .news-list{
        padding: 20px 20px 25px;
    }
    .news-item{
        gap: 15px;
        padding: 20px 0;
    }
    .news-date{
        width: 60px;
        height: 60px;
    }
    .news-date .day{
        font-size: 24px;
    }
    .news-date .month{
        font-size: 11px;
    }
    .news-content h3 a{
        font-size: 16px;
    }
    .news-content p{
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .news-meta{
        gap: 12px;
        flex-wrap: wrap;
    }
    .news-meta span{
        font-size: 12px;
    }
    .pagination{
        padding: 20px;
        gap: 6px;
    }
    .pagination .page-item{
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }
    .pagination .page-ellipsis{
        display: none;
    }
}
