.cpt-grid-wrapper-c1d79600 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.cpt-grid-c1d79600 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .cpt-grid-c1d79600 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .cpt-grid-c1d79600 {
        grid-template-columns: 1fr;
    }
}

.cpt-grid-card-c1d79600 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.cpt-grid-card-c1d79600:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.cpt-grid-card-image-c1d79600 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.cpt-grid-thumb-c1d79600 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cpt-grid-no-thumb-c1d79600 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #999;
}

.cpt-grid-category-c1d79600 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpt-grid-card-content-c1d79600 {
    padding: 16px 20px 20px;
}

.cpt-grid-card-title-c1d79600 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
}

.cpt-grid-card-c1d79600:hover .cpt-grid-card-title-c1d79600 {
    color: #0073aa;
}

/* Pagination */
.cpt-grid-pagination-c1d79600 {
    margin-top: 40px;
    text-align: center;
}

.cpt-grid-pagination-c1d79600 .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.cpt-grid-pagination-c1d79600 .page-numbers li {
    display: inline-flex;
}

.cpt-grid-pagination-c1d79600 .page-numbers li a,
.cpt-grid-pagination-c1d79600 .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    transition: background 0.2s ease, color 0.2s ease;
}

.cpt-grid-pagination-c1d79600 .page-numbers li a:hover {
    background: #0073aa;
    color: #fff;
}

.cpt-grid-pagination-c1d79600 .page-numbers li span.current {
    background: #0073aa;
    color: #fff;
    font-weight: 700;
}

.cpt-grid-pagination-c1d79600 .page-numbers li span.dots {
    background: transparent;
    color: #999;
}

.cpt-grid-no-results-c1d79600 {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1rem;
}
