/* FAQ Accordion - Basic Functional Styles */

.faq-accordion-item {
    /* border: 1px solid #ddd; */
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    margin-top: 10px !important;
}

h2 + .faq-accordion-item {
    margin-top: 15px!important;
}

.faq-question {
    margin: 0;
    padding: 10px 14px;
    background-color: #e1e8ef;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: background-color 0.2s ease;
    outline: none;
    border-radius: 6px;
}

.faq-question:hover,
.faq-question:focus {
    /* background-color: #e9ecef; */
}

.faq-question-text {
    flex: 1;
    text-align: left;
    color: #252525;
    font-size: 24px;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    color: #1427e6;
}

.faq-icon svg {
    width: 12px!important;
    /* transition: .3s linear; */
    transform: rotate(90deg);
}

.faq-icon.open svg {
    transform: rotate(-90deg);
}

.faq-answer {
    background-color: #fff;
    overflow: hidden;
}

.faq-answer-content {
    margin-top: 5px;
    color: #252525;
    font-size: 18px;
    line-height: 159%;
    /* background-color: #ebebeb; */
    border-radius: 6px;
    padding: 10px 15px;
}

.faq-answer-content p:first-child {
    margin-top: 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* States */
.faq-open .faq-question {
    /* background-color: #e9ecef;
    border-bottom: 1px solid #ddd; */
}

/* Accessibility */
.faq-question:focus {
    /* box-shadow: inset 0 0 0 2px #007cba; */
}

/* Editor styles */
.faq-editor-view {
    border: 2px dashed #ccc;
    padding: 15px;
    margin: 10px 0;
}

.faq-editor-view .faq-question {
    background-color: #f0f0f0;
    cursor: default;
}

.faq-editor-view .faq-question:hover {
    /* background-color: #f0f0f0; */
}

@media (max-width: 767px) {
    .faq-question-text {
        font-size: 18px;
        line-height: 130%;
    }
    
    .faq-answer-content {
        font-size: 17px;
        line-height: 140%;
    }
    
    .faq-cols h2 {
        font-size: 27px;
        text-align: center;
    }
  }