/*
  Accordion CSS
*/

/* Accordion */
.accordion-item {
    background: var( --white );
    margin-bottom: 5px;
    transition: all 0.2s ease;

    /* Question */
    .question {
        padding: 20px 55px 20px 0px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    /* -- Title */
    .title {
        font-size: 35px;
        line-height: 1.3em;
        padding-bottom: 0;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 15px;
    }
}


/* Numbered */
.accordions-container.numbered .num {
    font-size: 17px;
    line-height: 1.3em;
    font-weight: 700;
    color: var(--dark);
    margin-right: 20px;
}

.accordions-container.numbered .accordion-item  .title {
    display: flex;
}


/* with Icon */
.accordions-container.withIcon .accordion-item {
    .title {
        .icon {
            font-size: 23px;
            position: absolute;
            left: 0;
        }

        .text {
            padding-left: 50px;
        }
    }

    .answer {
        padding-left: 50px;
    }
}

/* Sm */
.accordions-container.sm .accordion-item  {
    .title {
        font-size: 25px;
        font-weight: 600;

        .icon {
            font-size: 20px;
        }
    }
}



/* -- Answer */
.accordion-item .answer-container {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item .answer {
    padding: 10px 0 20px;
    margin-bottom: 5px;
    /*font-size: 18px;*/
    line-height: 1.7em;
}

/* -- arrow */
.accordion-item .arrow {
    position: absolute;
    right: 24px;
    width: 14px;
    height: 14px;
    transition: all 225ms;
}

.accordion-item .arrow:before,
.accordion-item .arrow:after {
    content: '';
    width: 9px;
    height: 2px;
    border-radius: 10px;
    background-color: var(--dark);
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -1px;
    transition: transform 225ms;
    transform-origin: center;
}
.accordion-item .arrow.active:before,
.accordion-item .arrow.active:after {
    background-color: var( --gray-light );
}

.accordion-item .arrow:before {
    transform: rotate(45deg);
    left: 0px;
}

.accordion-item .arrow:after {
    transform: rotate(-45deg);
    right: 0px;
}

.accordion-item .arrow.active {
    transform: rotate(180deg);
}

.accordion-item ul li {
    margin-bottom: 10px;
}



/* --------- DESKTOP --------- */
@media only screen and (min-width: 981px){

}


/* --------- TABLET & MOBILE --------- */
@media only screen and (max-width: 980px){
    .accordions-container.numbered .num {
        font-size: 22px;
    }

    .accordions-container .accordion-item  .title {
        font-size: 23px;
    }

    .accordions-container .accordion-item {
        font-size: 16px;
    }


    /* with Icon Tablet & Mobile */
    .accordions-container.withIcon .accordion-item {
        .title {
            .icon {
                font-size: 18px;
            }

            .text {
                padding-left: 35px;
            }
        }

        .answer {
            padding-left: 35px;
        }
    }

    /* Sm Tablet & Mobile */
    .accordions-container.sm .accordion-item {
        .title {
            font-size: 18px;
            line-height: 1.5em;
        }
    }
}


/* --------- MOBILE --------- */
@media only screen and (max-width: 768px){
    .accordion-item {
        .question {
            padding: 10px 50px 15px 0px;
        }

        .title {
            gap: 10px;
        }

        .arrow {
            width: 12px;
            height: 12px;

            &:before,
            &:after {
                width: 7px;
                border-radius: var( --bdr-radius );
            }
        }
    }
}













