:global(section.column).index {
  &:first-of-type { padding-right: var(--inner-column-padding) !important; }
  &:last-of-type { padding-left: var(--inner-column-padding) !important; }

  &:not(:first-of-type):not(:last-of-type) {
    padding-left: var(--inner-column-padding);
    padding-right: var(--inner-column-padding);
  }
}

:global(.basic.segment).column-head {
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}

.divider {
  background-color: var(--semantic-light-grey);
}

.list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow-y: auto;
  height: 50vh;
}

:global(section.column).index {
  &:first-of-type { padding-right: var(--inner-column-padding) !important; }
  &:last-of-type { padding-left: var(--inner-column-padding) !important; }

  &:not(:first-of-type):not(:last-of-type) {
    padding-left: var(--inner-column-padding);
    padding-right: var(--inner-column-padding);
  }

  .column-head {
    margin-bottom: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .divider {
    background-color: var(--semantic-light-grey);
  }

  .list {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow-y: auto;
    height: 50vh;
  }
}

Refactor category column css module to leverage nesting
Refactor category column css module to leverage nesting
