/* FAQ page: mirror the current p1go.com hero, tabs and accordion geometry. */
.p1-faq-hero {
  background-image: url('/style/img/case/hero-bg-top2.webp');
  overflow: hidden;
}

.p1-faq-hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20.1%, #f6f7f9 87.09%);
  bottom: 0;
  content: '';
  height: 454px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  z-index: 0;
}

.dark .p1-faq-hero::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.1%, #10121c 87.09%);
}

.p1-faq-tabs > .tab-bar {
  margin-bottom: 40px;
}

.p1-faq-tabs .active-tab-bar {
  background: #2b7fff;
  bottom: -1px;
  height: 2px;
  position: absolute;
  transform: none;
  translate: var(--_left, 0) 0;
  transition: translate 240ms ease, width 240ms ease;
  width: var(--_width, 0);
}

.p1-faq-tabs .accordion-item {
  box-shadow: none;
  color: #141b34;
}

.p1-faq-tabs .accordion-action {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.p1-faq-tabs .accordion-content {
  color: rgba(20, 27, 52, 0.78);
  line-height: 1.75;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 300ms ease, opacity 220ms ease, visibility 0s linear 300ms;
}

.p1-faq-tabs .accordion-item.active-accordion .accordion-content {
  opacity: 1;
  visibility: visible;
  transition: max-height 300ms ease, opacity 220ms ease, visibility 0s;
}

.p1-faq-tabs .accordion-arrow svg {
  display: block;
  transition: transform 240ms ease;
}

.dark .p1-faq-tabs .accordion-item,
.dark .p1-faq-tabs .accordion-content {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
  .p1-faq-hero {
    padding-bottom: 60px;
    padding-top: 125px;
  }

  .p1-faq-tabs .accordion-item {
    padding-left: 22px;
    padding-right: 22px;
  }

  .p1-faq-tabs .accordion-action {
    padding-bottom: 24px;
    padding-top: 24px;
  }
}

