
.news__other {
  margin-top: 32px;
}
.news__header,
.news__other {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  justify-items: center;
}
.news__header {
  gap: 2rem;
}
@media all and (min-width: 550px) {
  .news__header,
  .news__other {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
  }
}

@media all and (min-width: 800px) {
  .news {
    margin: unset;
    padding: unset;
    overflow: visible;
  }
  .news__header,
  .news__other {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .news__other {
    margin-top: 93px;
  }
}

@media all and (min-width: 1000px) {
  .news .news__header{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
  }
}

@media all and (min-width: 1440px) {
  .news .news__header {
    display: grid;
    grid-template-columns: minmax(auto, 894px) auto;
    grid-template-rows: auto auto;
    gap: 32px 32px;
    grid-template-areas:
      "teaser-extended teaser-default-one"
      "teaser-extended teaser-default-two";
    align-items: start;
  }
  .news .news-teaser.news-teaser--extended {
    grid-area: teaser-extended;
    width: 100%;
    height: 100%;
  }
  .news .news-teaser--extended .news-teaser__image,
  .news .news-teaser--extended .news-teaser__image picture,
  .news .news-teaser--extended .news-teaser__image img {
    width: 100%;
    max-height: 680px;
    height: 100%;
    display: block;
  }
  .news .news-teaser--extended .news-teaser__image img {
    object-fit: cover;
  }
  .news .news-teaser:not(.news-teaser--extended):nth-child(2) {
    grid-area: teaser-default-one;
  }
  .news .news-teaser:not(.news-teaser--extended):nth-child(3) {
    grid-area: teaser-default-two;
  }
}


/**
 * Filters
 */

.news-filters form {
  all: unset !important;
}
.news-filters ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-filters ul > li > a {
  background-color: #FFDFCA;
  padding: 6px 12px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  gap: 5px;
  align-items: center;
  transition: all 0.15s ease-in-out;
}
.news-filters ul > li > a:hover {
  background-color: #fdc8a5;
}
.news-filters ul > li > a.bef-link--selected {
  background-color: var(--color-primary--2);
  color: var(--color-white);
}
.news-filters ul > li > a.bef-link--selected:hover {
  background-color: var(--color-primary--1);
}
.news-filters ul > li > a.bef-link--selected::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url('../../images/close.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.news-filters ul > li:has(>a[name="field_tags_target_id[All]"]) {
  display: none;
}
@media all and (min-width: 1000px) {
  .news-filters ul > li > a {
    padding: 6px 24px;
  }
  .news-filters ul {
    gap: 1rem;
  }
}


/**
 * News page-full
 */

.news-page__tag {
  background-color: #FFDFCA;
  padding: 6px 24px;
  border-radius: 3px;
  width: fit-content;
  margin: 2rem 0;
  transition: all 0.15s ease-in-out;
}

