.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ item styles matching meeting minutes accordion */
.faq-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 1px 2px 5px #c0c0c0;
  transition: all 0.3s ease;
  border: 1px solid #c8c8c8;
}

.faq-item:hover,
.faq-item.open {
  border-color: #1c375b;
}

/* Button styles for FAQ questions */
.faq-question {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4rem;
  color: #1c375b;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.faq-question:hover {
  background: #e8eef5;
  color: #1c375b;
}

.faq-item.open .faq-question {
  background: #1c375b;
  color: #ffffff;
  box-shadow: 0 3px 0 0 #1c375b;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1c375b;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer-wrapper {
  max-height: 500px;
}

.faq-answer {
  padding: 1.25rem 2rem;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  color: #222222;
  font-size: 1rem;
  line-height: 1.3;
  text-align: justify;
}

/* Bullet point styling */
.faq-answer ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  color: #333;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

/* Improved spacing for content with breaks */
.faq-answer div {
  line-height: 1.5;
}

.faq-question:focus,
.faq-item.open .faq-question {
  outline: 2px solid #1c375b;
  outline-offset: 2px;
}
