/* 新闻列表页：简洁资讯中心布局，突出筛选、列表和翻页 */
.newsPage {
    background: #f6f7f8;
}

.siteHeader {
    background: rgba(24, 27, 31, 0.88);
    backdrop-filter: blur(12px);
}

.newsHeroSection {
    padding: 112px 0 10px;
    background: linear-gradient(180deg, #f7f8f9 0%, #f5f6f7 100%);
}

.newsHeroHead {
    max-width: 760px;
}

.newsHeroBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 18px;
    margin-bottom: 20px;
    color: #556273;
    background: #fbf5f2;
    border: 1px solid #f0d7ca;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.newsHeroTitle {
    margin-bottom: 0;
    font-size: 36px;
    line-height: 1.28;
}

.newsLibrarySection {
    padding: 0 0 72px;
}

.newsToolbar,
.newsArticleList,
.newsEmptyState {
    background: #ffffff;
    border: 1px solid #e5e9ec;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(24, 27, 31, 0.04);
}

.newsToolbar {
    padding: 24px 28px 26px;
    margin-bottom: 22px;
}

.newsToolbarMeta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.newsToolbarMetaMain {
    min-width: 0;
}

.newsToolbarEyebrow {
    display: block;
    margin-bottom: 8px;
    color: #5a6673;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsToolbarCount {
    color: var(--color-charcoal);
    font-size: 14px;
    line-height: 1.6;
}

.newsToolbarCount strong {
    margin-right: 6px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.newsToolbarPageState {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 34px;
    padding: 0 14px;
    color: #6b7580;
    background: #f8fafb;
    border: 1px solid #e0e6ea;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.newsToolbarFilterRow {
    display: grid;
    grid-template-columns: 180px 180px minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.newsToolbarField {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.newsToolbarFieldSearch {
    min-width: 0;
}

.newsToolbarLabel {
    color: #66717c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.newsToolbarSelect,
.newsSearchInput {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--color-charcoal);
    background: #fbfcfc;
    border: 1px solid #d8e0e5;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.newsToolbarSelect {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7783 50%), linear-gradient(135deg, #6b7783 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.newsToolbarSelect:focus,
.newsSearchInput:focus {
    outline: none;
    border-color: #efc4ad;
    box-shadow: 0 0 0 3px rgba(221, 126, 55, 0.08);
    background: #ffffff;
}

.newsSearchInput::placeholder {
    color: #98a2ad;
}

.newsToolbarButtons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsToolbarReset,
.newsToolbarApply,
.newsPaginationButton,
.newsPaginationPage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.newsToolbarReset {
    color: #5f6973;
    background: #ffffff;
    border: 1px solid #d8e0e5;
}

.newsToolbarReset:hover,
.newsToolbarReset:focus {
    color: var(--color-orange-dark);
    border-color: #efc4ad;
    background: #fff9f5;
}

.newsToolbarApply {
    color: #ffffff;
    background: var(--color-orange);
    border: 1px solid var(--color-orange);
}

.newsToolbarApply:hover,
.newsToolbarApply:focus {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
    transform: translateY(-1px);
}

.newsToolbarApplied {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf1f3;
}

.newsToolbarAppliedItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: #53616d;
    background: #faf7f4;
    border: 1px solid #f0ded3;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}

.newsToolbarAppliedLabel {
    color: #7d878f;
    font-weight: 700;
}

.newsToolbarAppliedValue {
    color: var(--color-orange-dark);
    font-weight: 700;
}

.newsArticleList {
    overflow: hidden;
}

.newsArticleRow {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px 28px;
    border-bottom: 1px solid #e8edf0;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease;
}

.newsArticleRow:last-child {
    border-bottom: none;
}

.newsArticleRow:hover,
.newsArticleRow:focus {
    background: #fbfcfc;
    box-shadow: inset 3px 0 0 rgba(221, 126, 55, 0.55);
}

.newsArticleThumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 118px;
    background: #eef2f4;
    border: 1px solid #e3e8eb;
    border-radius: 8px;
}

.newsArticleThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsArticleThumb.empty {
    background: linear-gradient(180deg, #f8fafb 0%, #f4f6f8 100%);
    border-style: dashed;
}

.newsMediaCamp img {
    object-position: center 40%;
}

.newsMediaFactory img {
    object-position: center 55%;
}

.newsMediaCatalog img {
    object-position: center 44%;
}

.newsMediaLogistics img {
    object-position: 54% 50%;
}

.newsMediaMaterials img {
    object-position: 46% 54%;
}

.newsMediaSafety img {
    object-position: 52% 46%;
}

.newsMediaGuide img {
    object-position: 52% 50%;
}

.newsArticleBody {
    min-width: 0;
    padding-top: 2px;
}

.newsArticleMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: #7c8792;
    font-size: 13px;
    line-height: 1.7;
}

.newsArticleMetaTag {
    color: var(--color-orange-dark);
    font-weight: 700;
}

.newsArticleMetaDivider {
    color: #b2bac2;
}

.newsArticleTitle {
    margin-top: 10px;
    color: var(--color-charcoal);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.newsArticleSummary {
    margin-top: 10px;
    color: #5f6871;
    font-size: 14px;
    line-height: 1.85;
}

.newsArticleActions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.newsReadAction {
    display: inline-flex;
    align-items: center;
    color: var(--color-orange-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.newsReadAction::after {
    content: ">";
    margin-left: 8px;
    font-size: 12px;
}

.newsEmptyState {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 36px 24px;
    text-align: center;
}

.newsEmptyTitle {
    margin-bottom: 10px;
    color: var(--color-charcoal);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.newsEmptyDesc {
    max-width: 420px;
    color: #65707a;
    font-size: 14px;
    line-height: 1.9;
}

.newsPagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.newsPaginationButton,
.newsPaginationPage {
    min-width: 46px;
    color: #5f6973;
    background: #ffffff;
    border: 1px solid #dce3e8;
}

.newsPaginationPage.ellipsis {
    cursor: default;
    pointer-events: none;
    color: #9da6ae;
    background: #f8fafb;
}

.newsPaginationPage.active {
    color: #ffffff;
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.newsPaginationButton:hover,
.newsPaginationButton:focus,
.newsPaginationPage:hover,
.newsPaginationPage:focus {
    color: var(--color-orange-dark);
    border-color: #efc4ad;
    background: #fff8f4;
}

.newsPaginationPage.active:hover,
.newsPaginationPage.active:focus {
    color: #ffffff;
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
}

.newsPaginationButton.disabled {
    color: #a6afb7;
    background: #f7f8f9;
    border-color: #e8edf0;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1199px) {
    .newsToolbarFilterRow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsToolbarButtons {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .newsHeroSection {
        padding-top: 132px;
    }

    .newsToolbar {
        padding: 22px 20px;
    }

    .newsToolbarMeta {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsToolbarPageState {
        min-width: 54px;
    }

    .newsArticleRow {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: 18px;
        padding: 22px 20px;
    }

    .newsArticleThumb {
        height: 102px;
    }

    .newsArticleTitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .newsHeroSection {
        padding-top: 118px;
        padding-bottom: 28px;
    }

    .newsToolbarFilterRow {
        grid-template-columns: 1fr;
    }

    .newsToolbarButtons {
        width: 100%;
    }

    .newsToolbarReset,
    .newsToolbarApply {
        flex: 1 1 0;
    }

    .newsToolbarApplied {
        gap: 8px;
    }

    .newsToolbarAppliedItem {
        max-width: 100%;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .newsArticleRow {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 16px;
    }

    .newsArticleThumb {
        height: 80px;
    }

    .newsArticleTitle {
        font-size: 17px;
    }

    .newsArticleSummary {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.75;
    }

    .newsArticleMeta {
        font-size: 12px;
    }

    .newsPagination {
        gap: 8px;
        margin-top: 22px;
    }

    .newsPaginationButton,
    .newsPaginationPage {
        min-width: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }
}
