/* =====================================================
   TPLC Testimonials Plugin — tplc-testimonials.css
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }

.tplc-tmn-wrap {
    background: #1a1a1a;
    padding: 80px 24px 72px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Decorative background glow */
.tplc-tmn-wrap::before,
.tplc-tmn-wrap::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: .08;
}
.tplc-tmn-wrap::before {
    width: 360px; height: 360px;
    background: #fff;
    top: -100px; right: -80px;
}
.tplc-tmn-wrap::after {
    width: 240px; height: 240px;
    background: #aaa;
    bottom: -60px; left: -40px;
}

.tplc-tmn-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
.tplc-tmn-eyebrow {
    display: block;
    font-size: 11px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: #888; margin-bottom: 10px;
}

.tplc-tmn-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700; color: #fff;
    letter-spacing: -.5px; margin: 0 0 32px;
}

/* Filter Tabs */
.tplc-tmn-tabs {
    display: inline-flex;
    gap: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 48px;
}

.tplc-tmn-tab {
    padding: 7px 20px;
    font-size: 13px; font-weight: 600;
    color: #888;
    background: none; border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s;
}

.tplc-tmn-tab:hover { color: #ccc; }

.tplc-tmn-tab.tplc-tmn-tab-active {
    background: #fff; color: #1a1a1a;
}

/* Carousel */
.tplc-tmn-carousel {
    position: relative;
    min-height: 220px;
    margin-bottom: 32px;
}

.tplc-tmn-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}

.tplc-tmn-slide.tplc-tmn-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.tplc-tmn-stars {
    color: #f5c518;
    font-size: 20px; letter-spacing: 4px;
    margin-bottom: 22px;
}

.tplc-tmn-text {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.72; color: #ccc;
    font-style: italic; margin: 0 0 28px;
    quotes: none;
}

.tplc-tmn-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tplc-tmn-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700;
    border: 2px solid #3a3a3a;
    flex-shrink: 0;
}

.tplc-tmn-author-info { text-align: left; }
.tplc-tmn-name { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.tplc-tmn-role { display: block; color: #777; font-size: 12px; margin-top: 2px; }

.tplc-tmn-badge {
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .5px; text-transform: uppercase;
}

.tplc-tmn-badge--tenant  { background: rgba(255,255,255,.1); color: #bbb; border: 1px solid rgba(255,255,255,.15); }
.tplc-tmn-badge--landlord{ background: rgba(255,255,255,.06); color: #999; border: 1px solid rgba(255,255,255,.1); }

/* Dots */
.tplc-tmn-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 28px;
}

.tplc-tmn-dot {
    width: 8px; height: 8px;
    border-radius: 50%; background: #444;
    border: none; cursor: pointer; padding: 0;
    transition: background .2s, transform .2s;
}

.tplc-tmn-dot.tplc-tmn-dot-active,
.tplc-tmn-dot:hover { background: #fff; transform: scale(1.3); }

/* Dots hidden when filtered (only matching show) */
.tplc-tmn-dot.tplc-tmn-dot-hidden { display: none; }

/* Arrows */
.tplc-tmn-arrows { display: flex; justify-content: center; gap: 12px; }

.tplc-tmn-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #ccc;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s, transform .2s;
}

.tplc-tmn-arrow:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.3);
    transform: scale(1.08);
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .tplc-tmn-wrap { padding: 56px 20px 48px; }
    .tplc-tmn-carousel { min-height: 280px; }
    .tplc-tmn-author { flex-direction: column; align-items: center; }
    .tplc-tmn-author-info { text-align: center; }
}
