.page-news, .page-news #content { background: #f5f6f7; }
.news__card { margin-bottom: 64px; padding: 24px; border-radius: 20px; background: #fff; }
.news__card .news__title { margin: 0; color: #181b1e; font: 700 28px/32px Gilroy, sans-serif; letter-spacing: normal; text-transform: none; }
.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.news__item { min-width: 0; overflow: hidden; border-radius: 12px; background: #f7f8fa; }
.news__link { display: block; height: 100%; color: #181b1e; text-decoration: none; }
.news__link:hover, .news__link:focus { color: #181b1e; text-decoration: none; }
.news__link:focus-visible { outline: 2px solid #ff0032; outline-offset: -2px; border-radius: 12px; }
.news__media { height: 180px; background: #edeff2; }
.news__image { display: block; width: 100%; height: 180px; object-fit: cover; }
.news__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.news__item .news__item-title { display: -webkit-box; height: 48px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; color: #181b1e; font: 700 18px/24px Gilroy, sans-serif; letter-spacing: normal; text-transform: none; overflow-wrap: anywhere; }
.news__date { color: #626c77; font: 500 16px/20px Gilroy, sans-serif; }
.news__pagination { display: flex; justify-content: center; margin-top: 24px; }
.news__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.news__page { display: flex; align-items: center; justify-content: center; width: 64px; height: 40px; border-radius: 16px; background: #f7f8fa; color: #626c77; font: 600 18px/20px Gilroy, sans-serif; text-decoration: none; }
.news__page:hover { background: #e8eaed; color: #626c77; text-decoration: none; }
.news__page--active, .news__page--active:hover { background: #ff0032; color: #fff; }
.news__page:focus-visible, .news__empty-link:focus-visible { outline: 2px solid #181b1e; outline-offset: 3px; }
.news__empty { padding: 64px 16px; text-align: center; }
.news__card .news__empty-title { margin: 0 0 8px; color: #181b1e; font: 700 22px/24px Gilroy, sans-serif; text-transform: none; }
.news__empty-text { max-width: 328px; margin: 0 auto; color: #626c77; font: 500 14px/20px Gilroy, sans-serif; }
.news__empty-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 24px; padding: 0 24px; border-radius: 12px; background: #ff0032; color: #fff; font: 700 16px/20px Gilroy, sans-serif; }
.news__empty-link:hover { background: #e6002d; color: #fff; text-decoration: none; }
@media (max-width: 768px) {
 .page-news #content > .container { padding-inline: 16px; }
 .news__card .news__title { font-size: 22px; line-height: 24px; }
 .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
}
@media (max-width: 500px) {
 .news__card { padding: 16px; }
 .news__grid { grid-template-columns: minmax(0, 1fr); }
}
