/* Site FAQ — [bs_faq] shortcode (pages 498156 / 505344 / 505366)
 * Visual language mirrors bs-about-page.css: light-cyan hero band, card grid,
 * brand cyan family (#1DB0E1 / #206389 / #9AE0F7 / #e8f7fc), #171717 headings.
 * Dark mode scoped under html.bs-dark (warm charcoal palette).
 */

.bs-faq {
  max-width: 1080px;
  margin: 0 auto 56px;
  padding: 0 20px;
  font-family: inherit;
  color: #1f2937;
}

/* Embedded mode ([bs_faq hero="0"] inside another layout, e.g. [bs_verified]) */
.bs-faq.bs-faq--embedded {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ── Hero band (full-bleed) ─────────────────────────────── */
.bs-faq-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(180deg, #e8f7fc 0%, #f4fbfe 100%);
}
.bs-faq-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 20px 46px;
}
.bs-faq-breadcrumb {
  font-size: 14px;
  color: #206389;
  margin: 0 0 14px;
}
.bs-faq-breadcrumb a {
  color: #206389;
  text-decoration: none;
}
.bs-faq-breadcrumb a:hover { text-decoration: underline; }
.bs-faq-breadcrumb-sep { margin: 0 7px; color: #9AE0F7; }
.bs-faq-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #171717;
  margin: 0 0 12px;
}
.bs-faq-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: #555;
  max-width: 640px;
  margin: 0;
}

/* ── Category jump cards ────────────────────────────────── */
.bs-faq-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -26px 0 52px;
  position: relative;
  z-index: 1;
}
.bs-faq-topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e2eef5;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.05);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.bs-faq-topic-card:hover {
  border-color: #9AE0F7;
  box-shadow: 0 10px 24px rgba(29, 176, 225, 0.13);
  transform: translateY(-2px);
}
.bs-faq-topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f7fc;
  color: #1DB0E1;
  margin-bottom: 6px;
}
.bs-faq-topic-icon svg { width: 20px; height: 20px; }
.bs-faq-topic-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
}
.bs-faq-topic-count {
  font-size: 13px;
  color: #6b7f8c;
}

/* ── Category sections: sticky header left, grouped card right ── */
.bs-faq-cat {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  margin: 0 0 48px;
  scroll-margin-top: 110px;
}
.bs-faq-cat:last-of-type { margin-bottom: 0; }
.bs-faq-cat-side {
  position: sticky;
  top: 120px;
  align-self: start;
}
.bs-faq-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f7fc;
  color: #1DB0E1;
  margin-bottom: 12px;
}
.bs-faq-cat-icon svg { width: 24px; height: 24px; }
.bs-faq-heading {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #171717;
  margin: 0 0 6px;
}
.bs-faq-cat-count {
  font-size: 14px;
  color: #6b7f8c;
}

/* Grouped accordion card: one rounded card per category, hairline rows */
.bs-faq-group {
  background: #fff;
  border: 1px solid #e2eef5;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.04);
  overflow: hidden;
}
.bs-faq-item + .bs-faq-item { border-top: 1px solid #edf3f7; }
.bs-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #171717;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease;
}
.bs-faq-summary::-webkit-details-marker { display: none; }
.bs-faq-summary:hover { background: #f7fcfe; }
.bs-faq-summary:focus-visible {
  outline: 2px solid #1DB0E1;
  outline-offset: -2px;
}
.bs-faq-chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1DB0E1;
  border-bottom: 2px solid #1DB0E1;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.18s ease, margin-top 0.18s ease;
}
.bs-faq-item[open] > .bs-faq-summary { color: #206389; }
.bs-faq-item[open] > .bs-faq-summary .bs-faq-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.bs-faq-content {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #44515c;
}
.bs-faq-content p { margin: 0 0 12px; }
.bs-faq-content p:last-child { margin-bottom: 0; }
.bs-faq-content a {
  color: #1DB0E1;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 176, 225, 0.3);
}
.bs-faq-content a:hover { border-bottom-color: #1DB0E1; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  .bs-faq-cat {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bs-faq-cat-side {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .bs-faq-cat-icon { margin-bottom: 0; width: 40px; height: 40px; }
  .bs-faq-cat-icon svg { width: 21px; height: 21px; }
  .bs-faq-heading { margin: 0; font-size: 21px; }
  .bs-faq-cat-count { margin-left: auto; }
}
@media (max-width: 767px) {
  .bs-faq-hero-inner { padding: 30px 20px 36px; }
  .bs-faq-title { font-size: 28px; }
  .bs-faq-subtitle { font-size: 15px; }
  .bs-faq-topics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: -20px 0 36px;
  }
  .bs-faq-topic-card { padding: 14px; }
  .bs-faq-topic-icon { width: 34px; height: 34px; }
  .bs-faq-topic-icon svg { width: 17px; height: 17px; }
  .bs-faq-topic-label { font-size: 14px; }
  .bs-faq-topic-count { font-size: 12px; }
  .bs-faq-cat { margin-bottom: 36px; scroll-margin-top: 90px; }
  .bs-faq-summary { padding: 15px 16px; font-size: 15px; }
  .bs-faq-content { padding: 0 16px 16px; font-size: 14px; }
}

/* ── Dark mode (theme uses html.bs-dark to scope) ───────── */
html.bs-dark .bs-faq { color: #d1d5db; }
html.bs-dark .bs-faq-hero {
  background: linear-gradient(180deg, #1a1a30 0%, #16162a 100%);
}
html.bs-dark .bs-faq-breadcrumb,
html.bs-dark .bs-faq-breadcrumb a { color: #9AE0F7; }
html.bs-dark .bs-faq-breadcrumb-sep { color: #3b6a80; }
html.bs-dark .bs-faq-title { color: #f9fafb; }
html.bs-dark .bs-faq-subtitle { color: #9ca3af; }
html.bs-dark .bs-faq-topic-card {
  background: #1e1e32;
  border-color: #2a2a44;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
html.bs-dark .bs-faq-topic-card:hover {
  border-color: #3b6a80;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
html.bs-dark .bs-faq-topic-icon,
html.bs-dark .bs-faq-cat-icon {
  background: #1d3a4d;
  color: #9AE0F7;
}
html.bs-dark .bs-faq-topic-label,
html.bs-dark .bs-faq-heading { color: #f9fafb; }
html.bs-dark .bs-faq-topic-count,
html.bs-dark .bs-faq-cat-count { color: #8896a3; }
html.bs-dark .bs-faq-group {
  background: #1e1e32;
  border-color: #2a2a44;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
html.bs-dark .bs-faq-item + .bs-faq-item { border-top-color: #2a2a44; }
html.bs-dark .bs-faq-summary { color: #f3f4f6; }
html.bs-dark .bs-faq-summary:hover { background: #252540; }
html.bs-dark .bs-faq-item[open] > .bs-faq-summary { color: #9AE0F7; }
html.bs-dark .bs-faq-chevron {
  border-right-color: #9AE0F7;
  border-bottom-color: #9AE0F7;
}
html.bs-dark .bs-faq-content { color: #cbd5e1; }
html.bs-dark .bs-faq-content a {
  color: #60c8ec;
  border-bottom-color: rgba(96, 200, 236, 0.35);
}
html.bs-dark .bs-faq-content a:hover { border-bottom-color: #60c8ec; }
