.faq-answer {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.15s, color 0.15s;
}

/* Put the gradient on ::before */
.faq-question::before {
  content: '';
  position: absolute;
  inset: 0;                         /* top/right/bottom/left: 0 */
  z-index: -1;                      /* behind the text */
  opacity: 0;                       /* start transparent */
  transition: opacity 0.3s ease;    /* default; will be overridden by controls */
  /* gradient comes from Elementor’s background control */
}

/* Show it on hover */
.faq-question:hover::before {
  opacity: 1;
}

.faq-widget {
    overflow: hidden;
}

.faq-item {}

.faq-icon {
    font-size: 1.2em;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-right: 0;
    position: relative;
    width: 24px;
    height: 16px;
    flex-shrink: 0;
}

.faq-icon .line {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: currentColor;
    left: 0;
    transition: transform 0.15s ease, top 0.15s ease;
}
.faq-icon .line-1 {
    top: 4px;
}
.faq-icon .line-2 {
    top: 10px;
}
.faq-item.active .faq-icon .line-1 {
    transform: rotate(45deg);
    top: 8px;
}
.faq-item.active .faq-icon .line-2 {
    transform: rotate(-45deg);
    top: 8px;
}

.my-faq-style .faq-question {
    background-color: #f4f4f4;
    font-weight: bold;
}

.faq-style-dark .faq-item {
    background-color: #222;
    color: #fff;
}
