/* NITS homepage categories: 2 / 3 / 6 columns by available component width. */
html body #main-content #heat-categories.heat-categories {
  container: nits-home-categories / inline-size;
}
html body #main-content #heat-categories.heat-categories .category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(22px, 3cqi, 30px) clamp(12px, 2cqi, 20px) !important;
}
html body #main-content #heat-categories.heat-categories .category-tile {
  padding: 0 !important;
}
html body #main-content #heat-categories.heat-categories .category-tile-media {
  width: clamp(96px, calc(60px + 14cqi), 120px) !important;
  height: clamp(96px, calc(60px + 14cqi), 120px) !important;
}
html body #main-content #heat-categories.heat-categories .heat-category-label {
  box-sizing: border-box;
}
@container nits-home-categories (min-width: 480px) {
  html body #main-content #heat-categories.heat-categories .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@container nits-home-categories (min-width: 1000px) {
  html body #main-content #heat-categories.heat-categories .category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
