/* Immagini a caricamento ritardato: skeleton finché non arrivano, poi dissolvenza */
img.idh-lz:not(.idh-ok) {
  color: transparent;
  background: linear-gradient(90deg, var(--igdp-sand, #EFE8DE) 25%, #f7f2ea 50%, var(--igdp-sand, #EFE8DE) 75%);
  background-size: 200% 100%;
  animation: idh-lz-shim 1.4s ease-in-out infinite;
}
img.idh-lz.idh-ok { animation: idh-lz-in .45s ease both; }
@keyframes idh-lz-shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes idh-lz-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  img.idh-lz:not(.idh-ok) { animation: none; }
  img.idh-lz.idh-ok { animation: none; }
}

/* Immagine delle schede articolo avvolta nel link all'articolo (aggiunto da IDH_NP_Lazy::link_images) */
a.idh-imglink { display: block; color: inherit; text-decoration: none; }
