.imageSliderBlock {
  position: relative;
  padding-top: 56%;
  background: var(--color-black);
  color: var(--color-goldenBeige);
  margin: calc(var(--spacing-sitepadding-block)*2) calc(var(--spacing-sitepadding-inline)*-1) var(--spacing-sitepadding-block);

  figure {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    >div {
      height: 100%;
      width: 100%;
    }

    img {
      height: 100%;
      width: 100%;
      object-fit: contain;
      min-height: 0;
    }

    figcaption {
      position: absolute;
      bottom: var(--spacing-s);
      width: var(--size-width-p);
      max-width: calc(100% - (var(--spacing-sitepadding-inline)*2)) ;
      margin: 0 auto;
      padding: var(--spacing-xs) var(--spacing-s);
      font-size: var(--font-size-caption);
      line-height: 1.2;
      background: rgba(0, 0, 0, .7);
      color: var(--color-white);
    }
  }

  &:last-child {
    margin-bottom: 0;
  }

  &[data-pagecontent]{
    &:last-child {
      margin-bottom: calc(var(--spacing-section-bottom)*-1);
    }
  }

  &[data-hero] {
    margin-top: calc(var(--spacing-sitepadding-block)* -2);
  }
}

@media (max-width: 600px) {
  .imageSliderBlock {
    padding-top: 100%;
  }
}