.hero {
  padding: 60px 0 25px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0 40px;
}
.hero-ico { opacity: 0.5; margin-bottom: 12px; }
.hero-kicker {
  color: rgb(255 255 255 / 50%);
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 400;
}
.hero h1 { margin: 0; font-size: clamp(22px, 4vw, 28px); font-weight: 700; }
.has-mast-veil .page-mast {
  /* sort-wrap is inside mast; only pull chrome under fixed header */
  margin-bottom: calc(-1 * var(--mast-chrome-h));
}

.sort-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 28px;
}
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--bdrs-lg);
  background: #000;
  overflow: hidden;
}
.sort-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-tabs:not(.is-ready) .sort-btn.is-on { background: #fff; }
.sort-glider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateX(0);
}
.sort-tabs.is-ready .sort-glider {
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sort-tabs.is-ready.is-gliding .sort-glider { transition: none; }
.sort-btn {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.sort-btn::-moz-focus-inner { border: 0; padding: 0; }
.sort-btn:not(.is-on):hover {
  background-color: rgb(255 255 255 / 15%);
  color: #fff;
}
.sort-btn:not(.is-on):active {
  background-color: rgb(255 255 255 / 25%);
}
.sort-btn:focus,
.sort-btn:focus-visible { outline: none; box-shadow: none; }
.sort-btn.is-on {
  background: transparent;
  color: #000;
  cursor: default;
}
.sort-filter {
  appearance: none;
  -webkit-appearance: none;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background-color: rgb(255 255 255 / 15%);
  color: #fff;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.sort-filter:active { background-color: rgb(255 255 255 / 28%); }
@media (max-width: 999px) { .sort-filter { display: grid; } }

.browse { margin-bottom: 30px; }
.browse-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.filters {
  width: 260px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: var(--bdrs-lg);
  background: rgb(255 255 255 / 10%);
}
.filters h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: rgb(255 255 255 / 70%);
}
.filters h2 svg {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}
.filters h2 span {
  display: block;
  line-height: 1;
  font-weight: 400;
}
.filter-reset {
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: rgb(255 255 255 / 55%);
  text-decoration: none;
}
.filter-reset:hover { color: #fff; }
.filter-group { margin-bottom: 8px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-head {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: var(--bdrs-sm);
  background: var(--brand);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 6px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.filter-head:hover { background: var(--brand-hover); }
.filter-head:active { background: rgb(255 246 102); }
.filter-head .chev { margin-right: 2px; flex: none; }
.filter-group:not(.is-open) .chev { transform: rotate(-90deg); }
.filter-group ul { display: none; list-style: none; margin: 0; padding: 8px 0 0; }
.filter-group.is-open ul { display: flex; flex-direction: column; }
.filter-opt {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 75%);
  text-align: left;
  padding: 8px 10px 8px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: var(--bdrs-sm);
  margin-bottom: 2px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.filter-opt i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0 10px;
  background: rgb(255 255 255 / 18%);
  flex: none;
}
.filter-opt:hover { background: rgb(255 255 255 / 10%); }
.filter-opt:hover i { background: rgb(255 255 255 / 28%); }
.filter-opt:active { background: rgb(255 255 255 / 16%); }
.filter-opt.is-on {
  color: rgb(255 255 255 / 85%);
  background: rgb(255 255 255 / 10%);
  font-size: 13px;
}
.filter-opt.is-on i,
.filter-opt.is-on:hover i,
.filter-opt.is-on:active i { background: var(--brand); }

@media (max-width: 999px) {
  .filters {
    display: block;
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100vw - 40px - env(safe-area-inset-right, 0px));
    max-width: 300px;
    background: #323232;
    padding: calc(60px + env(safe-area-inset-top, 0px)) 8px calc(16px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(8px + env(safe-area-inset-left, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 0 16px 16px 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease, visibility 0.32s ease;
  }
  .filters.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
body.is-filters-open { overflow: hidden; }

.list-wrap { min-width: 0; flex: 1; width: 1%; overflow: visible; container-type: inline-size; }
@container (max-width: 749px) {
  .card-body h3 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .sort-tabs.is-ready .sort-glider { transition: none; }
  .filters { transition: none; }
}
