
section.slideshow {
  display: grid;
  grid-template-columns: 4fr 2fr 4fr 0fr 0fr 0fr;
  gap: 0;

  width: 100%;

  cursor: e-resize;

  /*padding: 1rem 0.5rem;*/

  transition: grid-template-columns 0.4s;
 
 /* overflow:hidden;*/
}

section.slideshow div {
  overflow: hidden;

  opacity: 1;
  transition: opacity 0.4s;
}

section.slideshow div.hide {
  opacity: 0;
}

section.slideshow img {
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}

section.slideshow figure {
  width: 100%;
  padding: 0 0.5rem;
}

section.slideshow figcaption {
  max-width: 10rem;
  margin: 0.25rem 0 0 0;
}
