/* Secondary material navigation keeps the existing category links and editor bindings intact. */
body #catalog-app .mhc-category-side-nav {
  position: static;
  align-self: start;
  overflow: hidden;
  border-radius: 10px;
}
body #catalog-app .mhc-category-side-nav h2 {font-size:24px!important;line-height:1.2!important;padding:20px 18px!important;}
body #catalog-app .mhc-category-side-nav > a {font-size:13px!important;line-height:1.4;min-height:40px;padding:10px 16px;}
body #catalog-app .mhc-material-categories {border-top:3px solid #bd1f3d;margin:12px 0 0;}
body #catalog-app .mhc-material-categories > summary {
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  list-style:none;cursor:pointer;padding:16px;background:#eef3f7;
  color:#0b2b47;font-size:14px!important;font-weight:700;line-height:1.35;
}
body #catalog-app .mhc-material-categories > summary::-webkit-details-marker {display:none;}
body #catalog-app .mhc-material-categories > summary svg {flex:none;transition:transform .18s ease;}
body #catalog-app .mhc-material-categories[open] > summary svg {transform:rotate(180deg);}
body #catalog-app .mhc-material-links > a {font-size:13px!important;line-height:1.45;min-height:44px;padding:12px 16px;white-space:normal;}
body #catalog-app .mhc-category-side-nav a:focus-visible,
body #catalog-app .mhc-material-categories > summary:focus-visible {outline:2px solid #bd1f3d;outline-offset:-3px;}
@media(max-width:980px) {
  body #catalog-app .mhc-category-side-nav {display:block;white-space:normal;overflow:visible;border:1px solid #dfe6ea;}
  body #catalog-app .mhc-category-side-nav h2 {display:block;font-size:20px!important;padding:16px!important;}
  body #catalog-app .mhc-category-side-nav > a {display:inline-flex;width:50%;vertical-align:top;white-space:normal;min-height:54px;box-sizing:border-box;border-bottom:1px solid #edf1f3;}
  body #catalog-app .mhc-category-side-nav > a:first-of-type {width:100%;min-height:42px;}
  body #catalog-app .mhc-material-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  body #catalog-app .mhc-material-links > a {border-right:1px solid #edf1f3;border-bottom:1px solid #edf1f3;align-items:flex-start;}
  body #catalog-app .mhc-category-side-nav a.active:before {left:0;right:auto;top:0;bottom:0;width:3px;height:auto;}
  body #catalog-app .mhc-material-categories {margin-top:0;}
}
@media(prefers-reduced-motion:reduce) {body #catalog-app .mhc-material-categories > summary svg {transition:none;}}
