/* ============================================================
   FAQ PAGE  –  page-templates/faq.php
   ============================================================ */

.vfaq-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-family: var(--v-font-body, 'Mulish', sans-serif);
}

/* ── Hero / header ───────────────────────────────────────────── */
.vfaq-hero {
  text-align: center;
  padding: 56px 0 40px;
}

.vfaq-ornament {
  color: #c9909f;
  font-size: 13px;
  letter-spacing: .3em;
  margin-bottom: 14px;
}

.vfaq-title {
  font-family: var(--v-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--v-primary, #500814);
  margin: 0 0 14px;
}

.vfaq-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.vfaq-divider {
  width: 56px;
  height: 2px;
  background: var(--v-primary, #500814);
  border-radius: 2px;
  margin: 0 auto;
  opacity: .35;
}

/* ── FAQ list ────────────────────────────────────────────────── */
.vfaq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Individual item ─────────────────────────────────────────── */
.vfaq-item {
  border-bottom: 1px solid #e8d5d9;
}
.vfaq-item:first-child {
  border-top: 1px solid #e8d5d9;
}

/* ── Question button ─────────────────────────────────────────── */
.vfaq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--v-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 17px;
  font-weight: 600;
  color: #2a1a1e;
  line-height: 1.4;
  transition: color .2s;
}

.vfaq-q:hover,
.vfaq-item.is-open .vfaq-q {
  color: var(--v-primary, #500814);
}

/* ── Chevron icon ────────────────────────────────────────────── */
.vfaq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--v-primary, #500814);
  transition: transform .3s ease;
}

.vfaq-item.is-open .vfaq-chevron {
  transform: rotate(180deg);
}

/* ── Answer panel ────────────────────────────────────────────── */
.vfaq-a {
  overflow: hidden;
}

/* CSS animation trick: max-height 0→auto via grid */
.vfaq-a[hidden] {
  display: grid !important; /* override `hidden` visibility */
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
  visibility: hidden;
}

.vfaq-a:not([hidden]) {
  display: grid !important;
  grid-template-rows: 1fr;
  transition: grid-template-rows .32s ease;
  visibility: visible;
}

.vfaq-a-inner {
  overflow: hidden;
  padding-bottom: 24px;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.vfaq-a-inner p:first-child { margin-top: 0; }
.vfaq-a-inner p:last-child  { margin-bottom: 0; }

/* ── Empty state ─────────────────────────────────────────────── */
.vfaq-empty {
  text-align: center;
  color: #999;
  padding: 48px 0;
  font-size: 15px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .vfaq-title { font-size: 26px; }
  .vfaq-q     { font-size: 15px; padding: 18px 0; }
}
