/* Pagination (points de navigation) du slider */
.block-slider-actualites .splide__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 30px 0;
    padding: 0;
    list-style: none;
}

.block-slider-actualites .splide__pagination__page {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    transition: background 0.2s;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.block-slider-actualites .splide__pagination__page.is-active {
    background: #101011;
}

/* Toute la news-card est cliquable */
.block-slider-actualites .news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Bloc Slider Actualités */
.block-slider-actualites {
    padding: 100px 0;
}

.block-slider-actualites .slider-wrapper {
    margin-top: 50px;
}

/* Style du slider */
.block-slider-actualites .splide {
    position: relative;
}

.block-slider-actualites .splide__track {
    overflow: hidden;
}

.block-slider-actualites .splide__list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.block-slider-actualites .splide__slide {
    min-width: 0;
    flex: 0 0 auto;
    width: 100%;
}

/* Carte d'actualité */
.block-slider-actualites .news-card {
    display: flex;
    flex-direction: row;
    gap: 50px;
    width: 100%;
    position: relative;
    align-items: center;
    overflow: hidden;
    padding-bottom: 100px;

    @media (max-width: 992px) {
        padding-bottom: 50px;
    }
}

.block-slider-actualites .news-card .news-image {
    display: flex;
    gap: 10px;
    height: 300px;
    padding: 20px;
    position: relative;
    width: 480px;
    overflow: hidden;
    border-radius: 0;
    flex-shrink: 0;
}

.block-slider-actualites .news-card .news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.block-slider-actualites .news-image-placeholder {
    width: 100%;
    height: 100%;
}

.block-slider-actualites .news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}



.block-slider-actualites .news-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.block-slider-actualites .news-tag {
    backdrop-filter: blur(3.4px);
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.319;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 0;
}

/* Contenu de la carte */
.block-slider-actualites .news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
}

.block-slider-actualites .news-text {
    width: 100%;
    padding: 14px 0;
}

.block-slider-actualites .news-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: normal;
    color: #101011;
    margin: 0 0 10px 0;
}

.block-slider-actualites .news-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 108.22%;
    color: #101011;
    margin: 0;
}

/* Bouton CTA */
.block-slider-actualites .news-cta {
    margin-top: 26px;
}

.block-slider-actualites .btn-discover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    padding: 0 47px;
    background: rgba(16, 16, 17, 0.04);
    border: 3px solid #101011;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    position: relative;
    text-decoration: none;
    color: #101011;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 4.2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.block-slider-actualites .btn-discover::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 0;
    height: 47px;
    background: rgba(242, 126, 0, 0.09);
    transition: width 0.3s ease;
}

.block-slider-actualites .btn-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 0;
    background: #f27e00;
    transition: height 0.3s ease;
}

.block-slider-actualites .btn-discover:hover::before {
    width: calc(100% - 6px);
}

.block-slider-actualites .btn-discover:hover .btn-line {
    height: 100%;
}

/* Séparateur */
.block-slider-actualites .news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(16, 16, 17, 0.16);
}

/* Footer du slider */
.block-slider-actualites .slider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 57px;
}

.block-slider-actualites .slider-controls {
    display: flex;
    gap: 47px;
    align-items: center;
}

/* Flèches de navigation */
.block-slider-actualites .splide__arrow {
    background: none;
    border: none;
    width: 10px;
    height: 5px;
    cursor: pointer;
    padding: 7px;
    color: #101011;
    transition: opacity 0.3s ease;
}

.block-slider-actualites .splide__arrow--prev {
    transform: rotate(90deg);
}

.block-slider-actualites .splide__arrow--next {
    transform: rotate(270deg);
}

.block-slider-actualites .splide__arrow:hover {
    opacity: 0.7;
}

.block-slider-actualites .splide__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.block-slider-actualites .splide__arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Pagination */
/* .block-slider-actualites .splide__pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 1px 0 0;
}

.block-slider-actualites .splide__pagination__page {
    background: none;
    border: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    opacity: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.319;
    color: #101011;
    cursor: pointer;
    text-decoration: none;
}

.block-slider-actualites .splide__pagination__page.is-active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 17%;
} */

/* Lien "Voir toutes nos innovations" */
.block-slider-actualites .view-all-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.319;
    color: #101011;
    text-decoration: underline;
    text-underline-offset: 25%;
    transition: opacity 0.3s ease;
}

.block-slider-actualites .view-all-link:hover {
    opacity: 0.7;
    color: #101011;
}

/* Message d'attente */
.block-slider-actualites .no-news-message {
    text-align: center;
    padding: 50px 0;
    color: #888888;
}

.block-slider-actualites .no-news-message p {
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .block-slider-actualites {
        padding: 50px 0;
    }

    .block-slider-actualites .slider-wrapper {
        margin-top: 50px;
    }

    .block-slider-actualites .news-card {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .block-slider-actualites .news-card .news-image {
        height: 250px;
        max-width: 480px
    }

    .block-slider-actualites .news-text h3 {
        font-size: 25px;
    }

    .block-slider-actualites .news-text p {
        font-size: 14px;
    }

    .block-slider-actualites .slider-footer {
        flex-direction: column;
        gap: 20px;
    }

    .block-slider-actualites .slider-controls {
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .block-slider-actualites .news-card .news-image {
        height: 200px;
        padding: 15px;
    }


    .block-slider-actualites .btn-discover {
        padding: 0 30px;
        font-size: 12px;
        letter-spacing: 3px;
    }
}