.branches{
    margin: 100px 0 30px 0;
    position: relative;
    --map-height: 710px;
    --content-height: 165px;
    border-bottom: 1px solid #E6E6E6;
}
.branch-content{
    position: absolute;
    right: 90px;
    top: calc(var(--map-height) - var(--content-height) - 30px);
    width: 355px;
    height: var(--content-height);
    background: white;
    padding: 16px;
    display: none;
}
.branch-content.active{
    display: block;
}
#branches_map{
    width: 100%;
    height: var(--map-height);
}
.branch-content_title{
    font-size: 20px;
    color: black;
    text-decoration: none;
    font-weight: 500;
}
.branch-content_txt{
    margin: 10px 0 0 0;
    color: #727272;
    font-weight: 500;
    font-size: 12px;
}
.branches_list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 30px 0;
}
.branch-label{
    font-size: 20px;
    color: #727272;
    font-weight: 500;
    text-decoration: none;
}
.branch-label.active{
    color: #FF4333;
}
@media (max-width: 1024px) {
    .branches{
        --map-height: 395px;
        --content-height: 100px;
    }
    .branch-content{
        width: 210px;
        right: 10px;
        top: calc(var(--map-height) - var(--content-height) - 10px);
    }
    .branches_list{
        padding: 25px 0;
        grid-template-columns: 100%;
        gap: 10px;
    }
}