

.faq-wrap {


    .faq-item {

        color: var(--theme-faq-color, #666);

        &:not(:last-child) {
            border-bottom: 2px solid var(--theme-faq-border-color, #d9d9d9);
        }



        .faq-title {
            position: relative;

            &,
            & > h1,
            & > h2,
            & > h3,
            & > h4 {
                font-size: 1rem;
                font-weight: 500;
                line-height: 1.35em;
            }

            padding: 15px 0 15px;
            margin: 0;
        }


        .faq-content {
            position: relative;
            padding: 0 0 20px;
            margin-top: -5px;
        }


        .faq-title,
        .faq-content {
            padding-left: 46px;
        }


        &:not(.disabled) .faq-title {
            cursor: pointer;
        }


        &:not(.active) .faq-content {
            display: none;
        }


        .faq-icon {
            display: inline-block;
            width: 30px;
            height: 30px;
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            background-color: var(--theme-faq-color, #666);
            border-radius: 4px;

            &::before,
            &::after {
                content: ' ';
                position: absolute;
                width: 16px;
                height: 2px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: var(--theme-faq-icon-color, #fff);
                transition: 0.2s;
            }

            &::after {
                transform: translate(-50%, -50%) rotate(90deg);
            }

        }


        &.active-pre .faq-icon,
        &.active .faq-icon {

            &::after {
                opacity: 0;
            }

        }



    }


}








