.news-filter {
  display: grid;
  gap: 14px;
  margin: 0 0 42px;
  max-width: 560px;
}

.news-filter__label {
  margin: 0;
  color: var(--saiie-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-filter__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--saiie-line);
  border-radius: 999px;
  background: var(--saiie-white);
  box-shadow: 0 10px 28px rgba(51, 54, 82, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-filter__row:focus-within {
  border-color: rgba(51, 54, 82, 0.36);
  box-shadow: 0 12px 30px rgba(51, 54, 82, 0.1);
}

.news-filter__input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--saiie-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.news-filter__input::placeholder {
  color: rgba(117, 121, 139, 0.9);
}

.news-filter__clear {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--saiie-cream);
  color: var(--saiie-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-filter__clear:hover,
.news-filter__clear:focus-visible {
  background: var(--saiie-ink);
  color: var(--saiie-white);
}

.news-filter__status {
  min-height: 1.2em;
  margin: 0;
  color: var(--saiie-muted);
  font-size: 14px;
  font-weight: 600;
}

.news-grid.is-filtered .news-filter__empty,
.news-filter__empty {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: var(--saiie-muted);
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .news-filter {
    margin-bottom: 28px;
    max-width: none;
  }

  .news-filter__row {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .news-filter__clear {
    justify-self: end;
  }
}
