.news-topic-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-right: 8px;
}

.news-topic-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 198, 0.4);
  background: rgba(0, 0, 0, 0.6);
  color: #00ffc6; 
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-topic-btn:hover {
  border-color: rgba(0, 255, 198, 0.9);
  background: rgba(0, 255, 198, 0.1);
  box-shadow: 0 0 12px rgba(0, 255, 198, 0.35);
  color: #ffffff;
}

.news-topic-btn.active {
  background: radial-gradient(
    circle at top left,
    rgba(0, 255, 198, 0.3),
    rgba(0, 0, 0, 0.8)
  );
  border-color: rgba(0, 255, 198, 0.9);
  box-shadow: 0 0 14px rgba(0, 255, 198, 0.5);
  color: #ffffff;
}

.news-page-card {
  margin-top: 24px;
  height: 600px; 
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 198, 0.2);
  padding: 20px;
}

.news-header {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.news-list {
  flex: 1;
  overflow-y: auto;
  min-height: 400px;
}

.news-resize-handle {
  display: none;
}

.news-list::-webkit-scrollbar {
  width: 8px;
}

.news-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.news-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 198, 0.5);
  border-radius: 4px;
}

.news-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 198, 0.7);
}

.news-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 198, 0.5) rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
  .news-page-card {
    height: 500px;
    min-height: 500px;
    padding: 15px;
  }
  
  .news-topic-buttons {
    justify-content: center;
    margin-right: 0;
  }
  
  .news-topic-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}