.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(--uab-green);
  font-size: 0.8em;
  font-weight: 600;
  font-size: 16px;
}

.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;
}

/* ---------------- UIkit Accordion deep-link controls ---------------- */

/* ensure we can position the icon inside the title */
.uk-accordion-title {
  position: relative;
}

/* the copy icon control (only visible when the accordion item is open) */
.uk-accordion-title .al-acc-copy {
  position: absolute;
  right: 3.25rem; /* adjust if it overlaps the +/- icon */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 120ms ease-in-out;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.uk-accordion > li.uk-open .uk-accordion-title .al-acc-copy {
  opacity: 0.85;
  pointer-events: auto;
}

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

.uk-accordion-title .al-acc-copy i {
  font-size: .9rem;
}

/* inline "Copied!" pill next to the icon */
.uk-accordion-title .al-acc-feedback {
	font-size: 0.72rem;
		padding: 0.15rem 0.4rem;
		border-radius: 999px;
		background: #fff;
		border: 1px solid #1a5632;
		color: #1a5632;
		white-space: nowrap;
		position: absolute;
		top: -17px;
		right: -20px;
}