/*
 * Standalone links on every template (the frame is on every page, so this file is too): no underline at rest, an
 * underline on hover and on keyboard focus. Lives here because assets/css/design.css is a generated copy of the design.
 *
 * Links are named by where they sit, so a link nobody listed keeps its underline. Links in running text are left out on
 * purpose: told apart by color alone they fail WCAG 1.4.1, so body paragraphs and list items (lv-entry, lv-prose) keep
 * design.css. So does the top bar's link: it is the same white as the text beside it, the underline is all that marks it.
 */

/* Underlined by design.css: taken off at rest, and hover and focus fall back to that underline */
:is(nav, .lv-topbar, .lv-footer .bottom, .lv-rail li, .lv-links, .lv-byline, .lv-meta, .lv-sitemap, .lv-author .name, .lv-feature .pname,
  .facts, .maker, .lv-cmp3 .hd, .lv-cmp3 .str, :is(.lv-table, .lv-table-wrap) th, .group_table td,
  :is(.lv-posts, .lv-term, .lv-plan) h3) a:not(:hover, :focus-visible),
a:is(.lv-more, .tel, .dn, .k):not(:hover, :focus-visible),
.lv-topics li a:not(:hover, :focus-visible) span:first-child { text-decoration-line: none; }

/* No underline in design.css, on hover or at rest: added for hover and focus, on the name alone where a link holds more */
:is(.lv-nav, .lv-menu .panel li, .lv-card h3, .lv-learn h3, .lv-post h3, .co-item .nm, .lv-suggest) a:is(:hover, :focus-visible),
a:is(.lv-phone, .fphone, .lv-callbar, .num):is(:hover, :focus-visible),
a:is(:hover, :focus-visible) :is(.t-name, .t, .sz),
.lv-topics li a:is(:hover, :focus-visible) span:first-child { text-decoration: underline 3px; text-underline-offset: 4px; }
