.editorial-testimonials-widget {
    direction: rtl;
    font-family: 'Cairo', system-ui, sans-serif;
}

/* Header Section */
.testimonials-header {
    text-align: right;
    margin-bottom: 40px;
}
.testimonials-eyebrow {
    display: inline-block;
    color: #F9A826;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.testimonials-title {
    color: #09254A;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.3;
}
.testimonials-desc {
    color: #64748B;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

/* Statistics */
.testimonials-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 32px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #09254A;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-icon {
    display: flex;
    align-items: center;
}
.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: #09254A;
    margin-bottom: 4px;
}
.stat-sublabel {
    font-size: 14px;
    color: #94A3B8;
}

/* Grid Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Style */
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(9, 37, 74, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(9, 37, 74, 0.08);
    border-color: rgba(9, 37, 74, 0.1);
}

/* Header inside Card */
.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}
.testimonial-rating {
    display: flex;
    gap: 4px;
}
.testimonial-rating svg {
    width: 20px;
    height: 20px;
}
.testimonial-quote {
    color: #E2E8F0;
    line-height: 1;
    display: flex;
}
.testimonial-quote svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Content */
.testimonial-content {
    color: #09254A;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

/* Customer Row */
.testimonial-customer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.testimonial-customer {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testimonial-avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #F1F5F9;
    color: #09254A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.testimonial-customer-info h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #09254A;
    line-height: 1.2;
}
.testimonial-customer-info span {
    font-size: 14px;
    color: #64748B;
}
.testimonial-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-size: 14px;
}
.testimonial-location svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Service Tag */
.testimonial-service {
    background-color: #F8FAFC;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    align-self: flex-start;
    display: inline-block;
}

/* Optional CTA */
.testimonials-cta {
    margin-top: 48px;
    text-align: center;
}
.testimonials-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #09254A;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.testimonials-cta-btn:hover {
    background-color: #1A365D;
    color: #FFFFFF;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .testimonial-card * {
        transition: none !important;
        animation: none !important;
    }
}
