/* ==========================================================================
   WooBaba Theme - FAQ Modular Stylesheet
   Path: assets/css/faq.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FAQ ACCORDION LIST
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--panel-border);
  padding: 1.4rem 0;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-bottom-color: var(--gold);
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--gold-bright);
}

.faq-item p {
  color: var(--mist);
  margin-top: 1rem;
  font-size: 0.96rem;
  max-width: 68ch;
  line-height: 1.75;
}

.faq-item code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  background: var(--charcoal-2);
  border: 1px solid var(--panel-border);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   2. FAQ SUPPORT & CTA BOXES
   -------------------------------------------------------------------------- */
.faq-support-box {
  background: var(--charcoal-2);
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}

.faq-support-box h3 {
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 0.8rem;
}

.faq-support-box p {
  color: var(--mist);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .faq-item summary {
    font-size: 0.98rem;
  }
  .faq-item p {
    font-size: 0.9rem;
  }
  .faq-support-box {
    padding: 1.5rem 1rem !important;
  }
  .faq-support-box h3 {
    font-size: 1.15rem;
  }
  .faq-support-box p {
    font-size: 0.88rem;
  }
  .faq-more-link a.btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem !important;
    font-size: 0.84rem !important;
  }
}