/* Blog Slider Styles - Premium & Dynamic */
.blog-featured {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.featured-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    min-height: 450px;
    background: var(--card-bg);
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.featured-slide.active {
    opacity: 1;
    visibility: visible;
}

.featured-slide-link {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.featured-slide-image {
    width: 60%;
    height: 100%;
    overflow: hidden;
}

.featured-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.featured-slide.active .featured-slide-image img {
    transform: scale(1.1);
}

.featured-slide-content {
    width: 40%;
    padding: var(--space-12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
}

.featured-slide-label {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--accent-blue);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: var(--space-4);
    width: fit-content;
}

.featured-slide-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.2;
    color: var(--text-main);
}

.featured-slide-excerpt {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.featured-slide-meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

/* Controls style consistent with site's lightbox-nav */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    width: 52px;
    height: 52px;
    background: rgba(var(--bg-rgb), 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: var(--text-main);
    color: var(--bg-color);
    transform: scale(1.1);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    position: absolute;
    bottom: var(--space-4);
    left: 40%; /* Offset to match content on right-side focused card? No, center it. */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 968px) {
    .featured-slider {
        min-height: 550px;
    }
    
    .featured-slide-link {
        flex-direction: column;
    }
    
    .featured-slide-image, .featured-slide-content {
        width: 100%;
        height: 50%;
    }
    
    .featured-slide-content {
        padding: var(--space-6);
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .featured-slide-title {
        font-size: var(--text-2xl);
    }
    
    .slider-controls {
        bottom: 50%; /* Adjusted for content shift */
    }
}

@media (max-width: 640px) {
    .featured-slider {
        min-height: 480px;
    }
    
    .featured-slide-image {
        height: 40%;
    }
    
    .featured-slide-content {
        height: 60%;
    }
    
    .slider-arrow {
        width: 44px;
        height: 44px;
    }
}
