.categories-hero {
  background: radial-gradient(circle at top left, rgba(0, 179, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 179, 255, 0.06), transparent 55%);
}

.categories-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.categories-breadcrumbs li + li::before {
  content: "/";
  margin-inline: 0.25rem;
  color: var(--gray-600);
}

.categories-breadcrumbs a {
  color: var(--color-text-muted);
}

.categories-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.categories-hero__lead {
  font-size: var(--fs-lg);
  max-width: 40rem;
}

.categories-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.categories-hero__media {
  max-width: 460px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color-subtle);
  box-shadow: var(--shadow-soft);
}

.categories-section-header {
  margin-bottom: var(--space-6);
}

.categories-section-header--inline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: flex-end;
}

.category-card__header {
  margin-bottom: var(--space-3);
}

.category-card__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.category-card__bullets {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
  padding-left: 1.1rem;
}

.category-card__bullets li {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.category-card__bullets li::before {
  content: "";
  position: absolute;
  left: -0.9rem;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background-color: var(--color-primary);
}

.category-card__footer {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--space-2);
}

.categories-popular__grid {
  margin-top: var(--space-4);
}

.category-highlight__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.category-highlight__title {
  font-size: var(--fs-lg);
}

.category-highlight__meta {
  margin-top: var(--space-3);
}

.category-highlight__footer {
  margin-top: var(--space-3);
}

.categories-help {
  border-top: 1px solid var(--border-color-subtle);
}

.categories-help__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}

.categories-help__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .categories-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .categories-hero__media {
    order: -1;
    margin-inline: auto;
    max-width: 380px;
  }

  .categories-section-header--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .categories-popular__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories-help__layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .categories-help__cta-group {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .categories-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .categories-popular__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
