
    
    /* ACF Gallery Carousel Styles - Full Width with Contained Images */
    .acf-gallery-carousel-container {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
        background: transparent;
    }
    
    .acf-gallery-carousel {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-slide {
        position: absolute;
        width: 70%;
        height: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
        z-index: 1;
    }
    
    .carousel-slide.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 3;
    }
    
    .carousel-slide.prev {
        opacity: 1;
        transform: translateX(-102%);
        z-index: 2;
    }
    
    .carousel-slide.next {
        opacity: 1;
        transform: translateX(102%);
        z-index: 2;
    }
    
    .slide-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* Navigation arrows - Updated with no background */
    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent; /* Removed background */
        color: #ffffff;
        width: 50px;
        height: 50px;
        border-radius: 0; /* Removed rounded corners */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: color 0.3s ease;
        font-size: 24px;
        font-weight: bold;
        user-select: none;
        border: none; /* Remove any border */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for visibility */
    }
    
    .carousel-nav:hover {
        color: rgba(255, 255, 255, 0.8);
        background: transparent; /* Keep background transparent on hover */
    }
    
    .carousel-prev {
        left: 20px;
    }
    
    .carousel-next {
        right: 20px;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .acf-gallery-carousel-container {
            height: 50vh !important; /* Reduce height on tablets */
        }
        
        .carousel-slide {
            width: 80%;
        }
        
        .carousel-slide.prev {
            transform: translateX(-108%);
        }
        
        .carousel-slide.next {
            transform: translateX(108%);
        }
        
        .carousel-nav {
            width: 40px;
            height: 40px;
            font-size: 20px;
        }
        
        .carousel-prev {
            left: 10px;
        }
        
        .carousel-next {
            right: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .acf-gallery-carousel-container {
            height: 40vh !important; /* Further reduce height on phones */
        }
        
        .carousel-slide {
            width: 90%;
        }
        
        .carousel-slide.prev,
        .carousel-slide.next {
            opacity: 0.3;
        }
    }
    
/* Mouse drag support styles */
.acf-gallery-carousel {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.acf-gallery-carousel.dragging {
    cursor: grabbing !important;
}

.acf-gallery-carousel.dragging .carousel-slide {
    transition: transform 0.1s ease-out;
}

/* Prevent image dragging interference */
.carousel-slide img {
    pointer-events: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}
