/**
 * Placeholder of images while they are loading (replaces the former Holder.js placeholders).
 *
 * The color comes from the portal setting "Image placeholder color" (see templates/frontend/default/_imageLoading.php).
 * The selector has the specificity of one class: it has to win against the reset rule for "img" (background:
 * transparent), component rules with a higher specificity still win. The rule only applies until the image is loaded,
 * so components with their own background (e.g. .mediaThumb-contain) show it afterwards.
 */
:where(img.imagePlaceholder):not(.imagePlaceholderLoaded) {
  background-color: var(--image-placeholder-color, #eaecee);
}
