/*
Typography
*/
/* font family */
/* perfect triangle */
/* type scale ratio */
/* type scale */
/* Vertical Rythm */
/*
xs: 576px,
sm: 768px,
md: 992px,
lg: 1200px
*/
.highlighting .marker {
  filter: grayscale(1);
  opacity: 0.5;
}

.marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.marker.empty {
  width: 16px;
  height: 16px;
  z-index: 1;
  border: 2px solid var(--black);
  background: var(--white);
}
.marker.empty:before {
  opacity: 0.8;
}
.marker:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 1;
  border-radius: 100%;
  margin-bottom: calc(var(--spacer) / 4);
}
.marker.highlighted, .marker:active {
  border: 2px solid var(--black);
  outline-offset: 2px;
  z-index: 3 !important;
  filter: grayscale(0) drop-shadow(2px 4px 6px black);
  opacity: 1;
}
.marker span.marker-story-count {
  display: none;
}
.marker.count.empty {
  width: 24px;
  height: 24px;
  background-color: var(--black);
  border-color: var(--black);
}
.marker.count.empty span.marker-story-count {
  color: var(--white);
  position: absolute;
  display: inline;
  width: 20px;
  height: 20px;
  left: 0;
  top: 0;
  font-size: 12px;
  text-align: center;
}

.mapboxgl-popup {
  max-width: 200px;
  z-index: 4;
  font-family: "Montserrat", "Arial", sans-serif;
}

.mapboxgl-popup-content {
  text-align: left;
  padding: 0;
}
.mapboxgl-popup-content > * {
  padding: var(--spacer);
}
.mapboxgl-popup-content > * + * {
  border-top: 1px solid var(--black);
}
.mapboxgl-popup-content .map-popup-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  width: 90%;
  word-break: break-all;
  padding-top: calc(var(--spacer) * 2.8);
  display: flex;
  justify-content: space-between;
}
.mapboxgl-popup-content .map-popup-title .icon-pin {
  display: flex;
  align-items: baseline;
  margin-top: 0;
  font-size: 1.25rem;
  text-decoration: underline;
}
.mapboxgl-popup-content .map-popup-title .icon-pin:hover {
  color: var(--red);
}
.mapboxgl-popup-content .map-popup-title .icon-pin::before {
  content: url("../../svg/icon/pin-red-16x16.svg");
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-top: 0;
  margin-right: 4px;
  flex: none;
  place-self: start;
}
.mapboxgl-popup-content .map-popup-title .extra-icon {
  flex: 1 0 auto;
  text-align: right;
}
.mapboxgl-popup-content .map-popup-title .extra-icon img {
  width: 24px;
  text-align: right;
}
.mapboxgl-popup-content .map-popup-link {
  text-decoration: none;
  word-break: break-word;
}
.mapboxgl-popup-content .map-popup-link:focus {
  outline: 0;
}
.mapboxgl-popup-content .map-popup-text.desc {
  border: none;
  padding-top: 0;
}
.mapboxgl-popup-content .icon-pin {
  display: flex;
  align-items: center;
  margin-top: 0;
  font-size: 0.7396449704rem;
  text-decoration: none;
}
.mapboxgl-popup-content .icon-pin::before {
  content: url("../../svg/icon/pin-16x16-black.svg");
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin-top: 2px;
  margin-right: 4px;
  flex: none;
  place-self: start;
}
.mapboxgl-popup-content .mapboxgl-popup-close-button {
  font-size: 1.625rem;
  top: calc(var(--spacer) / 2);
  right: var(--spacer);
  margin-top: 0;
  padding: 0;
}

.rtl .mapboxgl-popup-content {
  text-align: right;
}
.rtl .mapboxgl-popup-close-button {
  right: inherit;
  left: var(--spacer);
}

.mapboxgl-scroll-zoom-blocker,
.mapboxgl-touch-pan-blocker {
  z-index: 3;
}
