/* ============================================================
   blog-slider.css — Flèches de défilement pour le blog
   ============================================================ */

/* Navigation du blog */
.blog-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-arrow:hover {
    background: var(--yellow-dark);
    transform: scale(1.1);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 0;
}

.blog-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    
    .blog-card {
        scroll-snap-align: start;
        min-width: 100%;
    }
}
