/* ==========================================================================
   BLOG SLIDER BLOCK
   ========================================================================== */

.blog-slider {
    margin-bottom: var(--space-3xl);
    position: relative;
}

.blog-slider .swiper-slide {
    height: auto;
}

.blog-slider-swiper {
    overflow: visible;
}

.blog-slider .swiper-pagination {
    position: relative;
    display: inline-flex;
    margin-top: var(--space-3xl);
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    width: auto;
    line-height: 0;
    padding: 12px 16px;
    gap: 12px;
}

.blog-slider .swiper-pagination:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #fff;
    border-radius: 48px;
}

.blog-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0 !important;
    transition: var(--transition);
}

.blog-slider .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
    width: 48px;
    border-radius: 8px;
}

/* ==========================================================================
   RESPONSIVE - DESKTOP FIRST
   ========================================================================== */

/* Tablette (1024px et moins) */
@media screen and (max-width: 1024px) {
    .blog-slider {
        margin-bottom: var(--space-2xl);
    }
    
    .blog-slider .swiper-pagination {
        margin-top: var(--space-2xl);
    }
}

/* Tablette et mobile (768px et moins) */
@media screen and (max-width: 768px) {
    .blog-slider {
        margin-bottom: var(--space-xl);
    }
    
    .blog-slider .swiper-pagination {
        margin-top: var(--space-xl);
        padding: 10px 14px;
        gap: 10px;
    }
    
    .blog-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .blog-slider .swiper-pagination-bullet-active {
        width: 40px;
    }
}

/* Mobile (480px et moins) */
@media screen and (max-width: 480px) {
    .blog-slider .swiper-pagination {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .blog-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .blog-slider .swiper-pagination-bullet-active {
        width: 32px;
    }
}

