.page-taxonomy #main {
    max-width: 1140px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.page-taxonomy #content {
    flex: 100%;
    padding-left: 0;
}

.page-taxonomy #sidebar-node {
    flex: 0 1 31%;
    padding-right: 15px;
}




@media screen and (max-width:1200px) {
    .page-taxonomy #content {
        flex: 0 0 100%;
        padding: 0;
    }

    .page-taxonomy #sidebar-node {
        flex: 1 0 100%;
        padding: 0;
    }
}


/************ Pager *************/
.page-taxonomy .pager {
    display: inline-block;
    width: 100%;
    margin: 50px 0;
}

.page-taxonomy .pager ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.page-taxonomy .pager ul li {}

.page-taxonomy .pager a {
    display: inline-block;
    min-width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 3px;
    overflow: hidden;
    padding: 0 10px;
}

.page-taxonomy .pager ul li.is-active a {
    background: #b9bdca;
}

.page-taxonomy .pager ul li a:hover {
    background: #ddd;
}

.page-taxonomy .pager .pager__item--ellipsis {
    display: none
}

.page-taxonomy .pager .pager__item--next {
    display: none
}

@media screen and (max-width:600px) {
    .page-taxonomy .pager ul li:nth-child(6)~li {
        display: none
    }

    .page-taxonomy .pager ul li:nth-child(6)~li.pager__item--last {
        display: inline-block
    }
}





.term-heading {
    margin-bottom: 30px;
}

.term-heading .bhw {
    max-width: 1140px;
    margin: auto;
}

.term-heading .title h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.term-heading .image {}

.term-heading .body {}

.term-heading .body * {}

.term-heading .body p {
    margin: 0;
    margin-bottom: 15px;
    color: #222;
}

@media screen and (max-width:1200px) {
    .term-heading {
        padding: 0 15px;
    }
}





/*********************************/
/******** children-tags **********/
/*********************************/

.children-tags {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

.children-tags .block-title span {
    display: inline-block;
    width: 100%;
    font-weight: 900;
    margin-bottom: 5px;
}

.children-tags .views-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.children-tags .views-row {
    flex: 0 0 33.3%;
    padding: 3px 0;
}

.children-tags .views-row a {
    display: inline-block;
    padding: 3px 14px;
    color: #000;
    font-size: 11px;
    width: 100%;
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
}

.children-tags .views-row a.fade-in {
    transition: all 0.5s linear;
    opacity: 1;
}

.children-tags .views-row a:before {
    content: '';
    width: 5px;
    height: 5px;
    display: inline-block;
    background: var(--ketabak-red);
    position: absolute;
    right: 2px;
    top: 10px;
    border-radius: 4px;
}

@media screen and (max-width:1200px) {
    .children-tags .views-content {
        margin: 0
    }

    .children-tags {
        padding: 0 20px;
    }
}

@media screen and (max-width:700px) {
    .children-tags .views-row {
        flex: 0 0 50%;
    }
}

.page-taxonomy .archive {
    width: 100%;
}

@media screen and (max-width:1150px) {
    .page-taxonomy .archive {
        padding: 0px 15px 0px;
    }
}

.page-taxonomy .archive .views-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 10px;
}



.page-taxonomy .archive .views-content .views-row {
    flex: 0 0 25%;
}

.page-taxonomy .archive .views-content .views-row a {
    font-size: 15px;
}

.page-taxonomy .archive .views-content .views-row .image {
    margin-bottom: 10px;
}

@media screen and (max-width:950px) {
    .page-taxonomy .archive .views-content {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media screen and (max-width:650px) {
    .page-taxonomy .archive .views-content {
        grid-template-columns: repeat(2, 1fr);
    }

}



@media screen and (max-width:650px) {
    .page-taxonomy .archive .views-content .views-row {
        flex: 0 0 50%;
    }

    .page-taxonomy .archive .views-content .views-row a {
        font-size: 13px;
    }
}