/* 
=====================================================
    TABLE OF CONTENTS - WORK-DETAILS.CSS
=====================================================
    1.  Main Layout (Columns)
    2.  Left Column (Image)
    3.  Right Column (Info & Description)
=====================================================
*/

/* 
=====================================================
    1. Main Layout (Columns)
=====================================================
*/
.work-details-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding: 0 4rem 4rem 4rem;
  /* On pousse la section vers le bas pour ne pas qu'elle soit cachée par la nav fixe */
  /* padding-top: calc(82px + 4rem); */
}

/* 
=====================================================
    2. Left Column (Image)
=====================================================
*/
.details-col-left {
  width: 100%;
  height: 100%;
}

.project-image-placeholder {
  width: 100%;
  height: 100%; /* On remplit toute la hauteur de la colonne */
  min-height: 60vh;

  background-color: #e0e0e0;
  border: 1px solid var(--My-gray-Stroke);
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--My-gray-Text);
  font-family: var(--font-mono);

  overflow: hidden;
  border-radius: 4px;
}

.project-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 
=====================================================
    3. Right Column (Info & Description)
=====================================================
*/
.details-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.details-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.details-header .list-work-title {
  /* Récupère la taille et la police de list-work-title, 
     on reset juste quelques comportements spécifiques */
  white-space: normal;
  transform: none;
}

.project-description {
  font-family: var(--font-mono);
  font-size: var(--font-size-body);
  line-height: var(--body-height);
  max-width: 40ch;
  text-wrap: balance;
}

/* Conteneur pour la Description + le Tableau en bas */
.details-bottom-group {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Surcharges du tableau pour la vue détails */
.work-row {
  color: var(--My-gray-Text);
}

.work-row:first-child {
  padding-top: 1rem;
  border-top: 1px solid var(--My-gray-Stroke);
}


#btn-back-to-work {
  /* display: block;      
  width: fit-content;    */
  margin-top: calc(82px + 4rem);
  /* margin-left: auto;     */
  margin-left: 4rem;   
  margin-bottom: 2rem;
}