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

.news-card {
    padding: 28px;
    border: 1px solid #dedfd9;
    border-radius: 12px;
    background: #fff;
    overflow-wrap: anywhere;
}

.news-card time {
    color: #626b63;
    font-size: .875rem;
}

.news-card h2 {
    font-size: 1.5rem;
    line-height: 1.35;
    margin: 16px 0;
}

.news-card p {
    margin-bottom: 24px;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    list-style: none;
}

.news-body {
    max-width: 880px;
    overflow-wrap: anywhere;
    font-size: 1.125rem;
    line-height: 1.8;
}

.news-body a {
    text-decoration: underline;
}

.news-reading-layout { max-width: 880px; margin-inline: auto; }
.news-reading-layout--guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; max-width: 1200px; align-items: start; }
.news-body { min-width: 0; }
.news-body h2, .news-body h3 { scroll-margin-top: 110px; margin-top: 1.8em; line-height: 1.3; }
.news-body p, .news-body ul, .news-body ol { margin-bottom: 1em; }
.news-body ul, .news-body ol { padding-inline-start: 1.5em; }
.news-body ul { list-style: disc; }
.news-toc { position: sticky; top: 100px; border: 1px solid #dce3dd; border-radius: 12px; padding: 22px; background: #f5f7f3; max-height: 70vh; overflow-y: auto; }
.news-toc h2 { font-size: 18px; margin: 0 0 16px; }
.news-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.news-toc a { font-size: 14px; line-height: 1.5; display: block; text-decoration: none; }
.news-toc__subsection { padding-inline-start: 12px; }
.news-toc a:hover { text-decoration: underline; }
.news-cover { max-width: 1200px; margin: 0 auto 40px; }
.news-cover img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; background: #f5f7f3; border-radius: 12px; }
.news-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.news-gallery img, .news-card__image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
@media (max-width: 850px) { .news-reading-layout--guide { grid-template-columns: 1fr; gap: 24px; } .news-toc { position: static; max-height: none; } .news-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.news-card a:focus-visible,
.news-pagination a:focus-visible {
    outline: 3px solid #bf6c36;
    outline-offset: 4px;
}

.news-search {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.news-search .input {
    flex: 1;
    min-width: 180px;
}

.news-search label {
    display: block;
    margin-bottom: 8px;
}

.news-search input {
    width: 100%;
    padding: 12px;
    border: 1px solid #bfc6bf;
    border-radius: 6px;
    font: inherit;
}

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

@media (max-width: 580px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        padding: 22px;
    }
}
