/* Shared by the interactive Atlas and its generated HTML representations. */
a.atlas-wiki-link,
.atlas-record a.atlas-wiki-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 42px;
    padding: 6px 11px;
    border: 1px solid color-mix(in srgb, var(--rz-link-color, #9cc5ff) 36%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--rz-link-color, #9cc5ff) 9%, transparent);
    color: var(--rz-link-color, #9cc5ff);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    vertical-align: middle;
    transition: background-color .15s ease, border-color .15s ease;
}
.atlas-wiki-link .atlas-wiki-icon,
img.atlas-wiki-icon {
    display: block;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 2px;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}
.atlas-wiki-link > .atlas-wiki-label { min-width: 0; color: inherit; overflow-wrap: anywhere; }
.atlas-wiki-link > .atlas-wiki-external { flex: 0 0 auto; color: inherit; font-size: .85em; opacity: .7; }
a.atlas-wiki-link:hover,
.atlas-record a.atlas-wiki-link:hover {
    background: color-mix(in srgb, var(--rz-link-color, #9cc5ff) 17%, transparent);
    border-color: var(--rz-link-color, #9cc5ff);
    color: var(--rz-link-color, #9cc5ff);
    text-decoration: none;
}
a.atlas-wiki-link:focus-visible {
    outline: 2px solid var(--rz-link-color, #9cc5ff);
    outline-offset: 3px;
}
a.atlas-wiki-link--compact { min-height: 34px; padding: 4px 8px; gap: 6px; font-size: .8rem; }
.atlas-wiki-link--compact .atlas-wiki-icon { width: 22px; height: 22px; }
a.atlas-wiki-link--inline { min-height: 0; padding: 1px 4px; gap: 5px; font-size: inherit; background: transparent; border-color: transparent; }
.atlas-wiki-link--inline .atlas-wiki-icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { a.atlas-wiki-link { transition: none; } }
