.cbf-filter-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Filter Row */
.cbf-top-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

/* Filter Inputs */
.cbf-filter-controls {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 600px;
}
#cbf-category, #cbf-search {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
}
#cbf-category {
    flex: 1;
}
#cbf-search {
    flex: 2;
}

/* Grid layout */
.cbf-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Post card */
.cbf-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.cbf-post-card:hover {
    transform: translateY(-5px);
}
.cbf-post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Thumbnail */
.cbf-thumb-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
}
.cbf-thumb-wrapper img.cbf-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category label */
.cbf-cat-label {
    margin: 16px 24px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e31c79;
}

/* Title */
.cbf-post-card h3 {
    margin: 10px 24px 12px;
    font-size: 22px;
    line-height: 1.4;
    color: #111;
}

/* Excerpt */
.cbf-post-card p {
    margin: 0 24px 16px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Date */
.cbf-date {
    display: block;
    margin: 0 24px 24px;
    font-size: 14px;
    color: #999;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .cbf-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cbf-post-grid {
        grid-template-columns: 1fr;
    }
    .cbf-filter-controls {
        flex-direction: column;
        gap: 10px;
    }
}
