/* شبكة ثابتة لشعارات الشركاء على الهاتف - بدون حركة */

@media only screen and (max-width: 768px),
       only screen and (max-device-width: 768px) {
    
    /* إيقاف الحركة تماماً */
    .mobile-partners-track {
        animation: none !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
        padding: 10px !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    /* Container بدون overflow */
    .mobile-partners-container {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 10px 0 !important;
    }
    
    /* Grid الرئيسي */
    .mobile-partners-grid {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 15px 10px !important;
    }
    
    /* البطاقات في الشبكة */
    .mobile-partner-card {
        margin: 0 !important;
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        height: 60px !important;
    }
    
    /* الصور */
    .mobile-partner-card img {
        width: 70px !important;
        height: 45px !important;
    }
    
    /* إخفاء النسخ المكررة */
    .mobile-partner-card:nth-child(n+9) {
        display: none !important;
    }
}

/* للشاشات الصغيرة جداً - 3 أعمدة */
@media only screen and (max-width: 480px) {
    .mobile-partners-track {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .mobile-partner-card {
        height: 55px !important;
    }
    
    .mobile-partner-card img {
        width: 65px !important;
        height: 40px !important;
    }
}

/* للشاشات الصغيرة للغاية - عمودين */
@media only screen and (max-width: 360px) {
    .mobile-partners-track {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
