/* ========== Banner ========== */
.page-banner {
    width: 100%;
    height: 347px;
    overflow: hidden;
}

.page-banner-img {
    width: 100%;
    height: 347px;
    object-fit: cover;
    display: block;
}

/* ========== Layout ========== */
.news-main {
    padding: 40px 0 60px;
    background: #F7F7F7;
}

.news-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.news-sidebar {
    width: 276px;
    flex-shrink: 0;
    background: #fff;
    overflow: hidden;
}

.news-sidebar .sidebar-title {
    height: 83px;
    line-height: 83px;
    padding: 0 30px;
    background: #0061AE;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.news-sidebar .sidebar-nav a {
    display: block;
    padding: 30px 30px;
    font-size: 20px;
    color: #121212;
    background: #fff;
    transition: color 0.2s, background 0.2s;
}

.news-sidebar .sidebar-nav a:hover {
    color: #0061AE;
    background: #f8fbff;
}

.news-sidebar .sidebar-nav a.active {
    background: #0061AE;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.news-content {
    flex: 1;
    background: #fff;
    min-width: 0;
}

.news-panel {
    display: none;
}

.news-panel.active {
    display: block;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 10px 36px;
    border-top: 1px solid #F4F4F4;
    transition: background 0.2s;
    color: inherit;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #fafafa;
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-title {
    margin-top: 24px;
    font-size: 20px;
    color: #121212;
    margin-bottom: 40px;
}

.news-date {
    color: #999999;
    font-size: 14px;
}

.news-thumb {
    width: 261px;
    height: 163px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.news-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 32px 20px 40px;
    border-top: 1px solid #F4F4F4;
    user-select: none;
}

.news-pagination.is-visible {
    display: flex;
}

.news-pagination .page-item,
.news-pagination .page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: #f0f2f5;
    color: #606266;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: color 0.2s, background 0.2s;
}

.news-pagination .page-num:hover:not(.active) {
    color: #0061AE;
}

.news-pagination .page-num.active {
    color: #fff;
    background: #0061AE;
    cursor: default;
    pointer-events: none;
}

.news-pagination .page-btn {
    font-size: 16px;
    font-weight: 300;
    color: #606266;
}

.news-pagination .page-btn:hover:not(.is-disabled) {
    color: #0061AE;
}

.news-pagination .page-btn.is-disabled {
    color: #c0c4cc;
    cursor: not-allowed;
    pointer-events: none;
}

.news-pagination .page-ellipsis {
    letter-spacing: 1px;
    cursor: default;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .page-banner,
    .page-banner-img {
        height: 260px;
    }

    .news-layout {
        flex-direction: column;
    }

    .news-sidebar {
        width: 100%;
    }

    .news-item {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .page-banner,
    .page-banner-img {
        height: 200px;
    }

    .news-main {
        padding: 24px 0 40px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .news-thumb {
        width: 100%;
        height: 180px;
    }

    .news-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
}
