/* Novira — FAQ page */

.ds-faq-page {
  padding-bottom: 48px;
}

.ds-faq-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ds-text-muted);
  margin-bottom: 20px;
  margin-top: 20px;
  padding-top: 20px;
}

.ds-faq-breadcrumb a {
  color: var(--ds-text-muted);
  text-decoration: none;
}

.ds-faq-breadcrumb a:hover {
  color: var(--ds-brand);
}

.ds-faq-breadcrumb-sep {
  opacity: 0.5;
}

.ds-faq-breadcrumb-current {
  color: var(--ds-text);
  font-weight: 600;
}

.ds-faq-hero {
  margin-bottom: 24px;
}

.ds-faq-hero h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ds-text);
  margin: 0 0 8px;
}

.ds-faq-hero p {
  font-size: 14px;
  color: var(--ds-text-muted);
  margin: 0;
  line-height: 1.7;
}

.ds-faq-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .ds-faq-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ds-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ds-faq-filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ds-border);
  background: var(--ds-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.ds-faq-filter-chip:hover {
  border-color: var(--ds-brand);
  color: var(--ds-brand);
}

.ds-faq-filter-chip.is-active {
  background: rgba(239, 64, 86, 0.08);
  border-color: var(--ds-brand);
  color: var(--ds-brand);
}

.ds-faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  min-width: 220px;
}

.ds-faq-search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--ds-text);
  outline: none;
}

.ds-faq-list {
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
}

.ds-faq-item {
  border-bottom: 1px solid var(--ds-border);
  scroll-margin-top: 100px;
}

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

.ds-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-text);
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}

.ds-faq-trigger svg {
  flex-shrink: 0;
  color: var(--ds-text-muted);
  transition: transform 0.2s;
}

.ds-faq-item.is-open .ds-faq-trigger svg {
  transform: rotate(180deg);
}

.ds-faq-body {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--ds-text-muted);
  line-height: 1.85;
}

.ds-faq-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
}

.ds-faq-empty h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ds-text);
}

.ds-faq-empty p {
  font-size: 13px;
  color: var(--ds-text-muted);
  margin: 0;
}

.ds-faq-section-anchor {
  scroll-margin-top: 120px;
}
