/* ═══════════════════════════════════════════════════════════════
   Casa Buenaventura / Vitacura — ajustes propios de ESTA ficha.
   Se carga DESPUÉS de css/proyecto.css (plantilla compartida).
   La galería es toda de fotos verticales: cada fila se adapta al
   retrato (sin recortar).
   ═══════════════════════════════════════════════════════════════ */

/* ─── Ver más: proporción de cada fila (generado) ───────────── */
/* --r define ancho (flex) Y alto (aspect-ratio) a la vez: si no
   coincide con la proporción real del archivo, la fila queda
   despareja. Solo se emparejan imágenes de la MISMA proporción;
   la que no tiene par va sola a ancho completo. */
/* Fila 5: cocina horizontal sola, a ancho completo (--full). */
.proyecto-more__row:nth-child(1) > :nth-child(1) { --r: 0.7793; }
.proyecto-more__row:nth-child(1) > :nth-child(2) { --r: 0.7793; }
.proyecto-more__row:nth-child(2) > :nth-child(1) { --r: 0.75; }
.proyecto-more__row:nth-child(2) > :nth-child(2) { --r: 0.75; }
.proyecto-more__row:nth-child(3) > :nth-child(1) { --r: 0.7793; }
.proyecto-more__row:nth-child(3) > :nth-child(2) { --r: 0.7793; }
.proyecto-more__row:nth-child(4) > :nth-child(1) { --r: 0.7793; }
.proyecto-more__row:nth-child(4) > :nth-child(2) { --r: 0.7793; }
.proyecto-more__row:nth-child(6) > :nth-child(1) { --r: 0.75; }
.proyecto-more__row:nth-child(6) > :nth-child(2) { --r: 0.75; }
.proyecto-more__row:nth-child(7) > :nth-child(1) { --r: 0.6671; }
.proyecto-more__row:nth-child(7) > :nth-child(2) { --r: 0.6671; }
.proyecto-more__row:nth-child(8) > :nth-child(1) { --r: 0.75; }
.proyecto-more__row:nth-child(8) > :nth-child(2) { --r: 0.75; }
.proyecto-more__row:nth-child(9) > :nth-child(1) { --r: 0.7; }
.proyecto-more__row:nth-child(9) > :nth-child(2) { --r: 0.7; }
.proyecto-more__row:nth-child(10) > :nth-child(1) { --r: 0.7; }
.proyecto-more__row:nth-child(10) > :nth-child(2) { --r: 0.7; }
/* ─── fin Ver más ─────────────────────────────────────────── */

/* Filas 9 y 10 mezclan 0.78 y 0.67 (y la 6, 0.749 y 0.75): se igualan
   recortando apenas los costados, así el par queda del mismo ancho y alto. */
.proyecto-more__row:nth-child(6) img,
.proyecto-more__row:nth-child(9) img,
.proyecto-more__row:nth-child(10) img {
  object-fit: cover;
}

/* En teléfono (1 foto por fila) no hay par que igualar: proporción real. */
@media (max-width: 600px) {
  .proyecto-more__row:nth-child(6) img,
  .proyecto-more__row:nth-child(9) img,
  .proyecto-more__row:nth-child(10) img { aspect-ratio: auto; }
}
