/* ===== 新闻列表页面样式（简化版） ===== */

.news-list-section {
    padding: 80px 0;
    background: white;
}

/* 分类标签 */
.news-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.news-item.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-item.featured .news-image {
    height: auto;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.news-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 15px;
    background: var(--gradient-1);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.news-content h3 a {
    color: var(--dark);
    transition: var(--transition);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.news-tags span {
    padding: 5px 12px;
    background: var(--light);
    border-radius: 12px;
    font-size: 12px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.page-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 热门文章 */
.hot-articles {
    padding: 60px 0;
    background: var(--light);
}

.hot-header {
    margin-bottom: 30px;
}

.hot-header h2 {
    font-size: 28px;
}

.hot-list {
    background: white;
    border-radius: 20px;
    padding: 30px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-rank {
    width: 30px;
    height: 30px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.hot-rank.top {
    background: var(--gradient-1);
    color: white;
}

.hot-item a {
    flex: 1;
    color: var(--dark);
    transition: var(--transition);
}

.hot-item a:hover {
    color: var(--primary-color);
}

.hot-views {
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-item.featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

