@media print {
  /* Adjusts positioning of admonition icon */
  .md-typeset :is(.admonition-title,summary):before {
    top: 0.6rem;
    left: 0.6rem;
  }
  /* Modify rendering of numbered lists in PDF */
  .power-number+ol>li::before,
  .power-number+ol ol>li::before {
    background-color: var(--md-default-bg-color);
    color: var(--md-typeset-color);
    border-radius: 0;
    width: 1.5em;
    margin-left: -1.7em;
    opacity: 1;
  }
  /* Do not render html tags with this class in PDF */
  .no-pdf {
    display: none !important;
  }
  .tabbed-content {
    display: contents;
  }
} 
.md-sidebar__inner {
    font-size: 0.65rem;   /* Font size */
    line-height: 1.6;
}

.md-content__button.md-icon {
  color: #f56a37 !important;
}

/* Optional: hover effect */
.md-content__button.md-icon:hover {
  color: #dc3f00 !important;
}

.md-content__button.md-icon[href*="/edit/"] {
  display: inline-flex;          /* make the button a flex container */
  flex-direction: column;        /* stack children vertically */
  align-items: center;           /* center them horizontally */
  margin-top: -4px;
}

.md-content__button.md-icon[href*="/edit/"] svg {
  width: 32px;
  height: 32px;
}

.md-content__button.md-icon[href*="/edit/"]::after {
  content: "Improve this page";
  margin-top: 2px;
  font-size: 0.7rem;
  text-align: center;
  display: block;
  width: 100%;
}

