/* ============================================
   Testimonial Slider v4 — Exact Figma Match
   - Transparent bg
   - Partial card visible LEFT + RIGHT
   - Centered title above
   - Plain circular avatar (no ring)
   - Custom icon support
   ============================================ */

 

span.trs-quote-icon img {
    border-radius: 0;
}s
/* ── Centered heading ─────────────────────── */
.trs-heading {
    text-align: center;
    padding: 56px 24px 44px;
}
.trs-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    color: var(--trs-text, #fff);
    margin: 0;
    letter-spacing: -.01em;
    line-height: 1.2;
}

/* ── Viewport ─────────────────────────────── */
.trs-viewport {
    width: 100%;
    overflow: hidden;
    padding: 16px 0 0px;
}

/* ── Track ────────────────────────────────── */
.trs-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 0 60px 0 0; /* right padding so last card peek shows */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}
.trs-track--grabbing { cursor: grabbing; }

/* ── Card ─────────────────────────────────── */
.trs-slide {
    flex: 0 0 480px;
    min-width: 480px;
    background: #1A1A1A;
    border-radius: 14px;
    padding: 30px 26px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 0 rgba(255,255,255,0.04) inset, 0 8px 32px rgba(0,0,0,0.5);
    transition: transform .25s ease;
} 
.trs-track:not(.trs-track--grabbing) .trs-slide:hover { transform: translateY(-4px); }

/* ── Quote icon (preset SVG or custom img) ── */
.trs-quote-icon {
    display: block;
    margin-bottom: 16px;
    flex-shrink: 0;
    line-height: 1;
    transition: transform .3s ease;
}

.trs-quote-icon svg  { display: block; }
.trs-quote-icon img  { display: block; width: 38px; height: auto; object-fit: contain; }

/* ── Quote text ───────────────────────────── */
.trs-text {
  font-size: 18px;
    font-weight: 400;
    line-height: 1.78;
    color: var(--trs-text, #fff);
    opacity: .85;
    margin: 0 0 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Manrope';
}

/* ── Author ───────────────────────────────── */
.trs-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Plain circular avatar — no ring, just photo/initial */
.trs-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
}
.trs-avatar img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.trs-avatar-init {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--trs-accent, #c9972a);
}

.trs-author-info { display: flex; flex-direction: column; gap: 2px; }
.trs-author-info strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--trs-text, #fff);
    font-family: 'Manrope';
}
.trs-author-info span {
   font-size: 14px;
    font-weight: 400;
    color: #7A7A7A;
    font-family: 'Manrope';
}

/* ── Pagination dots (mobile only) ──────── */
.trs-pagination {
    display: none;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
    .trs-slide { flex: 0 0 280px; min-width: 280px; padding: 22px 18px 20px; }
    .trs-text  { font-size: .85rem; }
    .trs-heading { padding: 40px 20px 32px; }
}
@media (max-width: 480px) {
    /* 1 slide at a time — no peek, no gap */
    .trs-track  { padding: 0; gap: 0; }
    .trs-slide  { flex: 0 0 100%; min-width: 100%; }

    /* Pagination dots */
    .trs-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 20px 0 8px;
    }
    .trs-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background .25s ease, width .25s ease, border-radius .25s ease;
        flex-shrink: 0;
        outline: none;
    }
    .trs-dot--active {
        background: var(--trs-accent, #c9972a);
        width: 24px;
        border-radius: 4px;
    }
}
