/* 新闻列表页面样式 */
.news-list-section {
    padding: 100px 0;
    position: relative;
}

/* 新闻分类样式 */
.news-categories {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.news-categories h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: var(--neon-glow);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    color: var(--light);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-list li.active a,
.category-list a:hover {
    color: var(--primary);
    background: rgba(0, 255, 157, 0.1);
    text-shadow: var(--neon-glow);
}

.category-list li.active a::before,
.category-list a:hover::before {
    transform: scaleY(1);
}

/* 新闻网格样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

.news-item {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: none;
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--light);
    opacity: 0.8;
}

.news-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: var(--neon-glow);
}

.news-content p {
    color: var(--light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
    text-shadow: var(--neon-glow-cyan);
}

.read-more:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    color: var(--light);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--primary);
    color: var(--dark);
    text-shadow: none;
    box-shadow: var(--neon-glow);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 991px) {
    .news-categories {
        margin-bottom: 30px;
    }

    .news-grid {
        gap: 20px;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .news-list-section {
        padding: 50px 0;
    }

    .news-categories {
        padding: 20px;
    }

    .news-categories h3 {
        font-size: 1.2rem;
    }

    .category-list a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .news-image {
        height: 160px;
    }

    .news-category {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .news-meta {
        font-size: 0.75rem;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .news-content p {
        font-size: 0.8rem;
    }

    .read-more {
        font-size: 0.8rem;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
} 