/**------------------------ SLIDESHOW -------------------------*/
#slideshow {
  width: 100%;
  height: auto;
  display: flex;
  z-index: 9;
  position: relative;
  margin-bottom: calc(var(--cont-gap) * 0.85);
  max-height: 80vh;
  height: 80vh;
}

#slideshow img {
  object-fit: cover;
  max-height: 80vh;
  width: 100%;
}
.imp-header-slick-slider.slick-initialized.slick-slider.slick-dotted {
  max-width: 100%;
  position: absolute;
  height: 100%;
  width: 100%;
}

.imp-header-slick-slider.slick-initialized.slick-slider.slick-dotted
  *:not(.slick-dots) {
  height: 100%;
}

.slider-desktop .slider-wrapper {
  max-width: 100%;
  position: relative;
  width: 100%;
  height: 100%;
}

/*
.slider-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  top: 0;
  opacity: 0.3;
  pointer-events: none;
  z-index: 99;
}
*/
.slider-wrapper::after {
  content: "";
  display: block;
  --my-size: clamp(43px, 7vw, 80px);
  height: var(--my-size);
  width: calc(var(--my-size) * 1.7);
  background-image: url(/wp-content/themes/astra-impuls-child/img/logo-wagrain-kleinarl);
  position: absolute;
  z-index: 999;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  right: 2em;
  bottom: calc(var(--gap-m) + 10px);
}

/**Desktop*/

/**Mobile*/
@media (max-width: 1025px) {
  .slider-wrapper::before {
    bottom: 0;
    right: 0;
    z-index: 8;
  }
}

@media (max-width: 767px) {
  #slideshow {
    margin-bottom: 40px;
  }

  .slider-wrapper::after {
    --my-position: 1em;
    right: var(--my-position);
    bottom: var(--my-position);
  }

  #slideshow {
    height: 30vh;
  }

  #slideshow img {
    max-height: 30vh;
  }

  #slideshow .slick-slider .slick-dots {
    bottom: var(--gap-m);
  }
}
