/* ===== OO SmartLink =====
   Normaler Link, optional mit Button-Styling (AsButton="true").
   Button-Styles werden von button.css geerbt via .oo-btn.
   ========================= */

.oo-smart-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    color: var(--oo-primary);
}
    .oo-smart-link:hover {
        color: var(--oo-primary-darker);
    }

/* Wenn der Link als Button gestylt wird:
   - kein Unterstrich
   - theme.css a:not(.no-color) Farbüberschreibung aufheben – color kommt von --_btn-text */
.oo-smart-link.oo-btn {
    text-decoration: none;
    color: var(--_btn-text);
}

.oo-smart-link.oo-btn:hover:not(.oo-btn--disabled) {
    color: var(--_btn-text);
}

/* Active-State für reine Link-Verwendung (kein Button-Styling) */
.oo-smart-link:not(.oo-btn).active {
    font-weight: 600;
}
