/* Didi — Müşteri yorumları (site teması ile uyumlu) */

.didi-feedback-section.didi-tst-section {
    --tst-border: rgba(15, 23, 42, .07);
    --tst-text: var(--didi-navy, #0f172a);
    --tst-muted: var(--didi-slate, #64748b);
    --tst-accent: var(--didi-blue, var(--primary-bg, #ff8200));
    --tst-accent-rgb: 255, 130, 0;
    padding: 56px 0 64px;
    overflow-x: clip;
}

.didi-feedback-section.didi-tst-section:not(.didi-tst-section--has-bg) {
    background-color: var(--why-bg, #f4f7fc);
}

.didi-feedback-section.didi-tst-section.didi-tst-section--has-bg {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    background-image: var(--didi-tst-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.didi-feedback-section.didi-tst-section.didi-tst-section--has-bg > .didi-container,
.didi-feedback-section.didi-tst-section.didi-tst-section--has-bg .didi-tst-marquee {
    position: relative;
    z-index: 1;
}

.didi-tst-section .didi-feedback-form-wrap {
    max-width: 720px;
    margin: 0 0 28px;
}

.didi-tst-section .didi-feedback-form-wrap[hidden] {
    display: none !important;
}

.didi-tst-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px 40px;
    align-items: end;
    margin: 0 0 28px;
}

.didi-tst-head__main {
    min-width: 0;
}

.didi-tst-section .didi-why-eyebrow {
    margin-bottom: 12px;
}

.didi-tst-section .didi-why-title {
    margin: 0;
}

.didi-tst-section .didi-why-title b,
.didi-tst-section .didi-why-title strong {
    font-weight: 400;
    color: inherit;
}

.didi-tst-lead-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 36rem;
    justify-self: end;
}

.didi-tst-lead-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: stretch;
    color: rgba(var(--tst-accent-rgb), .32);
    font-size: clamp(2.35rem, 3vw, 3.25rem);
    line-height: 1;
}

.didi-tst-lead {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.didi-tst-marquee {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 12px 0 16px;
}

.didi-tst-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: didi-tst-scroll 78s linear infinite;
    will-change: transform;
}

.didi-tst-marquee:hover .didi-tst-track {
    animation-play-state: paused;
}

@keyframes didi-tst-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.didi-tst-card {
    flex: 0 0 430px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 248px;
    padding: 0;
    border: 1px solid var(--tst-border);
    border-radius: var(--didi-radius-lg, 8px);
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    transition: border-color .22s ease;
}

.didi-tst-card:hover {
    border-color: rgba(var(--tst-accent-rgb), .18);
}

.didi-tst-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: #fff;
}

.didi-tst-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--didi-radius, 6px);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: none;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1;
}

.didi-tst-avatar--c1 { background: rgba(255, 130, 0, .14); color: var(--tst-accent); }
.didi-tst-avatar--c2 { background: rgba(79, 70, 229, .12); color: #4f46e5; }
.didi-tst-avatar--c3 { background: rgba(13, 148, 136, .12); color: #0d9488; }
.didi-tst-avatar--c4 { background: rgba(8, 145, 178, .12); color: #0891b2; }
.didi-tst-avatar--c5 { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.didi-tst-avatar--c6 { background: rgba(217, 119, 6, .12); color: #d97706; }
.didi-tst-avatar--c7 { background: rgba(225, 29, 72, .12); color: #e11d48; }
.didi-tst-avatar--c8 { background: rgba(5, 203, 159, .14); color: var(--didi-accent, #05CB9F); }

.didi-tst-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.didi-tst-name {
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--tst-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.didi-tst-role {
    font-size: 12px;
    line-height: 1.35;
    color: var(--tst-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.didi-tst-google {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: .9;
}

.didi-tst-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 0;
}

.didi-tst-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbc04;
    font-size: 12px;
    line-height: 1;
}

.didi-tst-when {
    font-size: 11px;
    font-weight: 600;
    color: var(--tst-muted);
    letter-spacing: .02em;
}

.didi-tst-quote {
    flex: 1 1 auto;
    margin: 0;
    padding: 10px 16px 16px;
    color: var(--tst-muted);
    font-size: .875rem;
    line-height: 1.65;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.didi-tst-quote strong,
.didi-tst-quote b {
    color: var(--tst-text);
    font-weight: 600;
}


@media (max-width: 991px) {
    .didi-tst-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .didi-tst-lead-wrap {
        justify-self: start;
        max-width: none;
    }

    .didi-tst-card {
        flex-basis: 410px;
    }
}

@media (max-width: 640px) {
    .didi-feedback-section.didi-tst-section {
        padding: 44px 0 52px;
    }

    .didi-tst-card {
        flex-basis: 390px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .didi-tst-track {
        animation: none;
    }
}
