/* FY Kit - Image with dots. Themes restyle through the variables below. */
.fyek-hotspots {
	--fyek-hs-dot: 30px;
	--fyek-hs-dot-bg: rgb(255 255 255 / .92);
	--fyek-hs-dot-core: var(--fyek-accent, #c2562d);
	--fyek-hs-card-bg: var(--fyek-paper, #fff);
	--fyek-hs-card-ink: var(--fyek-ink, #1d1b18);
	--fyek-hs-card-muted: var(--fyek-muted, #6b665f);
	--fyek-hs-card-radius: var(--fyek-radius, 14px);
	--fyek-hs-shade: var(--fyek-paper, #fff);
	--fyek-hs-handle: #fff;
	position: relative;
	isolation: isolate;
	display: grid;
	box-sizing: border-box;
	min-height: var(--fyek-hs-min, 80vh);
	overflow: hidden;
}
.fyek-hotspots *, .fyek-hotspots *::before, .fyek-hotspots *::after { box-sizing: border-box; }
.fyek-hotspots__stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fyek-hotspots__img, .fyek-hotspots__second img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.fyek-hotspots__second { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--fyek-cut, 100%)); }
.fyek-hotspots__shade { position: absolute; inset: 0; pointer-events: none; }
.fyek-hotspots.is-shade-left .fyek-hotspots__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--fyek-hs-shade) 88%, transparent) 0%, color-mix(in srgb, var(--fyek-hs-shade) 55%, transparent) 30%, transparent 58%); }
.fyek-hotspots.is-shade-bottom .fyek-hotspots__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--fyek-hs-shade) 85%, transparent) 0%, transparent 55%); }
.fyek-hotspots.is-shade-all .fyek-hotspots__shade { background: color-mix(in srgb, var(--fyek-hs-shade) 42%, transparent); }

/* Content over the photo */
.fyek-hotspots__content { position: relative; z-index: 2; width: min(100%, var(--fyek-hs-content, 560px)); padding: clamp(28px, 5vw, 72px); pointer-events: none; }
.fyek-hotspots__content > * { pointer-events: auto; }
.fyek-hotspots__content > :first-child { margin-top: 0; }
.fyek-hotspots__content > :last-child { margin-bottom: 0; }
.fyek-hotspots.is-content-top-left .fyek-hotspots__content { align-self: start; justify-self: start; }
.fyek-hotspots.is-content-center-left .fyek-hotspots__content { align-self: center; justify-self: start; }
.fyek-hotspots.is-content-bottom-left .fyek-hotspots__content { align-self: end; justify-self: start; }
.fyek-hotspots.is-content-top-center .fyek-hotspots__content { align-self: start; justify-self: center; text-align: center; }
.fyek-hotspots.is-content-center .fyek-hotspots__content { align-self: center; justify-self: center; text-align: center; }
.fyek-hotspots.is-content-bottom-center .fyek-hotspots__content { align-self: end; justify-self: center; text-align: center; }
.fyek-hotspots.is-content-top-right .fyek-hotspots__content { align-self: start; justify-self: end; }
.fyek-hotspots.is-content-center-right .fyek-hotspots__content { align-self: center; justify-self: end; }
.fyek-hotspots.is-content-bottom-right .fyek-hotspots__content { align-self: end; justify-self: end; }

/* Dots */
.fyek-hotspots__dots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fyek-hotspot { position: absolute; left: calc(var(--x, 50) * 1%); top: calc(var(--y, 50) * 1%); width: 0; height: 0; pointer-events: auto; }
.fyek-hotspot.is-off { display: none; }
.fyek-hotspot__dot { position: absolute; left: calc(var(--fyek-hs-dot) / -2); top: calc(var(--fyek-hs-dot) / -2); width: var(--fyek-hs-dot); height: var(--fyek-hs-dot); padding: 0; border: 0; border-radius: 50%; background: var(--fyek-hs-dot-bg); box-shadow: 0 6px 16px -4px rgb(20 16 12 / .5); cursor: pointer; }
.fyek-hotspot__dot::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--fyek-hs-dot-core); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fyek-hotspot__dot:focus-visible { outline: 3px solid var(--fyek-hs-dot-core); outline-offset: 3px; }
.fyek-hotspots.is-pulse .fyek-hotspot__dot { animation: fyek-hs-pulse 2.6s ease-out infinite; }
@keyframes fyek-hs-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .6), 0 6px 16px -4px rgb(20 16 12 / .5); } 70%, 100% { box-shadow: 0 0 0 16px rgb(255 255 255 / 0), 0 6px 16px -4px rgb(20 16 12 / .5); } }
.fyek-hotspot__card { position: absolute; left: calc(var(--fyek-hs-dot) / 2 + 10px); top: 50%; display: grid; gap: 2px; min-width: 140px; max-width: 260px; padding: 10px 14px 11px; border-radius: var(--fyek-hs-card-radius); background: var(--fyek-hs-card-bg); color: var(--fyek-hs-card-ink); box-shadow: 0 18px 34px -16px rgb(20 16 12 / .5); white-space: nowrap; opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.fyek-hotspot.is-flip .fyek-hotspot__card { left: auto; right: calc(var(--fyek-hs-dot) / 2 + 10px); transform: translate(6px, -50%); }
.fyek-hotspot__name { font-family: var(--fyek-display, inherit); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; color: inherit; text-decoration: none; }
a.fyek-hotspot__name::after { content: " \2192"; color: var(--fyek-hs-dot-core); }
a.fyek-hotspot__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.fyek-hotspot__value { font-size: .8125rem; color: var(--fyek-hs-card-muted); }
.fyek-hotspots.is-opens-hover .fyek-hotspot:hover .fyek-hotspot__card,
.fyek-hotspot:focus-within .fyek-hotspot__card,
.fyek-hotspot.is-open .fyek-hotspot__card,
.fyek-hotspots.is-opens-always .fyek-hotspot__card { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.fyek-hotspots.is-opens-hover .fyek-hotspot:hover .fyek-hotspot__dot::after,
.fyek-hotspot.is-open .fyek-hotspot__dot::after { transform: scale(1.5); }

/* Two photos and the handle */
.fyek-hotspots__handle { position: absolute; top: 0; bottom: 0; left: var(--fyek-cut, 100%); z-index: 4; width: 0; touch-action: none; cursor: ew-resize; outline: 0; }
.fyek-hotspots__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--fyek-hs-handle); opacity: .85; }
.fyek-hotspots__knob { position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--fyek-hs-handle); box-shadow: 0 10px 26px -10px rgb(20 16 12 / .55); display: grid; place-items: center; }
.fyek-hotspots__knob::before, .fyek-hotspots__knob::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--fyek-hs-dot-core); border-width: 0 0 2px 2px; }
.fyek-hotspots__knob::before { left: 12px; transform: rotate(45deg); }
.fyek-hotspots__knob::after { right: 12px; transform: rotate(-135deg); }
.fyek-hotspots__handle:focus-visible .fyek-hotspots__knob { outline: 3px solid var(--fyek-hs-dot-core); outline-offset: 3px; }
.fyek-hotspots__words { position: absolute; top: calc(50% + 40px); left: 0; display: flex; gap: 0; transform: translateX(-50%); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fyek-hs-handle); text-shadow: 0 1px 8px rgb(0 0 0 / .45); white-space: nowrap; }
.fyek-hotspots__words span { padding: 0 14px; }
.fyek-hotspots__words span:first-child::before { content: "\2190  "; }
.fyek-hotspots__words span:last-child::after { content: "  \2192"; }
.fyek-hotspots.is-dragging, .fyek-hotspots.is-dragging * { cursor: ew-resize; user-select: none; }

@media (max-width: 781px) {
	.fyek-hotspots { min-height: 0; grid-template-rows: auto auto; }
	.fyek-hotspots__stage { position: relative; inset: auto; grid-row: 1; aspect-ratio: 4 / 3; }
	.fyek-hotspots__dots { bottom: auto; height: auto; aspect-ratio: 4 / 3; }
	.fyek-hotspots__content { grid-row: 2; width: 100%; justify-self: stretch !important; align-self: start !important; text-align: start; }
	.fyek-hotspots__shade { display: none; }
	.fyek-hotspots__handle { bottom: auto; height: var(--fyek-hs-img-h, 75vw); }
	.fyek-hotspot__card { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	.fyek-hotspots.is-pulse .fyek-hotspot__dot { animation: none; }
}
