/* Shared styles for long-form articles */
p { text-align: justify; hyphens: auto; word-spacing: -0.02em; }
code, pre { hyphens: none; }
img { max-width: 100%; height: auto; }

/* Link style: tinted underline, inherit text color */
article a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: #4888dd;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
article a:visited {
	text-decoration-color: #7080cc;
}
article a:hover {
	text-decoration-color: #8ab4f8;
}
article a.back {
	text-decoration: none;
}

/* Acronyms / abbreviations */
abbr {
	font-size: 0.85em;
	letter-spacing: 0.04em;
	margin-right: -0.04em;
	text-decoration: none;
}

/* KaTeX math */
.katex-display { overflow-x: auto; overflow-y: hidden; padding: 0.5em 0; font-size: 0.9em; }
.katex { color: #d7d7d7; }
