.news-page {
    min-height: calc(100vh - 198px);
    background: #fff;
}

.news-shell {
    max-width: 960px;
}

.news-list-banner {
    padding: 20px 0 28px;
}

.news-list-banner img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.news-list-section {
    padding-bottom: 42px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 275px 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 0 0 34px;
    margin-bottom: 20px;
    /*border-bottom: 1px solid #dedede;*/
}

.news-list-item:last-child {
    margin-bottom: 0;
}

.news-list-image {
    display: block;
    height: 155px;
    overflow: hidden;
    background: #f2f2f2;
}

.news-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    border-radius: 5px;
}

.news-list-image:hover img {
    transform: scale(1.04);
}

.news-date-box {
    display: flex;
    width: 56px;
    height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedede;
    color: #333;
    line-height: 1;
    border-radius: 5px;
}

.news-date-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 25px;
    font-weight: 700;
}

.news-date-box span {
    color: #777;
    font-size: 10px;
}

.news-list-copy {
    min-width: 0;
}

.news-list-copy h1 {
    margin: 0 0 20px;
    color: #333;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

.news-list-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: #707070;
    font-size: 15px;
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
    min-width: 122px;
    height: 44px;
    background: #1f1f1f;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition:
            background 0.2s ease,
            transform 0.2s ease;
    border-radius: 5px;
}

.news-detail-button:hover {
    background: #cc1325;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.news-detail-shell {
    max-width: 1080px;
    padding-top: 20px;
    padding-bottom: 58px;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin-bottom: 34px;
    background: rgba(245, 245, 245, 0.47);
    box-shadow: 0 0 0 100vmax rgba(245, 245, 245, 0.47);
    clip-path: inset(0 -100vmax);
    color: #9a9a9a;
    font-size: 15px;
    padding-top: 10px;
}

.news-breadcrumb a {
    color: #9a9a9a;
    text-decoration: none;
}

.news-breadcrumb a:hover {
    color: #cc1325;
}

.news-breadcrumb .current {
    min-width: 0;
    overflow: hidden;
    color: #3d3d3d;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-detail-header {
    margin-bottom: 52px;
    text-align: center;
}

.news-detail-header h1 {
    max-width: 760px;
    margin: 0 auto;
    color: #333;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.45;
}

.news-detail-header p {
    margin: 16px 0 0;
    color: #555;
    font-size: 12px;
    text-align: right;
}

.news-detail-image {
    display: block;
    width: 100%;
    height: 185px;
    margin-bottom: 24px;
    object-fit: cover;
}

.news-detail-content {
    color: #333;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
}

.news-detail-content p {
    margin: 0 0 10px;
    text-indent: 2em;
    font-size: 16px;
}

.news-fade-in {
    animation: newsFadeIn 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    border-radius: 5px;
}

.news-fade-up {
    animation: newsFadeUp 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.news-list-banner img:not(.uk-scrollspy-inview),
.news-list-item:not(.uk-scrollspy-inview),
.news-detail-header:not(.uk-scrollspy-inview),
.news-detail-image:not(.uk-scrollspy-inview),
.news-detail-content p:not(.uk-scrollspy-inview) {
    opacity: 0;
}

@keyframes newsFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.985);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes newsFadeUp {
    0% {
        opacity: 0;
        transform: translateY(26px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 分页导航 ===== */
.relate-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 30px 0 0;
}

.relate-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    background: #fff;
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.relate-pagination a.active {
    border-color: #777;
    color: #333;
}

.relate-pagination a.disabled {
    color: #cfcfcf;
    pointer-events: none;
}

/* 分页省略号 */
.relate-pagination .relate-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #999;
    font-size: 13px;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 960px) {
    .news-page {
        min-height: calc(100svh - 138px);
    }

    .news-shell,
    .news-detail-shell {
        max-width: calc(100% - 32px);
    }

    .news-list-banner img {
        height: 220px;
    }

    .news-list-item {
        grid-template-columns: 220px 56px minmax(0, 1fr);
    }

    .news-list-copy h1 {
        font-size: 18px;
    }

    .news-detail-header {
        margin-bottom: 34px;
    }
}

@media (max-width: 640px) {
    .news-shell,
    .news-detail-shell {
        max-width: calc(100% - 24px);
    }

    .news-list-banner {
        padding: 14px 0 24px;
    }

    .news-list-banner img {
        height: 150px;
    }

    .news-list-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding-bottom: 26px;
        margin-bottom: 26px;
    }

    .news-list-image {
        grid-column: 1 / -1;
        height: 175px;
    }

    .news-date-box {
        width: 56px;
    }

    .news-list-copy h1 {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .news-list-copy p {
        -webkit-line-clamp: 3;
        font-size: 14px;
    }

    .news-detail-button {
        float: none;
        width: 100%;
    }

    .news-detail-shell {
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .news-breadcrumb {
        flex-wrap: wrap;
        margin-bottom: 24px;
        font-size: 13px;
    }

    .news-breadcrumb .current {
        flex-basis: 100%;
        white-space: normal;
    }

    .news-detail-header h1 {
        font-size: 21px;
    }

    .news-detail-image {
        height: 155px;
    }

    .news-detail-content {
        font-size: 13px;
    }

    .relate-pagination {
        justify-content: center;
    }
}
