.eh-bt__stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.eh-bt__body {
  padding-top: 0;
}

.eh-bt__toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.25rem;
}

.eh-bt__search {
  position: relative;
  display: block;
}

.eh-bt__search i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: var(--eh-ink-soft);
}

.eh-bt__search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.4rem;
  border: 1px solid var(--eh-border);
  border-radius: 999px;
  background: var(--eh-surface);
  color: var(--eh-ink);
  font: inherit;
}

.eh-bt__search input:focus {
  outline: 2px solid var(--eh-green);
  outline-offset: 1px;
  border-color: transparent;
}

.eh-bt__chips,
.eh-bt__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.eh-bt__chip,
.eh-bt__subchip {
  border: 0;
  cursor: pointer;
  background: var(--eh-surface-alt);
  color: var(--eh-ink-soft);
}

.eh-bt__chip em,
.eh-bt__subchip em {
  font-style: normal;
  margin-left: 0.25rem;
  opacity: 0.75;
}

.eh-bt__chip.is-active,
.eh-bt__chip:hover,
.eh-bt__subchip.is-active,
.eh-bt__subchip:hover {
  background: var(--eh-green-soft);
  color: var(--eh-green);
}

.eh-bt__subchip.is-hidden {
  display: none;
}

.eh-bt__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.eh-bt__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
}

.eh-bt__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}

.eh-bt__tags span {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--eh-green-soft);
  color: var(--eh-green);
  font-size: 0.72rem;
  font-weight: 700;
}

.eh-bt__copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.eh-bt__copy p {
  margin: 0;
  color: var(--eh-ink-soft);
  font-size: 0.92rem;
}

.eh-bt__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.eh-bt__card.is-hidden,
.eh-bt__card.is-paged-out,
.eh-bt__empty.is-hidden,
.eh-bt__more.is-hidden {
  display: none;
}

.eh-bt__more {
  display: flex;
  justify-content: center;
  margin: 2.25rem 0 0.5rem;
}

@media (max-width: 980px) {
  .eh-bt__grid,
  .eh-bt__stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .eh-bt__grid,
  .eh-bt__stat-grid {
    grid-template-columns: 1fr;
  }
}
