.top-section {
  margin-bottom: 30px !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;
}

.top-section .title {
  font-weight: 700;
  font-size: 28px;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: rgb(38, 25, 25);
  margin-bottom: 30px;
}

.top-section .center-btn-wrap {
  display: flex;
  gap: 18px;
  border-radius: 10px;
}

.top-section .center-btn-wrap .qna-btn {
  width: calc(50% - 9px);
  text-align: center;
}

.top-section .center-btn-wrap .qna-btn .tab {
  list-style: none;
  cursor: pointer;
}

.top-section a {
  background: rgb(246, 247, 248);
  border-radius: 10px;
  color: rgb(102, 102, 102);
  display: block;
  height: 56px;
  padding: 15px 0px;
}

.top-section .active a {
  color: rgb(255, 255, 255);
  border-radius: 10px;
  background: rgb(124, 90, 255);
}

.faq-wrapper {
  max-width: 1380px;
  width: 100%;
  margin: 0px auto;
  height: auto;
  padding-bottom: 100px;
}

.faq-category-wrapper {
  position: relative;
  border-bottom: 1px solid rgb(233, 233, 233);
  margin-bottom: 40px;
}

.scrollbar-container {
  position: relative;
  height: 100%;
}

.faq-category-container {
  display: flex;
  gap: 40px;
  width: fit-content;
  white-space: nowrap;
}

.faq-category-wrapper ul {
  scrollbar-width: none !important;
  margin: 0;
  padding: 0;
}

ul.category {
  display: flex;
  gap: 40px;
  width: fit-content;
  white-space: nowrap;
}

.faq-category-item {
  display: inline-block;
  box-sizing: border-box;
  transition: 0.4s;
}

.faq-category-item span {
  display: inline-block;
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.faq-category-container .active {
  color: rgb(124, 90, 255);
  font-weight: 700;
  border-bottom: 2px solid rgb(124, 90, 255);
  padding-bottom: 28px;
}

.faq-category-item span:hover {
  color: rgb(124, 90, 255);
  opacity: 0.6;
}

.faq-list-container {
  width: 100%;
  margin-bottom: 50px;
  list-style: none;
}

.faq-item {
  position: relative;
  padding: 38px 40px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(233, 233, 233);
  border-radius: 10px;
  margin-top: 20px;
  cursor: pointer;
}

.faq-item:hover {
  border: 1px solid rgb(124, 90, 255);
}

.faq-question-Q {
  position: absolute;
  top: 49px;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: rgb(124, 90, 255);
}

.faq-question-title {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
  padding-left: 40px;
  pointer-events: none;
}

.faq-question-title p {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.02em;
  margin: 0;
  margin-right: 20px;
}

.faq-question-title span {
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  color: rgb(102, 102, 102);
}

.arrow-down-icon {
  position: absolute;
  top: 49px;
  right: 40px;
  transform: translateY(-50%);
}

.faq-answer-wrapper {
  position: relative;
  display: block;
  border-top: 1px solid rgb(235, 235, 235);
  margin-top: 39px;
  padding-top: 30px;
}

.faq-list-container .answer {
  display: none;
}

.faq-list-container .active.answer {
  display: block;
}

.faq-answer-A {
  position: absolute;
  top: 30px;
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: rgba(124, 90, 255, 0.6);
}

.faq-answer {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.02em;
  padding-left: 40px;
  line-height: 1.6;
}

.faq-answer p {
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: -0.02em;
}

.pagenum-wrapper {
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%) !important;
}

.pagenum-wrapper .pagenum {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.page-prev-button {
  background-image: url(/images/page-arrow.svg);
  background-position: center center;
  transform: rotate(180deg);
  cursor: pointer;
}

.page-next-button {
  background-image: url(/images/page-arrow.svg);
  background-position: center center;
  cursor: pointer;
}

.pagenum-wrapper .button {
  width: 7px;
  height: 13px;
  background-position: center center;
  background-repeat: no-repeat;
  transition: 0.4s;
  cursor: pointer !important;
}

.pagenum-wrapper .button.disable {
  cursor: none !important;
  pointer-events: none;
}

.pagenum-wrapper .pagenum .page-number {
  padding: 0px 13px;
}

.pagenum-wrapper .pagenum .page-number ul {
  margin: 0;
  padding: 0;
  display: flex;
}

.pagenum-wrapper .pagenum .page-number ul li {
  font-weight: 600;
  padding: 0px 13px;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.03em;
}

.pagenum-wrapper .pagenum .page-number ul li a {
  width: 14px;
  display: block;
  text-align: center;
  cursor: pointer;
}

.pagenum-wrapper .pagenum .page-number ul li a.active {
  border-bottom: 1px solid rgb(124, 90, 255);
  color: rgb(124, 90, 255);
  cursor: none !important;
  pointer-events: none;
}

.empty-wrapper {
  position: relative;
  width: 100%;
  padding: 10vh 0px;
}

.empty-wrapper .no-search-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.empty-wrapper .no-search-box img {
  width: 42px;
}

.empty-wrapper .no-search-box p {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: rgb(102, 102, 102);
  margin-top: 12px;
  word-break: auto-phrase;
}

.faq-answer ol {
  list-style: decimal;
  padding-left: var(--wp--preset--spacing--10);
}

.faq-answer ul {
  list-style: revert;
  padding-left: var(--wp--preset--spacing--10);
}

.faq-answer > * {
  margin-block-start: 1.2rem;
  margin-block-end: 0;
}

.faq-answer > :first-child {
  margin-block-start: 0;
}

@media (max-width: 770px) {
  .top-section {
    font-size: 12px;
    margin-bottom: 20px !important;
  }

  .top-section .title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .top-section .center-btn-wrap {
    gap: 10px;
    border-radius: 6px;
  }

  .top-section .center-btn-wrap .qna-btn {
    width: calc(50% - 5px);
    text-align: center;
  }

  .top-section a {
    padding: 12px 0px;
    height: 42px;
  }

  .faq-category-wrapper {
    margin-bottom: 20px;
  }

  .faq-category-wrapper ul {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .faq-category-item span {
    font-size: 14px;
  }

  .faq-category-container .active {
    padding-bottom: 15px;
  }

  .faq-list-container {
    margin-top: 27px;
    margin-bottom: 30px;
  }

  .faq-item {
    padding: 20px 20px 24px;
    margin-top: 10px;
  }

  .faq-question-Q {
    font-size: 17px;
    top: 30px;
  }

  .faq-question-title {
    flex-direction: column-reverse;
    -webkit-box-align: start;
    align-items: start;
    padding-left: 26px;
  }

  .faq-question-title p {
    font-size: 14px;
  }

  .faq-question-title span {
    font-size: 12px;
  }

  .arrow-down-icon.svg {
    top: 35px;
    right: 20px;
    width: 16px;
    height: 16px;
  }

  .faq-answer-wrapper {
    margin-top: 20px;
    padding-top: 20px;
  }

  .faq-answer-A {
    top: 20px;
    font-size: 17px;
  }

  .faq-answer {
    font-size: 14px;
    padding-left: 20px;
  }

  .faq-answer p {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: -0.02em;
  }

  .empty-wrapper .no-search-box {
    width: 100%;
  }

  .empty-wrapper .no-search-box p {
    font-size: 13px;
  }
}
