/* ============================================================
 * Blogbeitrag (single.php)
 * Tokens (--ec-*) kommen aus home.css, Rahmen wie Rechtstexte.
 * ============================================================ */

.ec-post {
	background: var(--ec-page-bg, #fdfcf9);
	padding: clamp(56px, 9vw, 120px) clamp(20px, 6vw, 80px) clamp(80px, 12vw, 160px);
	color: #1c1c1a;
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ec-post__inner {
	max-width: 760px;
	margin: 0 auto;
}

.ec-post__head {
	margin-bottom: 32px;
}

.ec-post__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-post__title {
	margin: 0;
	font-family: inherit;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.15;
	font-weight: 400;
	color: inherit;
	hyphens: auto;
	overflow-wrap: anywhere;
}

.ec-post__media {
	margin: 0 0 40px;
}

.ec-post__media img {
	display: block;
	width: 100%;
	height: auto;
}

.ec-post__content {
	font-size: 17px;
	line-height: 1.7;
	color: #3a3a38;
	overflow-wrap: break-word;
	hyphens: auto;
}

.ec-post__content > *:first-child {
	margin-top: 0;
}

.ec-post__content p,
.ec-post__content ul,
.ec-post__content ol {
	margin: 0 0 1.1em;
}

.ec-post__content h2,
.ec-post__content h3,
.ec-post__content h4 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.3;
	color: #1c1c1a;
	letter-spacing: 0;
	text-transform: none;
}

.ec-post__content h2 {
	margin: 2em 0 .6em;
	font-size: clamp(20px, 2.4vw, 26px);
}

.ec-post__content h3 {
	margin: 1.6em 0 .5em;
	font-size: 19px;
}

.ec-post__content img {
	max-width: 100%;
	height: auto;
}

.ec-post__content figure {
	margin: 1.6em 0;
}

/* Elementor-Kit färbt Links schwarz, daher höhere Spezifität. */
.ec-post .ec-post__content a,
.ec-post .ec-post__share-list a {
	color: #1c1c1a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ec-post__share {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid #e4e0d8;
}

.ec-post__share-title {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1c1c1a;
}

.ec-post__share-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
