/* FAQ V2 Block - aligned with test.html .faq-section, tokens from css/src/main.css */

.wp-block-truckpoint-faqv2 {
  padding: 58px 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faqv2-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.faqv2-center {
  text-align: center;
  margin-bottom: 26px;
}

.faqv2-center .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-family: var(--font-head);
  margin-bottom: 10px;
}

.faqv2-center .section-label:before,
.faqv2-center .section-label:after {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.faqv2-center .section-label:after {
  background: linear-gradient(90deg, var(--brand), transparent);
}

.faqv2-center .section-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.8px;
}

.faq-list {
  max-width: 780px;
  margin: 26px auto 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 11px;
  transition: border .15s, box-shadow .15s;
}

.faq-item.open {
  border-color: #cfe0fb;
  box-shadow: 0 12px 26px rgba(8, 40, 70, .06);
  background: #fff;
}

.faq-question {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  transition: .15s;
}

.faq-item.open .faq-toggle {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 0;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .wp-block-truckpoint-faqv2 {
    padding: 48px 20px;
  }

  .faqv2-center .section-title {
    font-size: 26px;
  }

  .faq-question {
    font-size: 14px;
  }
}
