:root {
  --faq-background-color: #e8eff6;
}

.faqs .faqs-items {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-top: 1px solid var(--light-grey-color);
}

.faqs .faqs-items .faqs-item {
  display: grid;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid var(--light-grey-color);
  padding: 0 0 1px;
}

.faqs .faqs-items .faqs-item .faqs-item-question {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #f3f9ff; /* var(--faq-background-color); */
  padding: 0 0 0 12px;
  cursor: pointer;
}

.faqs .faqs-items .faqs-item .faqs-item-question h6 {
  width: 100%;
  padding: 12px 32px 12px 0;
  font-size: 1.1rem;
  position: relative;
  margin: 0;
  font-family: var(--font-family-body);
  font-weight: 500;
  text-transform: none;
}

.faqs .faqs-items .faqs-item .faqs-item-question .plus-icon {
  position: absolute;
  top: 20px;
  right: 12px;
  cursor: pointer;
  padding: 4px;
}

.faqs .faqs-items .faqs-item .faqs-item-question .plus-icon:before,
.faqs .faqs-items .faqs-item .faqs-item-question .plus-icon:after {
  content: "";
  width: 8px;
  height: 2px;
  display: block;
  background-color: var(--black-color);
  transition: all 0.3s ease-in-out;
}

.faqs .faqs-items .faqs-item .faqs-item-question .plus-icon:before {
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  margin-left: -2px;
}

.faqs .faqs-items .faqs-item .faqs-item-question .plus-icon:after {
  transform: rotate(135deg);
  margin-left: 3px;
}

.faqs .faqs-items .faqs-item.expanded .faqs-item-question .plus-icon:after {
  transform: rotate(45deg);
}

.faqs .faqs-items .faqs-item.expanded .faqs-item-question .plus-icon:before {
  transform: rotate(135deg);
}

.faqs .faqs-items .faqs-item .faqs-item-answer {
  overflow: hidden;
  padding: 0 12px;
  opacity: 0;
  transition: , all 0.3s ease-in-out, max-height 0.4s ease-in-out;
  pointer-events: none;
  height: 100%;
  max-height: 0;
}

.faqs .faqs-items .faqs-item.expanded .faqs-item-answer {
  opacity: 1;
  pointer-events: initial;
  padding: 24px 12px 48px;
  cursor: default;
  height: 100%;
  max-height: fit-content;
}

.faqs .faqs-items .faqs-item .faqs-item-answer p {
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .faqs .faqs-items .faqs-item .faqs-item-question svg {
    margin-right: 8px;
  }
}
