.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index { width: 100%; color: var(--hnx-category-index-text); background: var(--hnx-category-index-bg); border-block: 1px solid var(--hnx-line); }
/* Same shell and gutters as the other home sections. */
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__inner { width: min(calc(100% - 4rem), var(--hnx-home-shell)); max-width: none; margin-inline: auto; padding-inline: 0; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__eyebrow { margin: 0 0 1.25rem; color: var(--hnx-category-index-accent); letter-spacing: 0.16em; text-transform: uppercase; }

/* Three columns as wide as their longest word, so the words keep their
   headline size while every drawing in a column starts on the same line.
   The renderer wraps children in plain divs of varying depth; flattening them
   lets the words sit directly in the grid. */
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__words { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; align-items: center; gap: 0.375rem clamp(0.75rem, 2.4vw, 3rem); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__words div { display: contents; }

/* Display type outside the shared scale: sized to read as a headline. */
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word { display: inline-flex; align-items: center; gap: 0.3em; min-height: 2.75rem; color: inherit; font-size: clamp(2rem, 4.8vw, 4.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.06em; white-space: nowrap; text-decoration: none; transition: color 0.2s var(--hnx-ease); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word--accent { color: var(--hnx-category-index-accent); font-family: var(--hnx-serif); font-style: italic; font-weight: 400; letter-spacing: -0.04em; }
/* The small picture is a line drawing: shown whole, on the section's own background. */
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word__media { flex: 0 0 auto; width: 1.05em; height: 1.05em; }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word__media img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform 0.4s var(--hnx-ease); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word__mark { color: var(--hnx-category-index-accent); font-family: inherit; font-size: 0.32em; font-style: normal; letter-spacing: 0; }
/* Hover swaps the two colours: ink words turn accent, accent words turn ink. */
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word:hover, .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word:active { color: var(--hnx-category-index-accent); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word--accent:hover, .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word--accent:active { color: var(--hnx-category-index-text); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word:hover .hnx-category-word__media img { transform: rotate(-6deg) scale(1.08); }
.cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word:focus-visible { outline: 2px solid var(--hnx-category-index-accent); outline-offset: 0.25rem; }

@media (max-width: 767px) {
  .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__inner { width: calc(100% - 2rem); padding-block: 2.25rem; }
  .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__eyebrow { margin-bottom: 0.875rem; }
  /* Two columns on a phone; the star is dropped to keep the words large. */
  .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index__words { grid-template-columns: repeat(2, max-content); gap: 0.25rem 1.25rem; }
  .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word { font-size: clamp(1.5rem, 7.4vw, 2rem); }
  .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index .hnx-category-word__mark { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cc_wlBSnlgVag_0v3niGCbpL .hnx-category-index * { transition: none !important; } }
