section{
    --colonnage: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;

    div{
        display: flex;
        flex-direction: column;
        gap: var(--baseline);

        ul{
            width: 100%;
            list-style-position: inside;
            display: flex;
            flex-direction: column;
        }

        /* img {
            width: 100%;
            max-height: 50vh;
            object-fit: cover;
            object-position: center;
        } */
    }

    #print {
        grid-column: -2 / -1;
        position: sticky;
        bottom: calc(var(--baseline) * 4);
        align-self: end;
        padding: calc(var(--baseline) * 2);
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* image/carrousel */

.single-image{
    position: relative;
    margin-top: var(--hauteur-ligne_moyenne);

    img, video{
        width: 100%;
    }
}

.carrousel{
    position: relative;
    margin-top: var(--hauteur-ligne_moyenne);

    .skip{
        position: absolute;
        height: 100%;
        width: 50%;
    }

    .left{
        left: 0;
        cursor: w-resize;
    }

    .right{
        right: 0;
        cursor: e-resize;
    }

    .figure-container{
        display: flex;
        flex-direction: row;
        overflow-x: hidden;

        figure{
            width: 100%;
            flex-shrink: 0;
            display: none;

            &.on{
                display: block;
            }

            img, video{
                display: block;
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }
}

/*-------------------------------------------------------------------------*/

@media (max-width: 1080px) {

    #print {
        grid-column: 1 / -1;
        justify-self: center;
        position: sticky;
        bottom: calc(var(--baseline) * 2);
        z-index: 10;
    }
}

/*-------------------------------------------------------------------------*/

@media (max-width: 768px) {

}
