// FAQ

.section-faqs {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-faqs .section-header h2 {
      font-size: 26px;
  }
}

.faq-item {
  text-align: left;
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  border-bottom: 0.5px solid #ebeaea;
}

.faq-accordion {
  padding: 0 20px;
  cursor: pointer;
  margin: 1.125rem 0 1.125rem;
  position: relative;
  font-size: 20px;
}

.faqs-wrapper {
  padding-bottom: 1.125rem;
  border-top: 0.5px solid #ebeaea;
}

.faq-accordion::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  right: 0;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: 100%;
}

.open .faq-panel {
  padding: 20px;
  width: 100%;
  margin: 0px 0px 10px 0px;
  display:block;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.4s ease;
  box-sizing: border-box;
}

.open .faq-accordion::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-up' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/></svg>");
}

.close .faq-panel {
  height:0px;
  transition:height 1s ease-out;
  transform: scaleY(0);
  float:left;
  display:block;
}

.close .faq-accordion::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}

// Custom Header

.collection-description .complete {
  display: block;
}

.collection-description .teaser {
  display: none;
}

@media (max-width: 768px) {
  .collection-description .complete {
    display: none;
  }
  
  .collection-description .teaser {
    display: block;
  }
}

// Rich text
.collection-rich-text-title {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .collection-rich-text-title {
      font-size: 26px;
  }
}