/* Estilos para centralizar imagens do tabloide */
.encarte-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

.encarte-img {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
}

/* Para desktop - 4 colunas */
@media (min-width: 768px) {
    .encarte-img {
        flex: 0 0 calc(25% - 1.125rem) !important;
    }
}

/* Para tablet - 2 colunas */
@media (max-width: 767px) and (min-width: 641px) {
    .encarte-img {
        flex: 0 0 calc(50% - 0.75rem) !important;
    }
}

/* Para mobile - 1 coluna */
@media (max-width: 640px) {
    .encarte-img {
        flex: 0 0 calc(100% - 0.75rem) !important;
    }
}

/* Efeito de hover para as imagens */
.encarte-img .zoom-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.encarte-img:hover .zoom-container {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.encarte-img img {
    transition: transform 0.3s ease;
}

.encarte-img:hover img {
    transform: scale(1.1);
} 