/* OC FAQ – styles (scoped) */

.ocfaq{
  --p1:#5540d3;
  --p4:#c64db9;
  --dark:#0f1020;
  --text:#1b1b2a;
  --muted:#5f647a;
  --border:rgba(20,20,40,.12);
  --radius:22px;
  --shadow:0 18px 46px rgba(12,12,30,.06);
  font-family: -apple-system,BlinkMacSystemFont,"Inter",system-ui,sans-serif;
}

.ocfaq *{ box-sizing: border-box; }

.ocfaq-header{ margin-bottom: 22px; }
.ocfaq-title{ margin:0 0 6px; font-size:22px; color:var(--dark); font-weight:950; line-height:1.2; }
.ocfaq-subtitle{ margin:0; font-size:14px; color:var(--muted); line-height:1.6; }

.ocfaq-accordion{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ocfaq-item{ border-top: 1px solid rgba(20,20,40,.10); }
.ocfaq-item:first-child{ border-top: 0; }

.ocfaq-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  background:transparent;
  border:0;
  cursor:pointer;
  text-align:left;
  font-weight:950;
  color:var(--dark);
  font-size:14px;
}

.ocfaq-btn:hover{ background: rgba(85,64,211,.06); }

.ocfaq-icon{
  width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(85,64,211,.18);
  background:rgba(85,64,211,.08);
  color:var(--p1);
  transition:transform .18s ease;
  font-weight:900;
  flex:0 0 auto;
}

.ocfaq-btn[aria-expanded="true"] .ocfaq-icon{ transform: rotate(180deg); }

.ocfaq-panel{ display:none; padding:0 16px 14px 16px; }

/* Antwort-Text – WordPress Content (p, ul, etc.) */
.ocfaq-a{ font-size:13px; color:var(--muted); line-height:1.6; }
.ocfaq-a p{ margin:0 0 10px; }
.ocfaq-a p:last-child{ margin-bottom:0; }
.ocfaq-a ul{ margin:10px 0 0; padding-left:18px; }
.ocfaq-a li{ margin:0 0 6px; }

.ocfaq-empty{
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width:720px){
  .ocfaq-title{ font-size:20px; }
}

/* Einstellbare Breite je FAQ-Bereich / Shortcode */
.ocfaq{
  width: var(--ocfaq-width, 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
