/* tabs.css — v10 */

.tabs_component {
  --tabs-indicator-bg: #111111;
  --tabs-indicator-stroke: transparent;
  --tabs-label-active: #ffffff;
}

.tabs_component .tabs_pane {
  display: none !important;
}

/* flex, not block — keeps Webflow's `order` working on the copy/visual swap */
.tabs_component .tabs_pane.is-shown {
  display: flex !important;
  flex-direction: column;
}

/* structural only — background, border, padding and radius of the pill
   container stay in Webflow so the Designer preview matches the live page */
.tabs_component .tabs_menu {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs_component .tabs_menu::-webkit-scrollbar {
  display: none;
}

/* starts hidden: JS reveals it after the first measure, otherwise it flashes
   full-width for a frame before the geometry is applied */
.tabs_component .tabs_indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  border-radius: 999px;
  background: var(--tabs-indicator-bg);
  box-shadow: inset 0 0 0 1px var(--tabs-indicator-stroke);
  pointer-events: none;
}

.tabs_component .tabs_link {
  position: relative;
  flex: none;
  white-space: nowrap;
  transition: color .3s ease;
  transition-delay: 0s;
}

/* entering a tab: wait for the pill to arrive before brightening the label */
.tabs_component .tabs_link.is-current {
  color: var(--tabs-label-active);
  transition-delay: .28s;
}

.tabs_component .tabs_link-icon,
.tabs_component .tabs_link-text {
  position: relative;
  z-index: 2;
}

.tabs_component .tabs_link-icon {
  display: flex;
}

.tabs_component .tabs_link-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

/* pre-collapsed so inactive labels never flash before JS takes over.
   Covers both ways the spacing might be set in Webflow — gap on the link,
   or margin on the label. */
@media (max-width: 767px) {
  .tabs_component .tabs_link:not(.is-current) {
    column-gap: 0;
  }

  .tabs_component .tabs_link:not(.is-current) .tabs_link-text {
    width: 0;
    margin-left: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tabs_component .tabs_link {
    transition: none;
  }
}