/* Match the original MediaPortal link styles while retaining native Joomla markup. */
/* Legacy icon classes belong to the module wrapper, not to its text. */
.mediaportal .module[class*="icon-"]{font-weight:400!important}
.mediaportal .module[class*="icon-"]::before{font-weight:900}
#content a:not(.btn),#sidebar-a .module-content a:not(.btn),#sidebar-b .module-content a:not(.btn){color:#369;text-decoration:none}
#content a:not(.btn):hover,#sidebar-a .module-content a:not(.btn):hover,#sidebar-b .module-content a:not(.btn):hover{color:#369;text-decoration:none}
#sidebar-a .latestnews,#sidebar-b .latestnews{font-size:16px}
#sidebar-a .latestnews a,#sidebar-b .latestnews a{font-weight:400}
#bottom-b .module-content a{color:#fff;text-decoration:none}
#bottom-b .module-content a:hover,#bottom-b .module-content a:focus-visible{color:#4993c5;text-decoration:none}
#footer .mod-custom a{color:#bbb;text-decoration:none}
#content a.fa,#sidebar-a a.fa,#sidebar-b a.fa{font-family:inherit!important;font-weight:400!important}
#content a.fa::before,#sidebar-a a.fa::before,#sidebar-b a.fa::before{font-family:"Font Awesome 6 Free";font-weight:900;margin-right:.35em}

/* Sidebar text links remain recognizable within paragraphs and module lists. */
#block-main #main :is(#sidebar-a,#sidebar-b) .module-content a:not(.btn):not(.jmodedit):not(:has(img)){color:#21658b;text-decoration-line:underline;text-decoration-color:#21658b66;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:color .15s,background-color .15s,text-decoration-color .15s}
#block-main #main :is(#sidebar-a,#sidebar-b) .module-content a:not(.btn):not(.jmodedit):not(:has(img)):is(:hover,:focus-visible){color:#084f7b;background-color:#e7f2f9;text-decoration-color:currentColor;text-decoration-thickness:2px}
#block-main #main :is(#sidebar-a,#sidebar-b) .module-content a:not(.jmodedit):focus-visible{outline:2px solid #1275a5;outline-offset:3px}
