/* ═══════════════════════════════════════════════════
   ONVERGETEN — FAQ PAGE
   ═══════════════════════════════════════════════════ */

/* ─── Title accent ───────────────────────────────── */
.av-title .accent { color: var(--blue); }


/* ─── Search bar ─────────────────────────────────── */
.faq-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-icon {
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
  transition: color 0.3s;
}

.faq-search-wrap:focus-within .faq-search-icon { color: var(--blue); }

.faq-search {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0 0.6rem 1.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}
.faq-search:focus          { border-bottom-color: var(--blue); }
.faq-search::placeholder   { color: #ccc; }

/* hide the native × clear button in Chrome/Safari */
.faq-search::-webkit-search-cancel-button { -webkit-appearance: none; }


/* ─── FAQ list ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--black);
  cursor: pointer;
  transition: color 0.25s, padding-left 0.32s cubic-bezier(.25,.1,.25,1);
}
.faq-question:hover          { color: var(--blue); padding-left: 0.5rem; }
.faq-item.open .faq-question { color: var(--blue); }

/* +/− icon */
.faq-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.32s cubic-bezier(.25,.1,.25,1),
              opacity   0.32s cubic-bezier(.25,.1,.25,1);
}
.faq-icon::before { width: 11px; height: 1px; }
.faq-icon::after  { width: 1px;  height: 11px; }

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* collapsible body */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(.25,.1,.25,1);
}
.faq-answer-inner { padding-bottom: 1.8rem; }

.faq-answer-inner p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}


/* ─── No-results message ─────────────────────────── */
.faq-no-results {
  display: none;
  padding: 2.5rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}


/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 560px) {
  .faq-question      { font-size: 0.86rem; }
  .faq-answer-inner p { font-size: 0.86rem; }
}
