.faq-hero {
  background-size: cover;
  background-position: center;
}

.faq-hero-inner {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.faq-layout {
  align-items: flex-start;
  gap: var(--space-10);
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.faq-intro p:last-of-type {
  margin-bottom: 0;
}

.faq-list {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(118, 131, 150, 0.6);
  background: radial-gradient(circle at top left, rgba(25, 184, 184, 0.08), transparent 55%),
              linear-gradient(145deg, rgba(5, 7, 12, 0.98), rgba(8, 11, 18, 0.98));
  box-shadow: var(--shadow-soft);
  padding-inline: var(--space-5);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-question {
  background: transparent;
  width: 100%;
  text-align: left;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-toggle {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-left: var(--space-4);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-image-wrapper {
  margin-top: var(--space-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.faq-aside-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.faq-bottom-cta {
  padding-top: 0;
}

.faq-bottom-card {
  background: linear-gradient(145deg, rgba(8, 11, 18, 0.98), rgba(5, 7, 12, 0.98));
}

.faq-bottom-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

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

  .faq-bottom-text {
    max-width: 32rem;
  }
}

.faq-bottom-links .tag-row {
  justify-content: flex-start;
}

@media (max-width: 959px) {
  .faq-aside {
    position: static;
  }

  .faq-list {
    padding-inline: var(--space-4);
  }
}
