/* =========================================================
   REVISION SIDEBAR STICKY STACK
========================================================= */

:root {
  --sticky-top: 80px;
  --stack-gap: 16px;
}

/* Normal document flow */

.sticky-stack {
  position: static;
  display: block;
}

/* * Let the stack control spacing between the cards. */

.sticky-stack > .key-info, .sticky-stack > .thank-you-support {
  position: static;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.sticky-stack > .thank-you-support {
  margin-top: var(--stack-gap) !important;
}

/* Sticky sidebar from Bootstrap LG upwards */

@media (min-width: 992px) {
  .sticky-stack {
    position: sticky;
    top: var(--sticky-top);
    z-index: 101;
  }
}

/* Normal flow below LG */

@media (max-width: 991.98px) {
  .sticky-stack {
    position: static;
    top: auto;
  }
}

