/* FAQ Section */
.json-faq {
  padding: 6rem 0;
  background: var(--bg-body);
}

.section-header {
  margin-bottom: 4rem; /* More breathing room for the title */
}

.json-faq h2 {
  font-family: monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--text-accent);
  font-weight: 700;
  margin: 0;
}

/* The Grid (now using Description List) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem; /* Balanced spacing */
  margin: 0;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Question (Definition Term) */
.faq-item dt {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  padding-left: 1rem;
  border-left: 2px solid var(--border-accent); /* Blue accent vertical bar */
}

/* Answer (Definition Description) */
.faq-item dd {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  /* Updated color to ensure it meets AA contrast standards against the background */
  color: var(--text-main);
  opacity: 0.9; /* Slight softening while maintaining readability */
}

/* Fix: Links rely on color to be distinguishable */
.faq-item dd a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.faq-item dd a:hover {
  opacity: 0.7;
  text-decoration-thickness: 2px;
}
