@charset "utf-8";

/**
 * WBC Clean Round Card FAQ Component
 * 웰빙클럽 클린 라운드 카드 아코디언형 FAQ 공통 컴포넌트
 */

.wbc-faq-section {
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px dashed #cbd5e1;
}

.wbc-faq-header-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.wbc-faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.wbc-faq-title {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.wbc-faq-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.wbc-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.wbc-faq-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.wbc-faq-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.wbc-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  background-color: #ffffff;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wbc-faq-trigger:hover {
  background-color: #f8fafc;
}

.wbc-faq-q-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.wbc-faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wbc-faq-q-text {
  font-size: 17px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.45;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.wbc-faq-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

/* 활성화 상태 (펼쳐졌을 때: Bootstrap 3의 .collapsed 클래스가 제거됨) */
.wbc-faq-trigger:not(.collapsed) {
  background-color: #f8fafc;
  border-bottom: 1px solid #edf2f7;
}

.wbc-faq-trigger:not(.collapsed) .wbc-faq-q-badge {
  background-color: #2563eb;
  color: #ffffff;
}

.wbc-faq-trigger:not(.collapsed) .wbc-faq-q-text {
  color: #2563eb;
}

.wbc-faq-trigger:not(.collapsed) .wbc-faq-arrow {
  transform: rotate(180deg);
  background-color: #2563eb;
  color: #ffffff;
}

.wbc-faq-body {
  padding: 24px 28px 26px 28px;
  background-color: #f8fafc;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.wbc-faq-answer-lead {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.wbc-faq-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wbc-faq-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}

.wbc-faq-checklist li i {
  color: #2563eb;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.wbc-faq-checklist li strong {
  color: #1e293b;
  font-weight: 600;
}

.wbc-faq-highlight-box {
  margin-top: 14px;
  padding: 12px 18px;
  background-color: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #1d4ed8;
  font-weight: 500;
  line-height: 1.55;
}

.wbc-faq-highlight-box i {
  color: #2563eb;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.wbc-faq-answer-desc {
  margin: 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .wbc-faq-section {
    margin-top: 36px;
    padding-top: 28px;
  }

  .wbc-faq-title {
    font-size: 20px;
  }

  .wbc-faq-trigger {
    padding: 16px 16px;
  }

  .wbc-faq-q-text {
    font-size: 15px;
  }

  .wbc-faq-q-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .wbc-faq-body {
    padding: 18px 18px;
  }
}

/* FAQ 카테고리 그룹 & 헤더 & 태그 */
.wbc-faq-cat-group {
  margin-top: 36px;
}

.wbc-faq-cat-group:first-child {
  margin-top: 0;
}

.wbc-faq-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 2px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.wbc-faq-cat-title i {
  color: #2563eb;
  font-size: 17px;
}

.wbc-faq-cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wbc-faq-cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

