/* Text: Überschrift, Fließtext, darunter ein Video (80 % breit) oder zwei nebeneinander. */

.nb-textblock__inner {
	display: flex;
	flex-direction: column;
}

.nb-textblock .nb-textblock__heading {
	margin-bottom: 30px;
}

.nb-textblock .nb-textblock__heading--h2 {
	margin-bottom: 20px;
}

.nb-textblock .nb-h3 {
	margin-bottom: 10px;
	font-size: 36px;
	line-height: 1.2;
}

.nb-textblock .nb-textblock__heading--h4 {
	align-self: center;
	margin-bottom: 20px;
	font-size: 30px;
	font-weight: 700;
	text-align: center;
}

.nb-textblock .nb-buttons {
	margin-top: 24px;
}

/* Sprungmarken: einzelne goldene Pillen mit Rahmen (Buttons „outline-gold“), mittig */
.nb-textblock__jumps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 50px 0 40px;
}

:root .nb-textblock__jump {
	padding: 6px 20px;
	font-size: 18px;
}

@media (max-width: 767px) {
	.nb-textblock__jumps {
		gap: 8px;
	}

	:root .nb-textblock__jump {
		font-size: 16px;
	}
}

.nb-textblock__videos {
	margin-top: 50px;
}

.nb-textblock__videos--1 {
	align-self: center;
	width: 80%;
}

.nb-textblock__videos--2 {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.nb-textblock__videos--2 .nb-video {
	width: 49%;
}

.nb-textblock__caption {
	align-self: center;
	width: 80%;
	margin: 0 0 50px;
	text-align: right;
}

@media (max-width: 1120px) {
	.nb-textblock__caption {
		align-self: flex-end;
		width: 100%;
		margin: 10px 0 0;
		font-size: 12px;
		color: var(--wp--preset--color--grey);
	}
}

@media (max-width: 991px) {
	.nb-textblock__videos--1 {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.nb-textblock__videos--2 {
		flex-direction: column;
	}

	.nb-textblock__videos--2 .nb-video {
		width: 100%;
	}

	.nb-textblock__videos--2 .nb-video:first-child {
		margin-bottom: 50px;
	}
}

.nb-textblock--right .nb-textblock__inner {
	align-items: flex-end;
}

/* YouTube neben einem eingebetteten Video mit fester Größe (Facebook) */
.nb-textblock__videos--2:has(.nb-embed) {
	align-items: flex-start;
}

.nb-textblock__videos--2:has(.nb-embed) .nb-video {
	width: 52%;
}

.nb-textblock__videos--2 .nb-embed iframe {
	display: block;
	max-width: 100%;
}

/* Solange Borlabs das Video sperrt, braucht der Platzhalter die Breite der Spalte statt der des iframes. */
.nb-textblock__videos--2 .nb-embed:has(.brlbs-cmpnt-content-blocker) {
	width: 45%;
}

@media (max-width: 1120px) {
	.nb-textblock__videos--2:has(.nb-embed) .nb-video {
		width: 59%;
	}
}

@media (max-width: 991px) {
	.nb-textblock__videos--2:has(.nb-embed) {
		flex-direction: column;
	}

	.nb-textblock__videos--2:has(.nb-embed) .nb-video,
	.nb-textblock__videos--2 .nb-embed:has(.brlbs-cmpnt-content-blocker) {
		width: 100%;
	}

	.nb-textblock__videos--2:has(.nb-embed) .nb-video {
		margin-bottom: 50px;
	}
}
