/*
 * UKUEM project — rich text frontend styles
 */

/* ── Document links ─────────────────────────────────────────────────────── */
/* .doc-link is added by the custom DocumentLinkHandler in wagtail_hooks.py  */

.doc-link {
    color: #489d70;
    text-decoration: underline;
    text-decoration-color: #489d70;
    transition: color 0.15s, text-decoration-color 0.15s;
}

.doc-link:hover {
    color: #36d982;
    text-decoration-color: #36d982;
}

/* ── Colored underline spans ────────────────────────────────────────────── */

.richtext-underline-green {
    color: #49f89b;
    text-decoration: underline;
    text-decoration-color: #49f89b;
}

.richtext-underline-teal {
    color: #41b5ad;
    text-decoration: underline;
    text-decoration-color: #41b5ad;
}

.richtext-underline-red {
    color: #dc2626;
    text-decoration: underline;
    text-decoration-color: #dc2626;
}

.richtext-underline-dark {
    color: #1a191d;
    text-decoration: underline;
    text-decoration-color: #1a191d;
}
