/* 新闻列表页 — 对齐旧 Vue News.vue */
.news-list-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px 60px;
    color: #fff;
    text-align: left;
}

.news-list-page .featured-news {
    display: flex;
    flex-direction: column-reverse;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 48px 0;
    background: transparent;
}

.news-list-page .featured-image {
    flex: 1;
}

.news-list-page .featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 824 / 463;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.news-list-page .featured-content {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.news-list-page .featured-content .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-list-page .featured-content .date,
.news-list-page .featured-content .tag {
    font-size: 14px;
    font-weight: 900;
    color: #ccc;
    background: none;
    padding: 0;
}

.news-list-page .featured-content .title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    white-space: normal;
}

.news-list-page .featured-content .desc {
    text-align: left;
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 640px;
}

.news-list-page .read-btn.primary {
    display: inline-block;
    background: #26bbff;
    color: #101014;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.news-list-page .filter-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
}

.news-list-page .category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-list-page .category-buttons button {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    height: 32px;
    font-size: 14px;
    cursor: pointer;
}

.news-list-page .category-buttons button.active {
    background: #fff;
    color: #000;
}

.news-list-page .search-box {
    position: relative;
    width: 100%;
    max-width: 254px;
}

.news-list-page .search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    line-height: 0;
}

.news-list-page .search-box input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    outline: none;
}

.news-list-page .search-box input:focus {
    border-color: #26bbff;
}

.news-list-page .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.news-list-page .news-card {
    display: block;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-list-page .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: #1a1a1a;
}

.news-list-page .news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-list-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}

.news-list-page .news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.news-list-page .news-content {
    padding: 15px;
    text-align: left;
}

.news-list-page .news-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}

.news-list-page .news-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-align: left;
}

.news-list-page .news-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-page .empty-state {
    text-align: center;
    padding: 50px 0;
    color: #ccc;
}

.news-list-page .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.news-list-page .pagination button {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.news-list-page .pagination button.active {
    background: #fff;
    color: #000;
}

.news-list-page .pagination button.disabled,
.news-list-page .pagination button.ellipsis {
    opacity: 0.5;
    cursor: default;
}

@media (min-width: 768px) {
    .news-list-page {
        padding-left: 32px;
        padding-right: 32px;
    }

    .news-list-page .featured-news {
        padding: 64px 0;
    }

    .news-list-page .featured-content .title {
        font-size: 36px;
    }

    .news-list-page .search-box {
        max-width: 432px;
    }

    .news-list-page .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-list-page .news-image {
        height: 270px;
    }
}

@media (min-width: 1250px) {
    .news-list-page {
        padding-left: 64px;
        padding-right: 64px;
    }

    .news-list-page .featured-news {
        flex-direction: row;
        align-items: center;
        padding: 66px 0;
    }

    .news-list-page .featured-image {
        flex: 0 0 648px;
        max-width: 55%;
    }

    .news-list-page .featured-image img {
        width: 100%;
        height: 364px;
        aspect-ratio: auto;
    }

    .news-list-page .featured-content {
        padding: 20px 0 20px 48px;
    }

    .news-list-page .featured-content .title {
        font-size: 40px;
    }

    .news-list-page .filter-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .news-list-page .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}
