:root {
  --side-active-core: rgba(255, 255, 255, 0.66);
  --side-active-mid: rgba(255, 255, 255, 0.24);
}

html[data-theme="dark"] {
  --side-active-core: rgba(255, 255, 255, 0.16);
  --side-active-mid: rgba(255, 255, 255, 0.07);
}

.side-link.is-active {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
}

.side-link.is-active::before {
  position: absolute;
  z-index: -1;
  inset: 0 -14px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--side-active-mid) 22%,
    var(--side-active-core) 50%,
    var(--side-active-mid) 78%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}
