header.page {
    z-index: 2;
    position: sticky;
    top: var(--headerH);
    background: #fff;
}

header.page * {
    transition: all var(--hover-delay) var(--cubic-bezier);
}

header.page .sous_titre_page {
    transition: opacity var(--hover-delay) var(--cubic-bezier), font-size var(--hover-delay) var(--cubic-bezier);
}

.scrolled .titre_page {
    font-size: 2.5rem;
}

.scrolled .sous_titre_page {
    font-size: 0rem;
    opacity: 0;
}


/* correction rubriques */
.scrolled .rubriques {
    padding: 20px 0;
}

.rubriques {
    padding: 0 0 20px 0;
    --headerH: 120px;
    /* width: 20%; */
}


/* recherche */
.barre_recherche {
    margin-bottom: 20px;
}

.barre_recherche__input,
.barre_recherche__input:focus {
    width: 100%;
}

.noresult {
    position: absolute;
    left: 0;
    width: 100vw;
    text-align: center;
    margin-top: 40px;
    color: var(--main-color);
}

/* article */
.archives {
    /* flex: 4; */
    width: 75%;
    margin-bottom: var(--marge);
    --color: var(--main-color);
}

.projet {
    display: block;
    position: relative;
    color: var(--color);
    border-top: var(--border-width) solid var(--color);
    padding-top: 4px;
    padding-bottom: 20px;
    opacity: 1;
    transition: all var(--move-delay) var(--cubic-bezier);
    transition-property: padding-top, padding-bottom, min-height, opacity;
}

.projet .texte {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
}

.projet .texte .titre {
    flex: 2;
}

.projet .texte .informations {
    flex: 1;
}

.projet .texte .description {
    flex: 2;
}

.projet .images {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    height: 300px;
    overflow-x: auto;
}

.projet .images img {
    height: 100%;
    width: auto;
}

.projet:last-child,
.projet.last {
    border-bottom: var(--border-width) solid var(--color);
}

.projet.off {
    min-height: 0;
    height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    border-width: 0px;
}

.projet:hover {
    cursor: pointer;
    color: var(--hover);
    border-color: var(--hover);

    color: color-mix(in oklab, var(--color) var(--mix-percent), var(--mix-color));
    border-color: color-mix(in oklab, var(--color) var(--mix-percent), var(--mix-color));
}


/* contenu cellule projet */
.projet>* {
    flex: 4;
}

.projet .date {
    flex: 1;
}

.projet .lieu-camarade {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projet .titre {
    font-family: var(--display_lucky);
    text-transform: uppercase;
}

@media (max-width : 600px) {
    header.page {
        position: static;
    }

    .projet {
        flex-direction: column;
    }

    .projet .lieu-camarade {
        /* flex-direction: row;
        justify-content: start; */
        gap: 10px;
    }
}