/**
 * SLPS Carousel Styles 
 */

/* Carousel wrapper - allows buttons to overflow */
.slps-carousel-wrapper {
    position: relative;
    margin: 0 auto 35px;
    display: block;
}

/* Carousel container */
.slps-carousel {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    min-height: 375px;
    display: block;
}

/* Slides container */
.slps-carousel > ul:first-child {
    position: relative;
    min-height: 375px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Slide base styles */
.slps-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 375px;
    height: auto;
    padding: 20px 20px 20px 25px;
    box-sizing: border-box;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Slide content */
.slps-carousel .slide h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
}

.slps-carousel .slide p {
    color: #666;
    line-height: 1.6;
    margin: 10px 0;
}

/* Navigation controls - positioned on wrapper */
.slps-carousel-wrapper .controls {
    position: absolute;
    top: 50%;
    left: -50px;
    right: -50px;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 20;
    transform: translateY(-50%);
    pointer-events: none;
    width: calc(100% + 100px);
}

.slps-carousel-wrapper .controls li {
    pointer-events: auto;
    display: flex;
    align-items: center;
}

.slps-carousel-wrapper .controls li:first-child {
    justify-content: flex-start;
}

.slps-carousel-wrapper .controls li:last-child {
    justify-content: flex-end;
}

.slps-carousel-wrapper .btn-prev,
.slps-carousel-wrapper .btn-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 22px;
    z-index: 20;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 4px;
    pointer-events: auto;
    flex-shrink: 0;
}

.slps-carousel-wrapper .btn-prev {
    transform: translateX(100%);
}

.slps-carousel-wrapper .btn-next {
    transform: translateX(-25%);
}

.slps-carousel-wrapper .btn-prev:hover,
.slps-carousel-wrapper .btn-next:hove1r {
    background: rgba(0, 0, 0, 0.8);
}

.slps-carousel-wrapper .btn-prev:hover {
    transform: translateX(100%) scale(1.05);
}

.slps-carousel-wrapper .btn-next:hover {
    transform: translateX(-25%) scale(1.05);
}

/* Slide navigation dots */
.slps-carousel .slidenav {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 15;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.slps-carousel .slidenav li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.slps-carousel .slidenav button {
    background: #ccc;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.slps-carousel .slidenav button.current {
    background: #333;
}

.slps-carousel .slidenav button:hover {
    background: #999;
}

/* Visible/current slide */
.slps-carousel .slide.current {
    opacity: 1;
    pointer-events: auto;
}

/* Off-screen parked positions */
.slps-carousel .slide.hidden-right {
    transform: translateX(100%);
}

.slps-carousel .slide.hidden-left {
    transform: translateX(-100%);
}

/* Animations */
.slps-carousel .slide.enter-right {
    transform: translateX(100%);
    opacity: 1;
}

.slps-carousel .slide.enter-right.current {
    transform: translateX(0);
}

.slps-carousel .slide.enter-left {
    transform: translateX(-100%);
    opacity: 1;
}

.slps-carousel .slide.enter-left.current {
    transform: translateX(0);
}

.slps-carousel .slide.exit-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slps-carousel .slide.exit-right {
    transform: translateX(100%);
    opacity: 0;
}