.news-overview {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 90%;
}

.news-overview--section {
  background-color: rgba(35, 31, 32, 0.05);
  top: 3rem;
  position: relative;
}

@media (min-width: 900px) {
  .news-overview {
    padding: unset;
    width: 100%;
    /* top: 20rem; */
  }

  .news-overview--section {
    top: 12rem;
  }
}

.news-overview .hero__inner {
  margin-top: 3rem;
}

/* todo: clean up */
/*
.news-overview .hero__inner span {
  display: flex;
  flex-direction: row;
  position: relative;
  max-width: fit-content;
  margin: 0 auto;
}

.news-overview .hero__inner span img {
  height: 1rem;
  width: 1rem;
  position: absolute;
  right: -1.4rem;
  bottom: 2.3rem;
}
*/

.news-overview .hero__inner span h1 {
  font-size: 4.8rem;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01rem;
}

/*
@media (min-width: 900px) {
  .news-overview .hero__inner span h1 {
    font-size: 6rem;
    text-align: right;
    
  }
}
*/

.news-overview .hero__icon--grey {
  position: relative;
}

@media (min-width: 900px) {
  .news-overview .hero__inner {
    flex-direction: column;
    justify-content: center;
    align-content: center;
  }

  .news-overview .hero__headline-title {
    text-align: center;
    max-width: 50rem;
    margin: 0 auto;
  }

  .news-overview .hero__intro-text {
    margin: 5rem auto;
    max-width: 90rem;
    text-align: center;
  }
}

.news-overview__categories {
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.news-overview__inner {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .news-overview__inner {
    width: 100%;
    margin: 0 auto 17rem;
    padding-bottom: 1rem;
    padding-top: 0;
  }
}

@media (min-width: 900px) {
  .news-overview__image-slider {
    max-width: 71.2rem;
    width: 100%;
    height: 42.8rem;
    position: relative;
    top: -20rem;
    left: 0;
    right: 0;
    margin: 0 auto -20rem;
  }
}

.news-overview__image-slider__image {
  height: 42.8rem;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.news-overview__cards::before,
.news-overview__cards::after {
  background: rgba(35, 31, 32, 0.05);
}



.news-overview__cards {
  width: 100%;
  position: relative;
  max-height: 195rem;
  overflow: hidden;
}

@media (min-width: 900px) {
  .news-overview__cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    top: -9rem;
    margin-bottom: -7rem;
  }
}

.news-overview__cards-background {
  position: absolute;
  z-index: -1;
  left: 0;
  right: -20rem;
  top: 45rem !important;
  margin: 0 auto;
  height: 100rem;
}

@media (max-width:899px) {
  .news-overview__cards {
    max-height: 198rem !important;
  }
}

.reveal-cards {
  max-height: 99999rem !important;
  transition: 1.5s all;
}

@media (max-width: 899px) {
  .news-overview__cards-background {
    top: 35rem !important;
    left: -50rem !important;
    width: 800px !important;
  }
}

.news-overview__card {
  width: 90%;
  margin: 2rem;
  border-radius: 0px 0px 1.4px 1.4px;
  background-color: white;
}

@media (min-width: 900px) {
  .news-overview__card {
    max-width: 35.2rem;
    height: 37.2rem;
    width: 100%;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  }

  .news-overview__card.no-image {
    height: 20.8rem;
  }
}

.news-overview__card-content {
  padding: 1.5rem;
}

.news-overview__card-image {
  width: 100%;
  height: 100%;
  max-height: 20rem;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 900px) {
  .news-overview__card-image {
    max-height: 20.8rem;
  }
}

.news-overview__card-category {
  background-color: #f7f7f7;
  padding: 0.5rem 2rem;
  border-radius: 3rem;
  max-width: fit-content;
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 400;
}

.news-overview__card-category a {
  text-decoration: none;
  color: var(--black);
}

.news-overview__card-title {
  font-weight: 600;
  font-size: 2.4rem;
  margin: 0;
}

@media (min-width: 900px) {
  .news-overview__card-title {
    font-size: 2.8rem;
    line-height: 3.6rem;
    max-width: 30rem;
    text-overflow: ellipse;
  }
}

.news-overview__card-link {
  text-decoration: none;
}

@media (min-width: 900px) {
  .news-overview__card-link {
    position: absolute;
    bottom: 2rem;
  }
}

.news-overview__card-link::hover {
  text-decoration: underline;
}

.news-overview__filters {
  display: flex;
  /* flex-direction: column; */
  list-style-type: none;
  margin: -5rem 0;
  overflow: scroll;
}

.news-overview__filter.active {
  background: var(--black) !important;
}

.news-overview__filter.active a {
  color: #fff !important;
}

@media (min-width: 900px) {
  .news-overview__filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    margin: unset;
  }
}

.news-overview__filter {
  background-color: #f6f6f6;
  border-radius: 2rem;
  padding: 1rem 2rem;
  min-width: fit-content;
  height: fit-content;
  margin: 3rem;
  font-size: 1.4rem;
}

@media (min-width: 900px) {
  .news-overview__filter {
    margin: 2rem;
    display: block;
    min-width: unset;
    max-width: fit-content;
  }
}

.news-overview__pagination-arrows {
  display: flex;
  flex-direction: row;
  max-width: 20rem;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .news-overview__pagination-arrows {
    margin: 3rem auto;
  }
}

.news-overview__pagination-arrow {
  border-radius: 50%;
  background-color: lightgray;
  color: var(--black);
  height: 5rem;
  width: 5rem;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  margin: 2rem;
}

.news-overview__pagination-arrow--left {
  transform: rotate(180deg);
}

.news-overview__headline {
  font-size: 4rem;
  text-align: center;
  max-width: 20rem;
  padding: 4rem 0;
  font-weight: 500;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .news-overview__headline {
    max-width: unset;
  }
}

.news-overview__intro-text {
  margin: 2rem auto;
  font-size: 2.1rem;
  width: 90%;
}

@media (min-width: 900px) {
  .news-overview__intro-text {
    max-width: 46rem;
  }
}

.news-overview__content {
  width: 90%;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .news-overview__content {
    max-width: 46rem;
  }
}

.news-overview__icon--computer {
  fill: yellow;
  position: absolute;
  bottom: -6rem;
  left: 0;
  z-index: 1;
}

.news-overview__icon--down-arrow {
  position: absolute;
  left: 0;
  right: 0;
  margin: 7rem auto;
}

.news-overview__cta {
  /* background-color: var(--black); */
  background-color: #231f20;
  color: white;
  border-radius: 5rem;
  max-width: fit-content;
  margin: 0 auto 2.5rem;
  text-decoration: none;
  padding: 1rem 4rem;
  font-size: 1.8rem;
  transition: 0.5s all;
  border: solid 0.2rem var(--black);
  cursor: pointer;
}

@media (max-width: 899px) {
  .news-overview__filter:first-child {
    margin-right: 25px;
  }

  .news-overview__inner {
    margin-bottom: 15rem;
  }

  .news-overview__card {
    width: 100% !important;
    margin: 2rem auto !important;
  }
}

.news-overview__filters-cta {
  color: gray;
  text-decoration: underline;
  font-size: 1.3rem;
  margin: 3rem auto 0;
  width: fit-content;
  display: block;
  font-weight: 500;
}