/* The FAQ (HBTCONNECT-191): categories, each question opening in place. */

.faq h1 { margin-bottom: 8px; }

.faq-cat { margin-top: 40px; }
.faq-cat h2 { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 10px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 2px; border-radius: 16px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }

.faq-help { margin-top: 40px; color: var(--muted); }
.faq-help a { color: var(--green-strong); }

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}
