.nav-link.item_news{
    color: #e20016;
}
.nav-link.item_news::after {
    width: 100%;
}

.news-banner {
    height: 360px;
    margin-top: 0;
}

.news-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-banner__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
    z-index: 1;
}

.news-cat-mobile {
    display: none;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .06);
    padding-top: 12px;
    padding-bottom: 12px;
}

.news-cat-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.news-cat-scroll::-webkit-scrollbar {
    display: none;
}

.news-cat-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    white-space: nowrap;
}

.news-cat-btn.active {
    background: #e20016;
    border-color: #e20016;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px 1px rgba(25, 27, 35, .09);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}

.news-card__thumb {
    height: 200px;
    overflow: hidden;
}

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

.news-card__body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    width: fit-content;
}

.news-tag--production {
    background: #fff0f0;
    color: #e20016;
}

.news-tag--safety {
    background: #f0f7f0;
    color: #2d8a4e;
}

.news-tag--culture {
    background: #f0f4ff;
    color: #3b5bdb;
}

.news-tag--charity {
    background: #fff8f0;
    color: #e67700;
}

.news-tag--employee {
    background: #f5f0ff;
    color: #7048e8;
}

.news-tag--honor {
    background: #fffbe6;
    color: #d4a017;
}

.news-tag--model {
    background: #f0ffff;
    color: #0c8599;
}

.news-card__title {
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card__desc {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-card__more {
    font-size: 13px;
    color: #e20016;
    transition: transform .3s;
}

.news-empty {
    text-align: center;
    padding: 60px 0;
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
}

.news-page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 40px;
    color: #999;
}

.news-pagination {
    gap: 8px;
    flex-wrap: wrap;
}

.news-page-btn,
.news-page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    color: #666;
    font-size: 14px;
    transition: all .3s;
    text-decoration: none;
}

.news-page-num.active,
.news-page-btn:not(.disabled):hover,
.news-page-num:hover {
    background: #e20016;
    border-color: #e20016;
    color: #fff;
}

.news-page-btn.disabled {
    opacity: .4;
    pointer-events: none;
}

/* 资讯详情页 */
.news-detail-bread .bread_box .item:last-child a {
    color: #d80c1e;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.news-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px 1px rgba(25, 27, 35, .09);
    padding: 48px 56px;
}

.news-detail__head {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
    margin-bottom: 36px;
}

.news-detail__tag {
    display: inline-block;
    margin-bottom: 20px;
}

.news-detail__title {
    margin-bottom: 20px;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #999;
    font-size: 14px;
}

.news-detail__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-detail__meta-item::before {
    display: none;
}

.news-detail__content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.news-detail__content p[style*="text-align: center"],
.news-detail__content p[style*="text-align:center"] {
    text-indent: 0;
}

.news-detail__content img {
    max-width: 100%;
    height: auto;
}

.news-detail__content p:last-child {
    margin-bottom: 0;
}

.news-detail__actions {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    height: 48px;
    padding: 0 32px;
    border: 1px solid #e20016;
    border-radius: 4px;
    background: #fff;
    color: #e20016;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .3s, color .3s, box-shadow .3s, transform .3s;
}

.news-detail__back-icon {
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: -2px;
    transition: transform .3s;
}

@media only screen and (min-width: 961px) {
    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(25, 27, 35, .12);
    }

    .news-card:hover .news-card__more {
        transform: translateX(4px);
    }

    .news-detail__back:hover {
        background: #e20016;
        color: #fff;
        box-shadow: 0 8px 20px rgba(226, 0, 22, .25);
        transform: translateY(-2px);
    }

    .news-detail__back:hover .news-detail__back-icon {
        transform: rotate(45deg) translateX(-2px);
    }
}

@media only screen and (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .news-banner {
        height: 220px;
    }

    .news-cat-mobile {
        display: block;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card__thumb {
        height: 180px;
    }

    .news-card__body {
        padding: 16px;
    }

    .news-section {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .news-detail-bread.bread {
        display: block;
    }

    .news-detail {
        padding: 28px 20px;
    }
    .news-detail__meta {
        gap: 12px;
        font-size: 13px;
    }

    .news-detail-bread .bread_box .item:last-child a {
        max-width: 160px;
    }

    .news-detail-section {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .news-detail__head {
        padding-bottom: 20px;
        margin-bottom: 25px;
    }
    .news-detail__title {
        margin-bottom: 15px;
    }
    .news-detail__actions {
        margin-top: 30px;
        padding-top: 20px;
    }

    .news-detail__back {
        min-width: 168px;
        height: 44px;
        padding: 0 24px;
        font-size: 14px;
    }
}

/* 资讯列表 — 分类筛选（JS） */
.bread .item-r .news-cat-label {
    position: relative;
    margin-right: 56px;
    display: flex;
    align-items: center;
    height: 100%;
    color: #333;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.bread .item-r .news-cat-label:last-child {
    margin-right: 0;
}

.bread .item-r .news-cat-label::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #D80C1E;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(0);
    transition: all .4s;
}

.bread .item-r .news-cat-label.is-active {
    color: #D80C1E;
}

.bread .item-r .news-cat-label.is-active::after {
    transform: scale(1);
}

.news-card.is-hidden {
    display: none !important;
}

.news-pagination button.news-page-btn,
.news-pagination button.news-page-num {
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.news-empty {
    padding: 48px 20px 56px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px 1px rgba(25, 27, 35, .06);
}

.news-empty__icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    overflow: visible;
    fill: none;
    vertical-align: initial;
}

.news-empty__text {
    font-size: 14px;
    color: #909399;
    line-height: 1.6;
}
