.mpts-slider {
    --mpts-gap: 20px;
    --mpts-per-view: 3;
    width: 100%;
    box-sizing: border-box;
}

.mpts-slider *,
.mpts-slider *::before,
.mpts-slider *::after {
    box-sizing: border-box;
}

.mpts-viewport {
    width: 100%;
    overflow: hidden;
}

.mpts-track {
    display: flex;
    gap: var(--mpts-gap);
    transform: translate3d(0, 0, 0);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
}

.mpts-card {
    flex: 0 0 calc((100% - (var(--mpts-gap) * (var(--mpts-per-view) - 1))) / var(--mpts-per-view));
    min-width: 0;
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mpts-card--olive {
    background: #5a6045;
    color: #f0ece0;
}

.mpts-card--rust {
    background: #7a3e35;
    color: #f0e8e4;
}

.mpts-card--dark {
    background: #1a1a1a;
    color: #e8e4de;
}

.mpts-quote {
    margin-bottom: .75rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    opacity: .85;
}

.mpts-scroll {
    height: 200px;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-bottom: 1.25rem;
    padding-inline-end: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.30) rgba(255,255,255,.08);
}

.mpts-scroll::-webkit-scrollbar {
    width: 3px;
}

.mpts-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08);
    border-radius: 4px;
}

.mpts-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.30);
    border-radius: 4px;
}

.mpts-body {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
}

.mpts-body p:first-child {
    margin-top: 0;
}

.mpts-body p:last-child {
    margin-bottom: 0;
}

.mpts-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: .5px solid rgba(255,255,255,.15);
}

.mpts-name,
.mpts-title {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1.5;
}

.mpts-name {
    margin-bottom: 5px;
    background: rgba(255,255,255,.15);
    font-size: 12.5px;
    font-weight: 500;
}

.mpts-title {
    background: rgba(255,255,255,.11);
    font-size: 12px;
}

.mpts-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 1.25rem;
}

.mpts-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.mpts-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8c8c3;
    cursor: pointer;
    transition: background-color .3s ease, transform .3s ease;
}

.mpts-dot.is-active {
    background: #5f625e;
    transform: scale(1.35);
}

.mpts-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: .5px solid #c8c8c3;
    border-radius: 50%;
    background: transparent;
    color: #5f625e;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, opacity .2s ease;
}

.mpts-button:hover,
.mpts-button:focus-visible {
    background: #f2f2ef;
}

.mpts-button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.mpts-button:focus-visible,
.mpts-dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .mpts-track,
    .mpts-dot,
    .mpts-button {
        transition-duration: 0.01ms !important;
    }
}
