.faq-accordion {
    font-family: inherit;
    max-width: 800px;
    margin: auto;
}

.faq-topic-question {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    padding: 15px 40px 15px 15px;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    border-bottom: 1px solid #d1dfee;
    background-color: #fdfeff;
}

.faq-topic-question .faq-topic-question-toggle {
    content: "+";
    position: absolute;
    top: 0;
    right: 15px;
    text-align: center;
    font-weight: 700;
    color: #000;
    font-size: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-topic-question-expanded .faq-topic-question-toggle {
    content: "-";
}

.faq-topic-question-expanded .faq-topic-question-title {
    border-bottom: 1px solid #fdfeff; /* Set this to your background color */
}

.faq-topic-question-content {
    margin: 0;
    padding: 15px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    display: none;
}

.faq-topic-question-expanded .faq-topic-question-content {
    display: block;
}

.faq-topic-question:hover,
.faq-topic-question:hover .faq-topic-question-content {
    background-color: #e1e5ed; /* Change this to your preferred hover color */
    transition: background-color 0.3s ease; /* This makes the color change smoothly */
}

.faq-topic-question-content {
    margin: 0;
    padding: 15px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.faq-topic-question-expanded .faq-topic-question-content {
    max-height: 1000px; /* This value should be greater than the maximum possible content height. */
}

