/* Slideshows Container */
.slideshows-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 3rem 0;
}

/* Slideshow */
.slideshow {
    position: relative;
}

#slideshow {
    width: 100%;
    align-self: flex-start;
}

.slideshow-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    aspect-ratio: 8/3;
    border-radius: 0;
    background: #f5f5f5;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slideshow-wrapper::-webkit-scrollbar {
    display: none;
}

.slideshow-track {
    display: flex;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .placeholder {
    text-align: center;
    color: #ccc;
    font-size: 1.5rem;
}

/* Slideshow Indicators */
.slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
    padding: 0;
    pointer-events: none;
}

.indicator.active {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    #slideshow {
        width: 100%;
        align-self: stretch;
    }

    .slideshow-wrapper {
        aspect-ratio: 16/9;
    }

}