.wbs-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
}

.wbs-slider:active {
    cursor: grabbing;
}

.wbs-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.wbs-slide {
    flex: 0 0 100%;
    position: relative;
}

.wbs-slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* Prevent image dragging conflicts */
    user-select: none;
}

.wbs-slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.wbs-prev,
.wbs-next,
.wbs-pause {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.3s, opacity 0.3s;
}

.wbs-pause {
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1;
    opacity: 0;
}

.wbs-slider:hover .wbs-pause,
.wbs-pause:focus-visible {
    opacity: 1;
}

.wbs-prev:hover,
.wbs-next:hover,
.wbs-pause:hover {
    background: rgba(0, 0, 0, 0.8);
}

.wbs-prev:focus-visible,
.wbs-next:focus-visible,
.wbs-pause:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.wbs-slider-bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.wbs-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.6);
    padding: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.wbs-bullet.active {
    background: white;
    transform: scale(1.3);
    border-color: rgba(0, 0, 0, 0.6);
}

.wbs-bullet:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Visually hidden live region for AT announcements */
.wbs-live-region {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .wbs-slider {
        cursor: default;
    }
    
    .wbs-slider:active {
        cursor: default;
    }
    
    .wbs-slider-arrows {
        display: none;
    }
    
    .wbs-prev,
    .wbs-next {
        display: none;
    }
} 