#ct-blog-filter-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Creates four equal columns */
    grid-template-rows: auto auto auto; /* Creates three rows that adapt to the content size */
    grid-gap: 20px; /* Adds space between columns and rows */
}


.ct-blog-filter-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.ct-blog-filter-article {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 15px;
    color: #0C1D41;
    font-size: 15px;
}

.ct-blog-filter-article-image {
    height: 260px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
}

.ct-blog-filter-article-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ct-blog-filter-article .post-meta {
    line-height: 1.5em;
	padding-bottom: 0;
}

.ct-blog-filter-header h2 {
    padding-bottom: 0;
}

.ct-blog-filter-header h2,
.ct-blog-filter-article-content h4 {
    font-weight: bold;
}


.ct-blog-filter-sort select {
    padding: 10px;
    border-radius: 5px;
}

.ct-blog-filter-sort {
    display: flex;
    gap: 14px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto;
    border-left-color: #b59a2b;
    animation: spin 1s infinite linear;
}

.ct-load-btn {
    text-align: center;
    padding-top: 20px;
}

#load-more-btn {
    padding: 14px 28px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #2D1911;
    color: #fff;
    border: 1px solid #2D1911;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
    transition: all 250ms ease-in-out;
}

#load-more-btn:hover {
    opacity: .9;
}

#ct-blog-filter-content.show-spinner {
    display: block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 1200px) {
    #ct-blog-filter-content {
        grid-template-columns: repeat(3, 1fr);
    }
    .ct-blog-filter-article-image {
        height: 180px;
    }
}

@media screen and (max-width: 980px) {
    #ct-blog-filter-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .ct-blog-filter-header {
        flex-direction: column;
        gap: 10px;
    }
    .ct-blog-filter-header h2 {
        text-align: center;
    }
}


@media screen and (max-width: 767px) {
    #ct-blog-filter-content {
        grid-template-columns: repeat(1, 1fr);
    }
    .ct-blog-filter-sort {
        flex-direction: column;
    }
}



