.accordion  {
    margin-top: 20px;
    border-radius: 16px;
}

.accordion-holder .accordion:first-child {
    margin-top: 0;
}

.accordion .title {
    font-weight: 500;
    padding: 12px 40px 12px 20px;
    position: relative;
    border-radius: 16px;
    border-color: var(--primary-color);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion .title:hover,
.accordion .title,
.accordion.closed .title:hover {
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    
}

.accordion.closed .title {
    background: #fff;
    color: #3B3B3B;
    border: 1px solid #D2D9E1;
    border-radius: 16px;
}


.accordion .title:before,
.accordion .title:after {
    content: '';
    width: 14px;
    height: 2px;
    background: #fff;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    right: 30px;
}

.accordion .title:before {
    transform: translateY(-50%) rotate(45deg);
}

.accordion .title:after {
    transform: translateY(-50%) rotate(-45deg);
}

.accordion.closed .title:hover:before,
.accordion.closed .title:hover:after {
    background: #fff;
}

.accordion.closed .title:before {
    transform: translateY(-50%) rotate(0deg);
}

.accordion.closed .title:after {
    transform: translateY(-50%) rotate(-90deg);
}

.accordion.closed .title:before,
.accordion.closed .title:after {
    background: #949AA2;
}


.accordion.closed .text {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion .text {
    max-height: 1000px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion .text .text-inner {
    padding: 15px 20px;
    box-shadow: 0 2px 48px rgba(0, 0, 0, 0.08);
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}

@media only screen and (max-width: 991px) {
    .accordion .title:before,
    .accordion .title:after {
        right: 20px
    }
}