/* REDISCOVER EARTH MAP CATEGORY LEGEND v1.5.27 */
.atlas-marker-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 20px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(39, 67, 57, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 28px rgba(35, 58, 49, .07);
  color: #52635d;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.atlas-marker-legend__title {
  flex: 0 0 auto;
  color: #60726b;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.atlas-marker-legend__items {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 16px;
}

.atlas-marker-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #40514b;
  font-size: .69rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.atlas-marker-legend__item i {
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: var(--legend-color);
  box-shadow:
    0 0 0 1px rgba(34, 54, 47, .16),
    0 0 10px var(--legend-glow);
}

.atlas-marker-legend__label-short {
  display: none;
}

.map-marker[data-atlas-marker-type]::before {
  border-color: var(--atlas-marker-ring) !important;
}

.map-marker[data-atlas-marker-type]::after {
  border-color: rgba(255, 255, 255, .96) !important;
  background: var(--atlas-marker-color) !important;
  box-shadow:
    0 0 0 1px rgba(25, 43, 37, .26),
    0 0 12px var(--atlas-marker-glow) !important;
}

.map-marker[data-atlas-marker-type]:hover::after,
.map-marker[data-atlas-marker-type].is-active::after {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .98),
    0 0 0 5px var(--atlas-marker-ring),
    0 0 18px var(--atlas-marker-glow) !important;
}

@media (max-width: 1100px) {
  .atlas-marker-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 760px) {
  .atlas-marker-legend {
    gap: 8px;
    margin: 12px 14px 14px;
    padding: 11px 12px 10px;
    overflow: hidden;
    border-radius: 14px;
  }

  .atlas-marker-legend__title {
    font-size: .58rem;
  }

  .atlas-marker-legend__items {
    width: 100%;
    flex-wrap: nowrap;
    gap: 13px;
    overflow-x: auto;
    padding: 1px 1px 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .atlas-marker-legend__items::-webkit-scrollbar {
    display: none;
  }

  .atlas-marker-legend__item {
    flex: 0 0 auto;
    font-size: .64rem;
  }

  .atlas-marker-legend__label-full {
    display: none;
  }

  .atlas-marker-legend__label-short {
    display: inline;
  }

  .map-marker[data-atlas-marker-type]::after {
    box-shadow:
      0 0 0 1px rgba(25, 43, 37, .22),
      0 0 9px var(--atlas-marker-glow) !important;
  }
}
