/* ========================================
   PROJECT.CSS - REFACTORISÉ
   ======================================== */

/* ---- INFORMATIONS PROJET ---- */


.project-number {
    grid-column: 2 / 2;
    grid-row: 2 / 3;
}

.project-title {
    grid-column: 3 / 3;
    grid-row: 2 / 3;
}

.project-description {
    grid-column: 4 / 7;
    grid-row: 2 / 4;
    line-height: var(--line-height);
}

.project-number span,
.project-title span,
.project-description span {
    line-height: var(--line-height);
}


/* ---- MOTS-CLÉS ---- */

.key-words {
    grid-column: 7 / 8;
    grid-row: 2 / 4;
    line-height: var(--line-height);
    display: flex;
    flex-direction: column;
    /* row-gap: 20px; */
}

.key-words p {
    display: flex;
    flex-direction: column;
    line-height: var(--line-height);
}

/* ---- GALERIE IMAGES ---- */

.project-images {
    grid-column: 2 / 9; /* Commence à la colonne 2 au lieu de 1 */
    grid-row: 4 / 8;
    display: flex;
    flex-direction: row;
    gap: var(--gap-small);
    overflow-x: auto;
    overflow-y: hidden;
    
    /* Masque la scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE et Edge */

    /* Curseur pour indiquer la zone scrollable */
    cursor:ew-resize;
}

.project-images:active {
    cursor: grabbing;
}

/* Masque la scrollbar pour Chrome, Safari et Opera */
.project-images::-webkit-scrollbar {
    display: none;
}

/* Médias dans la galerie */
.project-images video,
.project-images img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
}

/* ---- TYPOGRAPHIE PROJET ---- */

.project-title span,
.project-number span {
    padding: 2px 0;
    line-height: var(--line-height);
}

.bold {
    color: rgb(166, 166, 166);
}

.project-description a {
    text-decoration: underline;
}
