.filter-container {
  width: 15.885vw;
  position: relative;
}
.filter-containers {
  display: flex;
}
.filter-container.category {
  margin-right: 1.406vw;
}
.filter-row {
  margin-bottom: 7.813vw;
  display: flex;
  align-items: center;
}
.filter-button {
  padding: 0.729vw 1.042vw 0.885vw 1.042vw;
  background-color: #525d77;
  border-radius: 2.604vw;
  line-height: 1;
  font-size: 1.042vw;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  position: relative;
  cursor: pointer;
}
.filter-modal {
  background-color: #ddd7d4;
  border-radius: 0.521vw;
  position: absolute;
  top: 1.563vw;
  z-index: 1;
  padding: 3.792vw 1.693vw 1.823vw 1.693vw;
  width: 100%;
  display: none;
}
.checkbox-list {
  line-height: 1;
  margin-bottom: 1.198vw;
}
.checkbox-list:last-of-type {
  margin-bottom: 0vw;
}
.fb-dropdown {
  display: flex;
}
.fb-dropdown svg {
  width: 0.976vw;
  height: 1.25vw;
}
.close {
  cursor: pointer;
  display: none;
}
.close svg {
  width: 1.25vw;
  height: 1.25vw;
}

.filter-container.active .fb-dropdown {
  opacity: 0;
}
.filter-container .close {
  display: none;
  position: absolute;
  top: 0.729vw;
  right: 1.042vw;
  z-index: 3;
}
.filter-container.active .close {
  display: flex;
}
.filter-container.active .filter-modal {
  display: block;
}
.checkbox-list a {
  font-size: 0.938vw;
  font-weight: 300;
}
.checkbox-list a {
  background: url(/wp-content/uploads/2022/12/IHS_pfeil_text-link-1.svg)
    no-repeat;
  padding-left: 1.771vw;
  background-size: 1.25vw;
  background-position: center left;
}
.post_excerpt {
  font-size: 0.938vw;
  line-height: 1.5em;
}
.magazin-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2.682vw;
}
.magazin-post-grid {
  height: 56.115vw;
  width: 35.938vw;
  background: url(../media/IHS_kachel_magazin.svg) no-repeat;
  background-size: contain;
  padding: 3.854vw 3.021vw 3.854vw 3.021vw;
  position: relative;
}
.post_title h2 {
  font-size: 1.667vw;
  color: #525d77;
  font-weight: 900;
  font-family: "Local Open Sans", Sans-serif;
}
.post_thumbnail img {
  width: 100%;
  height: 17.891vw;
  object-fit: cover;
  border-radius: 0.521vw;
}
.post_thumbnail {
  margin-bottom: 2.188vw;
}
.post_title {
  min-height: 10.198vw;
}
.post_excerpt {
  min-height: 7.24vw;
}
.post_more_share {
  position: absolute;
  bottom: 3.75vw;
  left: 3.021vw;
}
.magazin-post-grid {
  cursor: pointer;
}
.pagination {
  display: flex;
  align-items: center;
  max-width: 21.911vw;
  margin: 3.229vw auto;
  justify-content: space-between;
}
.prev-posts a,
.next-posts a {
  padding: 0.729vw 1.042vw 0.885vw 1.042vw;
  background-color: #525d77;
  border-radius: 2.604vw;
  display: inline-block;
  line-height: 1;
  font-size: 0.938vw;
  font-weight: 700;
}
.prev-posts svg,
.next-posts svg {
  width: 1.25vw;
}
.current-num {
  margin: 0 1.406vw;
}
.prev-posts,
.next-posts {
  width: 7.031vw;
}

.filter-text-display {
  margin-left: 2.448vw;
  color: #525d77;
}
.related_term {
  font-weight: 700;
}
@media (max-width: 1366px) and (min-width: 1025px) {
}

@media (max-width: 1024px) {
  .filter-row {
    flex-direction: column;
  }
  .filter-text-display {
    margin-left: 0;
    margin-top: 20px;
  }
  .magazin-posts {
    grid-gap: 25px;
  }
  .filter-button {
    padding: 17px;
    border-radius: 50px;
    font-size: 16px;
  }
  .fb-dropdown svg {
    width: 14px;
    height: 18px;
  }
  .filter-container {
    width: 250px;
  }
  .filter-modal {
    top: 30px;
    padding: 60px 20px 20px 20px;
  }
  .filter-container .close {
    top: 17px;
    right: 17px;
  }
  .close svg {
    width: 18px;
    height: 18px;
  }
  .checkbox-list {
    margin-bottom: 17px;
  }
  .checkbox-list a {
    padding-left: 26px;
    background-size: 16px;
    font-size: 16px;
  }

  .magazin-post-grid {
    height: unset;
    width: 100%;
    background-size: contain;
    padding: 20px 20px 70px 20px;
    background: none;
    border: 7px solid #525d77;
    border-radius: 50px;
  }
  .post_thumbnail img {
    border-radius: 40px;
    height: 200px;
  }
  .post_title h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
  }
  .post_title {
    min-height: 128px;
  }
  .post_excerpt {
    min-height: 240px;
    font-size: 16px;
  }

  .post_more_share {
    bottom: 20px;
    left: 20px;
  }
  .filter-container.category {
    margin-right: 20px;
  }

  .pagination {
    max-width: 368px;
    margin: 40px auto;
  }
  .prev-posts a,
  .next-posts a {
    font-size: 16px;
    border-radius: 50px;
    padding: 17px;
  }
  .prev-posts svg,
  .next-posts svg {
    width: 18px;
  }
  .prev-posts,
  .next-posts {
    width: 114px;
  }
  .current-num {
    margin: 0 10px;
  }
}
@media (max-width: 767px) {
  /* .magazin-posts {
        grid-template-columns: 1fr;
        justify-items: center;
    } */
  .filter-containers {
    flex-direction: column;
  }
  .filter-container.category {
    margin-right: 0;
    margin-bottom: 20px;
    z-index: 3;
  }
  .magazin-posts {
    grid-template-columns: unset;
    display: flex;
    flex-direction: column;
  }
  .post_excerpt {
    min-height: unset;
    margin-bottom: 20px;
  }
  .magazin-post-grid {
    width: calc(100% - 7px);
  }
}

@media (max-width: 480px) {
  .current-num {
    font-size: 13px;
  }
}
