/* Custom Slider CSS */
/* Enforce aspect ratio for the hero slider if JS doesn't do it */
#block-a8338dd453497ea5e740 .sqs-gallery-container {
    padding-bottom: 50%; /* Aspect ratio 50 */
    height: 0;
    position: relative;
    overflow: hidden; /* Ensure content doesn't spill out */
}

.sqs-gallery-block-slider .sqs-gallery {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
}

.sqs-gallery-container {
    position: relative;
    /* This container usually has the padding-bottom for aspect ratio. 
       We need to make sure it's preserved. */
}

.custom-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.custom-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-color: #f0f0f0; /* Debug background */
    position: relative; /* Ensure z-index works if needed */
}

.custom-slide img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

