/* ========================================
   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);
}

.key-words {
    grid-column: 7 / 8;
    grid-row: 2 / 4;
    line-height: var(--line-height);
}

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

.project-images {
    grid-column: 1 / 9;
    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 */
}

/* 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: var(--border-radius);
}

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

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