.ba-slider{
position:relative;
min-height: 500px;
overflow:hidden;
border-radius:12px;
touch-action:pan-y;
}

.ba-slide{
position:absolute;
inset:0;
opacity:0;
visibility:hidden;
pointer-events:none;
transition: all 0.5s;
}

.ba-slide.is-active{
opacity:1;
visibility:visible;
pointer-events:auto;
transition: all 0.5s;
}

.ba-slide img{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
pointer-events:none;
user-select:none;
touch-action:pan-y;
}

.ba-after{
clip-path: inset(0 0 0 50%);
}

.ba-tag{
position:absolute;
top:16px;
z-index:5;
background:#ffffff;
color:#111111;
padding:6px 12px;
border:1px solid transparent;
border-radius:20px;
font-size:14px;
font-weight:600;
line-height:1;
display:inline-flex;
align-items:center;
transition: opacity 0.2s ease, visibility 0.2s ease;
cursor:pointer;
user-select:none;
}

.ba-tag-hidden{
opacity:0;
visibility:hidden;
}

.ba-tag-before{
left:16px;
}

.ba-tag-after{
right:16px;
}

.ba-divider{
position:absolute;
top:0;
bottom:0;
left:50%;
width:2px;
background:#fff;
display:flex;
justify-content:center;
pointer-events:none;
user-select:none;
z-index:4;
}

.ba-handle{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    border-radius:50%;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 37px;
    cursor:ew-resize;
    touch-action:none;
    pointer-events:auto;
}

.ba-handle svg {
    width: 67px;
    height: 67px;
}

.ba-thumbs{
display:flex;
gap:10px;
margin-top:15px;
/* flex-wrap:wrap; */
overflow-x: auto;
}

.ba-thumb{
width:80px;
height:60px;
object-fit:cover;
cursor:pointer;

}


.ba-tag-after, .ba-tag-before {
    text-align: center;
    display: flex;
    justify-content: center;
}

.ba-thumb {
    transition: all 0.5s;
    border-radius: 12px !important;
}

.ba-thumb:hover, .ba-thumb.active {
    border: 7px solid #00C6FF;
    border-radius: 12px;
    transition: all 0.5s;
}

@media (max-width: 1024px) {
    .ba-tag{
        font-size: 13px;
        padding: 5px 11px;
    }

    .ba-handle{
        width:80px;
        height:80px;
        font-size: 32px;
    }
    
    .ba-handle svg {
        width: 42px;
        height: 42px;
    }
    
    .ba-thumb:hover, .ba-thumb.active {
        border: 6px solid #00C6FF;
        border-radius: 10px;
    }
}

@media (max-width: 992px) {
    .ba-tag{
        font-size: 12px;
        padding: 5px 10px;
    }

    .ba-handle{
        width:64px;
        height:64px;
        font-size: 28px;
    }
    /*.ba-handle svg {*/
    /*    width: 28px;*/
    /*    height: 28px;*/
    /*}*/
    .ba-thumb:hover, .ba-thumb.active {
        border: 5px solid #00C6FF;
        border-radius: 8px;
    }
}



@media (max-width: 767px) {
    .ba-tag{
        top:12px;
        font-size: 11px;
        padding: 4px 9px;
        border-radius: 16px;
    }

    .ba-tag-before{
        left:12px;
    }

    .ba-tag-after{
        right:12px;
    }

    .ba-thumb:hover, .ba-thumb.active {
        border: 4px solid #00C6FF;
        border-radius: 6px;
    }
    .ba-handle{
        width:48px;
        height:48px;
        font-size: 24px;
    }
    .ba-handle svg {
        width: 28px;
        height: 28px;
    }
}
