/* Grey filter for Image (Adv) blocks (toggle "Activate Grey Filter", or the class bw-greyscale).
   A saturation blend layer over the photo greys the photo only, so a coloured drop shadow keeps
   its colour (Kadence's own Greyscale filter is lost when a drop shadow is on). */
.bw-greyscale .kb-is-ratio-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #808080;
	mix-blend-mode: saturation;
	pointer-events: none;
}
/* Images without a fixed ratio have no tight wrapper for the layer; a plain filter does the job
   (it replaces a drop shadow on that image, so set a ratio when the image needs both). */
.bw-greyscale:not(:has(.kb-is-ratio-image)) img { filter: grayscale(1); }
