/* Liens de texte dans les contenus publics. */
:is(p, li, dd, td, blockquote, cite)
a:any-link:not(:where(
  header a, nav a, footer a, form a, [role="navigation"] a,
  [role="button"], .btn, .button, .tpe-access, .sos-comparatif-teaser,
  [class^="btn-"], [class*=" btn-"], [class*="-button"], [class*="-cta"], [class*="cta-"],
  :has(img, svg, h2, h3, h4)
)) {
  text-decoration-line: underline !important;
  text-decoration-thickness: .095em !important;
  text-underline-offset: .19em !important;
  text-decoration-skip-ink: auto;

  &:hover {
    text-decoration-thickness: .145em !important;
  }

  &:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
  }
}

#charte-public-root body.charte-public
:is(p, li, dd, td, blockquote, cite)
a:any-link:not(:where(
  header a, nav a, footer a, form a, [role="navigation"] a,
  [role="button"], .btn, .button, .tpe-access, .sos-comparatif-teaser,
  [class^="btn-"], [class*=" btn-"], [class*="-button"], [class*="-cta"], [class*="cta-"],
  :has(img, svg, h2, h3, h4)
)) {
  color: var(--sos-theme-action, #215b49) !important;

  &:hover {
    color: var(--sos-theme-action, #215b49) !important;
  }
}
