/* Einzelner Beitrag: Bild 600 px hoch, unten links gerundet; Text 74 % mit PDF-Vorschau daneben; NACHBARIN darunter. */

.nb-post__hero {
	display: flex;
	flex-direction: column;
	padding-bottom: 50px;
}

.nb-post__image {
	height: 600px;
	overflow: hidden;
	border-bottom-left-radius: 250px;
	background: var(--wp--preset--color--light);
}

.nb-post__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nb-post__copyright {
	align-self: flex-end;
	margin: 5px 20px 0 0;
	font-size: 10px;
	line-height: 1.2;
}

.nb-post__body,
.nb-post__neighbour,
.nb-post__back {
	max-width: 1080px;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: content-box;
}

.nb-post__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 20px;
}

.nb-post .nb-post__title {
	margin: 0 0 20px;
}

.nb-post__info {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--black);
}

.nb-post__date {
	margin: 0 0 20px;
}

.nb-post__date strong {
	font-weight: 900;
}

.nb-post__row {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 50px;
}

.nb-post__text {
	width: 74%;
	padding-block: 20px;
	box-sizing: border-box;
	align-self: flex-start;
}

/* Absätze aus dem Editor-Feld „text“: 20 px Abstand wie bisher */
.nb-post .nb-post__text > * + * {
	margin-top: 20px;
}

.nb-post__pdf {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 25%;
	margin-bottom: 20px;
}

.nb-post__preview img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.nb-post__video {
	width: 100%;
	margin-bottom: 64px;
}

.nb-post__neighbour {
	display: flex;
	padding-top: 75px;
}

.nb-post__neighbour-photo {
	flex: none;
	width: 300px;
	height: 300px;
	object-fit: cover;
}

.nb-post__neighbour-text {
	width: 500px;
	margin-left: 30px;
}

.nb-post .nb-post__neighbour-name {
	margin: 0;
}

.nb-post__neighbour-info {
	margin: 10px 0 0;
}

.nb-post__neighbour-quote {
	margin: 30px 0 0;
	font-family: permanent-marker, cursive;
}

.nb-post__back {
	padding-block: 10px;
	margin-top: 75px;
}

/* Preise: ohne Zurück-Link bleibt unten der gleiche Abstand wie bisher */
.nb-post__body:last-child {
	padding-bottom: 95px;
}

.nb-post__neighbour + .nb-post__back {
	margin-top: 0;
}

.nb-post__back .nb-more {
	display: inline-block;
	margin-bottom: 36px;
	font-size: 30px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 1120px) {
	.nb-post__image {
		height: 400px;
		border-bottom-left-radius: 200px;
	}
}

@media (max-width: 991px) {
	.nb-post__image {
		height: 350px;
	}
}

@media (max-width: 767px) {
	.nb-post__image {
		border-bottom-left-radius: 100px;
	}

	.nb-post__copyright {
		margin-right: 10px;
	}

	.nb-post__row {
		flex-direction: column;
		align-items: center;
	}

	.nb-post__text {
		width: 100%;
		margin-bottom: 40px;
	}

	.nb-post__pdf {
		width: 100%;
	}

	.nb-post__neighbour {
		flex-direction: column;
		align-items: center;
	}

	.nb-post__neighbour-photo {
		width: 80%;
		height: auto;
		aspect-ratio: 1;
		margin-bottom: 36px;
	}

	.nb-post__neighbour-text {
		width: 100%;
		margin: 0 0 33px;
	}
}

@media (max-width: 479px) {
	.nb-post__image img {
		object-position: bottom;
	}
}
