/**
 * DTB Grid Lightbox - hover-zoom feature.
 *
 * The zoom target's own selector rules (position, overflow, cursor) are
 * added at runtime via wp_add_inline_style(), because the target CSS
 * class is configurable from the plugin settings screen. This file only
 * holds rules that apply regardless of the configured class name.
 */

.dtbgl-zoom-active img {
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.dtbgl-zoom-active img {
		transition-duration: 1ms !important;
	}
}
