.news-archive-toolbar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
}

.news-tabs-switch {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.news-tabs-switch button,
.news-tabs-switch a {
    border: 0;
    background: transparent;
    color: #1e2c3a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.news-tabs-switch button.active,
.news-tabs-switch a.active {
    background: #1675ff;
    color: #fff;
    box-shadow: 0 10px 24px rgba(22, 117, 255, 0.22);
}

.news-search {
    display: flex;
    border: 1px solid #d8e8f8;
    background: #f8fcff;
    border-radius: 16px;
    overflow: hidden;
    height: 48px;
}

.news-search input {
    border: 0;
    background: transparent;
    flex: 1;
    padding: 0 16px;
    color: #17345d;
    outline: none;
}

.news-search button {
    border: 0;
    background: #0b63c7;
    color: #fff;
    font-weight: 900;
    padding: 0 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.news-search button:hover {
    background: #0956ad;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 99, 199, 0.25);
}

.featured-news-list a {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    gap: 18px;
    padding: 20px 18px;
    border-bottom: 1px solid #dceaf7;
    border-radius: 16px;
    align-items: start;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.featured-news-list a:hover {
    background: #f8fcff;
    box-shadow: 0 8px 24px rgba(8, 42, 90, 0.06);
}

.featured-news-list a.hidden {
    display: none;
}

.featured-news-list a:last-child {
    border-bottom: none;
}

.featured-news-list span {
    color: #0b63c7;
    font-weight: 900;
}

.featured-news-list h3 {
    margin: 0;
    color: #0b376f;
    font-size: 20px;
    transition: color 0.2s;
}

.featured-news-list a:hover h3 {
    color: #0b63c7;
}

.featured-news-list p {
    margin: 8px 0 0;
    color: #60758b;
    line-height: 1.75;
}

.featured-news-list time {
    color: #5f7188;
    text-align: right;
}

.news-detail-body {
    max-width: none;
    margin: 0;
    background: #fff;
    border: 1px solid #dceaf7;
    border-radius: 28px;
    padding: 42px 48px;
    box-shadow: 0 14px 40px rgba(8, 42, 90, 0.07);
}

.news-detail-body h1 {
    font-size: 30px;
    line-height: 1.35;
    color: #082a5a;
    margin: 0 0 16px;
}

.news-meta {
    color: #6b7d91;
    margin-bottom: 28px;
    border-bottom: 1px solid #e5eff8;
    padding-bottom: 18px;
}

.page-hero .news-meta {
    margin-bottom: 14px;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 14px;
    font-weight: 600;
}

.news-detail-page .page-hero p {
    max-width: none;
}

.news-detail-content {
    font-size: 16px;
    line-height: 2;
    color: #28384c;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.pager__btn,
.pager__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d8e8f8;
    background: #fff;
    color: #1e2c3a;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pager__btn:hover,
.pager__page:hover {
    border-color: #0b63c7;
    color: #0b63c7;
    background: #f8fcff;
}

.pager__page.is-active {
    background: #0b63c7;
    border-color: #0b63c7;
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 99, 199, 0.22);
}

.pager__page.is-active:hover {
    background: #0956ad;
    border-color: #0956ad;
    color: #fff;
}

.pager__btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.pager__pages {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.pager__pages::-webkit-scrollbar {
    display: none;
}

.pager__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 44px;
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
    pointer-events: none;
}

.pager__summary {
    display: none;
    color: #5f7188;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .news-archive-toolbar {
        grid-template-columns: 1fr;
    }

    .featured-news-list a {
        grid-template-columns: 1fr;
    }

    .featured-news-list time {
        text-align: left;
    }

    .news-detail-body {
        padding: 26px 20px;
    }
}

@media (max-width: 760px) {
    .news-tabs-switch button,
    .news-tabs-switch a {
        font-size: 15px;
        padding: 10px 12px;
    }

    .pager {
        justify-content: space-between;
    }

    .pager__pages {
        display: none;
    }

    .pager__summary {
        display: inline-flex;
        flex: 1;
        justify-content: center;
    }

    .pager__btn {
        min-width: auto;
        padding: 0 16px;
    }
}
