.text--center {
	text-align: center;
}

.text--primary {
	color: var(--primary) !important;
}
.text--secondary {
	color: var(--secondary) !important;
}
.text--purple {
	color: var(--purple);
}
.text--success {
	color: var(--success);
}
.text--error {
	color: var(--error);
}

.link, u {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: max(3px, 0.15em);
	text-decoration-skip-ink: none;
	color: inherit;
}
.link {
	text-decoration-color: color-mix(in srgb, currentColor, transparent 70%);
	transition: text-decoration-color 0.3s ease-out;
	color: var(--primary);
}
	.link:hover, a:has(.link):hover .link {
		text-decoration-color: currentColor;
		transition: text-decoration-color 0s;
		color: var(--secondary-dark);
	}
	.link.dashed {
		text-decoration-style: dashed;
	}
	.link:active,
	a:active .link {
		color: var(--color-red) !important;
	}
	a, a:not(:has(.link)):not(.link) {
		text-decoration: none;
		color: inherit;
	}

.title {
	color: var(--dark);
	font-size: 2.5em;
	font-weight: 600;
	margin: 1rem 0;
	margin-top: 1.4rem;
	line-height: 1;
}
	.title--lg {
		font-size: 3.5rem;
	}
	.title--sm {
		font-size: 1.25rem;
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}
	.title--xs {
		font-size: 1rem;
		margin: 0.5rem 0;
	}
	.title--center {
		text-align: center;
	}

main > h1:first-child {
	margin-top: 0;
}

b {
	font-weight: 700;
}

abbr {
	letter-spacing: 0.05em;
}
	abbr[title] {
		cursor: help;
	}

figure {
	margin: 0.25em 0 1em 0;
	width: fit-content;
}
	figure > *:not(figcaption) {
		margin-block-end: 0;
	}
	figure > figcaption:is(:first-child) {
		margin-block-start: 0;
		margin-block-end: 0.2em;
	}

figcaption {
	margin-block-start: 0.25em;
	max-width: min-content;
	min-width: 100%;
}

article {
	max-width: 900px;

	& p+ul, & p+ol, & p+table, & p+figure {
		margin-block-start: -0.5em;
	}

	& ul, ol {
		padding-inline-start: 2em;
		margin-block-end: 1em;
	}
		& li {
			margin-block-end: 0.5em;
		}
		& li:last-of-type {
			margin-block-end: 0;
		}
		& ul li::marker {
			content: "— "
		}

	& .link {
		color: var(--primary);
	}
	& > h1:first-child {
		margin-top: 0;
	}
}
details summary {
	cursor: pointer;
}
	details summary::marker {
		content: "";
	}
	details summary {
		text-decoration: underline;
		text-decoration-style: dotted;
		text-underline-offset: 0.25em;
		text-decoration-color: color-mix(in srgb, currentColor, transparent 50%);
		user-select: none;
	}
	
	details[open] summary {
		text-decoration: none;
	}
@media screen and (max-width: 992px) {
	.title, title--lg {
		word-break: break-word;
		hyphens: auto;
		font-weight: 700;
		font-size: 2rem;
	}
}
