.baddie-hub-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
}

.baddie-hub-title {
    text-align: left;
    margin-bottom: 20px;
}

.baddie-hub-search-row {
    text-align: center;
    margin-bottom: 20px;
}

.baddie-hub-search {
    width: 600px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.baddie-hub-filters {
    text-align: center;
    margin-bottom: 20px;
}

.baddie-hub-filter {
    display: inline-block;
    margin: 0 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 13px;
    text-transform: lowercase;
    transition: all 0.2s ease;
}

.baddie-hub-filter.active {
    background: #000;
    color: #fff;
}

.baddie-hub-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.baddie-hub-gutter {
    height: 40px;
}

.baddie-hub-sort {
    font-size: 13px;
}

.baddie-hub-sort-select {
    margin-left: 6px;
}

.baddie-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .baddie-hub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .baddie-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .baddie-hub-grid {
        grid-template-columns: 1fr;
    }
}

.baddie-hub-item {
    width: 254px;
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.baddie-hub-thumb-link {
    display: block;
}

.baddie-hub-thumb {
    width: 263px;
    max-width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

.baddie-hub-caption {
    position: relative;
    margin-top: -20px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px;
    font-size: 12px;
}

.baddie-hub-caption-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.baddie-hub-title-link {
    color: #fff;
    text-decoration: none;
}

.baddie-hub-title-link:hover {
    color: #0073aa; /* blue hover */
}

.baddie-hub-caption-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.baddie-hub-caption-author {
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.baddie-hub-caption-downloads {
    text-align: right;
}

.baddie-hub-caption-date {
    margin-top: 4px;
    font-size: 11px;
    position: relative;
    cursor: default;
}

.baddie-hub-hover-popup {
    display: none;
    position: absolute;
    left: 0;
    bottom: 100%;
    transform: translateY(-6px);
    background: #000;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    width: 220px;
    z-index: 10;
    font-size: 11px;
}

.baddie-hub-caption-date:hover .baddie-hub-hover-popup {
    display: block;
}

.baddie-hover-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.baddie-hover-label {
    font-weight: bold;
    margin-right: 4px;
}

/* Pagination: use your existing CSS */
.pagination {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 0;
}
.pagination a,
.pagination span {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
    margin: 0 2px;
    min-width: 26px;
    height: 26px;
    line-height: 26px;
    padding: 0 8px;
    text-align: center;
    border: 0px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #4b314d;
    transition: all 0.3s ease;
}
.pagination .current {
    background-color: #ff83fe;
    border-color: #ff83fe;
    color: #fff;
}
.pagination a:hover,
.pagination a:focus {
    background-color: #ff83fe;
    border-color: #ff83fe;
    color: #fff;
    text-decoration: none;
}
.pagination .prev,
.pagination .next {
    font-size: 12px;
    min-width: auto;
    padding: 0 10px;
}

/* FAQ */
.baddie-hub-faq {
    margin-top: 60px;
}