/* DWOne SlideShow Styles */

.dwone-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slideshow-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    max-width: 80%;
    backdrop-filter: blur(5px);
}

.slideshow-content h2 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slideshow-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Grid de slideshows */
.dwone-slideshows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.slideshow-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slideshow-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slideshow-item h3 {
    margin: 0;
    padding: 1rem;
    font-size: 1.3rem;
    color: #333;
    border-bottom: 1px solid #eee;
}

.slideshow-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slideshow-item .slideshow-excerpt {
    padding: 1rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.slideshow-link {
    display: block;
    padding: 1rem;
    background: #0073aa;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.slideshow-link:hover {
    background: #005a87;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .dwone-slideshow {
        height: 300px;
    }
    
    .slideshow-content h2 {
        font-size: 1.8rem;
    }
    
    .slideshow-content {
        padding: 1rem;
        max-width: 90%;
    }
    
    .dwone-slideshows-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .dwone-slideshow {
        height: 250px;
    }
    
    .slideshow-content h2 {
        font-size: 1.5rem;
    }
} 