.ba-gallery-01d01d34 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ba-project-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ba-project-btn {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ba-project-btn.active, .ba-project-btn:hover {
    background: #333;
    color: #fff;
}

.ba-slider-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.ba-slider-item {
    display: none;
    width: 100%;
}

.ba-slider-item.active {
    display: block;
}

.ba-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ba-image-after {
    width: 100%;
    height: auto;
    display: block;
}

.ba-image-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.ba-image-before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    max-width: none;
}

.ba-slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
    color: #333;
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}