/* ==========================================================
   CT Testimonials
   Layout-only testimonial cards. The parent Elementor section
   owns the heading/eyebrow/description.
   ========================================================== */

.ct-testimonials {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.ct-testimonials * {
    box-sizing: border-box;
}

.ct-testimonials__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.ct-testimonials__description {
    margin: 0 0 24px;
    padding: 0;
    color: #252525;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
}

.ct-testimonials__viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ct-testimonials__track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}


.ct-testimonial-card {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 320px;
    padding: 34px 25px 27px;
    background: #f5f3ef;
    border-radius: 0px;
    scroll-snap-align: start;
    display: flex;
}

.ct-testimonial-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.ct-testimonial-quote {
    margin: 0;
    color: #252525;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    letter-spacing: normal;
    word-spacing: normal;
    border-left: 0;
    padding: 0;
}

.ct-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 30px;
}

.ct-testimonial-author__image {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 50%;
    background: #e9e7e2;
}

.ct-testimonial-author__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ct-testimonial-author__details {
    min-width: 0;
}

.ct-testimonial-author__name {
    margin: 0 0 3px;
    color: #252525;
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.ct-testimonial-author__role {
    color: #777;
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.35;
}

.ct-testimonials__navigation {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

.ct-testimonials__arrow {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e3ded6;
    border-radius: 7px;
    background: #f7f5f1;
    color: #4a4844;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ct-testimonials__arrow span {
    position: relative;
    display: block;
    width: 9px;
    height: 9px;
    font-size: 0;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.ct-testimonials__prev span {
    transform: rotate(-135deg);
    left: 2px;
}

.ct-testimonials__next span {
    transform: rotate(45deg);
    right: 2px;
}

.ct-testimonials__arrow:hover,
.ct-testimonials__arrow:focus-visible {
    background: #efebe5;
    border-color: #d7d0c6;
    color: #252525;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .09);
    outline: none;
}

.ct-testimonials__arrow:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.ct-testimonials__arrow:focus-visible {
    box-shadow: 0 0 0 2px rgba(120, 105, 90, .18), 0 3px 8px rgba(0, 0, 0, .08);
}

@media (max-width: 767px) {
    .ct-testimonials__track {
        gap: 14px;
    }

    .ct-testimonial-card {
        min-height: 300px;
        padding: 27px 22px 24px;
    }

    .ct-testimonial-quote {
        font-size: 15px;
        line-height: 1.55;
        text-align: left;
        letter-spacing: normal;
        word-spacing: normal;
    }
}


.ct-testimonials__arrow:disabled {
    opacity: .45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.ct-testimonials__arrow:disabled:hover,
.ct-testimonials__arrow:disabled:focus-visible {
    background: #f7f5f1;
    border-color: #e3ded6;
    color: #4a4844;
    transform: none;
    box-shadow: none;
}
