.map_testimonial_block {
    position: relative;
    overflow: hidden;
    min-height: 900px;
    background: #23262e;
    transition: background-color 0.45s ease;
}
.map_testimonial_block:hover {
    background: #f8f8f8;
}

.hover_map_inner {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 80px;
}
.hover_map_bg {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 430px;
    max-width: 70vw;
    /*opacity: 0.18;*/
    transition: opacity 0.45s ease;
    pointer-events: none;
}
/*.map_testimonial_block:hover .hover_map_bg {
    opacity: 0.32;
}*/

.hover_map_image {
    width: 100%;
    height: auto;
    display: block;
}
.hover_map_content {
    position: absolute;
    top: 255px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    max-width: calc(100% - 40px);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    z-index: 2;
}
.map_testimonial_block:hover .hover_map_content {
    opacity: 1;
    visibility: visible;
}
.hover_map_content,
.hover_map_content p {
    font-family: 'Moderat', sans-serif;
    font-size: 31px;
    line-height: 40px;
    color: var(--text-color);
    font-weight: 400;
    margin: 0;
}
.hover_map_items {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: stretchd;
    gap: 80px;
    width: 100%;
    padding-bottom: 60px;
}
.hover_map_item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 200px;
}
.hover_map_quote {
    min-height: 120px;
    margin-bottom: 35px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease;
}
.map_testimonial_block:hover .hover_map_quote {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hover_map_quote,
.hover_map_quote p {
    font-family: 'Moderat_Regular', sans-serif;
    font-size: 22px;
    line-height: 26px;
    color: var(--text-color);
    font-weight: 400;
    margin: 0;
}
.hover_map_logo img {
    display: inline-block;
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    opacity: 0.68;
    filter: grayscale(1);
    transition: opacity 0.45s ease;
}
.map_testimonial_block:hover .hover_map_logo img {
    opacity: 0.72;
}

@media (max-width: 991px) {
    .map_testimonial_block,
    .hover_map_inner {
        min-height: auto;
    }
    .hover_map_inner {
        padding-top: 80px;
        padding-bottom: 70px;
    }
    .hover_map_content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin: 120px auto 70px;
    }
    .hover_map_items {
        flex-wrap: wrap;
        gap: 50px 40px;
		justify-content: center;
    }
    .hover_map_item {
        flex: 0 0 calc(50% - 20px);
    }
    .hover_map_quote {
        opacity: 1;
        visibility: visible;
        transform: none;
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .hover_map_bg {
        width: 320px;
        top: 45px;
    }
    .hover_map_content,
    .hover_map_content p {
        font-size: 22px;
        line-height: 30px;
    }
    .hover_map_item {
        flex: 0 0 100%;
    }
}
