.ws-map {
  margin: 0;
  color: #242722;
  container-type: inline-size;
}
.ws-map__canvas {
  position: relative;
  isolation: isolate;
  aspect-ratio: 555 / 357;
  overflow: hidden;
  background: #eee7db;
}
.ws-map__surface {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.ws-map__point {
  position: absolute;
  width: 0;
  height: 0;
  font-family: system-ui, sans-serif;
}
/* OSM source positions projected into the 555 × 357 crop.
   x = ((lon - 14.388) / .055 * 1100 - 168) / 555
   y = ((50.0958 - lat) / .0228 * 711 - 69) / 357 */
.ws-map__castle {left: 14.3730%; top: 28.5579%} /* node 1200986338 */
.ws-map__metro {left: 46.5596%; top: 18.0296%} /* node 5460545206 */
.ws-map__square {left: 88.4310%; top: 53.5219%} /* relation 2362716 */
.ws-map__bridge {left: 50.9899%; top: 61.0297%} /* way 119016167 */
.ws-map__kampa {left: 41.3968%; top: 84.0912%} /* relation 13480459 */
.ws-map__hotel {left: 49.1117%; top: 44.5650%} /* node 296508721 */
.ws-map__symbol, .ws-map__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.ws-map__symbol {
  width: clamp(22px, 3.65cqw, 35px);
  height: clamp(22px, 3.65cqw, 35px);
  border: 1px solid #887e67;
  border-radius: 50%;
  color: #494538;
  background: #fffaf0;
}
.ws-map__symbol svg {width: 72%; height: 72%}
.ws-map__metro .ws-map__symbol {color: #38614f}
.ws-map__label {
  position: absolute;
  left: 0;
  top: clamp(13px, 2.2cqw, 22px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 122px;
  padding: 1px 4px;
  color: #292a23;
  background: #f9f5eae8;
  font-size: clamp(11px, 1.55cqw, 15px);
  font-weight: 640;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
.ws-map__bridge .ws-map__label {
  left: clamp(14px, 2.25cqw, 22px);
  top: 0;
  transform: translateY(-50%);
}
.ws-map__square .ws-map__label {max-width: 18cqw}
.ws-map__hotel {z-index: 1}
.ws-map__dot {
  width: clamp(13px, 1.9cqw, 19px);
  height: clamp(13px, 1.9cqw, 19px);
  border-radius: 100%;
  border: 2px solid #fffaf0;
  background: #193a39;
  box-shadow: 0 0 0 1px #193a39;
}
.ws-map__plaque {
  position: absolute;
  right: 10px;
  bottom: 7px;
  display: grid;
  gap: 2px;
  width: max-content;
  padding: clamp(5px, 1cqw, 10px) clamp(8px, 1.5cqw, 15px);
  color: #fffaf0;
  background: #193a39;
  text-align: left;
}
.ws-map__plaque::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #193a39;
  border-bottom-color: #193a39;
}
.ws-map__plaque b {font: 600 clamp(13px, 2.1cqw, 22px)/1.1 Georgia, serif}
.ws-map__plaque small {font: 500 clamp(10px, 1.3cqw, 13px)/1.1 system-ui, sans-serif}
.ws-map__caption {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 18px;
  margin: 0;
  padding: 16px clamp(12px, 2.5cqw, 25px) 10px;
  border: 1px solid #dfd8ca;
  background: #fbf8ef;
  text-align: left;
}
.ws-map__address {display: grid; gap: 2px; font-size: 14px; line-height: 1.4}
.ws-map__address strong {font-weight: 650}
.ws-map__caption a {color: inherit}
.ws-map__route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ws-map__credit {display:inline-flex;align-items:center;min-height:36px;width:fit-content;grid-column:1 / -1;font:12px/1.45 system-ui,sans-serif;text-decoration:underline}
.ws-map a:focus-visible {outline: 2px solid #315c56; outline-offset: 3px}
@container (max-width: 550px) {
  .ws-map__plaque {left: 9px; top: 0; right: auto; bottom: auto; transform: translateY(-50%)}
  .ws-map__plaque::after {right: auto; left: -8px; top: calc(50% - 4px); bottom: auto; border-color: transparent; border-right-color: #193a39}
}
@container (max-width: 450px) {
  .ws-map__caption {grid-template-columns: 1fr; gap: 0; padding: 12px 14px}
  .ws-map__route {justify-self: start; font-size: 14px}
  .ws-map__castle .ws-map__label {max-width: 64px}
  .ws-map__credit {grid-column: auto}
}
@container (max-width: 340px) {
  .ws-map__castle .ws-map__label {top: auto; bottom: 13px}
  .ws-map__plaque {left: auto; right: 9px; top: 3px; transform: none}
  .ws-map__plaque::after {right: -7px; left: auto; top: 0; border-color: transparent; border-top-color: #193a39; border-left-color: #193a39}
  .ws-map__bridge .ws-map__label {left: 0; top: 13px; transform: translateX(-50%)}
  .ws-map__square .ws-map__label {max-width: 78px; right: -26px; left: auto; transform: none}
}
