.single-post .dynamic-entry-content h2 {
    position: relative;
}

.single-post .dynamic-entry-content h2:hover .gb-anchor-link {
    opacity: 1;
}

.single-post .gb-anchor-link {
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.anchor-icon svg {
    width: 26px;
    height: 26px;
}

.anchor-icon {
    font-size: 23px;
    color: #1b2e53;
}

body.dark-mode .anchor-icon svg {
    stroke: #fff;
    fill: #fff;
}

.gb-anchor-link.copied .anchor-icon {
    color: #d02437;
}

body.dark-mode .gb-anchor-link.copied .anchor-icon svg {
    stroke: #a8ff60;
}

.gb-anchor-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    margin-left: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 99;
    display: block;
}

body.dark-mode .gb-anchor-link[title]:hover::after {
    background: #1a1a1a;
    color: #eaeaea;
    border: 1px solid #333;
}
