.news-filter-wrap {
  margin-bottom: 5rem;
}
@media all and (max-width: 1024px) {
  .news-filter-wrap {
    margin-bottom: 3rem;
  }
}
.news-filter-search {
  margin-bottom: 1.25rem;
}
.news-filter-search-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #14285a;
  margin-bottom: 0.5rem;
}
.news-filter-search-input {
  display: block;
  width: 100%;
  max-width: 32rem;
  padding: 0.6rem 0.75rem 0.6rem 2.75rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #14285a;
  background: #fff url('../img/search.svg') no-repeat 0.65rem center;
  background-size: 1.25rem 1.25rem;
  border: 1px solid rgba(3, 129, 160, 0.35);
  border-radius: 10px;
}
.news-filter-search-input::placeholder {
  color: rgba(20, 40, 90, 0.5);
}
.news-filter-search-input:focus {
  outline: 0;
  border-color: #00afdd;
  box-shadow: 0 0 0 2px rgba(51, 209, 250, 0.25);
}

.news-filter-categories-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 1.5rem;
  padding: 17px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 0 rgba(113, 99, 169, 0.3);
}

.news-filter-categories-label {
  color: #14285a;
  font-weight: 700;
}

.news-filter-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.news-filter-cat {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #14285a;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  white-space: normal;
  transition: opacity 0.2s;
}

.news-filter-cat:hover {
  color: #00afdd;
  text-shadow: 0 0 1px #00afdd;
}

.news-filter-cat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d9d9d9;
}

.news-filter-cat.active {
  color: #00afdd;
  text-shadow: 0 0 1px #00afdd;
}

.news-filter-formats-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 1.5rem;
  padding: 17px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 0 rgba(113, 99, 169, 0.3);
}

.news-filter-formats-label {
  color: #14285a;
  font-weight: 700;
}

.news-filter-formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.news-filter-format {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #14285a;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  white-space: normal;
  transition: opacity 0.2s;
}

.news-filter-format:hover {
  color: #00afdd;
  text-shadow: 0 0 1px #00afdd;
}

.news-filter-format:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d9d9d9;
}

.news-filter-format.active {
  color: #00afdd;
  text-shadow: 0 0 1px #00afdd;
}

.news-filter-results {
  position: relative;
}
.news-filter-loading {
  opacity: 0.6;
  pointer-events: none;
}
.news-filter-load-more-wrap {
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.75rem 0;
}
.news-filter-load-more-btn {
  display: inline-block;
  width: auto;
  text-align: center;
  margin-top: 40px;
  padding: 16px 40px;
  border: none;
  background: var(--second-color);
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  color: var(--fontColor);
  transform: scaleX(1);
  transform-origin: center;
  transition: var(--baseTransition);
  cursor: pointer;
}
.news-filter-load-more-btn:hover,
.news-filter-load-more-btn:focus,
.news-filter-load-more-btn:focus-visible {
  opacity: 1;
  color: #fff;
  outline: none;
  transform: scaleX(1.1);
  background: var(--main-color);
}
.news-filter-load-more-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
