.gallery-03 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
    gap: .5em;
    grid-auto-flow: dense;
}

.gallery-03 figure {
    border: thin solid #ccc;
	position: relative;	
	margin: 0;   /* figure hat sonst einen browsereigenen Abstand! */
    counter-increment: posMarkup;	
}
.gallery-03 figure.landscape {
    grid-column-end: span 2;
}

.gallery-03 figure.panorama {
    grid-column-end: span 3;
}

.gallery-03 figure img {
   display: block;
   object-fit: cover;
   width: 100%;
   height: 100%;
}

.gallery-03 figure::after {
  position: absolute;
  bottom: 0;
  left: 0.2em;
  color: red;
  font-size: 2em;
}
figcaption {
  background-color: transparent;
  color: black;
  font: italic smaller sans-serif;
  padding: 3px;
  text-align: center;
}

