/* Estilos para imágenes con fallback */
.fallback-img {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Estilos específicos para diferentes contextos */
.card .fallback-img {
    min-height: 180px;
    max-height: 250px;
    width: 100%;
}

.event-card .fallback-img,
.blog-card .fallback-img {
    aspect-ratio: 16/9;
}

.banner .fallback-img {
    aspect-ratio: 21/9;
    width: 100%;
}

.thumbnail .fallback-img {
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #f9f9f9;
}

/* Animación sutil al cargar la imagen de fallback */
@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.fallback-img {
    animation: fadeIn 0.5s ease-in-out;
} 