/* Estilos adicionales para el slider */
.slider-container {
    position: relative;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 50px;
    color: white;
}

.slide-content .category {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    max-width: 80%;
}

.slide-content h2 a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.slide-content h2 a:hover {
    color: var(--primary-color);
}

.slide-content .meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.slide-content .meta i {
    margin-right: 5px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    z-index: 20;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .slide-content .meta {
        font-size: 0.7rem;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .slider-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
}