.tsc_custom-slider__nav,
.tsc_custom-slider__main{
    position: relative;
}

.tsc_custom-slider__main{
    margin-bottom: 30px;
}

.tsc_custom-slider__next,
.tsc_custom-slider__prev{
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,.2);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.tsc_custom-slider__next{
    right: 2px;
}

.tsc_custom-slider__prev{
    left: 0;
}

.tsc_custom-slider__next:hover,
.tsc_custom-slider__prev:hover{
    background-color: #000;
}

.tsc_custom-slider__main-img{
    display: flex;
    justify-content: center;
}
.tsc_custom-slider__main-img img{
    max-height: 700px;
}
.tsc_custom-slider__nav-img{
    width: 205px;
    height: 136px;
    position: relative;
    overflow: hidden;
}
.tsc_custom-slider__nav-img img{
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media( max-width: 768px ){
    .tsc_custom-slider__nav-img{
        width: 150px;
        height: 80px;
    }
    .tsc_custom-slider__main-img img{
        max-height: 500px;
    }
}
@media( max-width: 475px ){
    .tsc_custom-slider__nav-img{
        width: 100%;
        aspect-ratio: 1;
    }
}
