/* testimonials css */

.vx-testimonials,
.vx-testimonials * {
    box-sizing: border-box;
}

.vx-testimonials {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 80px;
    align-items: center;
    font-family: "Sora", sans-serif;
    color: #F5F5F3;
}


/* LEFT */

.vx-testimonial-main {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}


.vx-quote-mark {
    font-family: Arial, sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 0.8;

    color: #555;
}


.vx-testimonial-body {
    max-width: 700px;
}


.vx-testimonial-text {
    margin: 0 0 28px !important;

    font-family: "inter", sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;

    color: #A0A0A0 !important;
}


/* AUTHOR */

.vx-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.vx-author-name {
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #F5F5F3;
}


.vx-author-role {
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}


/* RIGHT */

.vx-testimonial-controls {
    width: 100%;
}


/* ARROWS */

.vx-testimonial-arrows {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
}


.vx-testimonial-prev,
.vx-testimonial-next,
.vx-testimonial-prev:hover,
.vx-testimonial-next:hover,
.vx-testimonial-prev:focus,
.vx-testimonial-next:focus {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    background: transparent !important;

    border: 1px solid #555 !important;
    border-radius: 50% !important;

    box-shadow: none !important;
    outline: none !important;

    color: #F5F5F3 !important;

    font-size: 17px !important;
    line-height: 1 !important;

    cursor: pointer;

    transition:
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}


.vx-testimonial-prev:hover,
.vx-testimonial-next:hover {
    border-color: #FF5A1F !important;
    color: #FF5A1F !important;
}


.vx-testimonial-prev:hover {
    transform: translateX(-2px);
}


.vx-testimonial-next:hover {
    transform: translateX(2px);
}


/* COUNTER */

.vx-testimonial-counter {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 500;
}


.vx-current {
    color: #F5F5F3;
}


.vx-divider,
.vx-total {
    color: #777;
}


/* PROGRESS */

.vx-testimonial-progress {
    position: relative;

    width: 100%;
    height: 1px;

    overflow: hidden;

    background: #333;
}


.vx-testimonial-progress span {
    display: block;

    width: 25%;
    height: 100%;

    background: #FF5A1F;

    transition: width .35s ease;
}


/* TEXT CHANGE */

.vx-testimonial-body {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .2s ease,
        transform .25s ease;
}


.vx-testimonial-body.is-changing {
    opacity: 0;
    transform: translateY(8px);
}


/* TABLET */

@media (max-width: 1024px) {

    .vx-testimonials {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 50px;
    }

    .vx-testimonial-text {
        font-size: 19px !important;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .vx-testimonials {
        display: block;
        padding: 50px 0;
    }

    .vx-testimonial-main {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 15px;
    }

    .vx-quote-mark {
        font-size: 80px;
    }

    .vx-testimonial-text {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }

    .vx-testimonial-controls {
        padding-left: 57px;
        margin-top: 35px;
        max-width: 240px;
    }

    .vx-testimonial-arrows {
        margin-bottom: 25px;
    }

}

