.ghg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Lógica Load More */
.hover-card.is-hidden {
    display: none;
}

.ghg-load-more-container {
    text-align: center;
    margin-top: 40px;
    width: 100%;
}

.ghg-btn {
    background: #D92D20;
    color: #fff;
    padding: 15px 40px;
    border: 1px solid #fff;
    font-family: "IBM Plex Sans Condensed", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.ghg-btn:hover {
    border: 1px solid #D92D20;
    background: #fff;
    color: #D92D20;
}

/* Estilos Originais do Card e Modal */
.hover-card { position: relative; overflow: hidden; cursor: pointer; background: #000; }
.hover-card img { width: 100%; display: block; transition: transform .5s ease; }
.card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; z-index: 2; transition: .4s; pointer-events: none; }
.card-content h3 { color: #fff; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.8); font-family: "IBM Plex Sans Condensed", Sans-serif; font-size: 18px; }
.overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); opacity: 0; transition: .4s; z-index: 3; }
.hover-card:hover img { transform: scale(1.1); }
.hover-card:hover .overlay { opacity: 1; }
.hover-card:hover .card-content { opacity: 0; transform: translateY(10px); }

#ghg-modal { position: fixed; inset: 0; display: none; z-index: 99999; }
.ghg-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.ghg-content { position: absolute; inset: 0; margin: auto; max-width: 900px; height: fit-content; top: 50%; transform: translateY(-50%); padding: 20px; color: #fff; z-index: 100000; }
.ghg-content img { width: 100%; border-radius: 4px; }
#ghg-close { position: absolute; top: 10px; right: 20px; font-size: 45px; color: #fff; cursor: pointer; z-index: 100001; }

/* Estilo das Setas de Navegação (Desktop) */
.ghg-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    padding: 20px;
    cursor: pointer;
    z-index: 100001;
    transition: all 0.3s ease;
    user-select: none;
    opacity: 0.5;
    font-family: serif; /* Garante que o caractere da seta fique elegante */
}

.ghg-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.ghg-prev { left: 30px; }
.ghg-next { right: 30px; }

/* Responsivo */
@media (max-width: 768px) {
    .ghg-grid { grid-template-columns: 1fr; }
    
    /* Esconde as setas no mobile (usuário usa swipe) */
    .ghg-nav { display: none; }

    .ghg-content {
        width: 95% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; 
        margin: 0 !important;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
}