/* AEO Pro — FAQ front-end styles
 * v1.1.0: switched to theme-agnostic dark/terminal-friendly defaults.
 * Uses currentColor + CSS variables so themes can override without a fork.
 */

.aeo-faq-section {
  --aeo-accent: #b8d7a4;
  --aeo-text:   #ffffff;
  --aeo-muted:  rgba(184, 215, 164, 0.9);
  --aeo-line:   rgba(184, 215, 164, 0.35);
  --aeo-bg:     transparent;

  margin: 2.5em 0;
  border-top: 2px solid var(--aeo-accent);
  padding-top: 1.5em;
  color: var(--aeo-muted);
}

.aeo-faq-heading {
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0 1em;
  color: var(--aeo-text);
  letter-spacing: 0.02em;
}

.aeo-faq-item {
  border: 1px solid var(--aeo-line);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--aeo-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aeo-faq-item[open] {
  border-color: var(--aeo-accent);
  box-shadow: 0 0 12px rgba(184, 215, 164, 0.18);
}

.aeo-faq-question {
  list-style: none;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  color: var(--aeo-text);
  user-select: none;
}

.aeo-faq-question::-webkit-details-marker { display: none; }

.aeo-faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3em;
  font-weight: 400;
  color: var(--aeo-accent);
  transition: transform 0.2s ease;
}

.aeo-faq-item[open] .aeo-faq-question::after {
  content: '\2212'; /* minus sign */
}

.aeo-faq-question:hover {
  background: rgba(184, 215, 164, 0.06);
}

.aeo-faq-answer {
  padding: 14px 18px;
  border-top: 1px solid var(--aeo-line);
  background: transparent;
  color: var(--aeo-muted);
  line-height: 1.7;
}

.aeo-faq-answer p:first-child { margin-top: 0; }
.aeo-faq-answer p:last-child  { margin-bottom: 0; }

/* Show more / show fewer toggle */
.aeo-faq-more-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 18px;
  background: transparent;
  color: var(--aeo-text);
  border: 1px solid var(--aeo-line);
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.aeo-faq-more-btn:hover {
  background: rgba(184, 215, 164, 0.06);
  border-color: var(--aeo-accent);
  box-shadow: 0 0 12px rgba(184, 215, 164, 0.18);
}

.aeo-faq-more-btn:focus-visible {
  outline: 2px solid var(--aeo-accent);
  outline-offset: 2px;
}
