/**
 * AEO (Answer Engine Optimization) Layer
 * Semantic HTML styling for FAQ sections and structured data containers
 *
 * @package Astra Child - System Rainbow
 * @since 2.2.0
 */

/* FAQ Section */
.sr-faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sr-faq-section > h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--sr-color-heading, #1a2b3c);
}

/* FAQ Item */
.sr-faq-item {
  border-bottom: 1px solid var(--sr-color-border, #e5e7eb);
  padding: 20px 0;
}

.sr-faq-item:last-child {
  border-bottom: none;
}

/* FAQ Question (h2 for heading hierarchy) */
.sr-faq-question {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--sr-color-heading, #1a2b3c);
}

/* FAQ Answer */
.sr-faq-answer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sr-color-text, #4a5568);
}

.sr-faq-answer[aria-hidden="true"] {
  display: none;
}

/* Speakable / structured data hint containers */
[itemprop="acceptedAnswer"] {
  display: block;
}
