/* Styles pour les articles recommandés */

.articles-recommandes-section {
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.articles-recommandes-section .slider-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* .articles-recommandes-title{
    @media (max-width: 768px) {
        font-size: 25px;
    }
} */

/* Navigation Arrows */
.articles-recommandes-section .slider-navigation {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
}

.articles-recommandes-section .slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.articles-recommandes-section .slider-arrow:hover {
    opacity: 0.8;
}

.articles-recommandes-section .slider-arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Slider */
.articles-recommandes-section .actualites-slider {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.articles-recommandes-section .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.articles-recommandes-section .swiper-slide {
    height: auto;
    flex-shrink: 0;
}

.articles-recommandes-section .actualite-item {
    width: 100%;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 767px) {

    /* Le slider prend toute la largeur */
    .articles-recommandes-section .slider-container {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        gap: 30px;
    }

    /* Navigation sous le slider en mobile */
    .articles-recommandes-section .slider-navigation {
        order: 2;
        justify-content: center;
    }

    .articles-recommandes-section .actualites-slider {
        order: 1;
    }

    .articles-recommandes-section .actualite-item {
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    .articles-recommandes-section .actualite-item:hover {
        cursor: pointer;
    }

    .articles-recommandes-section .swiper-slide {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}