/* ===== V62: client project-photo updates ===== */
.project-v62-client .project-v62-mini-pair{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:min(64%,760px);
  margin:8px auto 0;
}
.project-v62-client .project-v62-mini-figure{
  margin:0;
  overflow:hidden;
  background:#eef2f5;
}
.project-v62-client .project-v62-mini-figure img{
  display:block;
  width:100%;
  aspect-ratio:1.55/1;
  object-fit:cover;
}

/* Museum: aerial + corridor as a balanced pair, with stairs as a wide architectural detail beneath. */
.project-v62-client .project-v62-museum-gallery .project-v48-gallery{
  display:grid!important;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  align-items:start;
  gap:clamp(18px,2vw,30px);
}
.project-v62-client .project-v62-museum-gallery figure{width:100%!important;margin:0!important}
.project-v62-client .project-v62-museum-gallery figure:nth-child(1) img,
.project-v62-client .project-v62-museum-gallery figure:nth-child(2) img{
  width:100%;
  height:min(48vw,650px);
  object-fit:cover;
}
.project-v62-client .project-v62-museum-gallery figure:nth-child(3){
  grid-column:1/-1;
  width:min(88%,1100px)!important;
  justify-self:center;
}
.project-v62-client .project-v62-museum-gallery figure:nth-child(3) img{
  width:100%;height:auto;object-fit:contain;
}

/* Ryanair: interior photograph + original structural model beneath the hero photo. */
.project-v62-client .project-v62-ryanair-gallery .project-v48-gallery{
  display:grid!important;
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)!important;
  align-items:center;
  gap:clamp(18px,2vw,30px);
}
.project-v62-client .project-v62-ryanair-gallery figure{
  width:100%!important;
  margin:0!important;
  background:transparent;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
}
.project-v62-client .project-v62-ryanair-gallery figure:first-child img{
  display:block;
  width:100%;
  height:auto!important;
  max-height:620px;
  object-fit:contain!important;
}
.project-v62-client .project-v62-ryanair-gallery figure:last-child img{
  display:block;
  width:100%;
  height:auto!important;
  max-height:none;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Confidential Stargard sketch should read like a technical plate, not a stretched photograph. */
.project-v62-client .project-v62-sketch{
  width:min(100%,1080px);
  margin-left:auto!important;
  margin-right:auto!important;
  background:#fff;
}
.project-v62-client .project-v62-sketch img{
  display:block;width:100%;height:auto!important;object-fit:contain!important;
}

@media(max-width:760px){
  .project-v62-client .project-v62-mini-pair{width:100%;grid-template-columns:1fr 1fr;gap:10px}
  .project-v62-client .project-v62-museum-gallery .project-v48-gallery,
  .project-v62-client .project-v62-ryanair-gallery .project-v48-gallery{grid-template-columns:1fr!important}
  .project-v62-client .project-v62-museum-gallery figure:nth-child(3){grid-column:1;width:100%!important}
  .project-v62-client .project-v62-museum-gallery figure:nth-child(1) img,
  .project-v62-client .project-v62-museum-gallery figure:nth-child(2) img{height:auto;max-height:none;object-fit:contain}
}


/* v130 — Mercure Katowice gallery: keep the vertical facade image, replace the
   duplicated crop with the wider Katowice-context photograph. Scoped only to Mercure. */
.project-v62-client .project-v130-mercure-gallery .project-v48-gallery{
  display:grid!important;
  grid-template-columns:minmax(0,.40fr) minmax(0,.60fr)!important;
  align-items:end;
  gap:clamp(18px,2vw,30px);
}
.project-v62-client .project-v130-mercure-gallery .project-v48-gallery figure{
  width:100%!important;
  margin:0!important;
  background:transparent;
  overflow:visible;
}
.project-v62-client .project-v130-mercure-gallery .project-v48-gallery img{
  display:block;
  width:100%;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}
@media(max-width:640px){
  .project-v62-client .project-v130-mercure-gallery .project-v48-gallery{
    grid-template-columns:1fr!important;
    align-items:start;
    gap:16px;
  }
}
