/**
 * Links in running text are underlined (WCAG 1.4.1 "Use of Color"): signal blue is only 3.09:1
 * against black text, and on "Signal-Fläche" links and text are both white. Menus, buttons, cards
 * (titles, tags) and pagination keep their look without underline.
 *
 * Custom CSS because theme.json styles all links alike; it cannot tell a link in a paragraph from
 * one in a card. `.wp-site-blocks` beats the theme.json link rule (`:root :where(a…)`).
 */

.wp-site-blocks main :where(p, li:not(.wp-block-post), td, th, dd, figcaption) a:where(:not(.wp-element-button, .wp-block-navigation-item__content, .wp-block-social-link-anchor)) {
	text-decoration: underline;
	text-underline-offset: 0.15em;

	&:hover {
		text-decoration-thickness: 2px;
	}
}
