/* ================= 默认样式（Mobile First，<768px） ================= */
.qd-tab-title {
  --color-border-bottom: var(--color-text);
}
.qd-tab-title {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid rgb(var(--color-border-bottom));
  margin-bottom: 20px;
}

.qd-tab-title::-webkit-scrollbar {
  display: none;
}
.multiple-items {
  justify-content: start;
}
.qd-tab-title__item {
  position: relative;
  flex: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  padding: 12px 20px;
  text-transform: uppercase;
}
.qd-tab-title__item .qd-text {
  line-height: 1.5;
  /* font-family: Neutraface Text; */
  font-size: 16px;
  text-align: center;
}
.qd-tab-title__item:not(.is-active):hover {
  opacity: 0.9;
}
.qd-tab-title__item.is-active::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: 4px;
  background: rgb(var(--color-text));
}
.qd-tab-title__item.is-active .qd-text .qd-text__content{
  font-weight: 700 !important;
}

.multiple-items .qd-tab-title__item {
  flex: 0 0 auto;
  width: auto;
}

/* ================= Tablet（≥768px） ================= */
@media (min-width: 768px) {
  .qd-tab-title {
    margin-bottom: 24px;
  }
  .multiple-items {
    justify-content: center;
  }
  .qd-tab-title__item {
    width: auto;
    flex: 0 0 auto;
    padding: 20px 24px;
  }
  .qd-tab-title__item .qd-text {
    line-height: 1.3;
    font-size: 18px;
  }
}

/* ================= PC（≥992px） ================= */
@media (min-width: 992px) {
  .qd-tab-title {
    margin-bottom: 30px;
  }
  .qd-tab-title__item {
    width: auto;
    flex: 0 0 auto;
    padding: 24px 48px;
  }
  .qd-tab-title__item .qd-text {
    font-size: 24px;
  }
}
