/* Quiet catalogue surfaces in the dark palette. */
html[data-theme="dark"] .modern-site .catalog-shell--category > .content-block {
  border: 1px solid #2c3a40 !important;
  background: linear-gradient(120deg, #202d32, #1c282d) !important;
  box-shadow: 0 8px 20px -16px rgb(0 0 0 / 40%) !important;
}

html[data-theme="dark"] .modern-site .cs-category-sections {
  border-color: #2c3a40;
  background: #1c282d !important;
  box-shadow: none;
}
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a {
  border-color: #33434a;
  background: #222f35;
  color: #d9e3e4;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a:hover {
  border-color: #526068;
  background: #2a383e;
  color: #f0f5f4;
}
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a:is(.is-current, [aria-current="location"]) {
  border-color: #78533b;
  background: #352d27;
  color: #ffb27d;
}
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a:is(.is-current, [aria-current="location"]):hover {
  border-color: #936347;
  background: #403127;
}
html[data-theme="dark"] .modern-site .cs-category-sections .cs-category-sections__icon {
  color: #d99a6b;
}
html[data-theme="dark"] .modern-site .cs-category-sections .cs-category-sections__count,
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a:hover .cs-category-sections__count {
  border-color: #3a4b52;
  background: #29383e;
  color: #b8c8cb;
}
html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a:is(.is-current, [aria-current="location"]) .cs-category-sections__count {
  border-color: #705039;
  background: #493629;
  color: #f4bd92;
}
html[data-theme="dark"] .modern-site .cs-category-sections a:focus-visible {
  outline: 2px solid #ffaf74;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] .modern-site .cs-category-sections nav > ul > li > a { transition: none; }
}
