.category-hero {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--surface, var(--surface-alt));
  border-left: 8px solid var(--accent);
  border-radius: 8px;
}
.category-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.category-hero .category-description {
  font-size: 1.25rem;
  max-width: 700px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.category-hero .category-description > *:first-child {
  margin-top: 0;
}
.category-hero .category-description > *:last-child {
  margin-bottom: 0;
}
.category-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.category-stats a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-theme="dark"] .category-hero {
  background: var(--portal-card, var(--card-bg));
  border-left-color: var(--accent);
  color: var(--portal-ink, var(--text));
}
[data-theme="dark"] .category-hero .category-description,
[data-theme="dark"] .category-stats {
  color: var(--portal-muted, var(--text-secondary));
}
[data-theme="dark"] .category-stats a {
  color: var(--portal-ink, var(--text));
}
@media (max-width: 768px) {
  .category-hero {
    padding: 1.1rem 1rem;
    margin-bottom: 1.5rem;
  }
  .category-hero h1 {
    font-size: 2.4rem;
  }
  .category-hero .category-description {
    font-size: 1.05rem;
  }
}
