/**
* Block Name: slider_gross
*/
section.slider_gross .grun {
  background-color: var(--salbei);
  height: 87px;
}

section.slider_gross .grun > * {
  padding-top: 23px;
  padding-bottom: 23px;
}

section.slider_gross {
  overflow: hidden;
  height: max-content;
  cursor: pointer;
  max-width: 100%;
}

section.slider_gross .swiper-container {
  height: 600px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

section.slider_gross .hero_image {
  height: 100%;
  overflow: hidden;
  width: 100%;
  position: relative;
}

section.slider_gross .image_wrapper {
  position: relative;
  height: 100%;
}

section.slider_gross .swiper-slide:hover {
  text-decoration: none;
}

section.slider_gross .image_wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      270deg,
      rgba(52, 86, 62, 0) 0%,
      rgba(52, 86, 62, 0.7) 50%
    ),
    linear-gradient(270deg, rgba(52, 86, 62, 0) 0%, #34563e 100%);
  background-blend-mode: multiply;
  pointer-events: none;
}

section.slider_gross .slide_content {
  width: 100%;
  z-index: 99;
  height: 200px;
  bottom: -20%;
  position: relative;
  transform: translateY(-200%);
  color: var(--ecru);
}

section.slider_gross .slide_content .excerpt {
  opacity: 0.67;
}

section.slider_gross .swiper-slide .slide_content .weiter {
  transition: all 300ms ease-in-out;
}

section.slider_gross .swiper-slide:hover .slide_content .weiter {
  color: var(--minzgrun);
}

section.slider_gross .swiper-slide .slide_content .weiter svg {
  transition: all 300ms ease-in-out;
}

section.slider_gross .swiper-slide:hover .slide_content .weiter svg {
  transform: translateX(5px);
}

section.slider_gross .swiper-slide .slide_content .weiter svg path {
  transition: all 300ms ease-in-out;
}

section.slider_gross .swiper-slide:hover .slide_content .weiter svg path {
  fill: var(--minzgrun);
}

section.slider_gross .swiper-pagination {
  bottom: 0;
  height: 50px;
  text-align: left;
  margin-bottom: 50px;
}

.swiper-pagination-bullet {
  width: 97px;
  height: 7px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: background 200ms;
  background: rgba(245, 241, 231, 0.3);
  margin: 0 15px 0 0 !important;

  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 200ms;
  }
}

.swiper-pagination-bullet-active {
  background: rgba(#000, 0.4);

  &::before {
    background-color: var(--ecru);
    animation: slide-progress 3s cubic-bezier(0.3, 0, 0.3, 1) forwards;

    .swiper-paused & {
      animation-play-state: paused;
    }
  }
}

@keyframes slide-progress {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (min-width: 992px) {
  section.slider_gross .hero_image {
    max-height: 600px;
  }
}

@media (max-width: 992px) {
  section.slider_gross .slide_content {
    padding: 30px;
  }

  section.slider_gross .swiper-pagination {
    left: 30px;
  }
}
