/* -------------------------------------------------
   Referent – Einzelseite (single-referenten.php)
   Bild links, Text rechts. Theme-Vars aus base-vars.css.
------------------------------------------------- */

.ref-single {
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
	margin: 2rem 0 3rem;
}

.ref-single-img {
	flex: 0 0 280px;
	max-width: 280px;
}

.ref-single-img img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--itd-border, #e0e0e0);
	background: var(--itd-sub-bg, #f7f7f7);
}

.ref-single-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ref-single-name {
	margin: 0 0 1rem;
	padding-bottom: .6rem;
	font-size: 2rem;
	line-height: 1.2;
	border-bottom: 3px solid var(--year-color, #f0e000);
}

.ref-single-desc {
	font-size: 1.05rem;
	line-height: 1.6;
}

.ref-single-desc p {
	margin: 0 0 1rem;
}

.ref-single-desc p:last-child {
	margin-bottom: 0;
}

/* Mobil: gestapelt */
@media (max-width: 640px) {
	.ref-single {
		flex-direction: column;
		gap: 1.5rem;
		margin: 1.5rem 0 2rem;
	}

	.ref-single-img {
		flex-basis: auto;
		max-width: 220px;
	}

	.ref-single-name {
		font-size: 1.6rem;
	}
}
