/**
 * Shared affordance for images that open a larger preview.
 * Uses the existing Feather zoom-in glyph instead of native zoom cursors,
 * whose rendering varies across browsers and operating systems.
 */

.image-zoom-trigger {
	position: relative;
	cursor: pointer;
}

.image-zoom-trigger::after {
	content: "\ea08";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(109, 1, 190, 0.16);
	border-radius: 50%;
	background: #6d01be;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
	color: #fff;
	font-family: "Feather-Icons";
	font-size: 17px;
	font-style: normal;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	-webkit-font-smoothing: antialiased;
}

.image-zoom-trigger--persistent::after {
	background: rgba(255, 255, 255, 0.94);
	color: #6d01be;
	opacity: 0.92;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.image-zoom-trigger:hover::after,
.image-zoom-trigger:focus-visible::after {
	background: #6d01be;
	color: #fff;
	opacity: 1;
}

@media (max-width: 575px) {
	.image-zoom-trigger::after {
		bottom: 8px;
		right: 8px;
		width: 30px;
		height: 30px;
		font-size: 15px;
	}
}

@media (hover: none) {
	.image-zoom-trigger:not(.image-zoom-trigger--persistent)::after {
		display: none;
	}
}
