.faq-element {
  padding: 32px;
  background-color: white;
  -webkit-appearance: none;
  -webkit-box-shadow: 0px 4px 8px rgba(25, 48, 82, 0.1);
  box-shadow: 0px 4px 8px rgba(25, 48, 82, 0.1);
  border-radius: 2px;
}

.faq-element:not(:last-child) {
  margin-bottom: 16px;
}

.faq-element-question {
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
}

.faq-element-icon {
  display: block;
  transition: all 0.3s;
  font-size: 16px;
  margin-right: 20px;
}

.faq-element-answer-wrapper {
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-element-answer {
  padding: 24px 0 0 40px;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.15em;
}

.faq-element:not(.active) .faq-element-answer-wrapper {
  height: 0 !important;
}

.faq-element.active .faq-element-icon {
  transform: rotate(180deg);
  color: var(--e-global-color-primary);
}

.faq-element.active .faq-element-question {
  font-weight: 600;
}

.faq-categories-viewport {
  overflow: hidden;
}

.faq-categories {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: fit-content;
  margin: 0 auto 64px;
}

.faq-categories .faq-categories-single {
  padding: 8px 16px;
  font-size: 18px;
  line-height: 22px;
  font-weight: normal;
  border-radius: 3px;
  white-space: nowrap;
  cursor: pointer;
}

.faq-categories .faq-categories-single.selected {
  background-color: #E8BF6B;
}

.faq-categories > .faq-categories-single:not(:last-of-type) {
  margin-right: 24px;
}

@media screen and (max-width: 767px) {
  .faq-categories {
    margin-bottom: 48px;
  }
  
  .faq-categories .faq-categories-single {
    font-size: 16px;
    line-height: 19px;
  }

  .faq-element {
    padding: 24px 16px;
  }

  .faq-element:not(:last-child) {
    margin-bottom: 8px;
  }

  .faq-element-question {
    font-size: 16px;
    line-height: 19px;
  }

  .faq-element-answer {
    padding-top: 16px;
    font-size: 14px;
    line-height: 17px;
  }
}