@import url('style.css');

.box h2 {
    position: relative;
    padding-bottom: 12px;
}

.box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #a8d0e6, #f8b88b);
    border-radius: 2px;
}

/* --- Titres dans les boîtes --- */
.box-title {
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
    font-size: 1.8rem;
}

/* --- Affichage côte à côte des images --- */
.images-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.images-container img {
    width: 50%; /* Chaque image occupe environ la moitié de la largeur */
    height: auto;
    border-radius: 8px;
    cursor: pointer; /* Indique que l'image est cliquable */
}

/* --- Style de la lightbox --- */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 60%;
    max-height: 60%;
    border-radius: 8px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Style de la note (footnote) --- */
.footnote {
    text-align: left;
    font-size: 0.9rem;
    margin-top: 10px;
    /* La note bénéficiera du padding interne de la box pour être alignée à gauche */
}

.footnote p {
    margin: 0;
}

.content {
    margin-top: 0 !important;
}

.content {
    margin-top: 90px !important;
}


