/* ===== WFPC FAQ Frontend v1.1.0 ===== */
.wfpc-faq {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
}
.wfpc-faq__title {
  margin: 0 0 12px;
  font-size: 1.2em;
}
.wfpc-faq__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Accordion Item --- */
.wfpc-faq__item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: #e8eaee;
  overflow: hidden;
}

/* --- Summary / Question row --- */
.wfpc-faq__q {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin: 0;
  gap: 12px;
  user-select: none;
}
.wfpc-faq__q::-webkit-details-marker { display: none; }
.wfpc-faq__q::marker { display: none; }

/* Arrow icon */
.wfpc-faq__q::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-inline-start: auto;
}

/* When open → arrow points up */
.wfpc-faq__item[open] > .wfpc-faq__q::after {
  transform: rotate(-135deg);
}

/* --- Answer --- */
.wfpc-faq__a {
  padding: 0 16px 14px;
  animation: wfpc-fadein 0.2s ease;
}
.wfpc-faq__a p {
  margin: 0;
  margin-top: 8px;
}

@keyframes wfpc-fadein {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
