.reviews-section{
    padding:64px 0 50px;
    background:#f5f6f8;
}

.reviews-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:48px;
}

.reviews-controls{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}

.reviews-arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid #234075;
    border-radius:8px;
    background:#fff;
    color:#153d7b;
    font:inherit;
    font-size:25px;
    line-height:1;
    cursor:pointer;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease;
}

.reviews-arrow:hover:not(:disabled){
    background:#234075;
    border-color:#234075;
    color:#fff;
}

.reviews-arrow:disabled{
    border-color:#dce2ea;
    color:#bdc5d0;
    cursor:default;
    opacity:.8;
}

.reviews-viewport{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
}

.reviews-viewport::-webkit-scrollbar{
    display:none;
}

.reviews-track{
    display:flex;
    align-items:stretch;
    gap:22px;
}

.review-card{
    display:flex;
    align-self:stretch;
    flex:0 0 calc((100% - 22px)/2);
    min-width:0;
    overflow:hidden;
    scroll-snap-align:start;
    border:1px solid #dce2ea;
    border-radius:15px;
    background:#fff;
}

.review-card__content{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    min-width:0;
    padding:10px 0px 5px;
}

.review-card__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    flex:0 0 auto;
}

.review-card__identity{
    min-width:0;
}

.review-card__name{
    color:#07142c;
    font-size:19px;
    font-weight:700;
    line-height:1.25;
}

.review-card__meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:13px;
    margin-top:5px;
}

.review-card__date{
    color:#7a8491;
    font-size:13px;
    line-height:1.3;
}

.review-card__text{
    margin-top:10px;
    color:#18233a;
    font-size:16px;
    line-height:1.3;
    text-align:justify;
    word-break:normal;
}

.review-rating{
    display:inline-flex;
    white-space:nowrap;
    font-size:21px;
    line-height:1;
    letter-spacing:1px;
}

.review-rating__full{
    color:#f6a000;
}

.review-rating__empty{
    color:#d5d9df;
}

.review-source{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    flex:0 0 auto;
    text-decoration:none;
}

.review-source__icon{
    display:block;
    width:auto;
    height:auto;
    max-width:160px;
    max-height:30px;
    object-fit:contain;
}

a.review-source{
    transition:opacity .2s ease;
}

a.review-source:hover{
    opacity:.82;
}

.review-card--has-scan{
    padding:20px;
    gap:22px;
}

.review-scan{
    flex:0 0 190px;
    width:190px;
}

.review-scan__link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.review-scan__preview{
    display:block;
    width:190px;
    aspect-ratio:210/297;
    overflow:hidden;
    border:1px solid #e0e4e9;
    border-radius:7px;
    background:#fff;
}

.review-scan__preview img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.review-scan__caption{
    display:block;
    margin-top:7px;
    color:#6e7885;
    font-size:12px;
    line-height:1.3;
    text-align:center;
}

.reviews-section .review-card--has-scan .review-card__content{
    height:269px;
    min-height:0;
    overflow:hidden;
    padding:10px 12px 0 0;
}

.reviews-section .review-card--has-scan .review-card__text{
    position:relative;
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
}

.reviews-section .review-card--has-scan .review-card__text::after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    height:48px;
    pointer-events:none;
    background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 88%);
}

.reviews-more{
    margin-top:35px;
    text-align:center;
}

.reviews-page .reviews-grid{
    column-count:2;
    column-gap:22px;
}

.reviews-page .review-card{
    width:100%;
    margin:0 0 22px;
    break-inside:avoid;
    -webkit-column-break-inside:avoid;
    page-break-inside:avoid;
}

.reviews-page .review-card__text{
    margin-top:15px;
}

@media (max-width:991px){
    .reviews-section{
        padding:50px 0 42px;
    }

    .reviews-heading{
        margin-bottom:36px;
    }

    .review-card{
        flex-basis:100%;
    }

    .review-card--has-scan{
        gap:18px;
    }

    .review-scan{
        flex-basis:150px;
        width:150px;
    }

    .review-scan__preview{
        width:150px;
    }

    .reviews-section .review-card--has-scan .review-card__content{
        height:212px;
    }

    .reviews-section .review-card--has-scan .review-card__text::after{
        height:40px;
    }
}

@media (max-width:599px){
    .reviews-section{
        padding:38px 0 35px;
    }

    .reviews-heading{
        align-items:flex-end;
        gap:15px;
        margin-bottom:28px;
    }

    .reviews-controls{
        gap:8px;
    }

    .reviews-arrow{
        width:40px;
        height:40px;
        border-radius:7px;
        font-size:23px;
    }

    .reviews-track{
        align-items:flex-start;
        gap:14px;
    }

    .review-card{
        align-self:auto;
        flex-basis:100%;
    }

    .review-card__content{
        padding:24px 20px;
    }

    .review-card__header{
        gap:12px;
    }

    .review-card__name{
        font-size:18px;
    }

    .review-card__text{
        font-size:15px;
    }

    .review-source__icon{
        max-width:100px;
        max-height:28px;
    }

    .review-card--has-scan{
        display:block;
        padding:20px;
    }

    .review-scan{
        width:210px;
        max-width:100%;
        margin:0 auto 20px;
    }

    .review-scan__preview{
        width:210px;
        max-width:100%;
    }

    .reviews-section .review-card--has-scan .review-card__content{
        height:auto;
        overflow:visible;
        padding:0;
    }

    .reviews-section .review-card--has-scan .review-card__text{
        overflow:visible;
    }

    .reviews-section .review-card--has-scan .review-card__text::after{
        display:none;
    }

    .reviews-more{
        margin-top:28px;
    }

    .reviews-page .reviews-grid{
        column-count:1;
    }
}

@media (prefers-reduced-motion:reduce){
    .reviews-viewport{
        scroll-behavior:auto;
    }

    .reviews-arrow,
    a.review-source{
        transition:none;
    }
}