.news-room-wrap {
  position: absolute;
  z-index: 30;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, 92vw);
  max-height: 84vh;
  overflow: auto;
  border: 1px solid rgba(221, 232, 255, 0.22);
  border-radius: 14px;
  background: rgba(11, 16, 32, 0.84);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(3px);
  padding: 14px;
  font-family: 'BlackCastle', serif;
}

.news-room-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
}

.news-room-head h1 {
  margin: 0;
  color: #f5f8ff;
  font-family: 'BlackCastle', serif;
  letter-spacing: 0.3px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.news-room-status {
  margin: 0;
  color: #bed0fa;
  font-size: 0.84rem;
}

.news-room-status.error {
  color: #ffd0d0;
}

.news-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-room-grid .news-card {
  border: 1px solid rgba(220, 232, 255, 0.2);
  border-radius: 10px;
  background: rgba(19, 23, 39, 0.9);
  padding: 10px;
}

.news-room-grid .news-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
  color: #b8c8ed;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.76rem;
}

.news-room-grid .news-card h3 {
  margin: 0 0 6px;
  color: #f1f5ff;
  font-size: 0.98rem;
}

.news-room-grid .news-card h3 a {
  color: #f5f8ff;
  text-decoration: none;
}

.news-room-grid .news-card h3 a:hover {
  text-decoration: underline;
}

.news-room-grid .news-card-source {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #d0dcfb;
}

.news-room-grid .news-card-body {
  margin: 0;
  color: #e8eeff;
  font-size: 0.88rem;
  white-space: pre-wrap;
  line-height: 1.42;
}

.news-room-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(220, 232, 255, 0.26);
  border-radius: 9px;
  padding: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: #c6d2f2;
}

@media (max-width: 1024px) {
  .news-room-grid {
    grid-template-columns: 1fr;
  }
}