#bogorodsky-map {
    width: 100%;
    height: 400px;
    background: #f2efe9;
    font-family: Arial, Helvetica, sans-serif;
}

#bogorodsky-map .osm-yandex-marker-wrap {
    border: 0;
    background: transparent;
}

#bogorodsky-map .osm-yandex-marker {
    position: relative;
    width: 40px;
    height: 40px;
    font-size: 14px;
    line-height: 18px;
}

#bogorodsky-map .osm-yandex-marker__shape {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .12));
}

#bogorodsky-map .osm-yandex-marker_comma {
    height: 62px;
}

#bogorodsky-map .osm-yandex-marker_comma .osm-yandex-marker__shape {
    height: 62px;
}

#bogorodsky-map .osm-yandex-marker__content {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

#bogorodsky-map .osm-yandex-marker__content img {
    width: 24px;
    height: 24px;
    max-width: none;
    opacity: .53;
}

#bogorodsky-map .osm-yandex-marker__caption {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    box-sizing: border-box;
    max-width: 250px;
    padding: 11px 8px 11px 44px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
}

#bogorodsky-map .leaflet-marker-icon:focus-visible {
    outline: 2px solid #196dff;
    outline-offset: 3px;
    border-radius: 50%;
}

#bogorodsky-map .leaflet-popup-content-wrapper {
    border-radius: 8px;
}

#bogorodsky-map .leaflet-popup-content {
    margin: 16px 20px;
    font-size: 14px;
    line-height: 1.45;
}

#bogorodsky-map .osm-map-popup__title {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-size: 16px;
    line-height: 1.3;
}

#bogorodsky-map .leaflet-control-attribution {
    font-size: 11px;
}

@media (max-width: 600px) {
    #bogorodsky-map .osm-yandex-marker__caption {
        max-width: 180px;
        font-size: 12px;
    }

    #bogorodsky-map .leaflet-popup-content {
        max-width: 230px;
    }
}
