.mlr-slider-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 35px auto 0 auto;
    overflow: hidden;
    background: #fff;
    touch-action: pan-y pinch-zoom;
}

.mlr-slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    height: 100%;
}

.mlr-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mlr-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mlr-slide a:hover,
.mlr-slide a:focus,
.mlr-slide a:active {
    opacity: 1 !important;
    background: none !important;
    filter: none !important;
}

.mlr-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    pointer-events: none;
    object-fit: contain;
}

.mlr-slide img:hover,
.mlr-slide img:focus,
.mlr-slide img:active {
    opacity: 1 !important;
    filter: none !important;
}

.mlr-prev,
.mlr-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
    transition: background 0.3s;
    user-select: none;
}

.mlr-prev:hover,
.mlr-next:hover {
    background: rgba(255, 255, 255, 1);
}

.mlr-prev {
    left: 10px;
}

.mlr-next {
    right: 10px;
}

@media (max-width: 768px) {
    .mlr-slider-container {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        max-width: 100vw;
        margin: 20px 0 0 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mlr-slider-track {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .mlr-prev,
    .mlr-next {
        display: none;
    }
}