/* ==========================================================================
   FAQ STYLESHEET (details/summary)
   For the older blog articles that use .article-content rather than the
   .blog-body layout in blog.css. Scoped to .faq-section so nothing else moves.
   style.css hides .faq-answer until JS adds .is-open, so display is reset here.
   ========================================================================== */

.faq-section { margin-top: var(--space-16); }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--c-primary);
  margin-bottom: var(--space-8);
}
.faq-section details.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-6) 0;
}
.faq-section details.faq-item:first-of-type { border-top: 1px solid var(--c-border); }
.faq-section summary.faq-question {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: left;
  user-select: none;
}
.faq-section summary.faq-question::-webkit-details-marker { display: none; }
.faq-section summary.faq-question::after {
  content: '+';
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--c-accent);
  flex-shrink: 0;
  line-height: 1.2;
}
.faq-section details[open] > summary.faq-question::after { content: '\2212'; }
.faq-section .faq-answer {
  display: block;
  max-width: none;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-top: var(--space-4);
  padding: 0 var(--space-8) 0 0;
}
.faq-section .faq-answer p { margin-bottom: var(--space-3); }
.faq-section .faq-answer p:last-child { margin-bottom: 0; }
.faq-section .faq-answer a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
