.news-search {
  border-top: 1px solid var(--secondary-color);
  padding-top: 20px;
  padding-bottom: 50px;
}
.news-search fieldset {
  border: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 32px;
  column-gap: 32px;
  row-gap: 32px;
  grid-template-rows: auto;
}
@media only screen and (max-width: 992px) {
  .news-search fieldset {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 16px;
  }
}
@media only screen and (max-width: 992px) {
  .news-search fieldset {
    row-gap: 10px;
  }
}
.news-search .news-search__filter {
  grid-column: 1/6;
  position: relative;
}
@media only screen and (max-width: 992px) {
  .news-search .news-search__filter {
    grid-column: 1/13;
    padding: 0 10px;
  }
}
.news-search .news-search__filter .news-search__filter-label {
  position: relative;
  height: 40px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 18px;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  padding: 8px 40px 0 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.news-search .news-search__filter .news-search__filter-label:after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-image: url("../Icons/Content/Custom/arrow-down.svg");
}
.news-search .news-search__filter .news-search__filter-label:hover {
  cursor: pointer;
}
.news-search .news-search__categories {
  list-style: none;
  display: none;
  position: absolute;
  left: 0;
  top: 40px;
  min-width: 240px;
  text-align: left;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin: 0;
}
.news-search .news-search__categories li {
  display: block;
  position: relative;
  height: 31px;
  width: auto;
  text-align: left;
  margin: 0;
  padding: 0;
}
.news-search .news-search__categories li input[type=checkbox] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 16px;
  height: 30px;
  padding: 0 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.news-search .news-search__categories li input[type=checkbox]:hover {
  cursor: pointer;
  color: var(--primary-color);
}
.news-search .news-search__categories li input[type=checkbox]:checked {
  color: var(--primary-color);
}
.news-search .news-search__categories li label {
  position: relative;
  display: block;
  font-size: 18px;
  font-weight: normal;
  padding-top: 3px;
}
.news-search .news-search__categories li label:hover {
  cursor: pointer;
}
.news-search .news-search__categories li input[type=checkbox]:checked + label {
  color: var(--primary-color);
}
.news-search .news-search__categories li:hover {
  cursor: pointer;
}
.news-search .news-search__categories li:hover label {
  color: var(--primary-color);
}
.news-search .news-search__filter.news-search__filter--active .news-search__categories {
  display: block;
}
.news-search .news-search__subject {
  grid-column: 7/12;
}
@media only screen and (max-width: 992px) {
  .news-search .news-search__subject {
    grid-column: 1/12;
  }
}
@media only screen and (max-width: 576px) {
  .news-search .news-search__subject {
    grid-column: 1/13;
  }
}
.news-search .news-search__subject .subject-wrapper {
  width: 100%;
  position: relative;
}
.news-search .news-search__subject .subject-wrapper input[type=text] {
  width: 100%;
  height: 40px;
  padding: 5px 20px;
  margin-bottom: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 200px;
  font-size: 18px;
  color: var(--secondary-color);
}
.news-search .news-search__subject .subject-wrapper:before {
  font-family: "kirche-ll-icons" !important;
  font-size: 30px;
  color: var(--secondary-color);
  content: "\e9b2";
  position: absolute;
  display: inline-block;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  pointer-events: none;
}
.news-search .news-search__subject input[type=submit] {
  height: 40px;
  padding: 5px 40px;
  background: var(--secondary-color);
  border: none;
  border-radius: 20px;
  font-size: 18px;
  color: #ffffff;
  float: right;
  display: none;
}
.news-search .news-search__subject input[type=submit]:hover {
  cursor: pointer;
}
.news-search .news-search__sorting {
  grid-column: 12/13;
}
.news-search .news-search__sorting .select-wrapper {
  position: relative;
  display: inline-block;
  /* Hover / Focus States */
}
.news-search .news-search__sorting .select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #1f2a56;
  background-color: #ffffff;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  padding: 8px 36px 8px 14px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}
.news-search .news-search__sorting .select-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-image: url("../Icons/Content/Custom/arrow-down.svg");
}
.news-search .news-search__sorting .select-wrapper select:hover {
  border-color: var(--secondary-color);
}
.news-search .news-search__sorting .select-wrapper select:focus {
  outline: none;
  border-color: var(--secondary-color);
}
@media only screen and (max-width: 576px) {
  .news-search .news-search__sorting .select-wrapper {
    float: none;
    display: block;
  }
  .news-search .news-search__sorting .select-wrapper select {
    width: 100%;
  }
  .news-search .news-search__sorting .select-wrapper select::after {
    right: 24px;
  }
}
@media only screen and (max-width: 576px) {
  .news-search .news-search__sorting {
    grid-column: 1/13;
    padding: 0 10px;
  }
}
.news-search .news-search__sorting .select-wrapper {
  float: right;
}

#news-filter-years {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
#news-filter-years li {
  display: inline-block;
  position: relative;
  margin: 0 10px;
  padding: 5px 15px 0 15px;
  border: none;
  background-color: color-mix(in oklab, var(--secondary-color) 30%, #ffffff);
  border-radius: 10px;
  font-size: 18px;
  font-weight: normal;
  color: #060142;
  height: 30px;
}
#news-filter-years li:hover {
  cursor: pointer;
  background-color: var(--secondary-color);
  color: #ffffff;
}
#news-filter-years li.active {
  background-color: var(--secondary-color);
  color: #ffffff;
}