.faq {
  display: flex;
  justify-content: center;
  padding: 56px 0 90px;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 74px;
}

.faq-title {
  font-weight: 600;
  font-size: 40px;
}

.faq-list {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.custom-details {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 10px;
  background-color: white;
  position: relative;
}

.custom-summary {
  font-weight: 600;
  font-size: var(--default-font-size);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 10px;
}

.custom-summary::marker {
  display: none;
}

.custom-summary::-webkit-details-marker {
  display: none;
}

.close-icon {
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  transform: rotate(45deg);
  user-select: none;
}

.custom-details[open] .close-icon {
  transform: rotate(90deg);
}

.custom-details p {
  padding: 10px;
  font-size: 16px;
  color: #333;
}

.faq-answer {
  font-weight: 300;
  font-size: var(--default-font-size);
}

@media (max-width: 1249px) {
  .faq {
    padding: 48px 0 48px;
  }

  .faq-wrapper {
    gap: 24px;
  }

  .faq-title {
    font-size: 24px;
  }
}
