/* =========================
   CONTAINER
========================= */
.ba-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 50px auto;
    overflow: hidden;
}
.ba-container.basketballer {
    height: 900px;
    margin: 20px auto;
}

/* =========================
   BILDER (FIX)
========================= */
.ba-container img {
    position: absolute !important;
    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    object-fit: cover;

    transform: none !important;
    filter: none !important;
}

/* =========================
   VORHER (CLIP)
========================= */
.ba-before {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

/* =========================
   SLIDER
========================= */
.ba-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* =========================
   LINIE
========================= */
.ba-line {
    position: absolute;
    top: 0;
    left: 50%;

    width: 2px;
    height: 100%;

    background: #fff;

    transform: translateX(-50%);
    z-index: 3;
}

/* =========================
   GRIFF
========================= */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 50px;
    height: 50px;

    margin-left: 0px;
    margin-top: 0px;

    background: #07491A;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: #fff;
    font-size: 14px;

    box-shadow: 0 0 0 6px rgba(255,255,255,0.6);
    z-index: 4;

    pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .ba-container {
        height: 300px;
          touch-action: none;
    }
}