.has-anchorlinks {
  position: relative;
  display: flex;
  align-items: center;
}

.al-tools {
  margin-left: 0.4em;
  font-size: 16px;
}

.al-anchor {
  cursor: pointer;
  color: var(--uab-green);
  text-decoration: none;
  opacity: .2;
}

.al-anchor:hover {
  opacity: 1;
}

.al-feedback {
  margin-left: 0.5em;
  color: var(--white);
  background-color: var(--uab-green);
  font-weight: 600;
  font-size: 0.8rem !important;
  position:absolute;
  top:-17px;
  padding:5px;
 
}

/* Smaller feedback when used inline next to icons (headings + accordions) */
.al-feedback--inline {
  margin-left: 0.35em;
  font-size: 0.8em;
}

/* ---------------- Accordion permalinks (UIkit/Widgetkit) ---------------- */
/* We only touch titles that we enhanced to avoid unintended UIkit side-effects. */
.al-acc-title {
  position: relative;
}

/* If the theme adds a leading icon via ::before and UIkit also injected an inline icon,
   hide the leading duplicate. */
.al-acc-has-uikit-icon::before {
  display: none !important;
}

/* Hidden by default; shown only when the accordion item is open */
.al-acc-copy {
  display: none;
  position: absolute;
  right: 2.75rem; /* adjust if it overlaps the +/- icon */
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.85;
  line-height: 1;
  padding: 0.15rem 0.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.uk-accordion > li.uk-open .al-acc-copy {
  display: inline-flex;
  align-items: center;
}

.al-acc-copy i {
  font-size: 0.85rem;
}

.al-acc-copy:hover {
  opacity: 1;
}

.anchorlinks-toc {
  margin: 1.5rem 0 2.5rem;
  border-left: 2px solid #7F7F7F;
  padding-left: 12px;
}

.anchorlinks-toc span {
  margin: 0 0 0.25rem;
  font-size: 1.19rem;
  font-weight: 600;
  display: block;


}

.anchorlinks-toc ul {
  margin: 0;
  padding-left: 20px;
}

.anchorlinks-toc li+li {
  margin-top: 0.25rem;
}