.wp-block-ht-block-toc .ht_toc_placeholder {
  font-size: 18px;
}
.wp-block-ht-block-toc[data-htoc-state="expanded"] .htoc__itemswrap {
  margin-top: 1em;
  opacity: 1;
  max-height: 9999px;
}
.wp-block-ht-block-toc[data-htoc-state="closed"] .htoc__itemswrap {
  opacity: 0;
  max-height: 0;
  display: none;
}

.wp-block-ht-block-toc.htoc--position-left,
.wp-block-ht-block-toc.htoc--position-right {
  max-width: 260px;
}
.wp-block-ht-block-toc.htoc--position-center {
  text-align: center;
}
.wp-block-ht-block-toc.htoc--position-left {
  float: left;
  margin-right: 2em;
}
.wp-block-ht-block-toc.htoc--position-right {
  float: right;
  margin-left: 2em;
}
.wp-block-ht-block-toc .htoc__title {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1em;
  font-weight: 600;
}
.wp-block-ht-block-toc .htoc__toggle {
  margin-left: 15px;
  background: #fff;
  padding: 8px 8px;
  border-radius: 2px;
  line-height: 1em;
  cursor: pointer;
  position: relative;
}
.wp-block-ht-block-toc .htoc__toggle svg {
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.wp-block-ht-block-toc ul,
.wp-block-ht-block-toc ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}
.wp-block-ht-block-toc ul ul,
.wp-block-ht-block-toc ul ol,
.wp-block-ht-block-toc ol ul,
.wp-block-ht-block-toc ol ol {
  padding: 0;
  margin: 0.5em 0 0.5em 1em;
}
.wp-block-ht-block-toc ul li,
.wp-block-ht-block-toc ol li {
  margin-bottom: 0.5em;
}
.wp-block-ht-block-toc ul li:last-child,
.wp-block-ht-block-toc ol li:last-child {
  margin-bottom: 0;
}
.wp-block-ht-block-toc ul {
  list-style-type: disc;
}
.wp-block-ht-block-toc ol {
  list-style-type: decimal;
}
.wp-block-ht-block-toc.toc-list-style-plain ul,
.wp-block-ht-block-toc.toc-list-style-plain ol {
  list-style-type: none;
}
.ht-toc-clear {
  clear: both;
  width: 0;
  height: 0;
}
