.news-page {
    --news-blue: #2563eb;
    --news-blue-dark: #1d4ed8;
    --news-ink: #0f172a;
    --news-text: #334155;
    --news-muted: #64748b;
    --news-line: #e2e8f0;
    --news-soft: #f8fafc;
    --news-panel: #ffffff;
    background:
        radial-gradient(circle at 12% 0, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #f8fafc 0, #ffffff 320px, #f8fafc 100%);
    min-height: 70vh;
    padding: 34px 16px 64px;
}

.news-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    padding: 22px 0 28px;
    border-bottom: 1px solid var(--news-line);
}

.news-eyebrow,
.news-card-meta span,
.news-article-meta span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(37, 99, 235, .18);
    background: rgba(37, 99, 235, .07);
    color: var(--news-blue-dark);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.news-hero h1,
.news-article h1 {
    margin: 12px 0 10px;
    color: var(--news-ink);
    font-family: inherit;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.news-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--news-muted);
    font-size: 16px;
    line-height: 1.6;
}

.news-hero-stat {
    min-width: 132px;
    border: 1px solid var(--news-line);
    background: rgba(255, 255, 255, .78);
    border-radius: 8px;
    padding: 16px;
    text-align: right;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.news-hero-stat span {
    display: block;
    color: var(--news-ink);
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.news-hero-stat small {
    display: block;
    margin-top: 6px;
    color: var(--news-muted);
    font-size: 13px;
}

.news-feed {
    position: relative;
    margin-top: 18px;
}

.news-feed:before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 22px;
    width: 2px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .35), rgba(226, 232, 240, .3));
}

.news-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    margin: 0 0 14px;
    padding: 20px 20px 20px 54px;
    border: 1px solid var(--news-line);
    background: rgba(255, 255, 255, .92);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.news-card:before {
    content: "";
    position: absolute;
    top: 28px;
    left: 16px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    background: var(--news-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .26), 0 8px 16px rgba(37, 99, 235, .22);
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .085);
}

.news-card-meta,
.news-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}

.news-card time,
.news-article time {
    color: var(--news-muted);
    font-size: 13px;
    line-height: 1.2;
}

.news-card-title {
    display: block;
    margin-bottom: 9px;
    color: var(--news-ink);
    font-size: 21px;
    line-height: 1.22;
    font-weight: 800;
    text-decoration: none;
}

.news-card-title:hover,
.news-card-link:hover,
.news-back:hover {
    color: var(--news-blue-dark);
}

.news-card p {
    margin: 0;
    color: var(--news-text);
    font-size: 15px;
    line-height: 1.65;
}

.news-card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--news-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.news-card-link:after,
.news-back:before {
    transition: transform .18s ease;
}

.news-card-link:after {
    content: ">";
    margin-left: 7px;
}

.news-card-link:hover:after {
    transform: translateX(3px);
}

.news-card-image img,
.news-full-image {
    width: 100%;
    border: 1px solid var(--news-line);
    background: #f1f5f9;
    border-radius: 8px;
    object-fit: cover;
}

.news-card-image img {
    height: 148px;
}

.news-empty,
.news-loader {
    border: 1px dashed var(--news-line);
    background: rgba(255, 255, 255, .76);
    border-radius: 8px;
    color: var(--news-muted);
    text-align: center;
    padding: 22px;
    font-size: 14px;
}

.news-loader {
    display: none;
    margin-top: 12px;
}

.news-loader.is-active {
    display: block;
}

.news-article-shell {
    width: min(900px, 100%);
}

.news-back {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    color: var(--news-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.news-back:before {
    content: "<";
    margin-right: 7px;
}

.news-back:hover:before {
    transform: translateX(-3px);
}

.news-article {
    border: 1px solid var(--news-line);
    background: var(--news-panel);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .07);
}

.news-article h1 {
    max-width: 780px;
    font-size: clamp(30px, 4vw, 48px);
}

.news-full-image {
    display: block;
    max-height: 460px;
    margin: 18px 0 26px;
}

.news-full-text {
    color: #1f2937;
    font-size: 17px;
    line-height: 1.78;
    white-space: normal;
}

@media (max-width: 780px) {
    .news-page {
        padding: 22px 12px 46px;
    }

    .news-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 10px;
    }

    .news-hero-stat {
        width: 100%;
        text-align: left;
    }

    .news-feed:before {
        left: 16px;
    }

    .news-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px 16px 18px 42px;
    }

    .news-card:before {
        left: 10px;
    }

    .news-card-image {
        order: -1;
    }

    .news-card-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .news-card-title {
        font-size: 19px;
    }

    .news-article {
        padding: 22px 16px;
    }
}
