.tntm-reviews-wrapper,
.tntm-reviews-wrapper *{
    box-sizing:border-box;
}
.tntm-reviews-wrapper{
    width:100%;
    position:relative;
    --tntm-slides:3;
    --tntm-slides-tablet:2;
    --tntm-slides-mobile:1;
    --tntm-gap:16px;
    --tntm-radius:12px;
    --tntm-accent:#f5a623;
    --tntm-card-bg:#fff;
    --tntm-text:#3b4351;
    --tntm-name:#263142;
    --tntm-muted:#778195;
    --tntm-border:#e8edf4;
}
.tntm-section-head{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin-bottom:10px;
}
.tntm-section-title{
    margin:0;
    font-size:17px;
    line-height:1.7;
    font-weight:800;
    color:var(--tntm-name);
}
.tntm-carousel{
    position:relative;
    width:100%;
}
.tntm-viewport{
    overflow:hidden;
    width:100%;
    padding:2px;
    direction:ltr;
}
.tntm-track{
    display:flex;
    gap:var(--tntm-gap);
    align-items:stretch;
    transition:transform .38s ease;
    will-change:transform;
    direction:ltr;
}
.tntm-card{
    flex:0 0 calc((100% - ((var(--tntm-slides) - 1) * var(--tntm-gap))) / var(--tntm-slides));
    min-width:0;
    direction:rtl;
    background:var(--tntm-card-bg);
    border:1px solid var(--tntm-border);
    border-radius:var(--tntm-radius);
    min-height:86px;
    padding:13px 16px 12px;
    box-shadow:0 7px 18px rgba(31, 45, 61, .055);
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.tntm-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:7px;
}
.tntm-person{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}
.tntm-avatar{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    background:#f3f6fb;
    box-shadow:0 2px 8px rgba(22, 33, 52, .10);
}
.tntm-person-meta{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:1px;
    line-height:1.35;
}
.tntm-name{
    display:block;
    max-width:155px;
    color:var(--tntm-name);
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.tntm-position{
    display:block;
    color:var(--tntm-muted);
    font-size:10px;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.tntm-stars{
    display:flex;
    flex-direction:row-reverse;
    align-items:center;
    gap:2px;
    white-space:nowrap;
    margin-top:1px;
    color:#d8dee9;
    font-size:14px;
    letter-spacing:1px;
    line-height:1;
    direction:ltr;
}
.tntm-stars span.is-active{
    color:var(--tntm-accent);
}
.tntm-comment{
    margin:0;
    color:var(--tntm-text);
    font-size:11px;
    line-height:1.95;
    font-weight:500;
    text-align:center;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.tntm-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:30px;
    height:30px;
    border:1px solid var(--tntm-border);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    margin:0;
    background:#fff;
    color:var(--tntm-name);
    box-shadow:0 8px 22px rgba(23, 31, 54, .11);
    cursor:pointer;
    transition:all .2s ease;
}
.tntm-arrow:hover{
    color:#fff;
    border-color:var(--tntm-accent);
    background:var(--tntm-accent);
}
.tntm-arrow span{
    font-size:24px;
    line-height:1;
    transform:translateY(-1px);
}
.tntm-arrow-prev{
    right:-13px;
}
.tntm-arrow-next{
    left:-13px;
}
.tntm-arrow.is-disabled{
    opacity:.35;
    cursor:not-allowed;
}

@media (max-width:1024px){
    .tntm-card{
        flex-basis:calc((100% - ((var(--tntm-slides-tablet) - 1) * var(--tntm-gap))) / var(--tntm-slides-tablet));
    }
}
@media (max-width:767px){
    .tntm-section-title{
        font-size:16px;
    }
    .tntm-card{
        flex-basis:calc((100% - ((var(--tntm-slides-mobile) - 1) * var(--tntm-gap))) / var(--tntm-slides-mobile));
        min-height:116px;
        padding:15px 15px;
    }
    .tntm-comment{
        font-size:12px;
        line-height:1.9;
        -webkit-line-clamp:3;
    }
    .tntm-arrow-prev{
        right:4px;
    }
    .tntm-arrow-next{
        left:4px;
    }
}
