.qa-item-wrapper {
  position: relative;
}

.qa-item-wrapper details summary {
  list-style: none;
  cursor: pointer;
}

.qa-item-wrapper details summary {
  margin-bottom: 0;
  display: flex;
  width: 100%;
  border-right: 1px solid #c4b0d1;
}

.qa-item-wrapper details summary::before,
.qa-item-wrapper details[open] summary::before {
  font-size: 44px;
  vertical-align: middle;
  position: absolute;
  padding: 0;
  right: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 100;
  color: var(--Normal-Blue, #37384e);
}

.qa-item-wrapper details summary::before {
  content: "+";
  height: 100%;
  top: 0;
}

.qa-item-wrapper details[open] summary::before {
  content: "-";
}

.qa-item-wrapper details summary span {
  font-size: 22px;
  font-weight: 400;
  padding-right: 16px;
}

@media (min-width: 700px) {
  #faq {
    max-width: 1005px;
    h1 {
      font-size: 35px;
      margin-top: 90px;
      margin-bottom: 64px;
    }
  }

  .qa-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 16px;
    font-size: 22px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    padding-right: 45px;
    flex-direction: column;
    width: 100%;
  }

  .qa-item-wrapper:hover {
    background-color: #e7ebf2;
    transition: background-color 0.3s;
  }

  .qa-answer {
    border-right: 1px solid #c4b0d1;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    padding-right: 16px;
    padding-left: 16px;
    padding-top: 16px;
    width: 100%;
  }

  .answer {
    display: none;
    padding-top: 10px;
    margin-left: 8px;
    font-size: 18px;
  }

  .selected .answer {
    display: block;
  }

  .question {
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: 14px;
  }
}

.fqaText {
  font-size: 22px;
  margin-top: 6px;
  margin-bottom: 48px;
  font-weight: 300;
}

.fqaButton {
  background-color: #f0cc4c;
  box-shadow: 0px 0px 5px 0px #00000080;
  border-radius: 4px;
  border: none;
  font-size: 26px;
  padding: 5px 127px;
}

@media (max-width: 699px) {
  #faq {
    background-color: #ffffff;
    margin: 0 8px 32px;
    width: unset;
    border: 1px solid #37384e1a;
    border-radius: 10px;
    padding: 16px 10px;

    h1 {
      margin-bottom: 16px;
      font-weight: 700;
      line-height: 26px;
    }
  }

  .toggle-btn {
    display: none;
  }

  .qa-item {
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
  }

  .answer {
    display: none;
    padding: 16px 36px 16px 36px;
    margin: 0px;
    display: none;
    margin-bottom: 8px;
    font-size: 16px;
    background-color: #f5f7f9;
    border-radius: 5px;
  }

  .m-toggle-btn {
    padding-left: 8px;
    margin-left: 10px;
    border-left: 1px solid #b4c1d7;
    font-size: x-large;
    /* flex: 1 */
  }

  .question {
    margin-bottom: 8px;
    flex-direction: row;
    display: flex;
    background-color: #e7ebf2;
    border-radius: 5px;
    align-items: center;
  }

  .toggle-btn {
    border-left: 1px solid #ccc;
    margin-left: 8px;
    padding-left: 8px;
  }

  .qa-item-content {
    flex-direction: row;
    width: 100%;
  }

  .fqaText {
    font-size: 16px;
  }

  .fqaButton {
    padding: 5px 52px;
  }

  .qa-item-wrapper details summary {
    margin-right: 0;
    border-right: none;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .qa-item-wrapper details summary::before,
  .qa-item-wrapper details[open] summary::before {
    position: relative;
    width: 43px;
    min-width: 43px;
    font-size: 60px;
    height: 35px;
  }

  .qa-item-wrapper details summary span {
    border-right: 1px solid #c4b0d1;
    font-size: 16px;
  }

  .qa-item-wrapper details {
    margin-bottom: 8px;
    padding-right: 0;
  }

  .qa-answer {
    background: #f5f7f9;
    border-radius: 5px;
    margin-top: 4px;
    padding: 16px 23px;
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    margin-bottom: 0;
  }
}

#mobileQa {
  background-color: #f5f7f9;
}

.qa-item-mobile {
  border: none;
  border-radius: 0;
  margin: 6px 0;
  padding: 2px 0;
  font-size: 16px;
}

.question-mobile {
  background-color: #e7ebf2;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 0;
}

.answer-mobile {
  padding: 16px 36px 16px 36px;
  margin: 4px;
  display: none;
  margin-left: 0;
  font-size: 16px;

  border-radius: 5px;
}
