.news-page {
    --news-blue: var(--primary-color);
    --news-blue-dark: #0c1943;
    --news-line: #e5eaf3;
    --news-muted: #7b8494;
    --news-bg: #f6f8fb;
    color: #1f2933;
    background: var(--news-bg);
}

.news-page *,
.news-page *::before,
.news-page *::after {
    box-sizing: border-box;
}

.news-page a {
    color: inherit;
    text-decoration: none !important;
}

.news-page__menu {
    background: transparent;
}

.news-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 56px;
}

.news-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.news-kicker {
    margin: 0 0 5px;
    color: var(--news-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.news-hero h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.news-hero__home,
.news-related__head a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid #d4dbe8;
    border-radius: 4px;
    color: var(--news-blue);
    background: #fff;
    font-size: 14px;
}

.news-hero__home:hover,
.news-related__head a:hover {
    color: #fff;
    background: var(--news-blue);
}

.news-list-panel,
.news-article,
.news-related {
    border: 1px solid #d9dee8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 40, 109, .06);
}

.news-list {
    padding: 8px 24px;
}

.news-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid var(--news-line);
}

.news-list__item:last-child {
    border-bottom: 0;
}

.news-list__item h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.news-list__item p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #626b7a;
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-list__item time {
    align-self: start;
    color: var(--news-muted);
    font-size: 14px;
    line-height: 24px;
    text-align: right;
    white-space: nowrap;
}

.news-list__item:hover h2 {
    color: var(--news-blue);
}

.news-pagination {
    min-height: 45px;
    padding: 18px 16px 24px;
    text-align: center;
}

.news-page .layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: var(--news-blue);
}

.news-empty {
    padding: 46px 20px;
    color: var(--news-muted);
    text-align: center;
}

.news-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.news-article {
    padding: 34px 42px 30px;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--news-muted);
    font-size: 14px;
}

.news-breadcrumb a:hover {
    color: var(--news-blue);
}

.news-article h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.news-article__meta {
    margin: 18px 0 26px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #ccd4e2;
    color: var(--news-muted);
    font-size: 14px;
    text-align: center;
}

.news-article__content {
    color: #263241;
    font-size: 16px;
    line-height: 1.9;
}

.news-article__content p {
    margin: 0 0 16px;
}

.news-article__content img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 16px auto;
}

.news-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed #ccd4e2;
}

.news-nav-links a {
    display: block;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--news-line);
    border-radius: 4px;
    background: #fbfcff;
}

.news-nav-links span {
    display: block;
    margin-bottom: 6px;
    color: var(--news-muted);
    font-size: 13px;
}

.news-nav-links strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-nav-links a:hover strong {
    color: var(--news-blue);
}

.news-related {
    padding: 24px;
}

.news-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.news-related__head h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.news-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}

.news-related__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 12px;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px solid var(--news-line);
}

.news-related__item span {
    overflow: hidden;
    color: #20242b;
    font-size: 15px;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-related__item time {
    color: var(--news-muted);
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.news-related__item:hover span {
    color: var(--news-blue);
}

@media (max-width: 799px) {
    .news-shell {
        padding: 20px 13px 42px;
    }

    .news-hero {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .news-hero h1 {
        font-size: 24px;
    }

    .news-list {
        padding: 4px 16px;
    }

    .news-list__item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }

    .news-list__item h2 {
        font-size: 17px;
    }

    .news-list__item time {
        text-align: left;
    }

    .news-article {
        padding: 24px 18px;
    }

    .news-article h1 {
        font-size: 24px;
        text-align: left;
    }

    .news-article__meta {
        text-align: left;
    }

    .news-nav-links,
    .news-related__grid {
        grid-template-columns: 1fr;
    }

    .news-related {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        display: block;
    }

    .news-hero__home {
        margin-top: 12px;
    }

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

    .news-related__item {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px 0;
    }

    .news-related__item span {
        white-space: normal;
    }

    .news-related__item time {
        text-align: left;
    }
}
