/* news-page.css - 新闻页面专属样式 */
/* 新闻页面专属样式 */
.news-filter {
    text-align: center;
    margin-bottom: 40px;
}
.news-filter button {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    color: #444;
}
.news-filter button.active {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}
.news-list-all {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.news-item:hover {
    transform: translateY(-5px);
}
.news-item a {
    color: inherit;
    text-decoration: none;
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 20px;
}
.news-content h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-content .date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}
.news-content .desc {
    color: #444;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}