/* ================================================
   ZSQUARE Testimonials PRO — style.css
   Matches Taj Notary testimonials card design
   ================================================ */

/* ── Grid ────────────────────────────────────── */
.zsq-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ── Card ────────────────────────────────────── */
.zsq-testimonial-card {
    background-color: #ffffff;
    border: 1px solid #E9EAEC;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.zsq-testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* ── Quote icon ──────────────────────────────── */
.zsq-quote-icon {
    font-size: 36px;
    color: #F4A7B3;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.zsq-quote-icon svg {
    display: block;
    width: 1em;
    height: auto;
}

/* ── Review text ─────────────────────────────── */
.zsq-review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 24px;
    flex: 1; /* push footer to bottom */
}

/* ── Card footer ─────────────────────────────── */
.zsq-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

/* ── Author block ────────────────────────────── */
.zsq-author-block {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* ── Avatar ──────────────────────────────────── */
.zsq-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ── Author info ─────────────────────────────── */
.zsq-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Author name ─────────────────────────────── */
.zsq-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 3px 0;
    padding: 0;
    line-height: 1.2;
    white-space: nowrap;
}

/* ── Author role ─────────────────────────────── */
.zsq-author-role {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.3;
    white-space: nowrap;
}

/* ── Stars ───────────────────────────────────── */
.zsq-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 20px;
    flex-shrink: 0;
}

.zsq-star-filled { color: #c8102e; }
.zsq-star-empty  { color: #D1D5DB; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .zsq-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .zsq-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .zsq-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
