/* ACF Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-color: transparent;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 15px;
}

.slideshow-controls {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slideshow-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.slideshow-btn:hover {
    background: #2980b9;
}

.slideshow-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.slideshow-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-indicator.active {
    background: #3498db;
    transform: scale(1.2);
}

.slideshow-progress {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.slideshow-progress-bar {
    height: 100%;
    width: 100%;
    background: #3498db;
    transform-origin: left;
    transition: transform 0.3s linear;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        height: 250px;
    }

    .slideshow-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
