.reviews_block_title {
    text-align: center;
    font-weight: 400;
}

.reviews_block_title strong{
    font-weight: 600;
}

.reviews_swiper {
    padding-top: 80px;
    margin-top: -80px;
}

.reviews_slide {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.reviews_slide_inside {
    max-width: 263px;
}
.reviews_slide_image {
    display: flex;
    justify-content: center;
}

.reviews_slide_image img{
    max-height: 410px;
}

.reviews_slide_country-wrap {
    box-shadow: 21px 15px 25px 0 rgba(109, 65, 51, 0.08);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 50px;
    margin-top: -30px;
    position: relative;
    margin-bottom: 25px;
    max-width: 233px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.country-wrap_back {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    z-index: 1;
}

.reviews_slide_country-image {
    flex-basis: 60px;
    z-index: 2;
    position: relative;
}

.reviews_slide_country-image img{
    border-radius: 50%;
    z-index: 2;
    position: relative;
	min-width: 60px;
}

.reviews_slide_country-body {
    flex-basis: 100px;
    z-index: 2;
    position: relative;
}
.reviews_slide_country-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #565656;
    margin-bottom: 8px;
}
.reviews_slide_country {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1E1E1E;
}
.reviews_slide_name {
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: #1E1E1E;
    margin-bottom: 15px;
    text-align: center;
}
.reviews_slide_text {
    max-width: 263px;
    text-align: center;
    font-size: 18px;
    line-height: 120%;
}

.reviews_swiper .swiper-slide {
    transition: all ease 0.5s;
    position: relative;
}

.reviews_hover-icon {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1200px){
    .reviews_hover-icon {
        top: 170px;
    }
}


@media screen and (min-width: 991px){
    .reviews_block_title {
        margin-bottom: 40px;
    }

}

@media screen and (max-width: 991px){
    .reviews_block_title {
        margin-bottom: 10px;
    }

    .reviews_slide_name {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 768px) {
    .reviews_swiper .last-slide,
    .reviews_swiper .swiper-slide-active {
        transform: translateY(-80px);
        transition: all ease 0.5s;
    }

    .reviews_hover-icon {
        display: block;
        opacity: 0;
        position: absolute;
        top: 250px;
        left: 50%;
        transform: translateX(-50%);
        transition: all ease 0.3s;
    }

    .reviews_swiper .swiper-slide:hover .reviews_hover-icon {
        opacity: 1;
        transition: all ease 0.3s;
    }
}


/* Стилі для попапа */
.reviews_popup {
    opacity: 0;
    z-index: -1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;

    max-width: 400px;
    background-color: #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    height: 600px;
    transition: all ease 0.5s;
    border-radius: 20px;
}

.reviews_popup.open {
    opacity: 1;
    z-index: 1000;
    transition: all ease 0.5s;
}

.reviews_popup-content {
    position: relative;
    height: 100%;
}

.reviews_popup-close {
    position: absolute;
    top: 2px;
    right: 2px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 32px;
    color: #333;
}

.reviews_popup-body {
    height: 100%;
}

/* Стилі для фону попапа */
.reviews_popup-overlay {
    opacity: 0;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Прозорість фону */
    transition: all ease 0.5s;
}

.reviews_popup.open + .reviews_popup-overlay {
    opacity: 1;
    z-index: 900;
    transition: all ease 0.5s;
}

#reviews_popup-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

@media screen and (max-height: 670px) {
    .reviews_popup {
        height: calc(100% - 120px);
        transform: translate(-50%, -35%);
    }
}