/* Bitmeup: Flaggenleiste ueber Ankuendigungen, die Sprache wechselt im Beitrag selbst (newslang.js) */
.bmuNewsLang {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 2px;
	margin: 0 0 14px;
	line-height: 0;
}
.bmuNewsLang[hidden] {
	display: none;
}
/* die kleinen Flaggen, newslang.js verteilt sie auf zwei Zeilen (--spalten, 29px je Flagge) */
.bmuNewsLang__liste {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2px;
	max-width: calc(var(--spalten, 14) * 29px);
	margin-left: 6px;
}
.bmuNewsLang__liste:first-child {
	margin-left: 0;
}
.bmuNewsLang__flag {
	/* Kantenlänge des Bildes: der 48er-Satz hat die Flagge (46 x 32) mittig im Quadrat */
	--bmu-flagge: 19.5px;
	--bmu-rand: 4px 4px;
	position: relative;
	display: inline-flex;
	padding: var(--bmu-rand);
	border-radius: 3px;
	opacity: .72;
	transition: opacity .15s, background-color .15s;
}
.bmuNewsLang__flag--gross {
	--bmu-flagge: 29.25px;
	--bmu-rand: 5px 5px;
}
.bmuNewsLang__flag:hover,
.bmuNewsLang__flag:focus-visible {
	opacity: 1;
	background-color: rgba(127, 127, 127, .2);
}
.bmuNewsLang__flag img {
	display: block;
	width: var(--bmu-flagge);
	height: var(--bmu-flagge);
	max-width: none;
	flex-shrink: 0;
	margin: calc(var(--bmu-flagge) / -6) calc(var(--bmu-flagge) / -48);
}
/* Rand um die Flagge selbst, nicht um das Quadrat */
.bmuNewsLang__flag::after {
	content: "";
	position: absolute;
	inset: var(--bmu-rand);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
	pointer-events: none;
}
.bmuNewsLang__flag--aktiv {
	opacity: 1;
	box-shadow: inset 0 -2px 0 var(--wcfContentLink, #2a6ebb);
}
/* noch keine fertige Uebersetzung */
.bmuNewsLang__flag--leer,
.bmuNewsLang__flag--leer:hover {
	opacity: .25;
	background-color: transparent;
	cursor: default;
}
.bmuNewsLang__flag--laedt {
	animation: bmuNewsLangLaedt .7s ease-in-out infinite alternate;
}
@keyframes bmuNewsLangLaedt {
	from { opacity: .3; }
	to { opacity: 1; }
}
.bmuNewsLang__portal {
	margin-left: auto;
	padding: 3px 4px;
	font-size: var(--wcfFontSizeSmall, 12px);
	line-height: 1.4;
	white-space: nowrap;
}
.bmuNewsLang__portal::after {
	content: " \2197";
}

/* Fassung aus dem Portal im Beitrag: Bildlagen wie auf der Portalseite (Bitmeup_News_Stil) */
.bmuNewsText::after {
	content: "";
	display: block;
	clear: both;
}
.bmuNewsText img {
	max-width: 100%;
	height: auto;
}
.bmuNewsText p.bmu-bild {
	display: flow-root;
	margin: 8px 0 16px;
	text-align: center;
	line-height: 0;
}
.bmuNewsText p.bmu-bild img {
	display: inline-block;
	vertical-align: top;
	margin: 4px;
	max-width: calc(100% - 8px);
}
.bmuNewsText p.bmu-klein {
	float: left;
	max-width: 46%;
	margin: 5px 22px 10px 0;
	text-align: left;
}
.bmuNewsText p.bmu-klein img {
	margin: 0;
}
.bmuNewsText > p.bmu-klein:first-child {
	float: none;
	max-width: none;
	margin: 0 0 14px;
	text-align: center;
}
.bmuNewsText img.bmu-mitte {
	display: block;
	clear: both;
	margin: 16px auto;
}
.bmuNewsText > img.bmu-mitte:first-child {
	margin-top: 0;
}
.bmuNewsText img.bmu-rechts {
	float: right;
	clear: both;
	max-width: 46%;
	margin: 4px 0 16px 22px;
}
.bmuNewsText img.bmu-links {
	float: left;
	clear: both;
	max-width: 46%;
	margin: 4px 22px 16px 0;
}
.bmuNewsText h2,
.bmuNewsText h3,
.bmuNewsText h4,
.bmuNewsText hr,
.bmuNewsText ul,
.bmuNewsText ol,
.bmuNewsText table,
.bmuNewsText blockquote,
.bmuNewsText p.bmu-bild {
	clear: left;
}
.bmuNewsText img.bmu-links ~ ul,
.bmuNewsText img.bmu-links ~ ol {
	clear: none;
}
.bmuNewsText blockquote.bmu-verweis {
	margin: 6px 0 16px;
	padding: 10px 14px;
	border-left: 3px solid var(--wcfContentLink, #2a6ebb);
	border-radius: 0 6px 6px 0;
	background: rgba(127, 127, 127, .08);
}
.bmuNewsText blockquote.bmu-verweis p {
	margin: 0;
}
.bmuNewsText blockquote.bmu-verweis p + p {
	margin-top: 4px;
	font-size: var(--wcfFontSizeSmall, 12px);
	opacity: .8;
}
.bmuNewsText blockquote.bmu-verweis a {
	font-weight: 600;
}
.bmuNewsText blockquote.bmu-verweis a::after {
	content: " \2197";
}
@media (max-width: 600px) {
	/* schmal: kleine Flaggen neben den großen in mehr Zeilen, der Link darunter rechts */
	.bmuNewsLang__liste {
		flex: 1 1 0;
		max-width: none;
	}
	.bmuNewsLang__liste .bmuNewsLang__flag {
		--bmu-rand: 4px 3px;
	}
	.bmuNewsLang__portal {
		flex-basis: 100%;
		text-align: right;
	}
	.bmuNewsText p.bmu-klein {
		float: none;
		max-width: none;
		margin: 6px 0 14px;
		text-align: center;
	}
	.bmuNewsText img.bmu-rechts,
	.bmuNewsText img.bmu-links {
		float: none;
		display: block;
		max-width: 100%;
		margin: 6px auto 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bmuNewsLang__flag--laedt {
		animation: none;
		opacity: .5;
	}
}
