.mefc-faq-carousel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FAQ Item Container */
.mefc-faq-carousel .faq-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Question Row */
.mefc-faq-carousel .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Question Text */
.mefc-faq-carousel .faq-question-text {
  flex: 1;
}

/* Icons */
.mefc-faq-carousel .faq-icon {
  margin-left: 10px;
  font-size: 28px;
  display: flex;
  align-items: center;
}
.mefc-faq-carousel .faq-icon .icon-open {
  display: none;
}
.mefc-faq-carousel .faq-item.active .faq-icon .icon-closed {
  display: none;
}
.mefc-faq-carousel .faq-item.active .faq-icon .icon-open {
  display: inline-block;
}

/* Divider */
/* Divider base style */
.mefc-faq-carousel .faq-divider {
    border-bottom: 1px solid #ccc;   /* actual visible line */
    margin: 0 15px;
    height: 0px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Show when active */
.mefc-faq-carousel .faq-item.active .faq-divider {
    opacity: 1;
}


/* Answer Section */
.mefc-faq-carousel .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.mefc-faq-carousel .faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 500px; /* large enough to cover answer content */
}

/* Answer Paragraph */
.mefc-faq-carousel .faq-answer p {
  margin: 0;
  line-height: 1.5;
}

/* Hover Effects */
.mefc-faq-carousel .faq-question:hover {
  filter: brightness(1.1);
}
