/* Blog post FAQ accordion (from HTML editor). Separate from marketing faq-v5.css. */

.post-content .faq-container {
  /* width: 100vw; */
  max-width: 100vw;
  box-sizing: border-box;
}

.post-content .faq-section-title {
  max-width: 1340px;
  width: 100%;
  margin: 3.7rem 0 60px;
  padding: 0;
  font-size: 1.75rem;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
  line-height: 1.3;
}

.post-content .faq-item {
  background-color: #101010;
  border-radius: 1vh;
  margin-bottom: 30px;
  overflow: hidden;
  max-width: 1340px;
  width: 100%;
}

.post-content .faq-question {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #101010;
}

.post-content .faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
}

.post-content .faq-toggle {
  color: #043b4d;
  font-size: 2.2rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.post-content .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.post-content .faq-item.active .faq-question {
  background-color: #101010;
}

.post-content .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.post-content .faq-item.active .faq-answer {
  padding: 30px 30px;
  max-height: 2000px;
  opacity: 1;
}

.post-content .faq-answer p {
  margin-bottom: 0;
  color: #d2d2d2;
}

.post-content .faq-answer a {
  color: #7dd3fc;
  text-decoration: underline;
}

.post-content .faq-answer a:hover {
  color: #bae6fd;
}

.post-content .faq-answer strong,
.post-content .faq-answer b {
  font-weight: 600;
  color: #ffffff;
}

.post-content .faq-answer ul,
.post-content .faq-answer ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: #d2d2d2;
}

.post-content .faq-answer li {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .post-content .faq-question {
    padding: 10px 20px;
  }

  .post-content .faq-toggle {
    margin-left: 10px;
  }
}
