/* Homepage shared footer aligned to the main content column */

@media (min-width: 1061px) {
  html body::after {
    content: "";
    position: fixed;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width, 248px);
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 29, 0.96),
        rgba(6, 20, 37, 0.90)
      ),
      radial-gradient(
        circle at 50% 0%,
        rgba(41, 168, 255, 0.18),
        transparent 34%
      );
    pointer-events: none;
  }

  html body .site-shell,
  html body #shared-footer.site-footer {
    position: relative;
    z-index: 1;
  }

  html body #shared-footer.site-footer {
    width: calc(100% - var(--sidebar-width, 248px)) !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: var(--sidebar-width, 248px) !important;
    border-top: 1px solid rgba(118, 209, 255, 0.34) !important;
  }

  html body #shared-footer.site-footer::before,
  html body #shared-footer.site-footer::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 1060px) {
  html body::after {
    content: none;
    display: none;
  }

  html body #shared-footer.site-footer {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
