/*home-reviews*/
.home-reviews {
    position: relative;
    margin-bottom: 90px;
}

.home-title {
    text-align: center;
    display: block;
    font-size: 45px;
    line-height: 55px;
    color: #232323;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 100px;
    margin-bottom: 25px;
}
@media (max-width: 1199px) {
    .home-title {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 15px;
    }
}

.home-reviews .swiper {
    padding: 20px;
    margin: -20px;
}

.home-reviews .swiper .swiper-wrapper {
    gap: 30px;
}

.home-reviews .swiper.swiper-initialized .swiper-wrapper {
    gap: initial;
}

.home-reviews .swiper .swiper-slide {
    flex: 0 0 auto;
    width: calc((100% / 3) - (60px / 3));
    height: auto;
}

.home-reviews-item {
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 25px;
    height: 100%;
}

.home-reviews-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.home-reviews-item-header-logo {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 1px solid #EBF0F7;
    border-radius: 100%;
    /*padding: 5px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    overflow: hidden;
}

.home-reviews-item-header-logo img {
    display: block;
    max-width: 100%;
    height: 100%;
}

.home-reviews-item-header-info {
}

.home-reviews-item-header-info-name {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #232323;
}

.home-reviews-item-header-info-position {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #979797;
}

.home-reviews-item-text {
    margin-left: 105px;
}

.home-reviews-item-text-wrap {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #232323;
    margin-bottom: 15px;
}

.home-reviews-item-text-more {
    display: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: #026EF9;
}

.home-reviews-item-link {
    margin-left: 105px;
}

.home-reviews-item-link a {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #232323;
    text-decoration: underline;
    display: flex;
    gap: 15px;
    align-items: center;
}

.home-reviews-item-link a svg {
    flex: 0 0 auto;
    width: 22px;
}

.home-reviews-detail-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.home-reviews-detail {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(178, 178, 178, 0.3);
    border-radius: 10px 10px 0px 0px;
    z-index: 1010;
    width: 100%;
    height: 60vh;
    padding: 30px 15px 20px 15px;
}

.home-reviews-detail-close {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
}

.home-reviews-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.home-reviews-detail-header-logo {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border: 1px solid #EBF0F7;
    border-radius: 100%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.home-reviews-detail-header-logo img {
    display: block;
    max-width: 100%;
}

.home-reviews-detail-header-info-name {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #232323;
}

.home-reviews-detail-header-info-position {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #979797;
}

.home-reviews-detail-text {
    overflow: auto;
}

.home-reviews-detail-text-wrap {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    height: auto;
    overflow: hidden;
    position: relative;
    min-height: 100%;
    color: #232323;
}

.home-reviews-detail.active {
    display: flex;
    flex-direction: column;
}

.home-reviews-detail-overlay.active {
    display: block;
}

.home-reviews-btn{
    text-align: center;
}

@media (max-width: 1199px) {
    .home-reviews {
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .home-reviews .swiper .swiper-slide {
        width: auto;
        max-width: 250px;
        height: 100%;
    }

    .home-reviews-item {
        padding: 15px;
    }

    .home-reviews-item-header {
        margin-bottom: 15px;
        /*align-items: flex-start;*/
    }

    .home-reviews-item-header-logo {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .home-reviews-item-header-info-name {
        font-size: 16px;
        line-height: 24px;
    }

    .home-reviews-item-header-info-position {
        font-size: 12px;
        line-height: 16px;
    }

    .home-reviews-item-text {
        /*display: none;*/
        margin-left: 0;
    }

    .home-reviews-item-text-wrap {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        height: 140px;
        overflow: hidden;
        position: relative;
        min-height: 100%;
        margin-bottom: 15px;
    }

    .home-reviews-item-text-wrap::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background: rgba(255, 255, 255, 0);
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 1)));
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    }

    .home-reviews-item-text-more {
        display: block;
    }


    .home-reviews-item-link {
        margin-top: 15px;
        margin-left: 0;
    }
}

.home-slider-scrollbar {
    height: 4px;
    background: #EBF0F7;
    border-radius: 8px;
    margin-bottom: 25px;
}

.home-slider-scrollbar .swiper-scrollbar-drag {
    height: 4px;
    background: #026EF9;
    border-radius: 8px;
    cursor: pointer;
}

.home-slider-navigation {
    display: flex;
    gap: 15px;
    position: absolute;
    z-index: 1;
    right: 0;
    top: -63px;
}

.home-slider-navigation .home-slider-navigation-next,
.home-slider-navigation .home-slider-navigation-prev {
    width: 32px;
    height: 32px;
    background: url("/local/templates/mst/img/so-slider-navigation.svg") center center no-repeat;
    cursor: pointer;
}

.home-slider-navigation .home-slider-navigation-next {
    transform: rotate(180deg);
}

@media (max-width: 1199px) {
    .home-slider-navigation {
        top: -50px;
    }
}

/*\home-reviews*/