.link_indent1 {
  margin-left: 15px;
}

.spacer {
  width: 100%;
}

#docs-index-sect {
  background-color: #00000000 !important;
  align-items: stretch;
  gap: 10px;
  margin: 20px !important;
}

#sidebar_left {
  background-color: #00000000 !important;
}

/* Version Section */

#version_switcher {
  margin-bottom: 12px;
}

#sect_version {
  opacity: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

#sect_version.visible {
  opacity: 1;
  padding: 15px;
  max-height: 200px;
  margin: 0 5px 5px 5px !important;
}

.sidebar-list {
  gap: 5px;
}

.version_option {
  cursor: pointer;
}

/* Classes Section */

#sect_classes {
  opacity: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

#sect_classes.visible {
  opacity: 1;
  padding: 15px;
  max-height: 1000px;
  margin: 0 5px 5px 5px !important;
}

/* Per-version link groups on the docs index. Each group wraps the version's
   topic/class buttons; without an explicit column the buttons would flow inline
   and wrap. The [hidden] variant keeps inactive versions collapsed. */
#sect_topics .version_topics,
#sect_classes .version_classes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#sect_topics .version_topics[hidden],
#sect_classes .version_classes[hidden] {
  display: none;
}

#sect_page_contents {
  background: #25232a;
}

/* Media Queries */

@media screen and (max-width: 960px) {
  .page {
    display: flex;
    flex-direction: column;
  }

  #sidebar_left {
    width: auto;
    max-height: none;
    position: static;
    overflow: visible;
    padding: 8px 8px 0 8px;
  }
}
