/* ---------- PROJECT PICTURES CSS ---------- */

/* Common: ensure all images scale nicely */
.project-pictures img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 85px);
    object-fit: cover;
    border-radius: 6px;
}

/* 1.1 FULL WIDTH IMAGE */
.image-full {
    width: 100%;
    margin-bottom: 20px; /* spacing below each section */
}

/* 1.2 FULL WIDTH VIDEO */
.image-full video {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 85px);
    object-fit: cover;
    border-radius: 3px;
}

/* 2. TWO-COLUMN GRID */
.image-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.image-two img {
    width: 100%;
    height: auto;
}

/* 3. SINGLE PORTRAIT CENTERED */
.image-portrait {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    margin-bottom: 20px;
}

.image-portrait img {
    grid-column: 2 / 3;
    width: auto;
    height: auto;
    max-width: 100%;
}

/* 4. TEXT BLOCK */
.text-block {
    font-size: 24px;
    font-weight: 400;
    padding: 30px 0;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 900px;
}

/* ----------------- RESPONSIVE ----------------- */
@media (max-width: 768px) {
    .image-two {
        grid-template-columns: 1fr;
    }
    .image-portrait {
        grid-template-columns: 1fr;
    }
    .project-pictures .image-portrait img{
        max-height: none;
    }
}

/* -------------- RESPONSIVE  TEXT -------------- */
@media screen and (max-width: 768px) {
    .text-block {
      font-size: 18px;
      line-height: 1.5;
    }
}



/* Latrompette project responsive image */
.latrompette-hero picture,
.latrompette-hero img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 85px);
    border-radius: 3px;
}

.latrompette-image picture,
.latrompette-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 85px);
  object-fit: cover;
  border-radius: 3px;
}