/* Jhon Andrews · Galería automática */
.ja-colegio-auto .thumbs {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px;
    touch-action: pan-x;
}

.ja-colegio-auto .thumbs::-webkit-scrollbar {
    display: none;
}

.ja-colegio-auto .thumbs > button {
    flex: 0 0 34% !important;
    width: 34% !important;
    min-width: 0;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 15px;
}

.ja-colegio-auto .thumbs img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 15px;
}

@media (min-width: 700px) {
    .ja-colegio-auto .thumbs > button {
        flex-basis: 24% !important;
        width: 24% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ja-colegio-auto .thumbs {
        scroll-behavior: auto;
    }
}
