/* Bastyon section navigation, styled after the PIVX subnavigation. */
body.ecosystem--bastyon .bastyon-subnav-shell {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 14px;
}

#bastyon-subnav.bastyon-subnav {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 51px;
  flex-flow: row nowrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  border: 1px solid rgba(53, 189, 255, 0.18);
  border-radius: 15px;
  background: rgba(5, 12, 19, 0.88);
  backdrop-filter: blur(12px);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#bastyon-subnav.bastyon-subnav::-webkit-scrollbar { display: none; }

#bastyon-subnav .bastyon-subnav__home {
  box-sizing: border-box;
  display: inline-flex;
  width: 38px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(53, 189, 255, 0.22);
  border-radius: 9px;
  background: rgba(53, 189, 255, 0.08);
}

#bastyon-subnav .bastyon-subnav__logo { width: 20px; height: 20px; display: block; }

#bastyon-subnav .bastyon-sub-btn {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 14px;
  color: #b9d6e6;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

#bastyon-subnav .bastyon-sub-btn:hover,
#bastyon-subnav .bastyon-sub-btn.is-active {
  color: #eafaff;
  border-color: rgba(53, 189, 255, 0.5);
  background: rgba(53, 189, 255, 0.14);
}

#bastyon-subnav .bastyon-subnav__home:hover,
#bastyon-subnav .bastyon-subnav__home.is-active {
  border-color: rgba(53, 189, 255, 0.5);
  background: rgba(53, 189, 255, 0.16);
}
