.aml-testimonials,
.aml-testimonials * {
    box-sizing: border-box;
}

.aml-testimonials-empty {
    padding: 18px;
    border: 1px dashed #bbb;
    background: #fafafa;
    text-align: center;
}

.aml-testimonials-grid {
    display: grid;
}

.aml-testimonial-slide {
    min-width: 0;
}

.aml-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.aml-testimonial-quote {
    height: .72em;
    margin-bottom: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1;
}

.aml-testimonial-text,
.aml-testimonial-text p:last-child {
    margin-bottom: 0;
}

.aml-testimonial-name {
    font-weight: 600;
}

.aml-testimonials-slider {
    position: relative;
    padding: 0 58px;
}

.aml-testimonials-viewport {
    overflow: hidden;
    width: 100%;
    transition: height .45s ease;
}

.aml-testimonials-track {
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: transform .45s ease;
    will-change: transform;
}

.aml-testimonials-slider .aml-testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
}

.aml-testimonial-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.aml-testimonial-prev { left: 0; }
.aml-testimonial-next { right: 0; }

.aml-testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.aml-testimonial-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.aml-testimonial-dot.is-active {
    transform: scale(1.35);
}

@media (max-width: 767px) {
    .aml-testimonials-slider {
        padding: 0 42px;
    }

    .aml-testimonial-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
