/* ── FAQ page overview text adjustments ── */
.gp-page:has(.faq-tabs-section) > .pg-section {
  padding: 40px 0 0;
}

.gp-page:has(.faq-tabs-section) > .pg-section .pg-center-text p {
  font-size: 18px;
  max-width: 1000px;
}

/* ── FAQ Tabs Bar ── */
.faq-tabs-section {
  padding: 60px 0 0;
}

.faq-tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid #222;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
}

.faq-tab {
  flex: 1 1 auto;
  padding: 14px 24px;
  background: #fff;
  color: #1a1a1a;
  border: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  white-space: nowrap;
}

.faq-tab:hover,
.faq-tab--active {
  background: #1a1a1a;
  color: #fff;
}

/* ── Category Groups ── */
.faq-tabs-group-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1a1a1a;
}

.faq-tabs-group {
  margin-bottom: 40px;
}

.faq-tabs-group[hidden] {
  display: none;
}

/* ── Reuse accordion item styling from faq-accordion.css ── */
.faq-tabs-section .faq-accordion-item {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .faq-tabs-section {
    padding: 40px 0 0;
  }

  .faq-tabs-bar {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .faq-tab {
    padding: 12px 16px;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
  }

  .faq-tab:last-child {
    border-bottom: none;
  }

  .faq-tabs-group-title {
    font-size: 20px;
  }
}