/* ============================================
   ENFORCE LAYOUT SEPARATION - Component Based
   Ensure mobile and desktop components never show together
   ============================================ */

/* ============================================
   PROJECTS - Component Separation
   ============================================ */

/* Desktop ONLY (≥1025px) */
@media screen and (min-width: 1025px) {
    /* Show desktop view component */
    .projects-desktop-view {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Hide mobile view component completely */
    .projects-mobile-view {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }
}

/* Mobile ONLY (≤1024px) */
@media screen and (max-width: 1024px) {
    /* Show mobile view component */
    .projects-mobile-view {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Hide desktop view component completely */
    .projects-desktop-view {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    /* Mobile-specific adjustments */
    .projects-mobile-pair {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .projects-mobile-slide {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ============================================
   CLIENTS - Component Separation
   ============================================ */

/* Desktop ONLY (≥1025px) */
@media screen and (min-width: 1025px) {
    /* Show desktop view component */
    .clients-desktop-view {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Hide mobile view component completely */
    .clients-mobile-view {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }
}

/* Mobile ONLY (≤1024px) */
@media screen and (max-width: 1024px) {
    /* Show mobile view component */
    .clients-mobile-view {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Hide desktop view component completely */
    .clients-desktop-view {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    /* Mobile-specific adjustments */
    .clients-mobile-layout {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .clients-mobile-slide {
        display: flex !important;
        flex-direction: column !important;
    }
}

