/**
 * Testimonials Slider — CSS
 */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.ts-wrapper {
    position: relative;
    width: 100%;
    font-family: inherit;
}

/* ── Slick track ─────────────────────────────────────────────────────────── */
.ts-slider-track {
    opacity: 0;
    transition: opacity 0.25s;
}
.ts-slider-track.slick-initialized {
    opacity: 1;
}

/* ── Slide ───────────────────────────────────────────────────────────────── */
.ts-slide {
    outline: none;
}

/* ── Slide inner — centered content box ──────────────────────────────────── */
.ts-slide-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    background: #ffffff;
    box-sizing: border-box;
}

/* ── Stars ───────────────────────────────────────────────────────────────── */
.ts-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.ts-star {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
}

/* ✅ Filled star default — Elementor star_color overrides via .ts-star--filled */
.ts-stars .ts-star--filled {
    color: #f5a623;
}

/* ✅ Empty star default — Elementor star_empty_color overrides via .ts-star--empty */
/* Higher specificity so it wins over any generic .ts-star rule */
.ts-stars .ts-star--empty {
    color: #d0d7e3;
}

/* ── Title ───────────────────────────────────────────────────────────────── */
.ts-title {
    font-size: 26px;
    font-weight: 700;
    color: #0d1b3e;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
    margin: 0 0 20px;
    font-family: inherit;
}

/* ── Quote ───────────────────────────────────────────────────────────────── */
.ts-quote {
    font-size: 16px;
    color: #3a4a6b;
    line-height: 1.8;
    text-align: center;
    margin: 0 0 36px;
    font-family: inherit;
    font-style: normal;
}

/* ── Author block ────────────────────────────────────────────────────────── */
.ts-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Author photo */
.ts-author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;          /* default full circle — Elementor author_img_radius overrides */
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 2px solid #e0e7f0;
    border-style: solid;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.ts-author-img:hover {
    transform: scale(1.05);
}

/* Author name */
.ts-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b3e;
    line-height: 1.3;
    display: block;
    font-family: inherit;
    margin-bottom: 4px;
}

/* Author role */
.ts-author-role {
    font-size: 14px;
    color: #5a6a80;
    line-height: 1.4;
    display: block;
    font-family: inherit;
}

/* ── Navigation arrows ───────────────────────────────────────────────────── */
.ts-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #c5cdd8;
    background: #ffffff;
    color: #5a6a80;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ts-nav-prev { left: 0; }
.ts-nav-next { right: 0; }

.ts-nav-btn:hover:not(:disabled),
.ts-nav-btn:hover:not(.slick-disabled) {
    border-color: #0d1b3e;
    color: #0d1b3e;
    background: #f5f8fc;
    box-shadow: 0 4px 12px rgba(13, 27, 62, 0.1);
}

.ts-nav-btn.slick-disabled,
.ts-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Dot indicators ──────────────────────────────────────────────────────── */
.ts-slider-track .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ts-slider-track .slick-dots li { display: inline-flex; margin: 0; }

.ts-slider-track .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5cdd8;
    border: none;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, width 0.25s;
}

.ts-slider-track .slick-dots li button::before { display: none; }

.ts-slider-track .slick-dots li.slick-active button {
    background: #0d1b3e;
    transform: scale(1.3);
    width: 20px;
    border-radius: 4px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media ( max-width: 1024px ) {
    .ts-slide-inner { padding: 48px 48px; }
    .ts-title { font-size: 22px; }
    .ts-quote { font-size: 15px; }
}

@media ( max-width: 768px ) {
    .ts-slide-inner { padding: 40px 24px; }
    .ts-title { font-size: 18px; }
    .ts-quote { font-size: 14px; }
    .ts-author-img { width: 52px; height: 52px; }
    .ts-nav-btn { width: 36px; height: 36px; font-size: 20px; }
    .ts-nav-prev { left: -4px; }
    .ts-nav-next { right: -4px; }
}

@media ( max-width: 480px ) {
    .ts-slide-inner { padding: 32px 16px; }
    .ts-nav-btn { display: none; } /* hide arrows on very small screens */
}