/* ── AKMD Instagram Carousel ─────────────────────────── */

.akmd-insta-carousel { width: 100%; }

.akmd-insta-track-wrap {
    position: relative;
    overflow: hidden;
}

.akmd-insta-track {
    display: flex;
    transition: transform 0.35s ease;
}

.akmd-insta-item {
    flex: 0 0 20%;
    box-sizing: border-box;
    padding: 2px;
}

.akmd-insta-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* Flèches */
.akmd-insta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    color: #C00;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}
.akmd-insta-arrow:hover { background: rgba(0, 0, 0, 0.75); }
.akmd-insta-arrow:disabled { opacity: 0.25; cursor: default; }
.akmd-insta-prev { left: 4px; }
.akmd-insta-next { right: 4px; }

/* Bouton */
.akmd-insta-btn-wrap { text-align: center; margin-top: 8px; }

.akmd-insta-btn {
    display: inline-block;
    padding: 7px 18px;
    background: #333;
    color: #C00;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
}
.akmd-insta-btn:hover { background: #999; color: #C00; }

/* Responsive */
@media (max-width: 1024px) { .akmd-insta-item { flex: 0 0 33.333%; } }
@media (max-width: 767px)  { .akmd-insta-item { flex: 0 0 50%; } }
@media (max-width: 480px)  { .akmd-insta-item { flex: 0 0 100%; } }