.news-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 74% 10%, rgba(128, 75, 255, 0.16), transparent 38%),
        linear-gradient(180deg, #080313 0%, #10061f 56%, #07020f 100%);
    color: #ffffff;
}

.news-page-main {
    padding: 118px var(--page-gutter) 76px;
}

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

.news-page-head,
.news-detail,
.news-page-message {
    border: 1px solid rgba(160, 120, 255, 0.22);
    border-radius: 12px;
    background:
        radial-gradient(circle at 85% 0%, rgba(155, 92, 255, 0.16), transparent 42%),
        linear-gradient(170deg, rgba(22, 11, 44, 0.74), rgba(9, 4, 20, 0.84));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.news-page-head {
    padding: clamp(28px, 4vw, 48px);
    margin-bottom: 22px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    color: #bca4ff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 18px;
}

.news-back-link:hover {
    color: #ffffff;
}

.news-detail-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(111, 255, 221, 0.26);
    border-radius: 6px;
    padding: 6px 10px;
    color: #86f5d8;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.news-page-head h1,
.news-detail h1,
.news-page-message h1 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
}

.news-page-head p,
.news-page-message p {
    max-width: 680px;
    margin: 16px 0 0;
    color: #cfc6e3;
    font-size: 17px;
    line-height: 1.65;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 18px;
}

.news-list-card {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(160, 120, 255, 0.22);
    border-radius: 12px;
    background: linear-gradient(170deg, rgba(22, 11, 44, 0.66), rgba(9, 4, 20, 0.78));
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.news-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 165, 255, 0.5);
    background: linear-gradient(170deg, rgba(28, 14, 56, 0.72), rgba(13, 7, 28, 0.84));
}

.news-list-card-media {
    min-height: 190px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
}

.news-list-card-image,
.news-page-image {
    display: block;
    width: 100%;
    object-fit: contain;
    background: rgba(4, 1, 12, 0.62);
}

.news-list-card-image {
    height: 210px;
}

.news-list-card-body {
    padding: 20px;
}

.news-list-card h2 {
    margin: 12px 0 10px;
    font-size: 23px;
    line-height: 1.25;
}

.news-list-card p {
    margin: 0;
    color: #cfc6e3;
    font-size: 14px;
    line-height: 1.65;
}

.news-detail {
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
}

.news-detail-head {
    max-width: 920px;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.news-detail-meta time,
.news-detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(160, 120, 255, 0.42);
    border-radius: 6px;
    padding: 6px 10px;
    color: #d7c9ff;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.1;
    text-transform: uppercase;
}

.news-page-image {
    height: auto;
    max-height: none;
    margin: 30px 0 34px;
    border-radius: 10px;
    border: 1px solid rgba(160, 120, 255, 0.2);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.news-detail-content {
    max-width: 900px;
    color: #e5ddf4;
    font-size: 18px;
    line-height: 1.78;
}

.news-detail-content p {
    margin: 0 0 18px;
}

.news-detail-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(160, 120, 255, 0.16);
}

.news-detail-footer .news-back-link {
    margin-bottom: 0;
}

.news-page-loading,
.news-page-empty,
.news-page-message {
    padding: 28px;
    color: #cfc6e3;
}

.news-page-empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(160, 120, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 720px) {
    .news-page-main {
        padding-top: 104px;
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .news-list-card-image {
        height: 190px;
    }

    .news-page-image {
        margin: 22px 0 26px;
        border-radius: 8px;
    }
}
