.csf-post {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

.csf-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}


#csf-search,
#csf-category,
#csf-tag{
    max-width: 100%;
    width: auto;
}
    #csf-category option,
    #csf-tag option{
        padding: 1rem 0rem;
    }

.csf-search-filter{
    margin-bottom: 1.5rem;
}

.csf-pagination {
    margin-top: 20px;
}

.csf-pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    background: #eee;
    text-decoration: none;
    border-radius: 4px;
    color: #333;
}

.csf-pagination a:hover {
    background: #333;
    color: #fff;
}

.csf-pagination .active{
    background-color: #016296;
    color: #fff;
}

.csf-pagination a{
    text-decoration: none !important;
}

@media (min-width:768px) {
    #csf-results{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
    }
    #csf-search{
        width: 450px;
    }

    #csf-search,
    #csf-category,
    #csf-tag{
        margin: 0 0.5rem;
    }
}

@media (max-width:768px) {
    .csf-search-filter{
        display: flex;
        flex-flow: wrap;
        gap: 10px;
    }
}