/**
* Block Name: geschichte
*/

section.geschichte {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  z-index: 2;
}

section.geschichte .col-lg-8 {
  position: relative;
  overflow: hidden;
}

section.geschichte .swiper-slide {
  border-radius: 20px;
  background: var(--dunkelgrau);
  display: flex;
  flex-direction: column;
  padding: 15px;
  gap: 15px;
  opacity: 1;
  transition: opacity 150ms ease-in-out;
}

section.geschichte .swiper-slide-next,
section.geschichte .swiper-slide-duplicate-prev {
  opacity: 0.5;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "";
}

section.geschichte .swiper-navigation {
  position: relative;
  display: flex;
  gap: 35px;
}

section.geschichte .swiper-navigation .swiper-button-prev,
section.geschichte .swiper-navigation .swiper-button-next {
  position: relative;
  width: max-content;
  margin-top: auto;
}

section.geschichte .swiper-button-prev {
  border-radius: 100px;
  border: 1px solid var(--hellgrau);
  opacity: 0.38;
  padding: 6px 14px;
  transition: all 300ms ease-in;
}

section.geschichte .swiper-button-prev.swiper-button-active {
  opacity: 1;
}

section.geschichte .swiper-button-next svg,
section.geschichte .swiper-button-prev svg {
  height: 24px;
  width: 24px;
}

section.geschichte .swiper-button-next {
  border-radius: 100px;
  border: 1px solid var(--hellgrau);
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  transition: all 300ms ease-in;
}

section.geschichte .swiper-button-next:hover {
  background-color: var(--turkis);
  border-color: var(--turkis);
}

section.geschichte .swiper-button-next > span {
  min-width: max-content;
  color: var(--turkis);
  transition: all 300ms ease-in;
}

section.geschichte .swiper-button-next > svg path {
  transition: all 300ms ease-in;
}

section.geschichte .swiper-button-next:hover > span {
  color: var(--hellgrau);
}

section.geschichte .swiper-button-next:hover > svg path {
  fill: var(--hellgrau);
}

section.geschichte .card_frame {
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Base styles for the img_wrapper */
section.geschichte .card_frame .img_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  border: 1px solid rgba(129, 177, 177, 0.38);
  box-shadow: 0 64px 44px 0 rgba(0, 0, 0, 0.25);
}

/* Styles for when the direct child is an img (not SVG) */
section.geschichte .card_frame .img_wrapper > img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0%, -25%) scale(2);
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

/* Styles for when the direct child is a div containing an SVG */
section.geschichte .card_frame .img_wrapper > div > svg {
  border-bottom: 1px solid var(--petrol);
  height: 100%;
  width: 100%;
}

section.geschichte .card_frame .img_frame {
  position: relative;
  padding-top: 315px;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

section.geschichte .card_frame .content_frame {
  padding: 30px;
}

@media (min-width: 992px) {
  section.geschichte .swiper-slide {
    min-height: 725px;
  }
}

@media (max-width: 992px) {
  section.geschichte .col-lg-4 {
    margin-bottom: 30px;
  }
}
