/* SAS FAQ accordion — load on pages with .faq-list */

#faq.section {
  background: rgba(11, 76, 138, 0.04);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 20, 38, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::marker {
  content: "";
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

.faq-item:not([open]) .faq-answer {
  display: none;
}

.faq-answer p {
  margin: 0.85rem 0 0;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 500;
}
