.anchor-icon {
    cursor: pointer;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.9em;
    display: inline-block;
    outline: 0px !important;
    position: relative;
     z-index: 10;
}

.anchor-icon img {
    outline: 0px !important;
    font-size: 24px;
}

h2:hover .anchor-icon,
h3:hover .anchor-icon {
    opacity: 1;
}

.anchor-heading-link {
    text-decoration: none;
    color: inherit;
}


.anchor-heading-link {
        color: #18191B !important;
    }

/* Tooltip */
.anchor-icon::after {
    content: 'Copy link';
    position: absolute;
    bottom: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 100px;
     left: 50%;
    transform: translateX(-50%);
    background-color: #dfdfdf;
    color: #18191B;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anchor-icon:hover::after {
    opacity: 1;
}

.anchor-icon::before {
    content: '';
    position: absolute;
    bottom: 55%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px;
    border-style: solid;
    border-color: #dfdfdf transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}
.anchor-icon:hover::before {
    opacity: 1;
}