/* ==========================================================================
   Custom Text Testimonial Slider — ctts
   ========================================================================== */

.ctts-wrapper {
    background-color: #ffffff;
    padding: 60px 40px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

/* ---- Entrance animation ---- */
/* JS adds ctts-entrance-ready before observing, so opacity:0 only applies when JS is running */
.ctts-wrapper.ctts-entrance-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ctts-wrapper.ctts-visible {
    opacity: 1;
    transform: translateY(0);
}

.ctts-wrapper.ctts-no-animate {
    opacity: 1;
    transform: none;
    transition: none;
}

.ctts-slider {
    position: relative;
    overflow: hidden;
}

.ctts-track {
    display: flex;
    will-change: transform;
    /* transition applied by JS */
}

.ctts-slide {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.ctts-slide-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.ctts-quote {
    font-style: italic;
    font-size: 18px;
    line-height: 1.75;
    color: #14213D;
    margin: 0 0 24px;
    padding: 0;
}

.ctts-attribution {
    font-size: 15px;
    color: #14213D;
    line-height: 1.5;
}

.ctts-name {
    font-weight: 700;
    color: #14213D;
}

.ctts-sep {
    color: #6b7280;
    font-weight: 400;
}

.ctts-role,
.ctts-company {
    color: #6b7280;
    font-weight: 400;
}

/* ---- Dots ---- */
.ctts-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ctts-dot,
.ctts-dots .ctts-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db !important;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    display: block;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    font-family: inherit;
    font-size: inherit;
}

.ctts-dot.is-active,
.ctts-dots .ctts-dot.is-active {
    background-color: #1FAB59 !important;
    transform: scale(1.35);
}

.ctts-dot:focus-visible,
.ctts-dots .ctts-dot:focus-visible {
    outline: 2px solid #1FAB59;
    outline-offset: 2px;
}

/* ---- Arrows ---- */
.ctts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #14213D;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.ctts-arrow:hover {
    color: #1FAB59;
}

.ctts-arrow:focus-visible {
    outline: 2px solid #1FAB59;
    outline-offset: 2px;
}

.ctts-prev {
    left: 0;
}

.ctts-next {
    right: 0;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .ctts-wrapper {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ctts-track {
        transition: none !important;
    }

    .ctts-dot {
        transition: none;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .ctts-wrapper {
        padding: 40px 20px;
    }

    .ctts-quote {
        font-size: 16px;
    }

    .ctts-attribution {
        font-size: 14px;
    }
}
