.instagram-feed {
    padding: 70px 0 100px;
    background-color: #fff;
    overflow: hidden;
}

/* En-tête du module */
.instagram-feed__header {
    margin-bottom: 40px;
}

.instagram-feed__title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: rgba(13, 19, 35, 0.9);;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

.instagram-feed__follow-link {
    color: #e9bc40;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    margin-top: 15px;
    text-align: center;
}

#footer a.instagram-feed__follow-link:hover {
    color: #A7190F;
}

.instagram-feed .instagram-icon {
    margin: 0 auto 20px;
    display: block;
    width: 24px;
    height: 24px;
    color: #e9bc40;
}

/* Grille de photos */
.instagram-feed__grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1200px) {
    .instagram-feed__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .instagram-feed__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .instagram-feed__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instagram-feed__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Élément de la grille */
.instagram-feed__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    flex: 1;
}

.instagram-feed__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.instagram-feed__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay au survol */
.instagram-feed__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 19, 35, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    text-align: center;
}

.instagram-feed__link:hover .instagram-feed__media {
    transform: scale(1.1);
}

.instagram-feed__link:hover .instagram-feed__overlay {
    opacity: 1;
}

.instagram-feed__post-title {
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.instagram-feed__post-description {
    color: #e9bc40;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 20px;
}

.instagram-feed__read-more {
    margin-top: 20px;
    text-decoration: underline;
    position: relative;
}

.instagram-feed__read-more .external-link {
    top: -5px;
    right: -13px;
}

.instagram-feed__hover-icon {
    color: #ffffff;
    margin-top: 10px;
    opacity: 0.8;
}

/* Icône de lecture pour les vidéos */
.instagram-feed__play-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.instagram-feed__play-icon:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #0D1323;
    margin-left: 3px;
}

/* CTA */
.instagram-feed__cta {
    text-align: center;
    margin-top: 20px;
}

.btn-instagram {
    background-color: #e9bc40;
    color: rgba(13, 19, 35, 0.9);;
    border: 2px solid #e9bc40;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 20px 13px!important;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-instagram:hover {
    background-color: transparent;
    color: #e9bc40;
}

/* Styles pour le carousel Instagram */
.instagram-feed__carousel-container {
    position: relative;
    padding: 0 30px;
}

.instagram-feed__carousel {
    margin: 0 -10px;
}

.instagram-feed__carousel .slick-track {
    display: flex;
    align-items: center;
}

.instagram-feed__carousel .instagram-feed__item {
    padding: 0 10px;
    box-sizing: border-box;
}

/* Flèches de navigation */
.instagram-feed__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    color: rgba(13, 19, 35, 0.9);;
    transition: all 0.3s ease;
}

.instagram-feed__arrow svg {
    width: 40px;
    height: 40px;
}

.instagram-feed__arrow:hover {
    /* background-color: #e9bc40; */
    color: #e9bc40;
}

.instagram-feed__arrow--prev {
    left: -30px;
}

.instagram-feed__arrow--next {
    right: -30px;
}

/* Ajustements responsifs */
@media (max-width: 767px) {
    .instagram-feed__carousel-container {
        padding: 0 20px;
    }
}

.instagram-feed__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	display: block;
	margin-bottom: 14px;
}

@media (max-width: 1199px) {

    .instagram-feed__arrow svg {
        width: 30px;
        height: 30px;
    }

}

@media (max-width: 599px) {

    .instagram-feed__title {
        font-size: 2rem;
    }

    .instagram-feed__follow-link {
        margin-top: 10px;
        font-size: 1.3rem;
    }

.instagram-feed__carousel .instagram-feed__item {
	padding: 4px;
}



}