* {
  box-sizing: border-box;
}

.news-page {
  margin: 0;
  min-height: 100vh;
  background: #101418;
  color: #f5f7fa;
  font-family: Arial, Helvetica, sans-serif;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 34px;
  border-bottom: 1px solid #26313d;
  background: #111923;
}

.news-kicker {
  color: #66c0f4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-title {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.news-nav-link {
  color: #c7d5e0;
  background: #1b2a3a;
  border: 1px solid #2f455d;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.news-main {
  padding: 28px 34px 56px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.news-card,
.news-article {
  background: #1a2838;
  border: 1px solid #26384c;
  border-radius: 8px;
  padding: 18px;
}

.news-type {
  width: fit-content;
  border-radius: 999px;
  background: rgba(102, 192, 244, .14);
  border: 1px solid rgba(102, 192, 244, .35);
  color: #66c0f4;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card-title {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.news-card-title a {
  color: #f5f7fa;
  text-decoration: none;
}

.news-card-title a:hover {
  color: #66c0f4;
}

.news-excerpt,
.news-meta {
  color: #9aa7b4;
  line-height: 1.5;
}

.news-meta {
  margin-top: 14px;
  font-size: 13px;
}

.news-article {
  max-width: 920px;
}

.news-article-title {
  margin: 14px 0 10px;
  font-size: 40px;
  line-height: 1.08;
}

.news-body {
  margin-top: 24px;
  color: #dbe7f3;
  font-size: 17px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.news-empty {
  color: #9aa7b4;
  background: #1a2838;
  border: 1px solid #26384c;
  border-radius: 8px;
  padding: 18px;
}

@media (max-width: 720px) {
  .news-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px;
  }

  .news-main {
    padding: 20px 18px 42px;
  }

  .news-title,
  .news-article-title {
    font-size: 30px;
  }
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.news-tag {
  border: 1px solid rgba(102, 192, 244, .35);
  border-radius: 999px;
  background: rgba(102, 192, 244, .12);
  color: #66c0f4;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.news-article-cover {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid #26384c;
  border-radius: 8px;
  margin: 18px 0;
  background: #101925;
}

a.news-tag {
  text-decoration: none;
}

a.news-tag:hover {
  border-color: #66c0f4;
  color: #b9e4ff;
}
