.bafg-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

.bafg-sidebar-filters {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
}

.accordion-toggle {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #eee;
    border-radius: 3px;
    text-align: center;
    line-height: 16px;
    font-weight: bold;
    cursor: pointer;
}

.accordion-toggle-placeholder {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.accordion-content {
    margin-left: 24px;
    margin-bottom: 10px;
}

.count {
    color: #999;
    font-size: 0.9em;
}

.bafg-post {
    border-bottom: 1px solid #ccc;
}

button[type="submit"] {
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    background-color: #21759b;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

aside .accordion-item {
    margin: 10px 0px;
}

aside.bafg-sidebar-filters h2 {
    font-size: 19px;
    text-transform: uppercase;
}

.accordion-toggle {
    position: absolute;
    right: 0;
}

.accordion-header {
    position: relative;
}

.post_container {
    display: grid;
    /*grid-template-columns: 1fr 1fr 1fr;*/
 	 grid-template-columns: 1fr 1fr; 
    gap: 10px;
}

.bafg-post .twentytwenty-container .twentytwenty-before, .bafg-post .twentytwenty-container .twentytwenty-after {
    width: 100% !important;
    height: 100% !important;
}

button.column-btn.active {
    border: 2px solid;
}

.selected_cat {
    margin-bottom: 10px;
}

.selected_cat strong {
    text-transform: uppercase;
}

button.clear_all {
    font-size: 16px;
    line-height: 1.2 !important;
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0em;
    border-radius: 0.3em;
    padding: 1.0em 2.0em;
    background: #35415b;
    border-color: #35415b;
    color: #fff !important;
}

.column_filter {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-bottom: 20px;
    align-items: center;
}

.column_filter button {
    padding: 5px 10px;
    border-radius: 5px;
    background: transparent;
    border: 1px solid;
}

.column_filter button img {
    width: 25px;
    height: 25px;
    position: relative;
    top: 3px;
}

@media only screen and (max-width:768px) {
    .bafg-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .post_container {
        grid-template-columns: 1fr !important;
    }
    
    .column_filter {
        display: none;
    }

}