/* ========================================
   联睿云创 - 新闻列表页样式
   ======================================== */

.news-list-section {
    padding: 4rem 0 6rem;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.8rem;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #00f5ff, #39ff14);
    color: #0a0a0a;
    border-color: transparent;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-list-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-list-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.12);
}

.news-list-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-list-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-card:hover .news-list-image {
    transform: scale(1.08);
}

.news-list-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 245, 255, 0.9);
    color: #0a0a0a;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-list-content {
    padding: 1.5rem;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.news-list-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-list-date svg {
    width: 16px;
    height: 16px;
    fill: #00f5ff;
}

.news-list-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
}

.news-list-card:hover .news-list-title {
    color: #00f5ff;
}

.news-list-excerpt {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.news-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-list-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #aaa;
    font-size: 0.85rem;
}

.news-list-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.news-list-readmore {
    color: #39ff14;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.news-list-readmore:hover {
    gap: 0.7rem;
}

/* 加载更多 */
.load-more-wrapper {
    text-align: center;
    margin-top: 4rem;
}

/* 响应式 */
@media (max-width: 992px) {
    .news-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-list-grid {
        grid-template-columns: 1fr;
    }

    .news-list-section {
        padding: 2rem 0 4rem;
    }
}
