body.tch-hub-page .entry-hero,
body.tch-hub-page .entry-header,
body.tch-hub-page .page-title,
body.tch-hub-page .entry-title,
body.tch-hub-page #main > article > .entry-content-wrap {
  display: none;
}

body.tch-hub-page .content-container,
body.tch-hub-page .site-main,
body.tch-hub-page .entry-content-wrap {
  padding-top: 0;
  max-width: none;
}

.tch-hub {
  --tch-accent: #e11d48;
  --tch-ink: #0f172a;
  --tch-muted: #64748b;
  --tch-line: #e2e8f0;
  --tch-bg: #f8fafc;
  --tch-card: #ffffff;
  color: var(--tch-ink);
  background: var(--tch-bg);
  padding: 88px 0 48px;
  min-height: 60vh;
}

.tch-hub-wrap {
  width: min(800px, calc(100% - 24px));
  margin: 0 auto;
}

.tch-hub-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--tch-muted);
  margin-bottom: 18px;
}

.tch-hub-crumbs a {
  color: var(--tch-accent);
  text-decoration: none;
  font-weight: 650;
}

.tch-hub-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.tch-hub-head p {
  margin: 0 0 8px;
  color: var(--tch-muted);
}

.tch-hub-meta {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--tch-ink) !important;
}

.tch-hub-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.tch-hub-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--tch-line);
  background: var(--tch-card);
  color: var(--tch-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.tch-hub-switch a.is-on {
  background: var(--tch-ink);
  border-color: var(--tch-ink);
  color: #fff;
}

.tch-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tch-hub-term {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tch-hub-term:hover {
  border-color: #0f172a;
}

.tch-hub-term-name {
  font-weight: 750;
  letter-spacing: -0.02em;
}

.tch-hub-term-range {
  grid-column: 1;
  color: var(--tch-muted);
  font-size: 0.82rem;
}

.tch-hub-term-count {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--tch-muted);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.tch-hub-term-note {
  grid-column: 1;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tch-hub-empty,
.tch-hub-foot {
  margin: 22px 0 0;
}

.tch-hub-foot a {
  color: var(--tch-accent);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 640px) {
  .tch-hub {
    padding-top: 76px;
  }

  .tch-hub-term {
    grid-template-columns: 1fr;
  }

  .tch-hub-term-count {
    grid-row: auto;
    grid-column: 1;
  }
}
