.faq-page .publication-hero .hero-img::after {
  background: linear-gradient(180deg, rgb(15 8 22 / 58%), rgb(15 8 22 / 30%) 35%, rgb(15 8 22 / 70%));
}

.faq-page .faq-wrapper {
  display: block;
}

.faq-page .faq-content {
  min-width: 0;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

.faq-filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(42 0 78 / 20%);
  border-radius: 2px;
  background: transparent;
  color: #2a004e;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 200;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-filter:hover {
  border-color: #ffda62;
  background-color: #ffda62;
}

.faq-filter[aria-pressed="true"] {
  border-color: #2a004e;
  background-color: #2a004e;
  color: #fff7eb;
}

.faq-filter:focus-visible {
  outline: 2px solid #2a004e;
  outline-offset: 4px;
}

.faq-filter-count {
  font-size: 0.85rem;
  opacity: 0.7;
}

.faq-page [hidden] {
  display: none !important;
}

.faq-filter-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.faq-page .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-enhanced .faq-page .faq-answer {
  grid-template-rows: 0fr;
  opacity: 0;
}

.faq-enhanced .faq-page .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-page .faq-question:disabled {
  color: #2c2c2c;
  cursor: default;
  opacity: 1;
}

.faq-page .faq-question:disabled .faq-question-icon {
  visibility: hidden;
}

.faq-page .faq-answer p {
  max-width: 72rem;
}

.faq-page .project-cta-wrapper {
  box-shadow: none;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.faq-cta-actions .project-cta-button {
  flex: 0 0 auto;
}

.faq-page .faq-cta-actions p {
  flex: 1 1 15rem;
  margin: 0;
  font-size: 1.1rem;
}

@media (max-width: 767px) {
  .faq-filters {
    gap: 0.5rem;
  }

  .faq-filter {
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
  }

  .faq-page .faq-question {
    gap: 1.25rem;
  }

  .faq-page .faq-answer p {
    padding-right: 1.9rem;
  }

  .faq-page .project-cta-image {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-filter {
    transition: none;
  }
}
