.feedbacks-carousel-npcoding {
    --space-image-content: 10px;
    --space-items: 30px;
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 8px;
    max-width: 1300px;
    margin: 0 auto;
}

.feedbacks-carousel-npcoding .right,
.feedbacks-carousel-npcoding .left {
    align-self: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--arrow-color, #43778d);
}

.feedbacks-carousel-npcoding .right:hover,
.feedbacks-carousel-npcoding .left:hover {
    transform: scale(1.1, 1.1);
    transition: 0.2s transform ease-out;
}

.feedbacks-carousel-npcoding .left {
    -webkit-mask-image: url(../assets/images/slider-left.svg);
    mask-image: url(../assets/images/slider-left.svg);
}

.feedbacks-carousel-npcoding .right {
    -webkit-mask-image: url(../assets/images/slider-right.svg);
    mask-image: url(../assets/images/slider-right.svg);
}

.feedbacks-carousel-npcoding a {
    text-decoration: underline;
    align-self: center;
}

.feedbacks-carousel-npcoding .slider {
    display: flex;
    flex-direction: row;
    padding-top: 20px;
    overflow: hidden;
}

.feedbacks-carousel-npcoding .item,
.feedbacks-carousel-npcoding .item-in-lightbox {
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: var(--space-image-content);
}

.feedbacks-carousel-npcoding .item {
    max-width: calc( var(--space-image-content) + var(--image-size) + 300px);
    gap: var(--space-image-content);
    transition: 0.5s transform ease-in-out;
}

.feedbacks-carousel-npcoding .item-in-lightbox {
    position: fixed;
    top: 60%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    left: 50%;
    z-index: 4;
}

.feedbacks-carousel-npcoding .item-in-lightbox .container-content {
    max-width: 430px;
}

.feedbacks-carousel-npcoding .item .image-container,
.feedbacks-carousel-npcoding .item-in-lightbox .image-container {
    max-width: var(--image-size);
    width: 100%;
}

.feedbacks-carousel-npcoding .item .image-container .image-ratio,
.feedbacks-carousel-npcoding .item-in-lightbox .image-container .image-ratio {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.feedbacks-carousel-npcoding .item .image-container .image-ratio img,
.feedbacks-carousel-npcoding .item-in-lightbox .image-container .image-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

.feedbacks-carousel-npcoding .item .container-content {
    width: 100%;
    padding-top: 62%;
    position: relative;
}

.feedbacks-carousel-npcoding .item .content,
.feedbacks-carousel-npcoding .item-in-lightbox .content {
    background: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 12px 40px;
    display: flex;
    flex-direction: column;
}

.feedbacks-carousel-npcoding .item .content {
    justify-content: space-between;
}

.feedbacks-carousel-npcoding .item .content {
    position: absolute;
    top: 0;
    left: 0;
}

.feedbacks-carousel-npcoding .item-in-lightbox .content {
    position: relative;
}

.feedbacks-carousel-npcoding .item-in-lightbox .content .full-text{
    overflow-y: auto;
}

.feedbacks-carousel-npcoding .item-in-lightbox .content .exit {
    position: absolute;
    top: 5px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    background-color: var(--exit-background, #fbd2cb);
    color: var(--exit-color, #dc3619);
}

.feedbacks-carousel-npcoding .item .quotes,
.feedbacks-carousel-npcoding .item-in-lightbox .quotes {
    -webkit-mask-image: url(../assets/images/quotationmark.svg);
    mask-image: url(../assets/images/quotationmark.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    height: 30px;
    width: 43px;
    top: -15px;
    right: 3px;
    background: var(--quotes-color, #41645a);
}

.feedbacks-carousel-npcoding .item .content .name,
.feedbacks-carousel-npcoding .item-in-lightbox .content .name {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
    color: var(--title-color, #072722);
}

.feedbacks-carousel-npcoding .item .content .position,
.feedbacks-carousel-npcoding .item-in-lightbox .content .position {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--sub-title_color, #072722);
}

.feedbacks-carousel-npcoding .item .content .container-text {
    overflow: hidden;
    max-height: 110px;
}

.feedbacks-carousel-npcoding .item .content .text,
.feedbacks-carousel-npcoding .item-in-lightbox .content .full-text,
.feedbacks-carousel-npcoding a {
    line-height: 1.7em;
    margin: 0;
    color: var(--text-color, #072722);
    font-size: 13px;
}

.feedbacks-carousel-npcoding .item-in-lightbox .titles {
    margin-bottom: 20px;
}

@media (min-width: 950px) {
    .feedbacks-carousel-npcoding .item {
        min-width: calc( calc( 100%) / 3);
    }
}

@media (min-width: 769px) {
    .feedbacks-carousel-npcoding {
        grid-template-columns: 50px 1fr 50px;
        gap: 8px;
    }
    .feedbacks-carousel-npcoding {
        --image-size: 60px;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox {
        max-width: 600px;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content {
        justify-content: space-between;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content .exit {
        left: 5px;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content .full-text{
        max-height: 50vh;
    }
}

@media (min-width: 769px) and (max-width: 950px) {
    .feedbacks-carousel-npcoding .item {
        min-width: calc( calc( 100%) / 2);
    }
}

@media (min-width: 521px) and (max-width: 768px) {
    .feedbacks-carousel-npcoding {
        --image-size: 100px;
        grid-template-columns: 50px 1fr 50px;
        gap: 8px;
    }
    .feedbacks-carousel-npcoding .item .image-container,
    .feedbacks-carousel-npcoding .item-in-lightbox .image-container {
        border: 10px solid #fff;
        left: 30px;
    }
}

@media (max-width: 768px) {
    .feedbacks-carousel-npcoding .item-in-lightbox .content .exit {
        background-color: var(--exit-background_mobile,  var(--exit-background, #fbd2cb));
        color: var(--exit-color_mobile, var(--exit-color, #dc3619));
    }
    
    .feedbacks-carousel-npcoding .item .quotes,
    .feedbacks-carousel-npcoding .item-in-lightbox .quotes {
        background: var(--quotes-color_mobile, var(--quotes-color, #41645a));
    }
    
    .feedbacks-carousel-npcoding .item .content .name,
    .feedbacks-carousel-npcoding .item-in-lightbox .content .name {
        color: var(--title-color_mobile, var(--title-color, #072722));
    }
    
    .feedbacks-carousel-npcoding .item .content .position,
    .feedbacks-carousel-npcoding .item-in-lightbox .content .position {
        color: var(--sub-title_color_mobile, var(--sub-title_color, #072722));
    }
    
    .feedbacks-carousel-npcoding .item .content .text,
    .feedbacks-carousel-npcoding .item-in-lightbox .content .full-text,
    .feedbacks-carousel-npcoding a {
        color: var(--text-color_mobile, var(--text-color, #072722));
    }

    .feedbacks-carousel-npcoding .right,
    .feedbacks-carousel-npcoding .left {
        background-color: var(--arrow-color_mobile, var(--arrow-color, #43778d));
    }

    .feedbacks-carousel-npcoding .item {
        min-width: 100%;
        padding-top: 50px;
        position: relative;
    }
    .feedbacks-carousel-npcoding .item .image-container {
        top: 50px;
    }
    .feedbacks-carousel-npcoding .item .image-container,
    .feedbacks-carousel-npcoding .item-in-lightbox .image-container {
        position: absolute;
        z-index: 1;
        transform: translate(0, -50%);
        border-radius: 50%;
    }
    .feedbacks-carousel-npcoding .item .content .name {
        font-weight: 700;
        font-size: 30px;
    }
    .feedbacks-carousel-npcoding .item .content .position {
        display: none;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox {
        width: 100%;
        justify-content: center;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content .exit {
        top: 20px;
        right: 5px;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content {
        transform: translateY(-50%);
        top: 50%;
        height: inherit;
    }
    .feedbacks-carousel-npcoding .item-in-lightbox .content .full-text{
        max-height: 61vh;
    }
    .feedbacks-carousel-npcoding .item .content .container-text {
        max-height: 140px;
    }
}

@media (max-width: 520px) {
    .feedbacks-carousel-npcoding {
        --image-size: 20%;
        grid-template-columns: 25px 1fr 25px;
        gap: 3px;
    }
    .feedbacks-carousel-npcoding .right,
    .feedbacks-carousel-npcoding .left {
        width: 25px;
        height: 30px;
    }
    .feedbacks-carousel-npcoding .item .image-container,
    .feedbacks-carousel-npcoding .item-in-lightbox .image-container {
        border: 6px solid #fff;
        left: 7%;
    }
    .feedbacks-carousel-npcoding .item .container-content {
        padding-top: 100%;
    }
}