/* ===== تنسيق بطاقات تقييمات العملاء ===== */

/* 1. تصميم البطاقة وتوسيط النصوص (ثابتة بدون حركة للأعلى) */
.embla__slide article {
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* 2. علامة اقتباس زخرفية ناعمة في الزاوية */
.embla__slide article::before {
    content: "❝";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 65px;
    color: rgba(0, 0, 0, 0.04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* 3. توسيط النجوم وتلوينها بالذهبي */
.embla__slide article div[aria-label*="stars"] {
    justify-content: center !important;
}

.embla__slide article div[aria-label*="stars"] svg {
    color: #FFB800 !important;
    width: 20px !important;
    height: 20px !important;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.25));
}

/* 4. تنسيق نص التقييم في المنتصف */
.embla__slide article p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    font-weight: 500 !important;
    margin-top: 18px !important;
    margin-bottom: 20px !important;
}

/* 5. جعل الاسم أقصى اليمين والشارة أقصى اليسار */
.embla__slide article h3 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    border-top: 1px dashed #e2e8f0 !important;
    padding-top: 14px !important;
    margin-top: auto !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* 6. شارة (عميل موثق) */
.embla__slide article h3::after {
    content: "✓ عميل موثق";
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #15803d !important;
    background-color: #dcfce7 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
}