/* =========================================================
   FAQ ACCORDION
   Shared FAQ styling (Wallet, Enterprise, Support)
========================================================= */

.faq-item {
  background: #f9f9f9;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
  text-align: left;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: #1f2937; /* readable dark slate */
}

.faq-question::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #374151; /* high contrast body text */
}

.faq-answer.open {
  display: block;
}

/* =========================================================
   FAQ PAGE LAYOUT FIXES (PerQ only)
========================================================= */

.perq-page .content {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================================
   DESKTOP POLISH
========================================================= */

@media (min-width: 1024px) {
  .faq-item {
    padding: 0 1.75rem;
  }

  .faq-question {
    font-size: 1.1rem;
  }

  .faq-answer p {
    font-size: 1.05rem;
  }
}


/* =========================================================
   FAQ ALIGNMENT FIX (DESKTOP ONLY)
========================================================= */

@media (min-width: 1024px) {

  /* Override PerQ section centring for FAQ content */
  .perq-page .perq-section {
    text-align: left;
  }

  /* Keep section headings readable */
  .perq-page .perq-section > h2 {
    text-align: left;
  }

}


