/*
 * Light hover motion. Honors reduced motion.
 */

@media (prefers-reduced-motion: no-preference) {
	body.vt-theme :is(.button, .ct-button, .wp-block-button__link, [type="submit"]),
	body.vt-theme .entry-card,
	body.vt-theme .post-navigation a,
	body.vt-theme .ct-pagination .page-numbers {
		transition:
			background-color var(--vt-duration-fast) var(--vt-ease),
			color var(--vt-duration-fast) var(--vt-ease),
			border-color var(--vt-duration-fast) var(--vt-ease),
			box-shadow var(--vt-duration) var(--vt-ease),
			transform var(--vt-duration) var(--vt-ease);
	}

	body.vt-theme :is(.button, .ct-button, .wp-block-button__link, [type="submit"]):is(:hover, :focus-visible):not(:disabled, .disabled) {
		transform: translateY(-2px);
	}

	body.vt-theme .entry-card:is(:hover, :focus-within),
	body.vt-theme .post-navigation a:is(:hover, :focus-visible) {
		transform: translateY(-3px);
		box-shadow: var(--vt-shadow-lift);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
