.grid {
  display: grid;
  position: absolute;
  left: 0;
  right: 0;
  top: 18vh;
  list-style: none;
  grid-gap: 0rem;
  margin-top: 0;
  line-height: 0;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
}

.grid li {
  position: relative;
  --cols: 1;
  --rows: 1;
  overflow: hidden;
  line-height: 0;
}

.gridbox {
  position: relative;
  display: block;
  height: 10rem;
  padding-bottom: 80%;	
}

.gridbox img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}

.grid figcaption {
  position: absolute;
  left: 5vw;
  bottom: 3rem;
  margin-top: 1.5rem;
  line-height: 1;
  text-align: center;
  font-size: 2.5rem;
  color: #000;
  z-index: 550
}


@media screen and (max-width: 1024px) {
.grid {
  top: 22vh;
}

.gridbox {
  padding-bottom: 60%;	
}

.grid figcaption {
    font-size: 1.8rem;
}
}

.gridcover {
	z-index: 500;
	pointer-events: none;
	
}


.lightgallery a:first-child { display: block }
.lightgallery.burn img:first-child { opacity: 0 }
.lightgallery a{ display: none } 



@media screen and (min-width: 45em) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid li {
    grid-column-start: span var(--cols);
    grid-row-start: span var(--rows);
  }
  .grid a {
  }
}
