/**
* Block Name: hero_about
*/

section.hero_about {
  overflow: hidden;
}

section.hero_about .container {
  border-radius: 10px;
}

section.hero_about .row {
  position: relative;
}

section.hero_about .box-with-herb {
  position: absolute;
  inset: 0;
  background: #edf7f3;
  border-radius: 10px;
  max-height: 615px;
  z-index: 0;
  pointer-events: none;
}

section.hero_about .swiper-container {
  position: relative;
  z-index: 1;
}

section.hero_about .container {
  border-radius: 10px;
}

section.hero_about .herb {
  left: 100px;
  top: 30px;
}

section.hero_about .swiper-container .swiper-slide {
  min-height: 560px;
  background: #fff;
  border: 5px solid #edf7f3;
  border-radius: 10px;
}
section.hero_about .swiper-container .swiper-slide .blog_slide,
section.hero_about .swiper-container .swiper-slide.text_slide {
  display: grid;
  grid-template-columns: 1fr 2fr;
  text-decoration: none !important;
  color: #000;
}

section.hero_about .swiper-container .swiper-slide.swiper-slide-prev,
section.hero_about .swiper-container .swiper-slide.swiper-slide-next {
  opacity: 0 !important;
}

section.hero_about .swiper-container .swiper-slide a {
  text-decoration: none;
}

section.hero_about .swiper-container .swiper-slide .heading {
  gap: 10px;
  margin-bottom: 15px;
}

section.hero_about .swiper-container .swiper-slide .heading .label {
  background: #ba5f61;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-weight: 400;
}

section.hero_about .swiper-container .swiper-slide .blog_slide .heading .label {
  background: #039d64;
}

section.hero_about .swiper-container .swiper-slide .heading .date {
  opacity: 0.5;
}

section.hero_about .swiper-container .swiper-slide .text_content {
  padding: 30px;
  border-right: 5px solid #edf7f3;
}

section.hero_about .swiper-container .swiper-slide .image_content img {
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 0;
}

section.hero_about .swiper-container .navigation {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(0, 0);
  z-index: 5;
  margin: 0;
  height: auto;
  background: #edf7f3;
  padding: 10px;
  width: max-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  left: 45px;
}

section.hero_about .swiper-container .swiper-button-next,
section.hero_about .swiper-container .swiper-button-prev {
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  height: 16px;
  width: 16px;
  aspect-ratio: 1/1;
  margin-top: 0;
  background-size: contain;
}

section.hero_about .swiper-container .swiper-button-next::after,
section.hero_about .swiper-container .swiper-button-prev::after {
  content: "";
}

section.hero_about .swiper-container .swiper-button-prev {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.54497 7.62268L16.72 7.62268L16.72 9.62268L4.54497 9.62268L10.145 15.2227L8.71997 16.6227L0.719971 8.62268L8.71997 0.62268L10.145 2.02268L4.54497 7.62268Z' fill='%23039D64'/%3E%3C/svg%3E%0A");
}

section.hero_about .swiper-container .swiper-button-next {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.895 9.62268L0.719971 9.62268L0.719971 7.62268L12.895 7.62268L7.29497 2.02268L8.71997 0.622681L16.72 8.62268L8.71997 16.6227L7.29497 15.2227L12.895 9.62268Z' fill='%23039D64'/%3E%3C/svg%3E%0A");
}

section.hero_about .swiper-container .swiper-pagination {
  bottom: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: relative;
}

section.hero_about
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet {
  position: relative;
  background: #07c57f;
  height: 5px;
  border-radius: 18px;
  width: 5px; /* base width is 95px as required */
  overflow: hidden;
  opacity: 1;
  transition: width 200ms ease-in;
}

section.hero_about
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet-active {
  width: 44px;
}

section.hero_about
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet-active
  .fill {
  background: #039d64;
  height: 5px;
  display: block;
}

/* Different color for 'wichtig' */
section.hero_about
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet.is-wichtig {
  background: #ba5f61; /* outer dot */
}

section.hero_about
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet.is-wichtig
  .fill {
  background: #9d0306; /* inner progress bar */
}

@media (min-width: 1460px) {
  section.hero_about .swiper-container .navigation {
    left: 85px;
  }
}

@media (min-width: 993px) {
  section.hero_about .swiper-container .navigation {
    bottom: -15px;
  }
}

@media (max-width: 1199px) {
  section.hero_about .swiper-container .navigation {
    left: 30px;
  }
}

@media (max-width: 992px) {
  section.hero_about .title {
    padding-left: 15px;
    padding-right: 15px;
  }
  section.hero_about .swiper-container .swiper-slide .blog_slide,
  section.hero_about .swiper-container .swiper-slide.text_slide {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
  }

  section.hero_about .swiper-container .swiper-slide .text_content {
    border-right: none;
    order: 2;
  }

  section.hero_about .swiper-container .swiper-slide .image_content {
    order: 1;
  }

  section.hero_about .swiper-container .swiper-slide .image_content img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;

    height: 100%;
  }

  section.hero_about .swiper-container .navigation {
    position: relative;
    bottom: -30px;
    left: 0;
    margin: 0 auto;
  }
}
