.page-title{
    font-size: 30px;
    font-weight: normal;
    color: var(--secondary_color);
    text-align: center;
    margin: 40px auto 20px;
    position: relative;
}
.page-title:before{
    content: " ";
    background-color: var(--primary_color);
    -webkit-mask-image: url(../img/wave.svg);
    mask-image: url(../img/wave.svg);
    width: 71px;
    height: 86px;
    position: absolute;
    top: -70px;
    left: 10%;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--primary_color) 36%, transparent);
    transform: scaleX(-1);
}
.page-sub-title{
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 75px;
}
.right-sidebar{
    padding-left: 20px;
    position: relative;
}
.right-sidebar:before{
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url(../img/wave.svg);
    mask-image: url(../img/wave.svg);
    width: 71px;
    height: 86px;
    position: absolute;
    top: -40px;
    left: 10%;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--secondary_color) 36%, transparent);
}
.right-sidebar .widget-block{
    margin-bottom: 70px;
}
.right-sidebar .widget-block .search-form{
    border: 1px solid var(--dark_gray_color);
    border-radius: 100px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg_color);
    position: relative;
}
.right-sidebar .widget-block .search-form input[type=search]{
    border: 0;
    outline: none;
    background: transparent;
    line-height: 1;
    padding: 0;
    width: calc(100% - 30px);
    color: var(--dark_gray_color);
    font-size: 16px;
}
.right-sidebar .widget-block .search-form button{
    border: 0;
    padding: 0;
    color: var(--primary_color);
    font-size: 24px;
    background: transparent;
    line-height: 1;
}
.right-sidebar .widget-block label{
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--primary_color);
}
.right-sidebar .widget-block ul{
    margin: 0;
    max-height: 540px;
    overflow-y: auto;
    scrollbar-color: var(--primary_color) transparent;
    scrollbar-width: thin;
    position: relative;
    scrollbar-gutter: stable both-edges; /* جلوگیری از جابجایی محتوا هنگام نمایش اسکرول */
    direction: ltr; /* اسکرول‌بار همیشه سمت راست */
}

.right-sidebar .widget-block ul::-webkit-scrollbar{
    width: 3px;
    border-radius: 0 !important;
}
.right-sidebar .widget-block ul::-webkit-scrollbar-track{
    background: transparent;
    width: 1px;
}
.right-sidebar .widget-block ul::-webkit-scrollbar-thumb{
    background-color: var(--primary_color);
    border-radius: 0 !important;
    width: 3px;
    min-height: 38px !important;
    height: 38px !important;
}
.right-sidebar .widget-block ul::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    opacity: 0;
}
.right-sidebar .widget-block ul::-webkit-scrollbar-track-piece{
    background: transparent;
}

.right-sidebar .widget-block .faq-cats{
    position: relative;
}
.right-sidebar .widget-block .faq-cats:before{
    content: "";
    background: #d9d9d9;
    width: 1px;
    height: 100%;
    position: absolute;
    top: -2px;
    right: 5px;
}
.right-sidebar .widget-block .faq-cats:after{
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    width: 11px;
    height: 11px;
    background: var(--secondary_color);
    z-index: 2;
}

.right-sidebar .widget-block li{
    font-size: 16px;
    font-weight: 400;
    color: var(--dark_gray_color);
    margin-bottom: 16px;
}
.right-sidebar .widget-block li.active{
    color: var(--primary_color);
    font-weight: 500;
}
p.not-found{
    text-align: center;
    padding: 16px;
}

.faq-item{
    padding: 18px 24px;
    border: 1px solid var(--dark_gray_color);
    border-radius: 16px;
    margin-bottom: 12px;
}
.faq-item .question-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.faq-item .question-wrap span{
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: var(--text_color);
}
.faq-item .question-wrap i{
    color: var(--dark_gray_color);
    font-size: 24px;
    height: 24px;
}
.faq-item.active .question-wrap i:before{
    content: '\ea87';
}
.faq-item .answer-wrap{
    visibility: hidden;
    height: 0;
    opacity: 0;
}
.faq-item.active .answer-wrap{
    visibility: visible;
    height: auto;
    opacity: 1;
}
.faq-item.active .answer-wrap .answer{
    color: var(--dark_gray_color);
    background: color-mix(in srgb, var(--primary_color) 4%, transparent);
    border-radius: 8px;
    padding:8px 16px;
    margin-top: 16px;
    font-size: 14px;
}


@media (max-width: 991px) {
    .page-title{
        font-size: 20px;
        margin: 20px auto 10px;
    }
    .page-sub-title{
        font-size: 30px;
        margin: 0 auto 40px;
    }
    .right-sidebar{
        padding: 0;
    }
    .right-sidebar .widget-block{
        margin-bottom: 32px;
    }
    .right-sidebar .widget-block ul{
        height: 200px;
    }
    .right-sidebar .widget-block label{
        display: block;
        text-align: center;
    }
}
@media (max-width: 575px){
    .page-title{
        font-size: 16px;
    }
    .page-sub-title{
        font-size: 18px;
    }
}