/* ============================================
   Hopeful Readings — FAQ Page Styles
   ============================================ */

/* Hero banner */
.faq-hero {
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--deep) 100%);
  color: var(--text-on-dark);
  padding: calc(var(--nav-h) + 56px) 0 56px;
  text-align: center;
}

.faq-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  margin: 8px 0 12px;
  line-height: 1.1;
}

.faq-sub {
  font-size: 1rem;
  color: var(--lavender);
  max-width: 480px;
  margin: 0 auto;
}

/* Body */
.faq-body {
  background: var(--cream);
  padding: 64px 0 80px;
}

/* Groups */
.faq-group {
  max-width: 760px;
  margin: 0 auto 52px;
}

.faq-group:last-of-type { margin-bottom: 0; }

.faq-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--purple-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(107, 63, 160, 0.15);
}

/* Accordion items */
.faq-item {
  border-bottom: 1px solid rgba(107, 63, 160, 0.08);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

/* Remove default marker in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

/* Custom chevron */
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--purple-brand);
  border-bottom: 2px solid var(--purple-brand);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out), border-color 0.2s;
  margin-top: -4px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item[open] .faq-question,
.faq-question:hover {
  color: var(--purple-brand);
}

.faq-answer {
  padding: 0 4px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer p:empty::before {
  content: 'Answer coming soon.';
  font-style: italic;
  color: var(--text-muted);
}

.faq-answer a {
  color: var(--purple-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover { color: var(--purple-dark); }

/* CTA block */
.faq-cta {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
}

.faq-cta p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
