/* Inline text decorations use the color already defined by each section theme. */
.sqsrte-text-highlight[data-highlight-shape] {
  position: relative;
  isolation: isolate;
}

.sqsrte-text-highlight[data-highlight-shape="marker"] {
  background: linear-gradient(transparent 8%, var(--text-highlight-color-on-background) 8% 93%, transparent 93%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sqsrte-text-highlight[data-highlight-shape] > svg {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 -.075em;
  width: calc(100% + .15em);
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--text-highlight-color-on-background);
  stroke-width: .1em;
  stroke-linejoin: bevel;
  stroke-linecap: square;
}

.header-menu-nav-item-content-folder::after,
.header-menu-controls-control::before {
  content: "";
  display: inline-block;
  width: .43em;
  height: .43em;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
}

.header-menu-nav-item-content-folder::after {
  margin-inline-start: .4em;
  transform: rotate(45deg);
}

.header-menu-controls-control::before {
  margin-inline-end: .4em;
  transform: rotate(-135deg);
}

@media (prefers-reduced-motion: no-preference) {
  .site-enter {
    animation: site-content-entrance .6s ease backwards;
  }
  @keyframes site-content-entrance {
    from { opacity: 0; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
  }
}
