.testimonial-slider {
    position: relative;
    width: 100%;
    max-width: 65rem;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 4.5rem;
}

.testimonial-slider .glider {
    border-radius: 1.25rem;
    overflow: hidden;
}

.testimonial-slider .glider .glider-track {
    gap: 0;
}

.testimonial-slider .glider-slide {
    margin: 0;
    min-width: unset;
    overflow: hidden;
}

.testimonial-slider .glider-slide > a {
    display: block;
    width: 100%;
}

.testimonial-slider .pagebuilder-slide-wrapper,
.testimonial-slider .pagebuilder-overlay {
    width: 100%;
    overflow: hidden;
}

.testimonial-slider .pagebuilder-slide-wrapper,
.testimonial-slider .pagebuilder-overlay {
    border-radius: 1.25rem;
}

.testimonial-slider .pagebuilder-overlay {
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 1.75rem 1.5rem 3rem !important;
}

.testimonial-slider .pagebuilder-poster-content {
    max-width: 30rem !important;
    margin-left: 0;
}

.testimonial-slider .pagebuilder-poster-content img {
    width: 6.75rem !important;
    height: auto !important;
}

.testimonial-slider .pagebuilder-poster-content p {
    margin: 0;
    max-width: 30rem !important;
}

.testimonial-slider .pagebuilder-poster-content p:first-child {
    margin-bottom: 0.75rem;
}

.testimonial-slider .pagebuilder-poster-content p:nth-child(2) {
    margin-bottom: 0.625rem;
}

.testimonial-slider .pagebuilder-poster-content p:first-child,
.testimonial-slider .pagebuilder-poster-content p:nth-child(2) {
    display: none;
}

.testimonial-slider .pagebuilder-poster-content p:nth-child(2) span[style*='font-size'],
.testimonial-slider .pagebuilder-poster-content p:nth-child(2) span[style*='font-size'] span {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
}

.testimonial-slider .pagebuilder-poster-content p:nth-child(3) span[style*='font-size'],
.testimonial-slider .pagebuilder-poster-content p:nth-child(3) span[style*='font-size'] span {
    font-size: 1rem !important;
    line-height: 1.3 !important;
}

.testimonial-slider .pagebuilder-slide-wrapper {
    min-height: 26rem !important;
    background-position: center center !important;
    background-size: cover !important;
}

.testimonial-slider .pagebuilder-slide-button {
    margin-top: 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.625rem 1.125rem;
    color: #4b5563;
    background: #fff;
    font-weight: 600;
    font-size: 0.875rem !important;
}

.testimonial-slider .carousel-nav {
    position: static;
    margin: 0;
    padding: 0;
    background: transparent;
    transform: none;
    pointer-events: none;
}

.testimonial-slider .glider-prev,
.testimonial-slider .glider-next {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    color: #4b5563;
    transform: translateY(-50%);
    pointer-events: auto;
}

.testimonial-slider .glider-prev {
    left: 0.75rem;
}

.testimonial-slider .glider-next {
    right: 0.75rem;
}

.testimonial-slider .glider-dots {
    position: absolute;
    left: 50%;
    bottom: -2.75rem;
    display: flex !important;
    transform: translateX(-50%);
    pointer-events: auto;
}

.testimonial-slider[data-show-dots='false'] .glider-dots {
    display: flex !important;
}
