#tours .tours-header {
  margin-bottom: 1.25rem;
}

.tour-catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--color-border);
}

.tour-catalog-tabs button {
  position: relative;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #574b44;
  font: 500 15px/1.25 var(--font-sans);
  cursor: pointer;
}

.tour-catalog-tabs button:hover,
.tour-catalog-tabs button[aria-pressed="true"] {
  color: var(--color-foreground);
}

.tour-catalog-tabs button[aria-pressed="true"] {
  font-weight: 700;
}

.tour-catalog-tabs button[aria-pressed="true"]::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: #9b7447;
  content: "";
}

.tour-catalog-tabs button:focus-visible {
  outline: 2px solid #9b7447;
  outline-offset: 3px;
}

.tour-catalog-tabs[hidden],
#tour-catalog-grid .tour-card[hidden] {
  display: none;
}

#tour-catalog-grid.is-resetting-reveal .tour-card {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  #tour-catalog-grid .tour-card.reveal {
    transform: none;
    transition: none;
  }
}

@media (max-width: 540px) {
  .tour-catalog-tabs {
    gap: 0 8px;
  }

  .tour-catalog-tabs button {
    flex: 1 0 auto;
    font-size: clamp(13px, 3.65vw, 15px);
  }

  .tour-catalog-label-extra {
    display: none;
  }
}
