/* STELLA V2 – Native Image Slider */

.stella-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #eaf0f5;
}

.stella-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.stella-slider-track::-webkit-scrollbar {
    display: none;
}

.stella-slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
}

.stella-slider-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.stella-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #006ba6;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.stella-slider-prev { left: 14px; }
.stella-slider-next { right: 14px; }

.stella-slider-arrow:hover {
    background: #1586d0;
    color: #fff;
}

.stella-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px;
}

.stella-slider-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #cbd5df;
    padding: 0;
    cursor: pointer;
}

.stella-slider-dot[aria-current="true"] {
    width: 24px;
    border-radius: 8px;
    background: #1586d0;
}

@media (prefers-reduced-motion: reduce) {
    .stella-slider-track {
        scroll-behavior: auto;
    }
}

@media (max-width: 760px) {
    .stella-slider-slide img {
        aspect-ratio: 4 / 3;
    }

    .stella-slider-arrow {
        width: 36px;
        height: 36px;
    }
}
