/* Slider mobile uniquement */
@media (max-width: 767px) {

    .kb-posts.grid-sm-col-3 {
        display: block;
        position: relative;
        background: #f7f5f4;
        padding: 1rem 0 1.5rem;
    }

    /* Cache les catégories */
    .kb-posts.grid-sm-col-3 .kb-post-list-item .entry-taxonomies {
        display: none !important;
    }

    /* Photo presque pleine largeur */
    .kb-posts.grid-sm-col-3 .kb-post-list-item {
        padding: 0 8px;
        box-sizing: border-box;
    }

    .kb-posts.grid-sm-col-3 .post-thumbnail {
        display: block;
        width: 100%;
    }

    .kb-posts.grid-sm-col-3 .post-thumbnail img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Titre */
    .kb-posts.grid-sm-col-3 .entry-header {
        background: transparent !important;
        padding: 0.75rem 0 0;
        text-align: center;
    }

    .kb-posts.grid-sm-col-3 .entry-title {
        font-size: 1.2rem !important;
        text-align: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    .kb-posts.grid-sm-col-3 .entry-title a {
        color: #333 !important;
        text-decoration: none !important;
    }

    .kb-posts.grid-sm-col-3 .entry-content-wrap {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .kb-posts.grid-sm-col-3 .content-bg {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Flèches blanches, moitié sur le bord */
.tcd-slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,1) !important;
    border: none !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    outline: none !important;
}

    .tcd-slider-arrow:hover,
.tcd-slider-arrow:focus,
.tcd-slider-arrow:active {
    background: rgba(255,255,255,1) !important;
    box-shadow: none !important;
    outline: none !important;
}

    .tcd-slider-arrow svg {
    width: 22px;
    height: 22px;
    color: #555;
}

   /* Moitié dedans moitié dehors */
.tcd-slider-arrow.prev { left: -12px; }
.tcd-slider-arrow.next { right: -12px; }


/* Desktop/tablet — tout normal */
@media (min-width: 768px) {
    .tcd-slider-arrow,
    .tcd-slider-dots {
        display: none !important;
    }

    .kb-posts.grid-sm-col-3 .kb-post-list-item {
        display: list-item !important;
    }
}