.bpgg-wrapper {
    width: 100%;
}

.bpgg-grid {
    display: grid;
    grid-template-columns: repeat(var(--bpgg-desktop-columns, 3), minmax(0, 1fr));
    gap: 24px;
}

.bpgg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}

.bpgg-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.bpgg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bpgg-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.bpgg-taxonomies {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.bpgg-categories,
.bpgg-tags {
    margin-bottom: 6px;
}

.bpgg-taxonomies a {
    text-decoration: none;
}

.bpgg-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.bpgg-title a {
    text-decoration: none;
    color: inherit;
}

.bpgg-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.bpgg-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.bpgg-footer {
    margin-top: auto;
    padding-top: 16px;
}

.bpgg-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
}

.bpgg-read-more-icon {
    font-size: 16px;
    line-height: 12px;
}

.bpgg-pagination {
    margin-top: 30px;
}

.bpgg-pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bpgg-pagination-item a,
.bpgg-pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
}

.bpgg-pagination-item .current {
    font-weight: 700;
    border-color: #111;
}

.bpgg-no-posts {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

@media (max-width: 991px) {
    .bpgg-grid {
        grid-template-columns: repeat(var(--bpgg-tablet-columns, 2), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bpgg-grid {
        grid-template-columns: repeat(var(--bpgg-mobile-columns, 1), minmax(0, 1fr));
    }

   
}