/* Style centralisé pour les fiches ressources mutualisées */

.card-article {
    background-color: #e7eef5 !important;
}

.card-article .card-title, 
.card-article h2, 
.card-article h3 {
    color: #0d1b2a !important;
    font-weight: 700 !important;
}

.card-article .card-subtitle {
    color: #495057 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.card-article .card-text {
    color: #212529 !important;
}

/* Utilitaires Lightbox */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.custom-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white; font-size: 40px; font-weight: bold; cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%; width: 100%;
    display: flex; justify-content: space-between;
    padding: 0 20px; color: white; font-size: 40px; cursor: pointer;
    pointer-events: none;
}
.lightbox-nav span { 
    pointer-events: auto; 
    background: rgba(0,0,0,0.3); 
    padding: 0 15px; 
    border-radius: 5px; 
}
