/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/
.game-category-header {
  position: sticky;
  top: 80px;
  z-index: 90;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.game-category-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.game-category-header__label {
  flex: 0 0 auto;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.game-category-header__links {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.game-category-header__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.game-category-header__link:hover {
  background: #e5e7eb;
}

.game-sidebar {
  position: relative;
}

.game-sidebar__box {
  position: sticky;
  top: 150px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.game-sidebar__title {
  margin: 0 0 16px;
  font-size: 18px;
  color: #111827;
}

.game-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-sidebar__item + .game-sidebar__item {
  margin-top: 10px;
}

.game-sidebar__link {
  display: block;
  text-decoration: none;
  color: #374151;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.game-sidebar__link:hover,
.game-sidebar__link.is-active {
  background: #f3f4f6;
  color: #111827;
}

@media (max-width: 991px) {
  .game-sidebar__box {
    position: static;
    top: auto;
  }

  .game-category-header {
    top: 70px;
  }

  .game-category-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-category-header__links {
    width: 100%;
  }
}