.accordion-title {
  padding-right: 3.25rem !important; /* room for both the +/- icon (right: 16px) and our link icon */
}

.sis-anchor-link {
  position: absolute;
  right: 44px;      /* sits just left of Foundation's +/- indicator at right: 16px */
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  color: #8a1c22; /* adjust to match your theme's link color */
}

.accordion-title:hover .sis-anchor-link,
.accordion-title:focus-within .sis-anchor-link,
.sis-anchor-link:focus {
  opacity: 0.6;
}

.sis-anchor-link:hover {
  opacity: 1 !important;
}

.sis-anchor-copied {
  opacity: 1 !important;
}

.sis-anchor-copied::after {
  content: "Copied!";
  position: absolute;
  right: 0;
  top: -1.6rem;
  background: #333;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

@keyframes sisHighlightFade {
  0%   { background-color: #fff3b0; }
  100% { background-color: transparent; }
}

.accordion-title.sis-anchor-highlight {
  animation: sisHighlightFade 2s ease;
}