.testimonial {
    width: 100%;
    position: relative;
    padding: calc(var(--space) * 70) 0;
    background-color: #ffffff;
    overflow: hidden;
}

.testimonial-slider {
    width: 100%;
    position: relative;
}

.testimonial-slider__item-wrap {
    max-width: var(--size, 82.5rem);
    margin: 0 auto;
    padding: 0 calc(var(--space) * 10);
    position: relative;
}

.testimonial-slider__quote-icon {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--space) * 20);
}

.testimonial-slider__quote-icon svg,
.testimonial-slider__quote-icon img {
    display: block;
    width: calc(var(--space) * 50);
    height: auto;
}

.testimonial-slider__content-box {
    max-width: 68.25rem;
    margin: 0 auto;
    text-align: center;
}

.single-content .testimonial-slider__quote-text,
.editor-styles-wrapper .block-editor-block-list__layout .testimonial-slider__quote-text,
.testimonial-slider__quote-text {
    font-size: var(--fs-56);
    line-height: 1.1;
    color: var(--cl-black);
    font-weight: 400;
    margin: 0 0 calc(var(--space) * 33) 0;
}

.testimonial-slider__author-name {
    font-size: var(--fs-20);
    color: var(--cl-black);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: calc(var(--space) * 3);
}

.testimonial-slider__author-role {
    font-size: var(--fs-16);
    color: var(--cl-black);
}

.testimonial-slider .swiper-pagination {
    position: static;
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1;
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-slider .swiper-pagination-bullet-active {
    background-color: var(--cl-red, #D60B17);
    transform: scale(1.2);
}

@media screen and (max-width: 991px) {
    .testimonial {
        padding: calc(var(--space) * 30) calc(var(--space) * 8);
    }

    .testimonial-slider__item-wrap {
        padding: 0;
    }

    .testimonial-slider__content-box {
        max-width: 100%;
    }

    .single-content .testimonial-slider__quote-text,
    .editor-styles-wrapper .block-editor-block-list__layout .testimonial-slider__quote-text,
    .testimonial-slider__quote-text {
        font-size: var(--fs-32);
    }

    .testimonial-slider__item-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .testimonial-slider__author-name {
        font-size: var(--fs-20);
    }

    .testimonial-slider__quote-icon svg,
    .testimonial-slider__quote-icon img {
        width: calc(var(--space) * 35);
    }
}