/* UP–NS content link standard — version 0.1.2, 2026-09-23.
 * Scope: prose links in the observed WordPress / Elementor text containers.
 * Does not target site chrome, CTA groups, buttons, downloads or linked cards.
 * !important intentionally overrides normal inline colors and legacy rules.
 * The companion script handles important inline overrides and known shadow roots.
 * Preserve unusual intentional treatments with data-upns-link-style="preserve".
 */
#main a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)),
:host a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)) {
    color: #034767 !important;
    font-weight: 700 !important;
    text-decoration-line: underline !important;
    text-decoration-color: currentColor !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 0.15em !important;
    text-decoration-skip-ink: auto;
}
#main a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)) :is(span, strong, b, em, i, u, font),
:host a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)) :is(span, strong, b, em, i, u, font) {
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}
#main a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):hover,
:host a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):hover {
    color: #116f9a !important;
    text-decoration-thickness: 2px !important;
}
#main a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):focus-visible,
:host a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px !important;
    border-radius: 2px;
}

/* Explicit dark sections, including the reported homepage block.
   Dark sections retain white links in normal, hover and keyboard-focus states.
   New dark sections should use the explicit dark-theme marker or a reviewed selector. */
#main .elementor-element-8213312 a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)),
#main [data-upns-link-theme="dark"] a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)),
:host [data-upns-link-theme="dark"] a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)) {
    color: #fff !important;
}
#main .elementor-element-8213312 a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):hover,
#main [data-upns-link-theme="dark"] a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):hover,
:host [data-upns-link-theme="dark"] a[href]:where(:is(p, li, dd, [class*="paragraph"], [class*="text-block"], [class*="custom_pass_text"], .w-richtext, .elementor-widget-text-editor, .article-bottom, .inquery-bottom-colored, .timeline-content) a):not(:where(nav a, header a, footer a, [role="navigation"] a, .entry-meta a, h1 a, h2 a, h3 a, h4:not(.article-bottom-heading):not(.inquery-bottom-colored-heading) a, h5 a, h6 a, .menu a, .sub-menu a, .button-group a, .cta-block a, .wp-block-button a, .elementor-button, .w-button, .w-inline-block, .button, .btn, [role="button"], [download], [data-upns-link-style="preserve"], [data-upns-link-style="preserve"] a)):hover {
    color: #fff !important;
}

/* Homepage impact cards: keep Read More text and currentColor arrows visible. */
#main a.impact-readmore:hover,
#main a.impact-readmore:focus-visible {
    color: #e49b00 !important;
}
