:root {
    --news-bg: #080808;
    --news-panel: #151515;
    --news-border: rgba(255, 255, 255, 0.1);
    --news-muted: #aaa;
    --news-red: #e31d2b;
    --news-red-light: #ff4b58;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body.news-page {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(227, 29, 43, 0.13), transparent 30%),
        var(--news-bg);
}

.news-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    padding: 90px 24px 55px;
    text-align: center;
    background:
        radial-gradient(circle, rgba(227, 29, 43, 0.23), transparent 35%),
        linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.9)),
        url("/assets/images/hero-banner.svg") center / cover no-repeat;
    border-bottom: 1px solid var(--news-border);
}

.news-back {
    position: absolute;
    top: 24px;
    left: clamp(18px, 4vw, 56px);
    color: #ddd;
    font-weight: 800;
    text-decoration: none;
}

.news-back:hover {
    color: #fff;
}

.news-eyebrow {
    color: var(--news-red-light);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.news-hero h1 {
    margin: 12px 0;
    font-size: clamp(3.8rem, 11vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.news-hero p {
    color: #ccc;
    font-size: 1.08rem;
}

.news-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0 90px;
}

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

.news-block {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    background: var(--news-panel);
    border: 1px solid var(--news-border);
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.news-block:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 75, 88, 0.3);
}

.news-featured {
    grid-column: span 2;
}

.news-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(135deg, #8f0d17, #171717);
}

.news-featured .news-image {
    aspect-ratio: 16 / 8;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

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

.news-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 35%),
        linear-gradient(135deg, #870c16, #171717);
}

.news-image-placeholder span {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.news-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    min-width: 58px;
    padding: 8px 10px;
    text-align: center;
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    backdrop-filter: blur(10px);
}

.news-date-badge strong {
    color: var(--news-red-light);
    font-size: 1.25rem;
}

.news-date-badge small {
    margin-top: 2px;
    color: #ddd;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

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

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--news-red-light);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-meta span:last-child {
    color: #777;
}

.news-content h2 {
    margin: 11px 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.18;
}

.news-content h2 a {
    color: #fff;
    text-decoration: none;
}

.news-featured .news-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.news-content > p {
    margin: 0 0 20px;
    color: var(--news-muted);
    line-height: 1.7;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--news-border);
}

.news-footer time {
    color: #757575;
    font-size: 0.78rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.news-read-more span {
    color: var(--news-red-light);
}

.news-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 30px;
    background: var(--news-panel);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
}

.news-empty-icon {
    display: grid;
    width: 65px;
    height: 65px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #8f0d17, var(--news-red-light));
    border-radius: 16px;
}

.news-empty h2 {
    margin: 0 0 7px;
}

.news-empty p {
    margin: 0;
    color: var(--news-muted);
    line-height: 1.6;
}

.news-empty a {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.news-page-footer {
    padding: 25px;
    color: #777;
    text-align: center;
    background: #050505;
    border-top: 1px solid var(--news-border);
}

@media (max-width: 950px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-featured {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .news-hero {
        min-height: 340px;
    }

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

    .news-featured {
        grid-column: auto;
    }

    .news-featured .news-image,
    .news-image {
        aspect-ratio: 16 / 10;
    }

    .news-empty {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .news-empty-icon,
    .news-empty a {
        justify-self: center;
    }

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