.qbt-carousel {
    --qbt-primary: #81258F;
    --qbt-shadow: #7A1686;
    --qbt-star: #FFB000;
    --qbt-text: #555555;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 10px 0 12px;
    font-family: inherit;
}

.qbt-carousel *,
.qbt-carousel *::before,
.qbt-carousel *::after {
    box-sizing: border-box;
}

.qbt-viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 0 22px;
}

.qbt-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    will-change: transform;
    transition: transform 650ms cubic-bezier(.22,.61,.36,1);
}

.qbt-slide {
    flex: 0 0 min(430px, 62vw);
    width: min(430px, 62vw);
    transition: opacity 500ms ease, transform 500ms ease;
    opacity: .72;
}

.qbt-card {
    min-height: 245px;
    position: relative;
    background: #fff;
    border: 3px solid var(--qbt-primary);
    border-radius: 27px;
    padding: 54px 42px 14px;
    box-shadow: 12px 12px 0 var(--qbt-shadow);
    color: var(--qbt-text);
    transform: scale(.70);
    transform-origin: center center;
    transition: transform 500ms ease, box-shadow 500ms ease, opacity 500ms ease;
}

.qbt-slide.is-active {
    opacity: 1;
}

.qbt-slide.is-active .qbt-card {
    transform: scale(1);
    box-shadow: 13px 13px 0 var(--qbt-shadow);
}

.qbt-slide.is-near .qbt-card {
    transform: scale(.70);
}

.qbt-quote {
    position: absolute;
    color: var(--qbt-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: .7;
    pointer-events: none;
}

.qbt-quote-top {
    top: 20px;
    left: 13px;
    font-size: 72px;
}

.qbt-quote-bottom {
    right: 10px;
    bottom: 11px;
    font-size: 72px;
}

.qbt-message {
    font-size: 17px;
    line-height: 1.45;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 28px;
    min-height: 82px;
}

.qbt-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qbt-avatar {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(129, 37, 143, .25);
    background: #f6eafa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--qbt-primary);
    font-weight: 700;
}

.qbt-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qbt-person-info {
    min-width: 0;
}

.qbt-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    color: #454545;
}

.qbt-designation {
    font-size: 13px;
    line-height: 1.3;
    color: #777;
    margin-top: 2px;
}

.qbt-stars {
    margin-top: 5px;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 1px;
    font-size: 18px;
}

.qbt-stars .is-filled {
    color: var(--qbt-star);
}

.qbt-stars .is-empty {
    color: #d9d9d9;
}

.qbt-arrow {
    position: absolute;
    padding:0px !important;
    top: 47%;
    z-index: 5;
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 50%;
    background: var(--qbt-primary);
    color: #fff;
    font-size: 16px;
    line-height: 28px;
    cursor: pointer;
    opacity: .95;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,.14);
    transition: transform 180ms ease, opacity 180ms ease;
}

.qbt-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.qbt-prev {
    left: 8px;
}

.qbt-next {
    right: 8px;
}

.qbt-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
}

.qbt-dot {
    width: 10px;
    height: 10px;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    opacity: .9;
    transition: transform 180ms ease, background 180ms ease;
}

.qbt-dot.is-active {
    background: var(--qbt-primary);
    transform: scale(1.25);
}

@media (min-width: 901px) {
    .qbt-carousel {
        padding-left: 4px;
        padding-right: 4px;
    }

    .qbt-slide {
        flex-basis: min(430px, 42vw);
        width: min(430px, 42vw);
    }

    .qbt-message {
        font-size: 18px;
    }
}

@media (max-width: 700px) {
    .qbt-track {
        gap: 18px;
    }

    .qbt-slide {
        flex-basis: min(440px, 82vw);
        width: min(440px, 82vw);
    }

    .qbt-card {
        min-height: 275px;
        padding: 50px 28px 28px;
        box-shadow: 8px 8px 0 var(--qbt-shadow);
    }

    .qbt-slide.is-active .qbt-card {
        box-shadow: 8px 8px 0 var(--qbt-shadow);
    }

    .qbt-message {
        font-size: 15px;
    }

    .qbt-arrow {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .qbt-viewport {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .qbt-slide {
        flex-basis: 82vw;
        width: 82vw;
    }

    .qbt-card {
        border-width: 2px;
        border-radius: 21px;
        padding: 45px 22px 25px;
    }

    .qbt-quote-top,
    .qbt-quote-bottom {
        font-size: 58px;
    }

    .qbt-message {
        line-height: 1.4;
    }

    .qbt-prev {
        left: 0;
    }

    .qbt-next {
        right: 0;
    }
}