.faq-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem;
  width: 100%;
}
.faq-stack .accordion {
  width: 100%;
}
.faq-stack .accordion-item {
  width: 100% !important;
  display: block !important;
}
.faq-stack,
.faq-stack .accordion {
  columns: 1 !important;
  -moz-columns: 1 !important;
  -webkit-columns: 1 !important;
  grid-template-columns: none !important;
}

[data-theme="dark"] .accordion {
  --faq-primary: var(--pill-grad-1, #00babd);
  --faq-surface: #0e1420;
  --faq-surface-2: #0a101a;
  --faq-border: #1c2736;
  --faq-text: #cfd8e3;
  --faq-muted: #9fb0c5;
  --faq-shadow: rgba(0, 0, 0, 0.45);

  --bs-accordion-color: var(--faq-text);
  --bs-accordion-bg: var(--faq-surface);
  --bs-accordion-border-color: var(--faq-border);
  --bs-accordion-btn-color: var(--faq-text);
  --bs-accordion-btn-bg: var(--faq-surface);
  --bs-accordion-active-color: #e9fbfd;
  --bs-accordion-active-bg: rgba(0, 186, 189, 0.1);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(0, 186, 189, 0.25);
}

[data-theme="dark"] .accordion-item {
  background: var(--faq-surface) !important;
  border: 1px solid var(--faq-border) !important;
  border-radius: 1rem;
  box-shadow: 0 8px 24px var(--faq-shadow);
}

[data-theme="dark"] .accordion-item:hover {
  border-color: rgba(0, 186, 189, 0.45);
  box-shadow: 0 10px 28px rgba(0, 186, 189, 0.12);
}

[data-theme="dark"] .accordion-button {
  color: var(--faq-text) !important;
  background: var(--faq-surface) !important;
}

[data-theme="dark"] .accordion-button.collapsed {
  background: var(--faq-surface) !important;
  color: var(--faq-text) !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  color: #e9fbfd !important;
  background: linear-gradient(180deg, #111b2b 0%, #0b1422 100%) !important;
  border-bottom: 1px solid var(--faq-border);
}

[data-theme="dark"] .accordion-body {
  background: var(--faq-surface-2);
  color: var(--faq-muted);
}

[data-theme="dark"] .accordion-button::after {
  filter: hue-rotate(180deg) invert(1) brightness(1.2);
  opacity: 0.9;
}

[data-theme="dark"] .accordion-flush .accordion-item {
  border-radius: 1rem;
  border-left: 1px solid var(--faq-border);
  border-right: 1px solid var(--faq-border);
}
[data-theme="dark"] .accordion-flush .accordion-item:last-child {
  border-bottom: 1px solid var(--faq-border);
}
