/**
 * =====================================================
 * SIFENCY ADDONS - TESTIMONIALS WIDGET
 * =====================================================
 */
.sifency-addons-testimonials-wrapper {
    position: relative;
}

.sifency-addons-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.sifency-carousel-wrapper .swiper-slide {
    height: auto;
    padding-bottom: 20px;
}
.sifency-testimonial-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sifency-addons-testimonial-rating {
    margin-bottom: 20px;
    color: #FFC107;
    font-size: 1.1em;
}

.sifency-addons-testimonial-content {
    position: relative;
    flex-grow: 1;
    font-size: 1.1em;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 25px;
}

.sifency-addons-testimonial-content::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 5em;
    font-weight: bold;
    color: #f0f0f0;
    line-height: 1;
    z-index: 0;
}

.sifency-addons-testimonial-content p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.sifency-read-more {
    font-weight: 600;
    color: var(--sifency-addons-themecolor);
    text-decoration: none;
    transition: color 0.3s ease;
}
.sifency-read-more:hover {
    text-decoration: underline;
}

.sifency-addons-testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.sifency-addons-testimonial-image {
    flex-shrink: 0;
    margin-right: 15px;
}

.sifency-addons-testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}

.sifency-addons-testimonial-name {
    margin: 0 0 5px;
    font-weight: 600;
}

.sifency-addons-testimonial-meta {
    font-size: 0.9em;
    color: #6c757d;
}