/**
 * "What you'll learn" card.
 *
 * The same card as on AyakaSports, in the site's accent colour (AyakaCasinos'
 * red by default; filter `ayaka_learn_accent`). Self-contained: it sets its own
 * list style so the theme's article list styles do not leak in (AyakaCasinos'
 * theme sets list items "inside" with an indent). Sizes are in em, from the
 * article's text: the theme's root size is 13px.
 */

.ayl-learn {
	--ayl-accent: #bb0713;
	--ayl-ink: #222222;
	box-sizing: border-box;
	margin: 0 0 1.75em;
	padding: 1em 1.25em;
	border: 1px solid var(--ayl-accent);
	border-radius: 10px;
	background: color-mix(in srgb, var(--ayl-accent) 5%, #ffffff);
	color: var(--ayl-ink);
}

.ayl-learn .ayl-learn__title {
	margin: 0 0 0.6em;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ayl-ink);
	font-size: 1em;
	font-weight: 700;
	line-height: 1.5;
}

.ayl-learn .ayl-learn__list {
	margin: 0;
	padding: 0 0 0 1.25em;
	border: 0;
	background: none;
	list-style: disc outside;
}

.ayl-learn .ayl-learn__item {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	line-height: 1.6;
	list-style: inherit;
	text-indent: 0 !important;
}

.ayl-learn .ayl-learn__item::before {
	content: none;
}

.ayl-learn .ayl-learn__item::marker {
	color: var(--ayl-accent);
}

.ayl-learn .ayl-learn__item + .ayl-learn__item {
	margin-top: 0.35em;
}

.ayl-learn .ayl-learn__item a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--ayl-accent) 45%, transparent);
	text-underline-offset: 0.2em;
}

.ayl-learn .ayl-learn__item a:hover,
.ayl-learn .ayl-learn__item a:focus-visible {
	color: var(--ayl-accent);
	text-decoration-color: currentColor;
}
