/**
 * Section: FAQ Accordion
 * White background with accordion-style FAQ list
 * Animation matches Hospitality Accordion (+/- icon with rotate)
 * 
 * @package lifesolutions
 */


/* Header */
.faq-header {
    text-align: left;
    margin-bottom: 50px;
}

.page-template-page-template-faq {
    background: #F6F6F6;
}

.faq-title {
    margin-top: 16px;
    color: #004789;
}

section.section-faq {
    margin-bottom: 136px;
}

/* Accordion Item */
.faq-accordion__item {
    border-bottom: 1px solid #DBDBDB;
    transition: border-color 0.3s ease, padding-left 0.3s ease;
}

/* Active state - blue bottom border + slide in effect */
.faq-accordion__item.is-active {
    border-bottom: 1px solid #0076C0;
    padding-left: 40px;
}

.faq-accordion__item.is-hidden {
    display: none;
}

.faq-accordion__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}


.faq-accordion__item-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    padding-right: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: var(--font-family);
}

/* Active state - blue title */
.faq-accordion__item.is-active .faq-accordion__item-title {
    color: #004789;
}

/* Custom Icon - Plus/Minus Animation (same as Hospitality Accordion) */
.faq-accordion__icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-accordion__icon-line {
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion__icon-line.line-horizontal {
    width: 22px;
    height: 2px;
}

.faq-accordion__icon-line.line-vertical {
    width: 2px;
    height: 22px;
}

/* Rotate vertical line 90deg to form minus */
.faq-accordion__item.is-active .faq-accordion__icon-line.line-vertical {
    transform: rotate(90deg);
    /* opacity: 0; */
}

/* Rotate horizontal line 180deg for smooth effect */
.faq-accordion__item.is-active .faq-accordion__icon-line.line-horizontal {
    /* transform: rotate(180deg); */
}

/* Accordion Content */
.faq-accordion__item-content {
    display: none;
    padding: 0 0 24px;
    overflow: hidden;
}


.faq-accordion__item-content p+p {
    margin-top: 16px;
}

/* Show More Button */
.faq-show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}



.faq-show-more.is-hidden {
    display: none;
}

/* Back to Top Button */
.faq-back-to-top-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.faq-back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.faq-back-to-top:hover {
    background: #003366;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .section-faq {
        padding: 60px 0;
    }

    .faq-header {
        margin-bottom: 40px;
    }

}

@media (max-width: 767px) {
    .faq-accordion__item.is-active {
        padding-left: 0;
    }

    .faq-title {
        line-height: 34px;
        margin-bottom: 0;
    }

    .faq-accordion__item-content {
        padding-bottom: 2px;
    }

    .section-faq {
        padding: 48px 0;

    }

    section.section-faq {
        padding: 0;
        margin-bottom: 70px;
    }

    .faq-header {
        margin-bottom: 25px;
        padding-top: 14px;
    }


    .faq-accordion__item-header {
        padding: 24px 0;
    }

    .faq-accordion__item-title {
        font-size: 16px;
        font-weight: 500;
    }

    .faq-accordion__item-content p {
        margin-top: 0;
        margin-bottom: 22px;
    }

    .faq-back-to-top {
        width: 40px;
        height: 40px;
    }
}