.custom-map-marker {
    position: relative;
    transform: translate(-50%, -100%);
}

.custom-map-marker__button {
    display: block;
    width: 36px;
    height: 48px;
    padding: 0;
    border: 0;
    background: url('/local/assets/map-marker.svg') center / contain no-repeat;
    cursor: pointer;
}

.custom-map-marker__popup {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 240px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 20%);
    color: #222;
    font-size: 14px;
    white-space: normal;
}

.custom-map-marker__popup[hidden] {
    display: none;
}

.map-icon {
    margin-top: 2rem;
    left: 0;
    border-radius: var(--br-21xl);
    width: 100%;
    height: fit-content;
    object-fit: cover;
    overflow: hidden;
}

.custom-map-marker__button {
    position: relative;
}

.custom-map-marker__label {
    position: absolute;
    top: 3px;
    left: 0;
    width: max-content;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-align: left;
    text-shadow: 0 0 3px #fff, 0 0 6px #fff;
    padding: 5px 10px;
    background: #fff;
    border-radius: 30px;
    box-sizing: border-box;
    padding-left: calc(100% + 3px);
    z-index: -1;
}

#ussurijsk_map, #vladivostok_map {
    height: 343px;
}