/* TESTIMONIALS SECTION */

.testimonials {
    width: 100%;
    overflow: hidden;
}

.testimonials__header {
    width: 100%;
    margin-bottom: 32px;
}

.testimonials-title {
    width: 270px;
    text-align: center;
}

.testimonials__scroller {
    width: 100%;
    
    overflow-x: auto;
    overflow-y: hidden;
    
    scrollbar-width: none;
    overscroll-behavior-x: none;
    
    cursor: grab;
}

.testimonials__scroller::-webkit-scrollbar {
    display: none;
}

.testimonials__scroller.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.testimonials__scroller.is-dragging .testimonials__feedback-card {
    pointer-events: none;
}

.testimonials__list {
    --testimonials-gap: 16px;
    --testimonials-card-width: 294px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--testimonials-gap);
    
    width: max-content;
    min-width: max-content;
    max-width: none;
    
    margin: 0;
    padding: 0 var(--testimonials-gap);
}

.testimonials__feedback-card {
    flex: 0 0 var(--testimonials-card-width);
    width: var(--testimonials-card-width);
    max-width: var(--testimonials-card-width);
    
    align-items: center;
    
    min-height: 272px;
    padding: 32px 12px 12px;
    border-radius: 24px;
    gap: 16px;
    
    background-color: #F9F9F9;
    border: 1px solid #DDE1E6;
}

.feedback-user-info__wrapper {
    gap: 12px;
}

.feedback-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-user-name {
    font-size: 16px;
    line-height: 120%;
}

.feedback-user-position {
    font-size: 12px;
    color: #848295;
}

.feedback-user-text {
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}

/* desktop: tablet */
@media (min-width: 744px) {
    .testimonials-title {
        width: 100%;
    }
    
    .testimonials__list {
        --testimonials-gap: 24px;
        --testimonials-card-width: 340px;
    }
}

/* desktop: fullscreen 1440 */
@media (min-width: 1440px) {
    .testimonials__header {
        margin-bottom: 60px;
    }
    
    .testimonials__list {
        --testimonials-card-width: 446px;
    }
    
    .testimonials__feedback-card {
        height: 273px;
        min-height: 273px;
    }
    
    .feedback-user-text {
        line-height: 150%;
    }
}
