/* PBF FAQ V2 Widget — style.css */

/* ── Grid ── */
.dsd-faq2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.dsd-faq2-cols-1 { grid-template-columns: 1fr; }
.dsd-faq2-cols-2 { grid-template-columns: repeat(2, 1fr); }
.dsd-faq2-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Item ── */
.dsd-faq2-item {
  background: #faf8f3;
  border: 1px solid #f0ebe0;
  border-radius: 12px;
  overflow: hidden;
  transition: background-color .25s, border-color .25s;
  align-self: start;
}
.dsd-faq2-item.is-open {
  background: #fff;
  border-color: #e5dfd0;
}

/* ── Question ── */
.dsd-faq2-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.dsd-faq2-q-text {
  flex: 1;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
}

.dsd-faq2-btn {
  color: #1a6ef5;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s;
}
.dsd-faq2-item.is-open .dsd-faq2-btn {
  transform: rotate(0deg);
}

/* ── Answer ── */
.dsd-faq2-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.dsd-faq2-item.is-open .dsd-faq2-a-wrap {
  max-height: 1000px;
}

.dsd-faq2-a {
  padding: 0 24px 20px;
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.65;
}
.dsd-faq2-a p {
  margin: 0 0 10px;
}
.dsd-faq2-a p:last-child {
  margin-bottom: 0;
}
.dsd-faq2-a strong {
  color: #1a1a1a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .dsd-faq2-cols-2,
  .dsd-faq2-cols-3 {
    grid-template-columns: 1fr;
  }
}
