/* Block „Spielanleitung“ – passt zum Datei-Block .review-anleitung */
.sf-anleitung {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--abstand-3, 0.75rem) var(--abstand-5, 1.5rem);
	margin: 0;
	padding: var(--abstand-4, 1rem) var(--abstand-5, 1.5rem);
	border: var(--breite-rand, 2px) dashed var(--farbe-gold, #d9a21b);
	border-radius: var(--rundung-mittel, 12px);
	background-color: var(--farbe-gold-hell, #fbf1d8);
	font-family: var(--schrift-text, inherit);
	font-size: var(--groesse-text, 1.125rem);
	line-height: var(--zeilenhoehe-text, 1.6);
}

.sf-anleitung__bild {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 8rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--rundung-klein, 8px);
	background-color: var(--farbe-weiss, #fff);
	color: var(--farbe-pflaume, #5c123e);
}

.sf-anleitung__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-anleitung__symbol {
	width: 3rem;
	height: 3rem;
}

.sf-anleitung__text {
	display: flex;
	flex-direction: column;
	gap: var(--abstand-1, 0.25rem);
	min-width: 0;
}

.sf-anleitung__art {
	font-size: var(--groesse-klein, 0.9375rem);
	color: var(--farbe-pflaume, #5c123e);
	opacity: 0.8;
}

.sf-anleitung a.sf-anleitung__titel {
	color: var(--farbe-pflaume, #5c123e);
	font-weight: var(--gewicht-fett, 700);
	overflow-wrap: anywhere;
}

.sf-anleitung__quelle {
	font-size: var(--groesse-klein, 0.9375rem);
	color: var(--farbe-pflaume, #5c123e);
	opacity: 0.8;
	overflow-wrap: anywhere;
}

.sf-anleitung a.sf-anleitung__knopf {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: var(--hoehe-tippflaeche, 44px);
	margin: 0;
	padding: var(--abstand-3, 0.75rem) var(--abstand-5, 1.5rem);
	border: var(--breite-rand, 2px) solid var(--farbe-pflaume, #5c123e);
	border-radius: var(--rundung-pille, 999px);
	background-color: var(--farbe-weiss, #fff);
	color: var(--farbe-pflaume, #5c123e);
	font-family: var(--schrift-ueberschrift, inherit);
	font-weight: var(--gewicht-ueberschrift, 700);
	font-size: var(--groesse-text, 1.125rem);
	line-height: var(--zeilenhoehe-ueberschrift, 1.12);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--dauer-kurz, 0.15s), color var(--dauer-kurz, 0.15s);
}

.sf-anleitung a.sf-anleitung__knopf:hover {
	background-color: var(--farbe-pflaume, #5c123e);
	color: var(--farbe-weiss, #fff);
}

.sf-anleitung a:focus-visible {
	outline: var(--breite-rand-dick, 3px) solid var(--farbe-gold, #d9a21b);
	outline-offset: var(--abstand-1, 0.25rem);
}

@media (max-width: 640px) {
	.sf-anleitung {
		grid-template-columns: auto minmax(0, 1fr);
		padding: var(--abstand-4, 1rem);
		font-size: var(--groesse-text-mobile, 1.0625rem);
	}

	.sf-anleitung__bild {
		width: 5.5rem;
	}

	.sf-anleitung a.sf-anleitung__knopf {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

/* Im Editor nicht versehentlich wegnavigieren */
.block-editor-block-list__block .sf-anleitung a {
	pointer-events: none;
}

.sf-anleitung--laedt {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sf-anleitung .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sf-anleitung a.sf-anleitung__seite {
	color: inherit;
}
