/* TZC Blog-Layout – Frontend */

.tzc-post {
	--tzc-hero-bg: #446393;
	--tzc-blue: #2e5495;
	--tzc-text: #666;
	--tzc-gutter: 5.5%;
	font-family: 'Plus Jakarta Sans', Helvetica, Arial, Lucida, sans-serif;
	overflow-x: clip;
}

/* ---------- Kopfbereich ---------- */
.tzc-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: clamp(420px, 51vw, 900px);
	background: var(--tzc-hero-bg);
	color: #fff;
}
.tzc-hero--no-image {
	grid-template-columns: 1fr;
	min-height: 0;
}
.tzc-hero__text {
	padding: 5vw 4vw 4vw 11vw;
	font-size: clamp(15px, 1.1vw, 20px);
	line-height: 1.5em;
}
.tzc-hero--no-image .tzc-hero__text {
	padding-right: 11vw;
	max-width: 1400px;
}
.tzc-post .tzc-hero__title {
	margin: 0 0 1em;
	padding: 0;
	color: #fff;
	font-size: clamp(32px, 3vw, 60px);
	font-weight: 700;
	line-height: 1.15;
}
.tzc-hero__intro p {
	padding-bottom: 1em;
	color: #fff;
}
.tzc-hero__intro p:last-child {
	padding-bottom: 0;
}
.tzc-hero__intro a {
	color: #fff;
	text-decoration: underline;
}
.tzc-hero__intro strong {
	color: #fff;
}
.tzc-hero__cta {
	margin-top: 2em;
	padding: 0;
}
.tzc-hero__media {
	position: relative;
	min-height: 100%;
}
.tzc-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Inhalt ---------- */
.tzc-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--tzc-gutter);
	align-items: start;
	width: 80%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 54px 0 80px;
}
.tzc-body--single {
	grid-template-columns: minmax(0, 900px);
	justify-content: start;
}
.tzc-body__content {
	min-width: 0;
	color: var(--tzc-text);
	font-size: clamp(17px, 1.5vw, 23px);
	line-height: 1.5em;
}
.tzc-body__content p {
	padding-bottom: 1em;
}
.tzc-body__content h2,
.tzc-body__content h3,
.tzc-body__content h4 {
	margin-top: 0.6em;
	padding-bottom: 0.4em;
	color: var(--tzc-blue);
	line-height: 1.25;
}
.tzc-body__content h2 { font-size: 1.45em; }
.tzc-body__content h3 { font-size: 1.25em; }
.tzc-body__content h4 { font-size: 1.1em; }
.tzc-body__content ul,
.tzc-body__content ol {
	margin: 0 0 1em 1.2em;
	padding: 0;
	line-height: 1.5em;
}
.tzc-body__content ul { list-style: disc; }
.tzc-body__content ol { list-style: decimal; }
.tzc-body__content li { margin-bottom: 0.3em; }
.tzc-body__content a { color: var(--tzc-blue); text-decoration: underline; }
.tzc-body__content blockquote {
	margin: 0 0 1em;
	padding: 0.2em 0 0.2em 1em;
	border-left: 4px solid var(--tzc-blue);
	color: #444;
	font-style: italic;
}
.tzc-body__content hr {
	margin: 1.2em 0;
	border: 0;
	border-top: 1px solid #ddd;
}
.tzc-body__content .wp-block-embed iframe {
	width: 100%;
	max-width: 100%;
}
.tzc-body__cta {
	margin-top: 1.5em;
}

.tzc-body__images {
	display: grid;
	gap: 30px;
}
.tzc-body__figure {
	margin: 0;
}
.tzc-body__figure a {
	display: block;
}
.tzc-body__figure img {
	display: block;
	width: 100%;
	height: auto;
}
.tzc-body__figure figcaption {
	padding-top: 0.5em;
	color: var(--tzc-text);
	font-size: 14px;
	line-height: 1.4;
}

/* ---------- Buttons (Divi-Stil) ---------- */
.tzc-post .tzc-btn {
	display: inline-block;
	padding: 0.3em 35px;
	border: 0;
	border-radius: 28px;
	font-size: clamp(15px, 1.1vw, 20px);
	font-weight: 700;
	line-height: 1.7em;
	text-decoration: none;
	transition: padding 300ms ease, background-color 300ms ease;
}
.tzc-post .tzc-btn::after {
	content: '\2192';
	display: inline-block;
	width: 0;
	margin-left: 0;
	opacity: 0;
	overflow: hidden;
	vertical-align: top;
	transition: all 300ms ease;
}
.tzc-post .tzc-btn:hover,
.tzc-post .tzc-btn:focus-visible {
	padding-right: 45px;
}
.tzc-post .tzc-btn:hover::after,
.tzc-post .tzc-btn:focus-visible::after {
	width: 1em;
	margin-left: 0.3em;
	opacity: 1;
}
.tzc-post .tzc-btn--light {
	background: #fff;
	color: var(--tzc-blue);
}
.tzc-post .tzc-btn--dark {
	background: var(--tzc-blue);
	color: #fff;
}

/* ---------- Tablet & Handy ---------- */
@media (max-width: 980px) {
	.tzc-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.tzc-hero__text {
		padding: 48px 10vw 40px 11vw;
		font-size: clamp(15px, 2.2vw, 18px);
	}
	.tzc-post .tzc-hero__title {
		font-size: clamp(32px, 5vw, 48px);
	}
	.tzc-hero__media {
		aspect-ratio: 2 / 1;
		min-height: 0;
	}
	.tzc-body {
		grid-template-columns: 1fr;
		row-gap: 40px;
		padding: 40px 0 60px;
	}
	.tzc-body--single {
		grid-template-columns: 1fr;
	}
	.tzc-body__content {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.tzc-hero__text {
		padding: 36px 6vw 32px;
		font-size: 16px;
	}
	.tzc-post .tzc-hero__title {
		font-size: clamp(28px, 9vw, 40px);
	}
	.tzc-hero__media {
		aspect-ratio: 3 / 2;
	}
	.tzc-body {
		width: 88%;
	}
	.tzc-body__content {
		font-size: 17px;
	}
	.tzc-body__images {
		gap: 20px;
	}
}
