.advisor-faq-answer[hidden] {
  display: none;
}

.advisor-faq-section {
  overflow-x: clip;
}

.advisor-faq-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.advisor-faq-item {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(12, 43, 85, 0.12);
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.advisor-faq-question {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #184b8f;
  appearance: none;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-align: left;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  box-sizing: border-box;
  cursor: pointer;
}

.advisor-faq-question-text {
  display: block;
  min-width: 0;
  max-width: none;
  padding-right: 4px;
  font-size: inherit;
  font-weight: inherit;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: inherit;
}

.advisor-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  min-width: 2rem;
  margin-left: auto;
  line-height: 1;
  font-size: 1.5rem;
  font-weight: 500;
  color: #184b8f;
  transform: translateY(1px);
}

.advisor-faq-answer {
  padding: 0 24px 21px;
  color: var(--advisor-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.advisor-faq-answer p {
  margin: 0;
}

.advisor-faq-item.is-open .advisor-faq-answer {
  display: block;
}

.advisor-faq-question:focus-visible {
  outline: 3px solid rgba(24, 75, 143, 0.2);
  outline-offset: -3px;
}

@media (min-width: 901px) {
  .advisor-faq-list {
    max-width: 760px;
  }

  .advisor-faq-question,
  .advisor-faq-question-text {
    font-weight: 400;
  }

  .advisor-faq-question {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .advisor-faq-question-text {
    font-size: inherit;
    line-height: inherit;
  }
}

@media (max-width: 900px) {
  .advisor-faq-section,
  .advisor-faq-section * {
    box-sizing: border-box;
  }

  .advisor-faq-section {
    padding: 72px 20px;
    overflow-x: hidden;
  }

  .advisor-faq-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .advisor-faq-section .advisor-section-header h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
    text-align: center;
  }

  .advisor-faq-section .advisor-section-header p {
    max-width: 32rem;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.45;
    text-align: center;
  }

  .advisor-faq-list {
    gap: 12px;
    max-width: 100%;
  }

  .advisor-faq-question {
    min-height: auto;
    padding: 14px 16px;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.32;
    letter-spacing: 0;
  }

  .advisor-faq-answer {
    padding: 0 18px 18px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .advisor-faq-icon {
    flex-basis: 1.75rem;
    width: 1.75rem;
    min-width: 1.75rem;
    font-size: 1.35rem;
  }
}
