/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.faq-listing {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.faq-item {
  padding: 24px 28px;
  background-color: white;
  border-radius: 24px;
  box-shadow: 0 0 50px 1px rgba(0, 0, 0, 0.048);
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

.faq-item-summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  font-size: 18px;
  font-weight: 600;
  color: black;
}

/* Remove the default disclosure triangle across browsers */
.faq-item-summary::-webkit-details-marker {
  display: none;
}

/* Custom down/up arrow indicator */
.faq-item-summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item-summary::after {
  transform: rotate(180deg);
}

.faq-item-content {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: grey;
  text-align: left;
}