/* HQ order 0038 (Ramin, 2026-11-04): every link inside running text looks
   like a link, on every page: the link colour AND an underline that is always
   there, not only on hover (WCAG 2.2 1.4.1, technique G183).
   In-text means a link inside a sentence, list item, FAQ answer, table cell,
   caption, footnote or the breadcrumb. Buttons, cards, menus, the header and
   the footer's link row are controls and keep their own designed styles
   (they live in nav/header or carry their own classes that win here).
   Loaded last in <head> on every static page; the home page carries the same
   rule in src/routes/index.tsx. Checked by scripts/link-style-audit.mjs.
   The cookie strip and panel (consent.js) are left alone.
   Colour: in light mode the site's gold (#8f6d18) is 4.4:1 on the tinted
   panels and the dyslexia page colour, under the 4.5:1 floor, so in-text
   links use a slightly deeper gold there (#806116: 5.2:1 on the panels,
   4.9:1 on the dyslexia page, 5.8:1 on white). Dark mode keeps its gold. */
.app[data-theme="light"] { --pwf-link: #806116; }
html body :is(p, li, dd, dt, td, th, figcaption, caption, blockquote, cite, small,
  .a, .xlink, .links, .foot-contact, .crumbs) a:not(:where(nav:not(.crumbs), header, #pwf-cc, [data-footer-marks]) a):not(.btn):not([role="button"]) {
  color: var(--pwf-link, var(--gold-text));
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
html body :is(p, li, dd, dt, td, th, figcaption, caption, blockquote, cite, small,
  .a, .xlink, .links, .foot-contact, .crumbs) a:not(:where(nav:not(.crumbs), header, #pwf-cc, [data-footer-marks]) a):not(.btn):not([role="button"]):hover {
  text-decoration-thickness: 2px;
}
