.isa-tabs {
  padding: 0 0 10px;
}

.isa-tabs__head {
  text-align: center;
  margin-bottom: 10px;
}

.isa-tabs__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 2.4vw, 44px);
  line-height: 1.15;
  display: inline-block;
  position: relative;
}

/* underline animation style like mosaic/trio */
.isa-tabs__title::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--isa-tabs-accent, #d4b372);
  border-radius: 999px;
}

/* nav like screenshot */
.isa-tabs__nav {
  text-align: center;
  margin: 10px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.isa-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 6px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  position: relative;
  line-height: 1.2;
}

.isa-tabs__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--isa-tabs-accent, #d4b372);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease;
}

.isa-tabs__btn.is-active::after {
  transform: scaleX(1);
}

.isa-tabs__sep {
  opacity: 0.55;
  font-weight: 700;
  user-select: none;
}

.isa-tabs__panels {
  margin-top: 10px;
}

.isa-tabs__panel {
  display: block;
}



/* Optional stacked look */
.isa-tabs.isa-tabs--stacked .isa-tabs__nav {
  flex-direction: column;
  gap: 8px;
}

.isa-tabs.isa-tabs--stacked .isa-tabs__sep {
  display: none;
}

.isa-tabs.isa-tabs--stacked .isa-tabs__btn {
  width: 100%;
  max-width: 520px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
}

.isa-tabs.isa-tabs--stacked .isa-tabs__btn::after {
  display: none;
}

.isa-tabs.isa-tabs--stacked .isa-tabs__btn.is-active {
  border-color: var(--isa-tabs-accent, #d4b372);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.10);
}