/* AFTABIN P32 — equipment taxonomy archives ONLY.
 * Make the complete existing equipment sidebar stick below the fixed header.
 * For tall sidebars, scroll inside the sidebar instead of hiding its sections.
 * The general public sidebar, article sidebar, model details and mobile are unchanged.
 */
@media (min-width: 42.01rem) {
  .av4-public-root .av4-equipment-leaf.av4-equipment-panels .av4-taxonomy-detail__layout > .av4-taxonomy-detail__aside.av4-sidebar-shell[data-av4-sidebar-variant="equipment"],
  .av4-public-root .av4-equipment-subarchive.av4-equipment-panels .av4-eq-category__layout > .av4-eq-category__aside.av4-sidebar-shell[data-av4-sidebar-variant="equipment"] {
    position: sticky;
    top: var(--av4-sticky-offset, 6rem);
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - var(--av4-sticky-offset, 6rem) - 1rem);
    max-height: calc(100dvh - var(--av4-sticky-offset, 6rem) - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    z-index: 2;
  }
  .av4-public-root .av4-equipment-leaf.av4-equipment-panels .av4-taxonomy-detail__layout > .av4-taxonomy-detail__aside.av4-sidebar-shell[data-av4-sidebar-variant="equipment"] > .av4-sidebar-shell__stack,
  .av4-public-root .av4-equipment-subarchive.av4-equipment-panels .av4-eq-category__layout > .av4-eq-category__aside.av4-sidebar-shell[data-av4-sidebar-variant="equipment"] > .av4-sidebar-shell__stack {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
