#testimonials-carousel {
    position: relative;
}

#testimonials-carousel .tst-viewport {
    overflow: hidden;
}

#testimonials-carousel .tst-track {
    display: flex;
    align-items: flex-start;
    transition: transform .45s ease;
}

#testimonials-carousel .tst-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 90px;
    text-align: center;
}

#testimonials-carousel .tst-quote {
    max-width: 760px;
    margin: 0 auto 8px;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
}

#testimonials-carousel .tst-name {
    margin-top: 48px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2430;
    text-align: center;
}

#testimonials-carousel .tst-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: none;
    color: #1f2430;
    cursor: pointer;
    z-index: 5;
    transition: color .25s, opacity .25s;
    opacity: .75;
}

#testimonials-carousel .tst-arrow:hover {
    color: var(--bs-customer, #0c4da0);
    opacity: 1;
}

#testimonials-carousel .tst-prev {
    left: 0;
}

#testimonials-carousel .tst-next {
    right: 0;
}

#testimonials-carousel .tst-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

#testimonials-carousel .tst-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d3d7de;
    cursor: pointer;
    transition: width .3s, background-color .3s;
}

#testimonials-carousel .tst-dot.active {
    width: 26px;
    background: var(--bs-customer, #0c4da0);
}

@media (max-width: 991px) {
    #testimonials-carousel .tst-slide {
        padding: 0 48px;
    }
}

@media (max-width: 767px) {
    #testimonials-carousel .tst-slide {
        padding: 0 20px;
    }
    #testimonials-carousel .tst-quote {
        font-size: 15px;
        line-height: 1.7;
    }
    #testimonials-carousel .tst-name {
        margin-top: 28px;
        font-size: 15px;
    }
    #testimonials-carousel .tst-arrow {
        width: 32px;
        height: 32px;
    }
    #testimonials-carousel .tst-arrow svg {
        width: 20px;
        height: 20px;
    }
    #testimonials-carousel .tst-dots {
        margin-top: 28px;
    }
}
