.map__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main_map {
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
}

.container_map {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 15px;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.map__full-width {
    width: 97vw;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: calc(-49vw + 51%);
}

.main__inner_map {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.title_map {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 22px;
}

.main__cards_map {
    flex-grow: 1;
    display: flex;
    border-radius: 8px;
    overflow: hidden;

    padding-top: 1rem;
}

#map_page {
    display: block;
    width: 100%;
    min-height: 80vh;
    height: 100%;
}

#map_page .ymaps-2-1-79-balloon__layout,
#map_page .ymaps-2-1-79-cluster-balloon__layout {
    border-radius: 8px !important;
}

.ymaps-2-1-42-balloon__content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.map__popup {
    width: 340px;
    height: 160px;
    background-color: #ffffff;
    display: flex;
    border-radius: 12px;
}

.map__popup__image {
    width: 119px;
    height: 100%;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.map__popup__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map__popup__info {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup__info__item {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.popup__link{
    color: #4f57c1;
}


.popup__link:hover{
    opacity: 0.7;
}

.popup__info__item_icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
}

.popup__info__item_text {
    position: static;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}