.lightbox {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);/* ¡Usamos 1fr para alturas iguales! */
    gap: 10px;
  }
  
  .lightbox .image {
    width: 100% !important;
    height: 100% !important ;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lightbox .image:hover img{
      transform:scale(1.1);
  } 
  .lightbox .image img {
    transition:.5s all;
    display: block !important;
  }
  .lightbox .image a{
      width:100%;
      height:100%;
  }
  .lightbox .image:nth-child(1) { grid-column: span 3; grid-row: span 3; aspect-ratio: 1 / 1;}
  .lightbox .image:nth-child(2) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1 / 1;}
  .lightbox .image:nth-child(3) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1;}
  .lightbox .image:nth-child(4) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1 / 1;}
  .lightbox .image:nth-child(5) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1;}
  .lightbox .image:nth-child(6) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1 / 1;}
  .lightbox .image:nth-child(7) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1;}
  .lightbox .image:nth-child(8) { grid-column: span 3; grid-row: span 3; aspect-ratio: 1 / 1;}