/* ── Testimonials for Elementor — Frontend Widget Styles ─────────────── */

/* Grid layout */
.te-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* List layout */
.te-testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card */
.te-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .2s, box-shadow .2s;
}

.te-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

/* Rating */
.te-card__rating {
    font-size: 18px;
    color: #f5a623;
    letter-spacing: 2px;
}

/* Quote mark */
.te-card__quote-mark {
    font-size: 48px;
    line-height: 0;
    vertical-align: -20px;
    color: #e0e0e0;
    margin-right: 4px;
    font-family: Georgia, serif;
}

/* Content */
.te-card__content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    flex: 1;
}

/* Author row */
.te-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Photo */
.te-card__photo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.te-card__photo--placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.te-card__photo--placeholder .dashicons {
    font-size: 32px;
    color: #bbb;
}

/* Author info */
.te-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.te-card__author-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
}

.te-card__meta {
    font-size: 13px;
    color: #888;
}

.te-card__date {
    font-size: 12px;
    color: #aaa;
}

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

@media (max-width: 600px) {
    .te-testimonials-grid {
        grid-template-columns: 1fr;
    }
}
