/* General Wrapper */
.pincel-ba-container-a07efccc {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.pincel-ba-wrapper-a07efccc {
    position: relative;
    width: 100%;
    height: 500px; /* Default height to ensure consistency if not set in editor */
    overflow: hidden;
    /* Fix border-radius clipping bug on Safari/Chrome for absolute children */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

/* Image blocks positioning - absolutely matching the container bounds */
.pincel-ba-after-a07efccc,
.pincel-ba-before-a07efccc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important; /* Force height matching to container height */
    overflow: hidden;
    border-radius: inherit !important;
}

.pincel-ba-after-a07efccc {
    z-index: 1;
}

.pincel-ba-before-a07efccc {
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* Initial state */
}

/* Images styles - forced to fill container dimensions with clean cover crop */
.pincel-ba-image-a07efccc {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    pointer-events: none;
    user-select: none;
    border-radius: inherit !important;
}

/* Labels style */
.pincel-ba-label-a07efccc {
    position: absolute;
    bottom: 15px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #2b2b2b;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 2px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: 'Jost', sans-serif;
}

.label-before-a07efccc {
    left: 15px;
}

.label-after-a07efccc {
    right: 15px;
}

/* Handle line and button */
.pincel-ba-handle-a07efccc {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: transparent;
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    touch-action: none;
    outline: none;
}

.pincel-ba-handle-line-a07efccc {
    width: 1.5px;
    flex-grow: 1;
    background-color: #ffffff;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.pincel-ba-handle-button-a07efccc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: ew-resize;
    flex-shrink: 0;
    margin: 8px 0;
    pointer-events: auto;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pincel-ba-handle-button-a07efccc:hover,
.pincel-ba-dragging .pincel-ba-handle-button-a07efccc {
    transform: scale(1.08);
}

.pincel-ba-arrow-icon-a07efccc {
    display: block;
    fill: #222222;
    width: 14px;
    height: 14px;
}

/* Dragging visual adjustments */
.pincel-ba-dragging .pincel-ba-label-a07efccc {
    opacity: 0.3;
}

/* Case Info / Footer style */
.pincel-ba-footer-a07efccc {
    margin-top: 15px;
}

.pincel-ba-title-a07efccc {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 6px 0;
    line-height: 1.2;
    color: #1c1c1c;
}

.pincel-ba-subtitle-a07efccc {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #707070;
    margin: 0;
    line-height: 1.5;
}

/* Ensure no horizontal scrolling */
.pincel-ba-container-a07efccc * {
    box-sizing: border-box;
}
