#hero-medias {
    background: url("../img/press-banner.jpg") center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
}

/* â Liste des articles */
#articles {
    text-align: center;
    padding: 50px;
}

/* â Conteneur des articles */
.articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
}


/* â Style des articles */
.article {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* â Images des articles */
.article img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* â Titre des articles */
.article h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.article p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.article-author {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    font-weight: bold;
    display: block;
}

.article-author a {
    text-decoration: none;
    color: #E81E6F;
    font-weight: bold;
}

.article-author a:hover {
    text-decoration: underline;
}



/* â Popup pour afficher les articles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    max-width: 600px;
    text-align: justify;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 80vh; 
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    color: #000;
}


/* âÂÂÂÂÂÂÂÂ Section Vidéos */
#videos {
    text-align: center;
    padding: 50px;
}

/* âÂÂÂÂÂÂÂÂ Conteneur des vidéos */
.videos-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* âÂÂÂÂÂÂÂÂ Espacement entre les vidéos */
    flex-wrap: wrap; /* âÂÂÂÂÂÂÂÂ Permet d'aller en ligne sur mobile */
}

/* âÂÂÂÂÂÂÂÂ Vidéo individuelle */
.video-item {
    max-width: 350px;
    text-align: center;
}

/* âÂÂÂÂÂÂÂÂ Uniformisation des tailles des vidéos */
.video-item video {
    width: 100%;
    height: 200px; /* âÂÂÂÂÂÂÂÂ Même hauteur pour toutes les vidéos */
    border-radius: 8px;
}

/* âÂÂÂÂÂÂÂÂ Titre et Auteur des vidéos */
.video-title {
    font-weight: bold;
    margin-top: 8px;
}

.video-author {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* âÂÂÂÂÂÂÂÂ Lien vers l'auteur de la vidéo */
.video-author a {
    text-decoration: none;
    color: #E81E6F; /* âÂÂÂÂÂÂÂÂ Couleur dynamique */
    font-weight: bold;
}

.video-author a:hover {
    text-decoration: underline;
}

#videos h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* âÂÂÂÂÂÂÂÂ Section Mise en avant */
#highlight {
    text-align: center;
    padding: 50px;
    background: #E81E6F;
    color: white;
    font-style: italic;
    font-size: 24px;
}

blockquote {
    margin: 0 auto;
    max-width: 600px;
}

/* âÂÂÂÂÂÂÂÂ Bouton "Lire l’article" */
.btn-read {
    background: #E81E6F; /* Couleur dynamique */
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 15px; /* âÂÂÂÂÂÂÂÂ Ajout de l'espace en haut du bouton */
}

.btn-read:hover {
    background: #C7165A; /* Teinte plus foncée au survol */
    transform: scale(1.05);
}

#article-popup {
    display: flex !important; /* ðÂÂ¥ Affiche la popup en permanence */
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* âÂÂÂÂÂÂÂÂ Format Mobile */
@media (max-width: 768px) {
  

    .hero-content {
        width: 90%;
    }

 


    .btn-read {
        width: 100%;
    }
    
  

    /* âÂÂÂÂÂÂÂÂ Ajustement des vidéos pour mobile */
    .videos-container {
        flex-direction: column;
        align-items: center;
    }

    .video-item {
        width: 90%;
        max-width: 100%;
    }

    .video-item video {
        height: auto;
    }
    
  
    #hero-medias {
        height: 35vh;
        font-size: 20px;
    }

    .articles-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .article {
        max-width: 100%;
        padding: 15px;
    }

    .popup-content {
        width: 80%;
    }
}
}
