/*
 * Styles for the FAQordion Accordion (BEM)
 * Version: 1.0
 */

 .faqordion__wrapper{
    display: flex;
    flex-direction: column;
    gap: 2em;
 }

.faqordion__item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.faqordion__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faqordion__question {
    margin: 0;
    padding: 0;
}

.faqordion__toggle {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

.faqordion__toggle:hover {
    color: #0073e6; /* Adjust hover color as needed */
}

/* Arrow icon */
.faqordion__toggle::after {
    content: '+';
    font-family: monospace;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s ease-in-out;
}

/* Modifier class for the active/open state */
.faqordion__item--active .faqordion__toggle::after {
    content: '-';
}

.faqordion__answer {
    display: none;
    padding-top: 15px;
    color: #555;
    line-height: 1.6;
}

/* Styling for content inside the WYSIWYG editor */
.faqordion__answer p {
    margin-bottom: 1em;
}

.faqordion__answer p:last-child {
    margin-bottom: 0;
}