.region-content {
  padding: 160px 100px 0 100px;
}

.news-heading {
  max-width: 51vw;
  margin-bottom: 80px;
  white-space: nowrap;
}

.view-news .view-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3vw;
}

.node--type-news {
  width: 20vw;
  min-width: 360px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 25px;
  overflow: hidden;
}

.field--name-field-news-banner {
  width: 100%;
  height: 222px;
  overflow: hidden;
  position: relative;
}

.field--name-field-news-banner img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
}

.node__content {
  height: 300px;
  display: flex;
  flex-direction: column;
  padding: 20px 30px 30px 30px;
  justify-content: space-between;
}

.field--name-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 10px;
  /*overflow: hidden;*/
  /*text-overflow: ellipsis;*/
  /*display: -webkit-box;*/
  /*-webkit-line-clamp: 3;*/
  /*line-clamp: 3;*/
  /*-webkit-box-orient: vertical;*/
}

.node__submitted {
  font-size: 16px;
  line-height: 18px;
  opacity: 0.65;
  margin-top: 7px;
}

.node--view-mode-teaser .field--name-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 18px;
}

.node__links {
  align-self: flex-end;
}

.field--name-field-type, .field--name-field-project, .field--name-field-topic {
  display: none;
}

.filters {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 50px;
}

.filter {
  width: 100%;
  position: relative;
  z-index: 2;
}

.filter-header {
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-text-main);
  cursor: pointer;
}

.filter-title {
  font-size: 24px;
  line-height: 26px;
}

.arrow-down {
  width: 24px;
  height: 24px;
}

.filter-options {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 20px;
  overflow: scroll;
  max-height: 40vh;
  z-index: 3;
}

.filter-option {
  font-size: 24px;
  line-height: 24px;
  padding: 20px 20px;
  cursor: pointer;
}

/* .filter-option:hover {
  background-color: rgba(255, 255, 255, 0.5);
} */

.no-news-disclaimer {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 20px;
  padding: 40px;
  font-size: 20px;
  display: none;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.clear-filters-button {
  padding: 23px;
  border: 1px solid white;
  border-radius: 45px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.read-more-link a {
  padding: 23px;
  border: 1px solid white;
  border-radius: 45px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.js-pager__items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
    font-size: 24px;
    align-items: center;
}

.pager__item--next, .pager__item--previous {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.pager {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.pager-button {
  padding: 23px;
  border: 1px solid white;
  border-radius: 45px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.current-page {
  font-size: 22px;
}

.project-span {
  font-size: 18px;
  line-height: 20px;
  color: #BBA2CD;
  margin-bottom: 5px;
}

@media only screen and (max-width: 1024px) {
  .view-news .view-content {
   justify-content: space-between;
  }
  .filters {
    gap: 30px;
  }
  .filter-header {
    padding: 8px 15px;
  }
  .filter-title {
    font-size: 18px;
    line-height: 20px;
  }
  .arrow-down {
    width: 18px;
    height: 18px;
  }
}

@media only screen and (max-width: 769px) {
  .region-content {
    padding: 160px 60px 0 60px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .node--type-news {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .region-content {
    padding: 160px 40px 0 40px;
  }
  .flex-row {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .news-heading {
    margin-bottom: 30px;
  }
}
