/*
Theme Name: Vibenews Child
Theme URI: http://gossipthemes.com/vibenews
Author URI: http://gossipthemes.com
Template: vibenews
Description: Make your modifications to Vibenews in this child theme.
Version: 2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vibenews-child
Tags: two-columns, three-columns, four-columns, right-sidebar, custom-menu, featured-images, full-width-template
*/


/* =Theme customization starts here
------------------------------------------------------- */

.category-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 500px;
}

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

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    display: flex;
    height: 100%;
    align-items: center;
}

.slide-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

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

.slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.post-id {
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.post-date {
    color: #888;
}

.slide-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.slide-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.slide-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.read-more-btn {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #005a87;
}

.post-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tag {
    background: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Navigation Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.prev-btn, .next-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

/* Dots Indicator */
.slider-dots {
    text-align: center;
    padding: 20px 0;
    background: #f9f9f9;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #007cba;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
        height: auto;
    }
    
    .slide-image {
        height: 250px;
    }
    
    .slide-info {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slides-container {
        height: auto;
        min-height: 500px;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .category-slider-container {
        padding: 10px;
    }
    
    .slide-info {
        padding: 15px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
