

.search-and-filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-input {
  margin-bottom: 0;
  max-width: 28em;
  width: 28em;
}

.filter--type {
  width: 12em;
  margin-right: 5em;
}

.filter--date-range {
  width: 14em;
}

@media screen and (max-width:999px) {
  .search-and-filters {
    display: block;
  }

  .search-input {
    max-width: 100%;
    margin-bottom: var(--line-height-em);
  }

  .filters {
    justify-content: flex-start;
  }
}

@media screen and (max-width:479px) {
  .filter--type {
    margin-right: 1em;
    width: 6em;
  }
}

.news-items {
  margin-top: calc(var(--line-height-em)*2);
  margin-bottom: calc(var(--line-height-em)*2);
}

.news-item {
  border-bottom: 1px solid var(--block-gray);
  padding-bottom: calc(var(--line-height-em));
  padding-top: calc(var(--line-height-em));
}

.news-item__picture-wrapper {
  width: 100%;
  /* width: 35%; */
}

.news-item__picture {
  max-width: 100%;
  display: block;
  margin: 0 auto 0 0;
}

.news-item__info {
  padding-left: 2em;
}

.news-item__date {

}

.news-item__content ul {
  padding-left: 0;
}

.news-item__content--legacy {
  position: relative;
}


.truncate-overflow {
  --max-lines: 3;
  position: relative;
  max-height: calc(var(--line-height-em) * 3);
  overflow: hidden;
  padding-right: 1rem; /* space for ellipsis */
}

.truncate-overflow::before {
  position: absolute;
  content: "...";
  inset-block-end: 0; /* "bottom" */
  inset-inline-end: 0; /* "right" */
}

.truncate-overflow::after {
  content: "...";
  position: absolute;
  inset-inline-end: 0;
  width: 1rem;
  height: 1rem;
  background: white;
}
