
.bt-faq-block {
  margin: 32px 0;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.bt-faq-title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.bt-faq-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bt-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.bt-faq-question {
  position: relative;
  padding: 14px 44px 14px 16px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
  list-style: none;
}

.bt-faq-question::-webkit-details-marker {
  display: none;
}

.bt-faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 800;
  color: #64748b;
}

.bt-faq-item[open] .bt-faq-question::after {
  content: "–";
}

.bt-faq-answer {
  padding: 0 16px 16px;
  color: #334155;
  line-height: 1.7;
}

.bt-faq-answer > :first-child {
  margin-top: 0;
}

.bt-faq-answer > :last-child {
  margin-bottom: 0;
}

/* Gutenberg editor */
.bt-faq-editor-shell .bt-faq-block {
  margin: 12px 0;
}

.bt-faq-editor-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-faq-editor-item {
  padding: 14px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
}

.bt-faq-editor-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bt-faq-editor-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.bt-faq-add-button {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .bt-faq-block {
    padding: 16px;
  }

  .bt-faq-editor-item-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
