/* Container de 2 colunas */
.ge-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 768px) {
    .ge-grid-container {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
}

/* Box de cada evento */
.ge-evento-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.ge-evento-box:hover {
    transform: translateY(-5px);
}

/* Cabeçalho do Evento (Título + Contador Lado a Lado) */
.ge-evento-cabecalho {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ge-evento-titulo {
    margin: 0 !important;
    font-size: 1.2rem;
    color: #333;
}

.ge-evento-contador {
    font-size: 0.85rem;
    color: #777;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap; /* Impede que o texto quebre de linha */
}

/* Grid das 6 miniaturas (3 colunas, 2 linhas) */
.ge-miniaturas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.ge-thumb-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
}

.ge-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LIGHTBOX COM EFEITO GLASS FOSCO */
.ge-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: none; 
    justify-content: center;
    align-items: center;
}

.ge-lightbox.active {
    display: flex;
}

.ge-lightbox img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

/* Botões do Lightbox */
#ge-close, #ge-prev, #ge-next {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

#ge-close:hover, #ge-prev:hover, #ge-next:hover {
    background: rgba(255,255,255,0.5);
}

#ge-close { top: 20px; right: 30px; }
#ge-prev { left: 20px; top: 50%; transform: translateY(-50%); }
#ge-next { right: 20px; top: 50%; transform: translateY(-50%); }