.news-page {
    padding: 48px 0 64px;
    background: var(--background);
}

.news-page .contract-heading > p {
    max-width: 680px;
    color: var(--text-muted);
}

.news-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.news-sidebar {
    position: sticky;
    top: 96px;
}

.news-toc,
.news-article {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.news-toc h2 {
    margin: 0 0 18px;
    font-size: 17px;
}

.news-toc ol {
    margin: 0;
    padding-left: 20px;
}

.news-toc li + li {
    margin-top: 14px;
}

.news-toc a {
    color: var(--text-muted);
    font-size: 14px;
}

.news-page a:hover {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-page a:focus-visible,
.news-table-wrap:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.news-articles {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.news-article {
    scroll-margin-top: 96px;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

.news-article h2 {
    margin: 0 0 22px;
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.news-article ul {
    padding-left: 24px;
}

.news-article li + li {
    margin-top: 8px;
}

.news-article li::marker {
    color: var(--green);
}

.news-date {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
}

.news-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.news-article table {
    border-collapse: collapse;
    width: 100%;
    min-width: 540px;
    font-size: 14px;
}

.news-article th,
.news-article td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.news-article th {
    background: var(--background-green);
    font-weight: 600;
}

.news-article tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 900px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .news-sidebar {
        position: static;
    }

    .news-toc ol {
        columns: 2;
        column-gap: 32px;
    }

    .news-toc li {
        break-inside: avoid;
        padding-bottom: 12px;
    }

    .news-toc li + li {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .news-page {
        padding: 28px 0 40px;
    }

    .news-toc,
    .news-article {
        padding: 20px;
    }

    .news-toc ol {
        columns: 1;
    }
}

@media print {
    .news-sidebar {
        display: none;
    }

    .news-page {
        padding: 0;
        background: #fff;
    }

    .news-layout,
    .news-articles {
        display: block;
    }

    .news-article {
        border: 0;
        padding: 0;
        margin-top: 24px;
    }

    .news-article h2 {
        break-after: avoid;
    }

    .news-table-wrap {
        overflow: visible;
    }

    .news-article table {
        min-width: 0;
    }
}
