body[data-page="news"] main { padding-top: var(--nav-h); }
.news-toolbar { background: #fff; }
.news-toolbar__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.news-tabs { display: flex; gap: 40px; align-self: stretch; }
.news-tab { position: relative; background: none; border: 0; padding: 0; font-size: 18px; color: #0a0d0f; white-space: nowrap; }
.news-tab[aria-selected="true"] { font-weight: 700; }
.news-tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #0086ff; }
.news-search { display: flex; align-items: center; gap: 10px; width: min(595px, 55%); }
.news-search input { width: 100%; min-width: 0; height: 40px; border: 1px solid transparent; background: #f5f7fa; border-radius: 4px; padding: 0 16px; font-size: 14px; }
.news-search input::placeholder { color: #b9bdc4; }
.news-search input:focus { border-color: #0086ff; outline: 0; }
.news-search button { height: 40px; min-width: 100px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 4px; background: #0086ff; color: white; font-size: 14px; font-weight: 600; }
.news-search button:hover { background: #0072dc; }
.news-search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.news-catalog { background: #f5f7fa; padding: 36px 0 72px; min-height: 580px; }
.news-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.news-card { display: flex; flex-direction: column; min-width: 0; padding: 6px; border-radius: 16px; background: #fff; color: #0a0d0f; transition: box-shadow .3s ease; }
.news-card[hidden] { display: none; }
.news-card__image { border-radius: 12px; overflow: hidden; background: #edf1f5; }
.news-card__image img { width: 100%; aspect-ratio: 368 / 225; height: auto; object-fit: cover; transition: transform .8s ease; }
.news-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.news-card h2 { color: #0a0d0f; font-size: 20px; font-weight: 700; line-height: 1.5; height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s ease; }
.news-card__summary { font-size: 16px; line-height: 1.8; letter-spacing: .5px; color: #434649; margin-top: 10px; max-height: 5.4em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__meta { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13px; line-height: 1.6; color: #909295; margin-top: auto; padding-top: 16px; }
.news-card:focus-visible h2 { color: #0086ff; }
@media (hover: hover) and (pointer: fine) {
  .news-card:hover { box-shadow: 0 12px 32px rgba(24,52,80,.06); }
  .news-card:hover img { transform: scale(1.05); }
  .news-card:hover h2 { color: #0086ff; }
}
.news-empty { text-align: center; padding: 100px 16px; color: #909295; }
.news-empty p { margin-bottom: 22px; font-size: 16px; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; }
.news-pagination[hidden], .news-empty[hidden] { display: none; }
.news-pagination button { min-width: 36px; height: 36px; border: 0; background: #fff; border-radius: 4px; padding: 0 12px; color: #656a73; }
.news-pagination button[aria-current="page"] { background: #0086ff; color: #fff; }
.news-pagination button:disabled { opacity: .4; cursor: default; }
@media (max-width: 1100px) { .news-card-grid { gap: 22px; } .news-card__body { padding: 14px 12px 18px; } }
@media (max-width: 860px) {
  .news-toolbar__inner { flex-wrap: wrap; gap: 0; padding-top: 20px; padding-bottom: 20px; }
  .news-tabs { height: 48px; gap: 32px; }
  .news-search { width: 100%; margin-top: 16px; }
  .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-catalog { padding-top: 24px; }
  .news-card h2 { font-size: 18px; }
  .news-card__summary { font-size: 15px; }
}
@media (max-width: 560px) { .news-card-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .news-card__body { padding: 16px 14px 18px; } .news-card h2 { height: auto; max-height: 3em; } }
@media (prefers-reduced-motion: reduce) { .news-card:hover img { transform: none; } }
