.valued-clients__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 32px;
}

.valued-clients__filter {
  min-width: 88px;
  padding: 10px 18px;
  border: 1px solid #29a9df;
  border-radius: 4px;
  background: #fff;
  color: #202833;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.valued-clients__filter:hover,
.valued-clients__filter:focus-visible,
.valued-clients__filter[aria-pressed="true"] {
  background: #29a9df;
  color: #fff;
}

.valued-clients__filter:focus-visible {
  outline: 3px solid rgba(41, 169, 223, 0.3);
  outline-offset: 2px;
}

.valued-clients__card[hidden] {
  display: none;
}

.valued-clients__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 575px) {
  .valued-clients__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }

  .valued-clients__filter {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
  }

  .valued-clients__filter:first-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .valued-clients__filter {
    transition: none;
  }
}
