.newtestimonial-section .newtestimonial-heading {
    text-align: center;
    margin: 0 0 28px;
}

.review-slider {
    position: relative;
}

.review-viewport {
    overflow: hidden;
}

.review-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.45s ease;
}

.review-card {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    height: auto;
    padding: 0 10px;
}

.review-card .newtestimonial-item {
    height: 100%;
    margin: 0;
}

.newtestimonial-section .newtestimonial-description {
    position: relative;
    padding: 0;
    line-height: 1.6;
}

.newtestimonial-section .review-body {
    display: inline;
}

.newtestimonial-section .newtestimonial-description.is-clamped .review-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.newtestimonial-section .review-more {
    display: inline;
    margin-left: 4px;
    color: #111e2c;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}

.newtestimonial-section .review-more:hover,
.newtestimonial-section .review-more:focus {
    color: #111e2c;
}

.newtestimonial-section .newtestimonial-description.is-clamped .review-more {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-left: 0;
    padding-left: 5.6em;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 18%);
}

.review-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid #111e2c;
    border-radius: 50%;
    background: #fff;
    color: #111e2c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.review-prev {
    left: -6px;
}

.review-next {
    right: -6px;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.review-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5c9d1;
    cursor: pointer;
}

.review-dots button.is-active {
    background: #111e2c;
}

.review-slider.is-static .review-nav,
.review-slider.is-static .review-dots {
    display: none;
}

@media (max-width: 767px) {
    .newtestimonial-section .newtestimonial-heading {
        margin-bottom: 16px;
    }

    .review-card {
        flex-basis: 100%;
        padding: 0 4px;
    }

    .review-prev {
        left: 0;
    }

    .review-next {
        right: 0;
    }
}
