/* ===== Docs sidebar ==================================================== */
.nav-column {
  position: sticky;
  top: var(--nav-h);
  align-self: start;
  padding: 34px 0 40px;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

/* Section heading (e.g. "Налоговые обязательства"). */
.nav-column h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}

.nav-column h3:first-child {
  margin-top: 0;
}

.nav-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-column ul li {
  margin: 0;
}

.nav-column ul li a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s ease;
}

.nav-column ul li a:hover {
  color: var(--brand);
}

/* On narrow screens the sidebar drops above the article and un-sticks. */
@media (max-width: 860px) {
  .nav-column {
    position: static;
    max-height: none;
    padding: 20px 0 0;
  }
}
