/*
Theme Name:   Astra Child
Template:     astra
Version:      1.0.0
*/

/* ─── Conteneur FAQ ─── */
.schema-faq-section {
  background: black !important;
  margin: 1rem 0 !important;
  border: 2px solid rgba(0, 0, 0, 0.13) !important;
  border-radius: 10px !important;
  box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
}

/* ─── Question ─── */
strong.schema-faq-question {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  padding: 1rem !important;
  font-size: 1.1rem !important;
  transition: opacity ease 0.25s !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: var(--ast-global-color-0) !important;
}

strong.schema-faq-question:hover {
  opacity: 0.75 !important;
}

/* ─── Icône + / - ─── */
strong.schema-faq-question::after {
  content: "＋" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  min-width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background-color: rgba(0, 0, 0, 0.08) !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  flex-shrink: 0 !important;
}

strong.schema-faq-question.expanded::after {
  content: "－" !important;
  background-color: rgba(0, 0, 0, 0.15) !important;
}

/* ─── Réponse ─── */
p.schema-faq-answer {
  padding: 0 1rem 1rem 1rem !important;
  margin: 0 !important;
}

/* ─── Backend Gutenberg ─── */
.editor-styles-wrapper strong.schema-faq-question {
  cursor: text !important;
}
.editor-styles-wrapper p.schema-faq-answer {
  display: block !important;
}
