.news-tab-panel {
  display: none;
}

.news-tab-panel.active {
  display: block;
}

.news-category-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 12px;
  margin: 24px 0 18px;
}

.news-category-tabs::-webkit-scrollbar {
  display: none;
}

.news-category-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-category-tab:hover {
  background: #f1f5f9;
}

.news-category-tab.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

@media (max-width: 768px) {
  .news-category-tabs {
    gap: 10px;
    padding: 8px 0 12px 4px;
  }

  .news-category-tab {
    padding: 14px 20px;
    font-size: 14px;
  }
}
