/**
* Block Name: bild
*/

section.bild {
  height: 100%;
}

section.bild .image_wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 620px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

section.bild .image_wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-grow: 1;
}

section.bild .caption {
  background: var(--waldgrun);
  padding: 8px;
  color: var(--alabaster);
  text-align: left;
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  flex-shrink: 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media (max-width: 767px) {
  section.bild .image_wrapper {
    min-height: 580px;
  }
}
