.ce-testimonials-wrapper {
    position: relative;
    width: 100%;
}

.ce-testimonials__heading {
    font-family: var(--elementor-typography-h1-font, 'Unbounded', sans-serif);
    font-size: var(--elementor-typography-pc-h1-font-size, 70px);
    font-weight: var(--elementor-typography-h1-font-weight, 300);
    line-height: 1;
    color: var(--elementor-typography-h1-color, #481a28);
    margin: 0 0 0 0;
    padding: 0;
    text-align: left;
}

.ce-testimonials {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: visible;
}

.ce-testimonials__image-wrapper {
    width: var(--image-width, 52.8%);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    min-height: 0;
    margin-right: 26px;
}

.ce-testimonials__image {
    width: 100%;
    height: 100%;
    object-fit: var(--image-object-fit, cover);
    object-position: var(--image-object-position, center);
    display: block;
}

.ce-testimonials__image-mobile {
    display: none;
}

.ce-testimonials__image-desktop {
    display: block;
}

@media (max-width: 480px) {
    .ce-testimonials__image-mobile {
        display: block;
    }
    
    .ce-testimonials__image-desktop {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .ce-testimonials__image-mobile {
        display: block;
    }
    
    .ce-testimonials__image-desktop {
        display: none;
    }
}

.ce-testimonials__content-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 60px 0 60px 80px;
    overflow: hidden;
    margin-right: var(--elementor-container-padding-right, 87px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ce-testimonials__content-wrapper::-webkit-scrollbar {
    display: none;
}

.ce-testimonials__content-scroll {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 315px;
    margin-left: auto;
    margin-right: 80px;
}

.ce-testimonials__item {
    text-align: right;
    margin-bottom: 40px;
}

.ce-testimonials__item:first-child {
    margin-top: 44px;
}

.ce-testimonials__item:last-child {
    margin-bottom: 0;
}

.ce-testimonials__content {
    font-family: var(--elementor-typography-body-font, 'Montserrat', sans-serif);
    font-size: var(--elementor-typography-body-font-size, 14px);
    line-height: 1.6;
    color: var(--elementor-typography-body-color, #000000);
    margin-bottom: 20px;
    text-align: left;
}

.ce-testimonials__title {
    font-size: var(--elementor-typography-pc-body-font-size, 16px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--elementor-typography-body-color, #000000);
    margin-bottom: 2px;
    text-align: right;
}

.ce-testimonials__subtitle {
    font-size: calc(var(--elementor-typography-pc-body-font-size, 16px) - 1px);
    font-weight: var(--elementor-typography-body-font-weight, 400);
    font-style: italic;
    line-height: 1.5;
    color: var(--elementor-typography-body-color, #000000);
    text-align: right;
}

@media (max-width: 767px) {
    .ce-testimonials__item:first-child {
        margin-top: 0;
    }

    .ce-testimonials__content-wrapper {
        max-height: 100vh;
    }
    .ce-testimonials__heading {
        font-size: var(--elementor-typography-mobile-h1-font-size, 48px);
    }
    
    .ce-testimonials {
        flex-direction: column;
    }
    
    .ce-testimonials__image-wrapper {
        width: 100%;
        padding-right: 84px;
    }
    
    .ce-testimonials__content-wrapper {
        margin-top: 60px;
        width: calc(100% - 51px);
        padding: 0px 50px 30px 16px;
        overflow: hidden;
        margin-right: 0;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    .ce-testimonials__content-wrapper::-webkit-scrollbar {
        display: none; 
    }
    
    .ce-testimonials__content-scroll {
        max-width: 100%;
        padding: 0px 84px 0px 16px;
        margin-right: 0;
    }

    .ce-testimonials__item {
        text-align: right;
    }
    
    .ce-testimonials__content {
        font-size: 14px;
    }
    
    .ce-testimonials__title {
        font-size: 16px;
        text-align: right;
    }
    
    .ce-testimonials__subtitle {
        font-size: 15px;
        text-align: right;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ce-testimonials__heading {
        font-size: var(--elementor-typography-mobile-h1-font-size, 48px);
    }
    
    .ce-testimonials {
        flex-direction: column;
    }
    
    .ce-testimonials__image-wrapper {
        width: 100%;
    }
    
    .ce-testimonials__content-wrapper {
        margin-top: 60px;
        width: calc(100% - 51px);
        padding: 0px 50px 30px var(--elementor-container-padding-right, 51px);;
        overflow: hidden; 
        margin-right: 0;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    .ce-testimonials__content-wrapper::-webkit-scrollbar {
        display: none; 
    }
    
    
    .ce-testimonials__content-scroll {
        max-width: 100%;
        padding: 0px 84px 0px var(--ce-layout-pc-padding-right, 87px);
    }
    
    .ce-testimonials__content {
        font-size: 14px;
    }
    
    .ce-testimonials__title {
        font-size: 15px;
    }
    
    .ce-testimonials__subtitle {
        font-size: 14px;
        font-style: italic;
    }
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-content {
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .ce-testimonials__content-wrapper.scrollbar-inner > .scroll-content {
        overscroll-behavior-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ce-testimonials__content-wrapper.scrollbar-inner > .scroll-wrapper {
        overscroll-behavior-y: auto;
    }
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y {
    width: 1px !important;
    right: 2px !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y .scroll-element_outer,
.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y .scroll-element_track,
.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y .scroll-bar {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y .scroll-element_track {
    background-color: transparent !important;
    opacity: 1 !important;
    -ms-filter: none !important;
    filter: none !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y .scroll-bar {
    background-color: #000000 !important;
    opacity: 1 !important;
    -ms-filter: none !important;
    filter: none !important;
    width: 1px !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y:hover .scroll-bar {
    background-color: #000000 !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y.scroll-draggable .scroll-bar {
    background-color: #000000 !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-y.scroll-scrolly_visible {
    display: block !important;
}

.ce-testimonials__content-wrapper.scrollbar-inner > .scroll-element.scroll-x {
    display: none !important;
}


