/* assets/gaala-grid.css */
.gg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 0;
}

.gg-item {
    display: block;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid #e1e1e1;
}

.gg-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #ccc;
    text-decoration: none;
}

.gg-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: all 0.3s ease;
}

.gg-item:hover img {
    opacity: 0.95;
    transform: scale(1.02);
}

.gg-pagination {
    margin: 40px 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: inherit;
}

.gg-page {
    padding: 10px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 0;
    text-decoration: none;
    background: #f9f9f9;
    color: #333;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

.gg-page:hover {
    background: #e9e9e9;
    border-color: #aaa;
    text-decoration: none;
    color: #333;
}

.gg-page.current {
    background: #333;
    color: #fff;
    border-color: #333;
    font-weight: 600;
}

.gg-page.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f9f9f9;
    color: #999;
}

.gg-page.disabled:hover {
    background: #f9f9f9;
    border-color: #d1d1d1;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gg-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }

    .gg-item img {
        height: 200px;
    }

    .gg-pagination {
        margin: 30px 0;
        gap: 3px;
    }

    .gg-page {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .gg-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }

    .gg-item img {
        height: 180px;
    }
}
