.faq-main-title {
  margin-bottom: 64px;
}

@media (max-width: 797px) {
  .faq-main-title {
    margin-bottom: 32px;
  }
}

/* 검색 영역 */
.faq-search-input-wrapper {
  border-bottom: 2px solid var(--gray-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 10px 18px 10px;
  height: 68px;
}

.faq-search-input-wrapper.active {
  border-bottom: 2px solid var(--blue-500);
}

.faq-search-input-wrapper:hover {
  border-bottom: 2px solid var(--blue-500);
}

.faq-search-input {
  width: 100%;
  font-size: 18px;
  border: none;
  outline: none;
  color: var(--gray-700);
}

.faq-search-input::placeholder {
  color: var(--gray-500);
}

.faq-close-icon {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.faq-close-icon img {
  width: 24px;
  height: 24px;
}

.faq-close-icon:hover {
  background-color: var(--gray-100);
}

.faq-close-icon.active {
  display: flex;
}

/* chip 영역 */
.faq-chip-wrapper {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  overflow: auto;
}

/* FAQ 리스트 영역 */
.faq-list-wrapper {
  margin-top: 56px;
  margin-bottom: 56px;
}

/* FAQ 개수 */
.faq-count-wrapper {
  display: flex;
  align-items: center;
}

.count-total {
  color: var(--gray-700);
}

.faq-count {
  margin-right: 2px;
  margin-left: 5px;
  color: var(--black);
}

/* FAQ 아이템 */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FAQ 아이템 */
.faq-item {
  background-color: var(--white);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 767px) {
  .faq-item {
    padding: 16px 6px;
  }
}

.faq-item:hover {
  background-color: var(--gray-000);
}

.faq-link {
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.faq-title-q {
  color: var(--blue-500);
}

.faq-title-question {
  color: var(--black);
}

.faq-content {
  display: flex;
  gap: 12px;
  margin-left: 32px;
}

.faq-content-a {
  color: var(--gray-700);
  margin-right: 12px;
}

.faq-content-answer {
  color: var(--gray-700);
}
/* FAQ 아이템 */

/* pagination */
.faq-pagination {
  margin-top: 56px;
}
