.mosaic-responsive-wrapper {
    position: relative;
}

.mosaic-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
}

/* Versão Desktop (3-2-3) */
.mosaic-desktop .mosaic-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.mosaic-desktop .mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    flex: 1;
    min-width: 0;
    aspect-ratio: 16/9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Versão Mobile (1 coluna) */
.mosaic-mobile {
    display: none;
}

.mosaic-mobile .mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 8px;
    aspect-ratio: 16/9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos comuns */
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mosaic-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 112, 186, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.mosaic-item .overlay span {
    color: white;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

.mosaic-item:hover .overlay {
    opacity: 1;
}

.mosaic-loading {
    text-align: center;
    padding: 20px;
    color: #0270ba;
}

/* Media Queries */
@media (max-width: 768px) {
    .mosaic-desktop {
        display: none;
    }
    
    .mosaic-mobile {
        display: block;
    }
    
    .mosaic-desktop .mosaic-row {
        flex-direction: column;
    }
}