.toc-sidebar {
  display: none;
  position: sticky;
  flex: 1;
  top: 100px;
  left: 16px;
  width: 200px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.toc-sidebar .toc-container {
  top: 20px;
  padding-top: 32px;
  padding-bottom: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  margin-right: 64px;
}
@media (max-width: 768px) {
  .toc-sidebar .toc-container {
    position: relative;
    top: auto;
    margin-bottom: 1rem;
  }
}
.toc-sidebar .toc-container h3 {
  padding-bottom: 16px;
  color: #F47721;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
}
.toc-sidebar .toc-container ul {
  padding-left: 0 !important;
  padding-bottom: 12px;
}
.toc-sidebar .toc-container ul li {
  list-style: none;
  margin-bottom: 12px;
  color: var(--Gray-600, #475467);
  /* Text md/Semibold */
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
}
.toc-sidebar .toc-container ul li.active a {
  border-radius: 4px;
  background: var(--Gray-50, #F9FAFB);
}
.toc-sidebar .toc-container ul li a {
  padding: 4px 8px;
  color: #555 !important;
  text-decoration: none;
  display: block;
}
.toc-sidebar .toc-container ul li a:hover {
  text-decoration: underline;
}
.toc-sidebar .content-wrapper {
  display: flex;
  gap: 2rem;
}

.post-content {
  flex: 1;
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  .toc-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }
}