.pulsegrid-archive {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.pulsegrid-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pulsegrid-heading {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.pulsegrid-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pulse-input,
.pulse-select,
.pulse-btn {
  min-height: 2.5rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.pulse-btn {
  cursor: pointer;
  font-weight: 600;
}

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

.pulsegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pulsegrid-card__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 88px;
  padding: 1rem;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.pulsegrid-card__link:hover,
.pulsegrid-card__link:focus-visible {
  border-color: currentColor;
}

.pulsegrid-card__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.pulsegrid-card__name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.pulsegrid-card__handle,
.pulsegrid-card__sub,
.pulse-empty {
  opacity: 0.72;
  font-size: 0.88rem;
}

.pulse-pagination {
  margin-top: 1.5rem;
}

.pulse-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  margin-right: 0.25rem;
  border: 1px solid rgba(127, 127, 127, 0.3);
  border-radius: 6px;
  text-decoration: none;
}

@media (max-width: 700px) {
  .pulsegrid-header {
    align-items: stretch;
    flex-direction: column;
  }

  .pulsegrid-filters {
    flex-direction: column;
  }
}
