/* AR TMC Slider v4.4 (Advanced Responsive Standards & Ken Burns) */
.artmc-slider-wrapper { position: relative; width: 100%; direction: ltr; overflow: hidden; }
.artmc-slider-wrapper[dir="rtl"] { direction: rtl; }

.artmc-swiper-container { 
    width: 100%; 
    position: relative; 
    --artmc-arrow-h: 20px; 
    --artmc-arrow-v: 50%; 
}

.artmc-slide-item { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background: #000; 
}

/* Layer 0: Media */
.artmc-media-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 0; 
    overflow: hidden;
}
.artmc-video-wrap, .artmc-bg-img {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0;
}
.artmc-bg-img { background-size: cover; background-position: center; transition: transform 0.5s ease-out; }
.artmc-video-wrap iframe, .artmc-video-wrap video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 177.77vh; height: 56.25vw; min-width: 100%; min-height: 100%; object-fit: cover;
    pointer-events: none;
}

/* KEN BURNS ANIMATION */
@keyframes artmcKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}
.artmc-ken-burns .swiper-slide-active .artmc-bg-img {
    animation: artmcKenBurns 20s linear infinite alternate;
}

/* Layer 1: Overlay */
.artmc-overlay-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 5; 
    pointer-events: none; 
}

/* Layer 2: Split Background */
.artmc-split-bg { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 6; display: none; pointer-events: none; }
.layout-split_left .artmc-split-bg { right: 0; display: block; background: #222; }
.layout-split_right .artmc-split-bg { left: 0; display: block; background: #222; }
[dir="rtl"] .layout-split_left .artmc-split-bg { left: 0; right: auto; }
[dir="rtl"] .layout-split_right .artmc-split-bg { right: 0; left: auto; }

/* Layer 10: Content */
.artmc-content-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 10; 
    display: flex; align-items: center; justify-content: center; 
    pointer-events: none; 
}
.artmc-content-inner { 
    width: 100%; max-width: 1140px; padding: 30px; position: relative; 
    text-align: center; pointer-events: none; 
}
.artmc-title, .artmc-sub { pointer-events: none; margin-bottom: 15px; } 
.artmc-title { font-size: 3rem; font-weight: 700; color: #fff; line-height: 1.2; }
.artmc-sub { font-size: 1.2rem; opacity: 0.9; color: #f1f1f1; }

/* Layer 100: Interactive Elements */
.artmc-btn-wrap { display: block; margin-top: 20px; pointer-events: auto !important; position: relative; z-index: 100; }
.artmc-btn { display: inline-block; padding: 12px 30px; background: #fff; color: #000; text-decoration: none; border-radius: 4px; font-weight: bold; transition: 0.3s; }
.artmc-btn:hover { opacity: 0.9; }

.artmc-full-link { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 20; cursor: pointer; display: block; background: transparent;
}

/* Layout Positions */
.layout-split_left .artmc-media-layer { width: 50%; left: 0; }
.layout-split_left .artmc-content-layer { width: 50%; left: 50%; justify-content: center; }
[dir="rtl"] .layout-split_left .artmc-media-layer { right: 0; left: auto; }
[dir="rtl"] .layout-split_left .artmc-content-layer { right: 50%; left: auto; }

.layout-split_right .artmc-media-layer { width: 50%; right: 0; left: auto; }
.layout-split_right .artmc-content-layer { width: 50%; right: 50%; left: auto; justify-content: center; }
[dir="rtl"] .layout-split_right .artmc-media-layer { left: 0; right: auto; }
[dir="rtl"] .layout-split_right .artmc-content-layer { left: 50%; right: auto; }

/* Navigation */
.artmc-arrow { 
    position: absolute !important; top: var(--artmc-arrow-v) !important; transform: translateY(-50%) !important; 
    z-index: 200 !important; cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%;
    transition: all 0.3s ease;
}
.artmc-arrow-start { left: var(--artmc-arrow-h) !important; right: auto !important; }
.artmc-arrow-end { right: var(--artmc-arrow-h) !important; left: auto !important; }
[dir="rtl"] .artmc-arrow-start { right: var(--artmc-arrow-h) !important; left: auto !important; }
[dir="rtl"] .artmc-arrow-end { left: var(--artmc-arrow-h) !important; right: auto !important; }

/* Pagination */
.swiper-pagination { 
    position: absolute !important; bottom: 20px !important; left: 0 !important;
    width: 100% !important; z-index: 200 !important; text-align: center !important; pointer-events: auto !important;
}
.swiper-pagination-bullet { display: inline-block !important; margin: 0 6px !important; border-radius: 50% !important; transition: 0.3s; opacity: 0.5; background: #fff; }
.swiper-pagination-bullet-active { opacity: 1 !important; }


/* =========================================================
   STANDARD RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================= */

/* Tablet (Max 1024px) */
@media (max-width: 1024px) {
    .artmc-title { font-size: 2.5rem; }
}

/* Mobile (Max 767px) */
@media (max-width: 767px) {
    /* 1. Typography & Spacing Optimization */
    .artmc-content-inner { padding: 15px 20px; }
    .artmc-title { font-size: 1.8rem; margin-bottom: 10px; }
    .artmc-sub { font-size: 1rem; margin-bottom: 15px; }
    .artmc-btn { padding: 10px 20px; font-size: 0.9rem; }
    
    /* 2. Navigation Scaling (Smaller Arrows on Mobile) */
    .artmc-arrow { width: 35px !important; height: 35px !important; }
    .artmc-arrow i, .artmc-arrow svg { font-size: 16px !important; width: 16px !important; }
    
    /* 3. Split Layout Stacking (Vertical on Mobile instead of 50% width) */
    .layout-split_left .artmc-media-layer, .layout-split_right .artmc-media-layer { 
        width: 100%; height: 50%; top: 0; left: 0; right: 0; 
    }
    .layout-split_left .artmc-content-layer, .layout-split_right .artmc-content-layer { 
        width: 100%; height: 50%; top: 50%; left: 0; right: 0; 
    }
    .layout-split_left .artmc-split-bg, .layout-split_right .artmc-split-bg { 
        width: 100%; height: 50%; top: 50%; left: 0; right: 0; 
    }
}