/*
 * The full-screen photo viewer's arrows, read as a guest reads them (morning watch 11-29; behaviour in viewer.js).
 * Were: a 45 px box drawn white-on-white with a 16 px chevron at 75 % opacity, no ring of its own. Now: a 48 px disc that
 * shows on any photo (white, hairline, soft shadow), ink on hover, a press, and the site's focus ring (ink + white halo,
 * web-design-system "Focus"). Laptop and up only: phones keep slick's swipe, where the theme hides the arrows.
 */
@media (min-width: 768px) {
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next {
		--rmh-viewer-arrow: 48px;
		width: var(--rmh-viewer-arrow);
		height: var(--rmh-viewer-arrow);
		margin-top: calc(var(--rmh-viewer-arrow) / -2);
		border: 1px solid var(--rmh-sand, #DED5CC);
		border-radius: 50%;
		background: var(--rmh-white, #FFFFFF);
		box-shadow: 0 4px 14px rgba(35, 31, 32, .16);
		cursor: pointer;
		z-index: 3;
		transition: transform .15s ease, opacity .15s ease;
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev::before,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next::before {
		font-size: 26px;
		line-height: 1;
		color: var(--rmh-ink, #231F20);
		opacity: 1;
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev:hover,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next:hover {
		background: var(--rmh-ink, #231F20);
		border-color: var(--rmh-ink, #231F20);
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev:hover::before,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next:hover::before {
		color: var(--rmh-white, #FFFFFF);
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev:active,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next:active {
		transform: scale(.94);
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev:focus-visible,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next:focus-visible {
		outline: 2px solid var(--rmh-focus-ring, #231F20);
		outline-offset: 2px;
		box-shadow: 0 0 0 6px var(--rmh-white, #FFFFFF);
	}
}

@media (hover: hover) and (pointer: fine) {
	#boostly_modal_gallery_slider img.modal-gallery-image {
		cursor: pointer;
	}
}

@media (prefers-reduced-motion: reduce) {
	/* the slide change is instant; slick still ends its move on its own timer */
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-track {
		transition: none !important;
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next {
		transition: none;
	}

	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-prev:active,
	#boostly_modal_gallery_slider .boostly-gallery-regular .slick-next:active {
		transform: none;
	}
}
