.gdlr-core-gallery-item {
    overflow: hidden; /* Keeps the animation within bounds */
    padding-bottom: 20px;
}

.gdlr-core-sly-slider {
    overflow: hidden; /* Ensures only visible images show */
    position: relative;
    height: 300px; /* Matches your image height */
}

ul.slides {
    display: flex;
    animation: slide 120s infinite linear; /* Very slow: 80 seconds on desktop */
    width: 100%; /* Ensure it scales */
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Ensure images stay in line */
.gdlr-core-gallery-list {
    flex: 0 0 auto; /* Prevents shrinking */
    margin: 0 2px; /* Small gap between images */
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gdlr-core-sly-slider {
        height: 200px; /* Smaller height for mobile */
    }
    ul.slides {
        animation: slide 60s infinite linear; /* Very slow: 60 seconds on mobile */
    }
    .gdlr-core-gallery-list {
        margin: 0 1px; /* Tighter gap on mobile */
    }
    img {
        width: 100%; /* Ensure images fit */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Hide the original scroll handle if not needed */
.gdlr-core-sly-scroll {
    display: none;
}







/* Hide all default footer areas from theme */
footer,
.site-footer,
.footer,
.footer-widgets,
.footer-widget-area,
#colophon,
#footer,
#footer-area,
#footer-widgets,
.widget-footer,
#main-footer,
#bottom-footer,
.page-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}