/* An illustrative map: the original seven Walk&know markers remain the controls. */
.wkn-poi-map { --map-dx: 0px; --map-dy: 0px; position: relative; isolation: isolate; height: 600px; margin: 40px 0 32px; border: 1px solid #e4e5ec; border-radius: 28px; background: #f3f4f7; container-type: inline-size; text-align: left; }
.wkn-poi-map-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; }
.wkn-poi-streets { width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; margin: -12px; opacity: .85; transform: translate(var(--map-dx),var(--map-dy)); transition: transform .7s ease-out; }
.wkn-poi-map-layer { position: absolute; inset: 0; transform: translate(var(--map-dx),var(--map-dy)); transition: transform .7s ease-out; }
.wkn-poi-map-label { position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 8px; margin: 0; border-radius: 30px; padding: 9px 13px; background: #fff; color: #1b1d2c; font-size: 10px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 3px 15px #1b1d2c07; pointer-events: none; }
.wkn-poi-map-label > span { color: #c4090b; font-size: 18px; line-height: 1; }
.wkn-poi-compass { position: absolute; top: 20px; right: 22px; display: grid; width: 42px; justify-items: center; color: #1b1d2c; font-size: 9px; font-weight: 900; pointer-events: none; }
.wkn-poi-compass svg { width: 32px; height: 32px; transform: rotate(24deg); }
.wkn-poi-route { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.wkn-poi-route path { stroke: #c4090b; stroke-width: 2.5px; stroke-dasharray: 3 9; stroke-linecap: round; opacity: .36; vector-effect: non-scaling-stroke; animation: wkn-map-route 34s linear infinite; }
.wkn-poi-route--small { display: none; }
.wkn-poi-map .wk-theme-grid.wkn-poi-markers { position: absolute; inset: 0; display: block; min-height: 0; margin: 0; border: 0; border-radius: 0; padding: 0; overflow: visible; background: transparent; }
.wkn-poi-map details.wk-theme-stop { position: absolute; z-index: 2; top: var(--pin-y); left: var(--pin-x); display: block; width: 150px; min-width: 0; height: 84px; margin: 0; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; transform: translate(-50%,-100%); text-align: center; }
.wkn-poi-map details.wk-theme-stop[open] { z-index: 12; }
.wkn-poi-map .wk-theme-trigger { position: relative; display: flex; width: 100%; height: 84px; min-height: 0; align-items: center; justify-content: flex-end; padding: 0; color: #1b1d2c; }
.wkn-poi-map .wk-theme-trigger:focus-visible { outline: 2px solid #1b1d2c; outline-offset: 7px; border-radius: 12px; }
.wkn-poi-map .wk-theme-pin { display: block; width: 54px; height: 84px; margin: 0; filter: drop-shadow(0 9px 5px #1b1d2c26); transform-origin: 50% 100%; animation: wkn-map-pin 4.5s ease-in-out infinite; animation-delay: var(--pin-delay); transition: transform .3s cubic-bezier(.2,.85,.3,1),filter .3s ease; }
.wkn-poi-map .wk-theme-pin::after { position: absolute; z-index: -1; bottom: -4px; left: 50%; width: 26px; height: 8px; border: 1px solid var(--theme-color); border-radius: 50%; background: #fff9; opacity: .3; transform: translateX(-50%); content: ""; }
.wkn-poi-map .wk-theme-pin img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wkn-poi-map .wk-theme-name { position: absolute; top: calc(100% + 7px); left: 50%; display: block; width: max-content; max-width: 148px; border-radius: 7px; padding: 5px 8px; background: #ffffffed; box-shadow: 0 2px 10px #1b1d2c06; color: #1b1d2c; font-size: 11px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; transform: translateX(-50%); }
.wkn-poi-map .wk-theme-stop:hover .wk-theme-pin,
.wkn-poi-map .wk-theme-stop:focus-within .wk-theme-pin,
.wkn-poi-map .wk-theme-stop[open] .wk-theme-pin { animation: none; transform: translateY(-7px) rotate(-5deg) scale(1.1); filter: drop-shadow(0 14px 8px #1b1d2c33); }
.wkn-poi-map .wk-theme-stop[open] .wk-theme-name { background: #1b1d2c; color: #fff; }
.wkn-poi-map .wk-theme-stop .wk-theme-description { position: absolute; z-index: 15; top: auto; right: auto; bottom: calc(100% + 18px); left: 50%; display: none; width: 230px; margin: 0; border: 1px solid #e1e2e9; border-top: 3px solid var(--theme-color); border-radius: 16px; padding: 18px 18px 17px; background: #fff; box-shadow: 0 14px 35px #1b1d2c1f; color: #1b1d2c; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%); text-align: left; }
.wkn-poi-map .wk-theme-stop[open] .wk-theme-description { display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); animation: wkn-map-popup .2s ease-out; }
.wkn-poi-map .wk-theme-description::before { position: absolute; top: auto; right: auto; bottom: -6px; left: calc(50% - 6px); width: 11px; height: 11px; border: 0; border-right: 1px solid #e1e2e9; border-bottom: 1px solid #e1e2e9; background: #fff; transform: rotate(45deg); }
.wkn-poi-map .wk-theme-description::after { position: absolute; top: 100%; right: 0; left: 0; height: 30px; content: ""; }
.wkn-poi-map .wk-theme-description > strong { display: block; margin: 0 15px 8px 0; color: #1b1d2c; font-size: 14px; line-height: 1.3; }
.wkn-poi-map .wk-theme-description > p { margin: 0; color: #454754; font-size: 12px; font-weight: 450; line-height: 1.65; }
.wkn-poi-map .wk-theme-description > a { display: inline-flex; align-items: center; gap: 13px; margin-top: 13px; padding: 4px 0; color: #c4090b; font-size: 12px; font-weight: 800; text-decoration: none; }
.wkn-poi-map .wk-theme-description > a:hover { color: #1b1d2c; text-decoration: underline; text-underline-offset: 4px; }
.wkn-poi-map .wk-theme-description > a:focus-visible,
.wkn-poi-map .wkn-poi-close:focus-visible { outline: 2px solid #c4090b; outline-offset: 3px; }
.wkn-poi-map .wkn-poi-close { position: absolute; top: 7px; right: 7px; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; padding: 0; background: #f1f2f5; color: #1b1d2c; font: inherit; font-size: 20px; cursor: pointer; }
.wkn-poi-map .wkn-poi-close:hover { background: #1b1d2c; color: #fff; }
.wkn-poi-map .wk-theme-stop[data-tip="below"] .wk-theme-description { top: calc(100% + 55px); bottom: auto; }
.wkn-poi-map .wk-theme-stop[data-tip="below"] .wk-theme-description::before { top: -7px; bottom: auto; border: 0; border-top: 1px solid #e1e2e9; border-left: 1px solid #e1e2e9; }
.wkn-poi-map .wk-theme-stop[data-tip="below"] .wk-theme-description::after { top: auto; bottom: 100%; height: 60px; }
.wkn-poi-map-hint { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: #454754; font-size: 10px; font-weight: 600; pointer-events: none; text-align: center; }
.wkn-poi-map-hint span { color: #c4090b; font-size: 16px; }
@keyframes wkn-map-route { to { stroke-dashoffset: -240; } }
@keyframes wkn-map-pin { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes wkn-map-popup { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 701px) and (max-width: 900px) {
	.wkn-poi-map .wk-theme-stop[data-poi-key="miti"] .wk-theme-description { left: calc(50% + 30px); }
	.wkn-poi-map .wk-theme-stop[data-poi-key="food"] .wk-theme-description { left: calc(50% - 30px); }
}
@media (max-width: 700px) {
	.wkn-poi-map { height: 740px; margin-top: 30px; border-radius: 20px; }
	.wkn-poi-map-label { top: 18px; left: 14px; padding: 8px 10px; font-size: 9px; }
	.wkn-poi-compass { top: 16px; right: 10px; }
	.wkn-poi-map details.wk-theme-stop { top: var(--pin-mobile-y); left: var(--pin-mobile-x); width: 128px; height: 76px; }
	.wkn-poi-map .wk-theme-trigger { height: 76px; }
	.wkn-poi-map .wk-theme-pin { width: 49px; height: 76px; }
	.wkn-poi-map .wk-theme-name { max-width: 128px; padding: 5px 6px; font-size: 10px; }
	.wkn-poi-route--wide { display: none; }
	.wkn-poi-route--small { display: block; }
	.wkn-poi-map .wk-theme-stop .wk-theme-description,
	.wkn-poi-map .wk-theme-stop[data-tip="below"] .wk-theme-description { top: auto; right: auto; bottom: calc(100% + 16px); left: calc(50% + var(--tip-mobile-offset)); width: min(280px,calc(100cqw - 28px)); transform: translateX(-50%); }
	.wkn-poi-map .wk-theme-stop[data-poi-key="miti"] .wk-theme-description,
	.wkn-poi-map .wk-theme-stop[data-poi-key="creature"] .wk-theme-description { top: calc(100% + 54px); bottom: auto; }
	.wkn-poi-map .wk-theme-description::before { display: none; }
	.wkn-poi-map .wk-theme-description::after { display: none; }
	.wkn-poi-map-hint { right: 14px; bottom: 14px; left: 14px; gap: 4px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.wkn-poi-map *, .wkn-poi-map *::before, .wkn-poi-map *::after { animation: none !important; transition: none !important; }
	.wkn-poi-map-layer,.wkn-poi-streets { transform: none; }
}
