.testimonial-wrapper {
    display: flex;
    align-items: center;
}

.testimonial-arrow {
    width: 64px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow > button {
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--fontcolor);
    color: #FFF;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
}

.testimonial-arrow > button:disabled {
    cursor: not-allowed;
    background: #d0d0d0;
    color: #555;
}

.testimonial-arrow > button:hover {
    opacity: 1;
}

.testimonial-body {
    flex: 1;
    height: 480px;
    overflow: hidden;
}

.testimonial-body > .testimonial-body-inner {
    display: flex;
    flex-wrap: nowrap;
    height: 436px;
    transition: all 0.25s ease-out;
}

.testimony-card {
    padding: 16px;
    border-radius: 8px;
    background: #FFF;
    width: 100%;
}

.testimony-card > .testimony-card-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
}

.testimony-card > .testimony-card-inner > img {
    width: 100%;
    height: 404px;
    object-fit: cover;
}

.testimony-card > .testimony-card-inner > .testimony-caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    color: #FFF;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.15s ease-out;
}

.testimony-caption > h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 155%;
    letter-spacing: 0%;
    margin: 0;
    padding: 0;
}

.testimony-caption > label {
    font-weight: 400;
    font-size: 14px;
    line-height: 155%;
    margin-bottom: 24px;
}

.testimony-card-inner:hover > .testimony-caption {
    background: rgba(0, 0, 0, 1);
}

.testimonial-dots {
    padding: 16px 0;
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.testimonial-dots > button {
    width: 16px;
    aspect-ratio: 1;
    background: #DBDFEB;
    border-radius: 50%;
    outline: 0;
    cursor: pointer;
}

.testimonial-dots > button.active,
.testimonial-dots > button:hover {
    background: var(--accent-green);
}