/* Shared cross-channel tabs on *-tag pages */

.tag-channel-tabs {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  flex-wrap: wrap;
  gap: 18px;
}

.tag-channel-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.tag-channel-tab--active {
  background: rgba(255, 225, 32, 0.1);
  color: #ecd227;
}

.tag-channel-tab:hover {
  color: #ecd227;
}

@media (max-width: 768px) {
  .tag-channel-tabs {
    display: inline-flex;
    align-self: stretch;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    overflow: visible;
  }

  .tag-channel-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
  }

  .tag-channel-tab--active {
    background: rgba(255, 225, 32, 0.1);
    color: #ecd227;
  }
}
