/* Plassimo: balanced category headings and navigation density across breakpoints. */
@media (max-width: 767.98px) {
  body#category .category__description:has(.custom-h1-category) {
    margin-bottom: 0.875rem;
  }

  body#category .category__description .custom-h1-category {
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
    line-height: 1.14;
    letter-spacing: -0.016em;
  }

  body#category .category__description .custom-h2-category {
    font-size: 0.9375rem;
    line-height: 1.32;
  }
}

@media (min-width: 768px) {
  body#category .category__description:has(.custom-h1-category) {
    margin-bottom: 1.125rem;
  }

  body#category .category__description .custom-h1-category {
    margin-bottom: 0.375rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.018em;
  }

  body#category .category__description .custom-h2-category {
    color: #6c6469;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.35;
  }

  body#category #horizontal-pills-container {
    gap: 0.5rem;
    margin-bottom: 0.8125rem;
  }

  body#category #horizontal-pills-container .subcategory__link {
    padding: 0.35rem 0.7rem;
    font-size: 0.9375rem;
    line-height: 1.25;
  }
}
