/* ================================================================
 * TSV â€” Geri Bildirim Listeleme SayfasÄ±
 *
 * Editorial mimari (anasayfa `.tsv-community` + `.tsv-knowledge` ile uyumlu):
 *   - Stats strip: 4'lÃ¼ istatistik (toplam, ÅŸikayet, teÅŸekkÃ¼r, ortalama rating)
 *   - Filter chips: prefix (ÅŸikayet/istek/Ã¶neri/teÅŸekkÃ¼r) + search input
 *   - Featured spotlight: en gÃ¼ncel + en Ã§ok etkileÅŸimli feedback
 *   - 3-kolonlu grid kartlar (editorial tipografya)
 *   - Pagination (CLinkPager)
 *
 * Renkler: TSV Navy + Cool Gray + beyaz kartlar
 * Ã–nceki eski: `.testimonials`, `.h4testimonials-wrapper`, `.reviewFilter` â€” override
 * ================================================================ */

:root {
    --tsv-fl-navy: #15355c;
    --tsv-fl-navy-dark: #0f2746;
    --tsv-fl-red: #b8392a;
    --tsv-fl-blue: #2563a8;
    --tsv-fl-emerald: #047857;
    --tsv-fl-violet: #7c3aed;
    --tsv-fl-amber: #f59e0b;
    --tsv-fl-cool: #f3f5f9;
    --tsv-fl-line: #e6eaf0;
    --tsv-fl-line-2: #d3dae5;
    --tsv-fl-ink: #1c2434;
    --tsv-fl-ink-2: #5a6478;
    --tsv-fl-ink-3: #8a93a6;
}

/* ---- ESKÄ° stilleri override et (gÃ¶rsel tutarlÄ±lÄ±k iÃ§in) ---- */
.testimonials {
    background: var(--tsv-fl-cool);
    padding: 0 !important;
    margin: 0 !important;
}
.section.section-lg {
    padding-top: 0 !important;
}

/* ---- SECTION WRAPPER ---- */
.tsv-feedback-list {
    padding: 64px 0 96px;
    background: var(--tsv-fl-cool);
}
.tsv-feedback-list .container {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
    width: 100%;
}

/* ---- STATS STRIP ---- */
.tsv-fl-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--tsv-fl-line);
    overflow: hidden;
    margin-bottom: 32px;
}
.tsv-fl-stat {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--tsv-fl-line);
    text-align: center;
    transition: background .25s ease;
    position: relative;
}
.tsv-fl-stat:last-child { border-right: none; }
.tsv-fl-stat:hover { background: var(--tsv-fl-cool); }
.tsv-fl-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 53, 92, 0.08);
    color: var(--tsv-fl-navy);
    font-size: 16px;
    margin: 0 auto 4px;
}
.tsv-fl-stat__icon--complaint { background: rgba(184, 57, 42, 0.10); color: var(--tsv-fl-red); }
.tsv-fl-stat__icon--thanks { background: rgba(4, 120, 87, 0.10); color: var(--tsv-fl-emerald); }
.tsv-fl-stat__icon--rating { background: rgba(245, 158, 11, 0.10); color: var(--tsv-fl-amber); }
.tsv-fl-stat__value {
    font-size: 28px;
    font-weight: 800;
    color: var(--tsv-fl-navy);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.tsv-fl-stat__label {
    font-size: 13px;
    color: var(--tsv-fl-ink-2);
    font-weight: 500;
}

/* ---- FILTER BAR ---- */
.tsv-fl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--tsv-fl-line);
    margin-bottom: 28px;
}
.tsv-fl-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tsv-fl-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--tsv-fl-cool);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--tsv-fl-ink-2);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    text-decoration: none !important;
    line-height: 1;
}
.tsv-fl-chip:hover {
    background: rgba(21, 53, 92, 0.08);
    color: var(--tsv-fl-navy);
    transform: translateY(-1px);
}
.tsv-fl-chip.is-active {
    background: var(--tsv-fl-navy);
    border-color: var(--tsv-fl-navy);
    color: #ffffff!important;
    box-shadow: 0 4px 12px rgba(21, 53, 92, 0.18);
}
.tsv-fl-chip__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}
.tsv-fl-chip em {
    font-style: normal;
    background: rgba(255, 255, 255, 0.7);
    color: var(--tsv-fl-ink-2);
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.tsv-fl-chip.is-active em {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
}

/* ---- SEARCH ---- */
.tsv-fl-search {
    position: relative;
    flex: 0 0 300px;
    max-width: 100%;
}
.tsv-fl-search input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 1px solid var(--tsv-fl-line-2);
    border-radius: 8px;
    background: var(--tsv-fl-cool);
    color: var(--tsv-fl-ink);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease;
}
.tsv-fl-search input:focus {
    outline: none;
    border-color: var(--tsv-fl-navy);
    background: #ffffff;
}
.tsv-fl-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tsv-fl-ink-3);
    font-size: 14px;
}

/* ---- FEATURED SPOTLIGHT ---- */
.tsv-fl-spotlight {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--tsv-fl-line);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 36px;
    transition: box-shadow .3s ease, transform .3s ease;
}
.tsv-fl-spotlight:hover {
    box-shadow: 0 24px 60px rgba(21, 53, 92, 0.12);
    transform: translateY(-3px);
}
.tsv-fl-spotlight__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--tsv-fl-cool) 0%, #c9d5e8 100%);
}
.tsv-fl-spotlight__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tsv-fl-navy);
    font-size: 96px;
    opacity: 0.85;
}
.tsv-fl-spotlight__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tsv-fl-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}
.tsv-fl-spotlight__badge i { color: var(--tsv-fl-red); font-size: 11px; }
.tsv-fl-spotlight__body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
}
.tsv-fl-spotlight__company {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tsv-fl-blue);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 12px;
}
.tsv-fl-spotlight__company i { font-size: 11px; }
.tsv-fl-spotlight__title {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--tsv-fl-navy) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.018em !important;
}
.tsv-fl-spotlight__title a {
    color: inherit !important;
    text-decoration: none !important;
}
.tsv-fl-spotlight__title a:hover { color: var(--tsv-fl-red) !important; }
.tsv-fl-spotlight__excerpt {
    color: var(--tsv-fl-ink-2);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tsv-fl-spotlight__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--tsv-fl-line);
}
.tsv-fl-spotlight__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tsv-fl-spotlight__rating i {
    font-size: 14px;
    color: var(--tsv-fl-amber);
}
.tsv-fl-spotlight__rating i.is-empty { color: var(--tsv-fl-line-2); }
.tsv-fl-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--tsv-fl-navy);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 7px;
    transition: background .25s ease, gap .25s ease;
}
.tsv-fl-spotlight__cta:hover {
    background: var(--tsv-fl-red) !important;
    gap: 12px;
}

/* ---- FEEDBACK GRID ---- */
.tsv-fl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.tsv-fl-card {
    background: #ffffff;
    border: 1px solid var(--tsv-fl-line);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.34, 1.3, .64, 1), box-shadow .35s ease, border-color .3s ease;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.tsv-fl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(21, 53, 92, 0.12);
    border-color: var(--tsv-fl-navy);
}

/* tip renkli sol bar */
.tsv-fl-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--tsv-fl-blue);
}
.tsv-fl-card--complaint::before  { background: var(--tsv-fl-red); }
.tsv-fl-card--request::before    { background: var(--tsv-fl-blue); }
.tsv-fl-card--suggestion::before { background: var(--tsv-fl-violet); }
.tsv-fl-card--thanks::before     { background: var(--tsv-fl-emerald); }

.tsv-fl-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}
.tsv-fl-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--tsv-fl-blue);
    background: rgba(37, 99, 168, 0.08);
    border: 1px solid rgba(37, 99, 168, 0.25);
}
.tsv-fl-card--complaint .tsv-fl-card__badge { color: var(--tsv-fl-red); background: rgba(184, 57, 42, 0.08); border-color: rgba(184, 57, 42, 0.25); }
.tsv-fl-card--request .tsv-fl-card__badge { color: var(--tsv-fl-blue); background: rgba(37, 99, 168, 0.08); border-color: rgba(37, 99, 168, 0.25); }
.tsv-fl-card--suggestion .tsv-fl-card__badge { color: var(--tsv-fl-violet); background: rgba(124, 58, 237, 0.08); border-color: rgba(124, 58, 237, 0.25); }
.tsv-fl-card--thanks .tsv-fl-card__badge { color: var(--tsv-fl-emerald); background: rgba(4, 120, 87, 0.08); border-color: rgba(4, 120, 87, 0.25); }
.tsv-fl-card__badge i { font-size: 10px; }
.tsv-fl-card__time {
    font-size: 11.5px;
    color: var(--tsv-fl-ink-3);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.tsv-fl-card__company {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tsv-fl-blue);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
}
.tsv-fl-card__company i { font-size: 10px; }

.tsv-fl-card__title {
    color: var(--tsv-fl-ink) !important;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    letter-spacing: -0.005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
}
.tsv-fl-card:hover .tsv-fl-card__title { color: var(--tsv-fl-navy) !important; }

.tsv-fl-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}
.tsv-fl-card__rating i {
    font-size: 12.5px;
    color: var(--tsv-fl-line-2);
}
.tsv-fl-card__rating i.is-filled { color: var(--tsv-fl-amber); }

.tsv-fl-card__excerpt {
    color: var(--tsv-fl-ink-2);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tsv-fl-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tsv-fl-line);
    margin-top: auto;
}
.tsv-fl-card__user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.tsv-fl-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tsv-fl-navy);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.tsv-fl-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tsv-fl-card__name {
    font-size: 12.5px;
    color: var(--tsv-fl-ink-2);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tsv-fl-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tsv-fl-navy);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tsv-fl-card__cta i { transition: transform .25s ease; }
.tsv-fl-card:hover .tsv-fl-card__cta i { transform: translateX(3px); }

/* ---- EMPTY ---- */
.tsv-fl-empty {
    text-align: center;
    padding: 60px 24px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px dashed var(--tsv-fl-line-2);
    color: var(--tsv-fl-ink-3);
    grid-column: 1 / -1;
}
.tsv-fl-empty i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.4;
}
.tsv-fl-empty p {
    margin: 0;
    font-size: 14.5px;
}

/* ---- PAGINATION ---- */
.tsv-fl-pagination {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
.tsv-fl-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.tsv-fl-pagination .pagination li {
    list-style: none;
}
.tsv-fl-pagination .pagination a,
.tsv-fl-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid var(--tsv-fl-line);
    border-radius: 8px;
    color: var(--tsv-fl-ink-2) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}
.tsv-fl-pagination .pagination a:hover {
    border-color: var(--tsv-fl-navy);
    color: var(--tsv-fl-navy) !important;
    transform: translateY(-1px);
}
.tsv-fl-pagination .pagination .active a,
.tsv-fl-pagination .pagination .active span {
    background: var(--tsv-fl-navy);
    border-color: var(--tsv-fl-navy);
    color: #ffffff !important;
}
.tsv-fl-pagination .pagination .disabled a,
.tsv-fl-pagination .pagination .disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---- PAGE HERO (Yeni Breadcrumb) ---- */
.tsv-page-hero {
    background: var(--tsv-fl-navy);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
.tsv-page-hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tsv-fl-red), rgba(184, 57, 42, 0.3));
}
.tsv-page-hero .container {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}
.tsv-page-hero__grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}
.tsv-page-hero__title-wrap {
    flex: 1;
    min-width: 0;
}
.tsv-page-hero__breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}
.tsv-page-hero__breadcrumb-list li {
    display: inline-flex;
    align-items: center;
}
.tsv-page-hero__breadcrumb-list li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}
.tsv-page-hero__breadcrumb-list a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}
.tsv-page-hero__breadcrumb-list a:hover {
    color: #ffffff !important;
}
.tsv-page-hero__breadcrumb-current {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}
.tsv-page-hero__title {
    color: #ffffff;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    letter-spacing: -0.022em !important;
}
.tsv-page-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--tsv-fl-red);
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    box-shadow: 0 4px 14px rgba(184, 57, 42, 0.32);
    flex-shrink: 0;
}
.tsv-page-hero__cta:hover {
    background: #ffffff !important;
    color: var(--tsv-fl-red) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}
.tsv-page-hero__cta i { font-size: 13px; }
.tsv-page-content {
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1180px) {
    .tsv-page-hero__title { font-size: 32px !important; }
    .tsv-fl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tsv-fl-stat:nth-child(2) { border-right: none; }
    .tsv-fl-stat:nth-child(1), .tsv-fl-stat:nth-child(2) { border-bottom: 1px solid var(--tsv-fl-line); }
}

@media (max-width: 900px) {
    .tsv-page-hero {
        padding: 48px 0 56px;
    }
    .tsv-page-hero__grid {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    .tsv-page-hero__title { font-size: 28px !important; }
    .tsv-page-hero__cta { align-self: flex-start; }
    .tsv-feedback-list { padding: 48px 0 80px; }
    .tsv-fl-spotlight {
        grid-template-columns: 1fr;
    }
    .tsv-fl-spotlight__media { aspect-ratio: 16 / 10; }
    .tsv-fl-spotlight__body { padding: 22px 24px 26px; }
    .tsv-fl-spotlight__title { font-size: 20px !important; }
    .tsv-fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .tsv-fl-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .tsv-fl-search { flex: 1 1 auto; }
}

@media (max-width: 720px) {
    .tsv-fl-stats { grid-template-columns: 1fr; }
    .tsv-fl-stat { border-right: none; border-bottom: 1px solid var(--tsv-fl-line); }
    .tsv-fl-stat:last-child { border-bottom: none; }
}

@media (max-width: 540px) {
    .tsv-page-hero__title { font-size: 24px !important; }
    .tsv-feedback-list { padding: 40px 0 64px; }
    .tsv-fl-grid { grid-template-columns: 1fr; gap: 16px; }
    .tsv-fl-spotlight__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .tsv-fl-spotlight__cta { justify-content: center; }
}

@media (max-width: 900px) {
    .tsv-feedback-list { padding: 48px 0 80px; }
    .tsv-fl-spotlight {
        grid-template-columns: 1fr;
    }
    .tsv-fl-spotlight__media { aspect-ratio: 16 / 10; }
    .tsv-fl-spotlight__body { padding: 22px 24px 26px; }
    .tsv-fl-spotlight__title { font-size: 20px !important; }
    .tsv-fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .tsv-fl-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .tsv-fl-search { flex: 1 1 auto; }
}

@media (max-width: 720px) {
    .tsv-fl-stats { grid-template-columns: 1fr; }
    .tsv-fl-stat { border-right: none; border-bottom: 1px solid var(--tsv-fl-line); }
    .tsv-fl-stat:last-child { border-bottom: none; }
}

@media (max-width: 540px) {
    .tsv-feedback-list { padding: 40px 0 64px; }
    .tsv-fl-grid { grid-template-columns: 1fr; gap: 16px; }
    .tsv-fl-spotlight__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .tsv-fl-spotlight__cta { justify-content: center; }
}
