.lp-tab-module {
  margin-top: 42px;
}

.lp-tab-module__tabs {
  display: flex;
  justify-content: center;
  background-color: var(--pill-background-color);
  border-radius: 9999px;
  margin-bottom: 50px;
  position: relative;
}

.lp-tab-module--line .lp-tab-module__tabs {
  background-color: transparent;
  border-bottom: 1px solid var(--active-background-color);
  border-radius: 0;
  padding-bottom: 0;
  width: 100%;
  overflow: auto;
}

@media (width >=1080px) {
  .lp-tab-module__tabs {
    padding: 8px;
    margin-bottom: 70px;
  }
}

.lp-tab-module__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-tab-module__tab {
  display: none;
  position: relative;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  background-color: transparent;
}

.lp-tab-module__tab.is-active {
  color: var(--active-text-color);
}

.lp-tab-module--line .lp-tab-module__tab {
  height: 54px;
  padding: 8px 24px;
}

@media (width >=1080px) {
  .lp-tab-module__tab {
    display: flex;
  }
}

.lp-tab-module__indicator {
  position: absolute;
  display: none;
  bottom: 8px;
  left: 0;
  height: calc(100% - 16px);
  background-color: var(--active-background-color);
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}

.lp-tab-module--line .lp-tab-module__indicator {
  border-radius: 4px 4px 0 0;
  height: calc(100% - 8px);
  bottom: 0;
}

@media (width >=1080px) {
  .lp-tab-module__indicator {
    display: block;
  }
}

.lp-tab-module__select {
  border: 0 !important;
  font-weight: 600;
  color: var(--wp--preset--color--white);
  border-radius: 9999px;
  padding-right: 38px;
  background: url(../../../assets/svg/icon-chevron-down-white.svg) right 1rem top 50% no-repeat;
}

.lp-tab-module__select option {
  color: initial;
}


@media (width >=1080px) {
  .lp-tab-module__select {
    display: none;
  }
}

.lp-tab-module__tab-content {
  width: 100%;
  overflow: hidden;
  max-height: var(--max-tab-height);
  background-color: var(--wp--preset--color--primary-100);
  transition: max-height 0.3s ease;
}

@media (width >=920px) {
  .lp-tab-module__tab-content {
    max-height: var(--max-tab-height);
  }
}

.lp-tab-module__tab-content>.acf-innerblocks-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.lp-tab-module__tab-content>.acf-innerblocks-container>* {
  grid-column: 1/1;
  grid-row: 1/1;
}

.lp-tab-module__tab-content p:first-child {
  margin-top: 0;
}

.lp-tab-module__tab-content p:last-child {
  margin-bottom: 0;
}

.single-tab {
  transition: opacity 0.25s ease;
}

.single-tab:not(.tab-is-active) {
  opacity: 0;
  pointer-events: none;
}