.jkc-heftbeitrag {
	margin-block-start: 0;
}

.single-jkc_magazin .wp-site-blocks {
	position: relative;
}

.single-jkc_magazin .wp-site-blocks > header.wp-block-template-part {
	position: absolute;
	inset: 0 0 auto;
	z-index: 20;
	color: var(--jkc-text, var(--wp--preset--color--contrast));
}

.single-jkc_magazin header.wp-block-template-part > .has-background {
	background-color: transparent !important;
}

.has-dark-scheme header.wp-block-template-part .custom-logo {
	filter: brightness(0) invert(0.96);
}

.single-jkc_magazin header.wp-block-template-part .wp-block-navigation:not(.has-text-color),
.single-jkc_magazin header.wp-block-template-part :is(.wp-block-woocommerce-customer-account, .wc-block-customer-account__link, .wp-block-woocommerce-mini-cart) {
	color: inherit;
}

.wp-block-group.is-style-heft {
	background-color: var(--jkc-surface, var(--wp--preset--color--base));
	color: var(--jkc-text, var(--wp--preset--color--contrast));
	--jkc-muted: color-mix(in srgb, currentColor 80%, transparent);
	--jkc-line: color-mix(in srgb, currentColor 30%, transparent);
	--jkc-tint: color-mix(in srgb, currentColor 8%, transparent);
	--jkc-note: var(--jkc-muted);
	--jkc-note-hover: var(--jkc-accent, var(--wp--preset--color--accent-2));

	font-size: var(--wp--preset--font-size--medium);
	padding-bottom: var(--wp--preset--spacing--50);
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
}

.is-style-heft :where(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

.is-style-heft a:where(:not(.wp-element-button)) {
	color: var(--jkc-accent, var(--wp--preset--color--accent-2));
}

.is-style-heft > :first-child {
	margin-block-start: 0;
}

.is-style-heft > h2.wp-block-heading {
	color: var(--jkc-heading, inherit);
	font-size: var(--wp--preset--font-size--large);
	--jkc-lh: var(--wp--custom--line-height--title);
	-webkit-hyphens: manual;
	hyphens: manual;
}

.is-style-heft > p:not(.has-small-font-size) + p:not([class*="is-style-"], .has-drop-cap) {
	margin-block-start: 0;
	text-indent: 1.5em;
}

.is-style-heft .has-drop-cap:not(:focus)::first-letter {
	color: var(--jkc-accent, var(--wp--preset--color--accent-2));
	font-family: var(--wp--preset--font-family--heading);
	font-size: 4.4em;
	font-weight: 700;
	line-height: 0.8;
	margin: 0.06em 0.1em 0 0;
}

.is-style-heft .wp-block-image {
	margin-block: 2.5rem;
}

.is-style-heft > .alignwide {
	margin-block: 3rem;
}

.is-style-heft figcaption,
.is-style-heft .wp-element-caption {
	color: var(--jkc-muted);
}

.is-style-heft .wp-block-image.is-style-heft-fond img {
	mix-blend-mode: multiply;
}

.is-style-heft .wp-block-columns.alignwide {
	gap: 2rem;
}

.is-style-heft .wp-block-column > .wp-block-image {
	margin: 0;
}

.is-style-heft > .wp-block-image:is(.alignleft, .alignright) {
	display: block;
	margin-block: 0.5rem 1.5rem;
}

.is-style-heft > .wp-block-image:is(.alignleft, .alignright) img {
	width: 100%;
}

.is-style-heft > .wp-block-image:is(.alignleft, .alignright) figcaption {
	display: block;
}

@media (max-width: 599px) {
	.is-style-heft > .wp-block-image:is(.alignleft, .alignright) {
		float: none;
		margin-inline: 0;
		width: auto;
	}
}

@media (min-width: 600px) {
	.is-style-heft > .wp-block-image.alignright {
		width: min(44%, 22rem);
		margin-inline: 2rem 0;
	}

	.is-style-heft > .wp-block-image.alignleft {
		width: min(44%, 22rem);
		margin-inline: 0 2rem;
	}
}

@media (min-width: 1080px) {
	.is-style-heft > .wp-block-image.alignright {
		width: 24rem;
		margin-inline-end: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2 - 12rem));
	}

	.is-style-heft > .wp-block-image.alignleft {
		width: 24rem;
		margin-inline-start: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2 - 12rem));
	}
}

.is-style-heft .wp-block-pullquote {
	border: 0;
	border-block: 1px solid var(--jkc-line);
	border-radius: 0;
	margin-block: 3rem;
	padding: 2rem 0;
	text-align: center;
}

.is-style-heft .wp-block-pullquote p {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	--jkc-lh: var(--wp--custom--line-height--title);
	hyphens: manual;
}

.is-style-heft .wp-block-pullquote cite {
	color: var(--jkc-muted);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

.wp-block-quote.is-style-heft-inschrift {
	border: 0;
	border-radius: 0;
	border-top: 2px solid var(--jkc-accent, var(--wp--preset--color--accent-2));
	background: var(--jkc-tint, rgba(0, 0, 0, 0.06));
	margin-block: 2.5rem;
	padding: 2rem clamp(1.25rem, 4vw, 2.75rem);
	text-align: center;
}

.wp-block-quote.is-style-heft-inschrift p {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium-large);
	font-weight: 400;
	font-style: italic;
	--jkc-lh: var(--wp--custom--line-height--ui);
	text-indent: 0;
}

.wp-block-quote.is-style-heft-inschrift cite {
	display: block;
	margin-top: 1rem;
	color: var(--jkc-muted, inherit);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

.wp-block-group.is-style-heft-kopf {
	max-width: min(100%, var(--wp--style--global--wide-size));
	padding-block: calc(var(--wp--preset--spacing--50) + 5rem) var(--wp--preset--spacing--40);
	text-align: center;
}

.is-style-heft-kopf > * {
	margin-inline: auto;
}

.is-style-heft-kopf .wp-block-post-title {
	max-width: min(100%, 60rem);
	margin-block: 1rem 0;
	color: inherit;
	font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.25rem);
	--jkc-lh: var(--wp--custom--line-height--display);
	-webkit-hyphens: manual;
	hyphens: manual;
}

@media (max-width: 599px) {
	.is-style-heft :is(h1, h2, h3, .wp-block-post-title),
	.is-style-heft > h2.wp-block-heading,
	.is-style-heft-kopf .wp-block-post-title {
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

.is-style-heft-kopf .is-style-heft-unterzeile {
	max-width: min(100%, 46rem);
	margin-block-start: 1.5rem;
}

.is-style-heft-kopf .is-style-heft-autor {
	margin-block-start: 1rem;
	text-align: center;
}

.is-style-heft > .is-style-heft-kopf + .wp-block-image {
	margin-block-start: 0;
}

.is-style-heft > .is-style-heft-kopf + .wp-block-image figcaption {
	text-align: center;
}

.wp-block-cover.is-style-heft-verlauf {
	margin-block: 0;
	padding-bottom: 24vh;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 72%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 72%, transparent 100%);
}

@media (max-width: 781px) {
	.wp-block-cover.is-style-heft-verlauf {
		min-height: 60svh !important;
		padding-bottom: 16svh;
	}
}

.is-style-heft .wp-block-cover .has-small-font-size {
	max-width: 34rem;
	color: var(--wp--preset--color--base);
	text-shadow: 0 1px 6px color-mix(in srgb, var(--wp--preset--color--contrast) 60%, transparent);
}

.wp-block-cover.is-style-heft-titelbild {
	margin-block: 0;
	min-height: 100svh;
	padding: 0 clamp(1.25rem, 5vw, 3rem);
	align-items: flex-end;
}

.wp-block-cover.is-style-heft-titelbild::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to bottom, color-mix(in srgb, var(--jkc-surface, var(--wp--preset--color--base)) 70%, transparent) 0, transparent 9rem),
		linear-gradient(to top, var(--jkc-surface, var(--wp--preset--color--base)) 0, color-mix(in srgb, var(--jkc-surface, var(--wp--preset--color--base)) 88%, transparent) 22%, transparent 62%);
	pointer-events: none;
}

.wp-block-cover.is-style-heft-titelbild .wp-block-cover__inner-container {
	z-index: 2;
	color: var(--jkc-text, var(--wp--preset--color--contrast));
}

.is-style-heft-titelbild .is-style-heft-kopf {
	padding-block: 0 var(--wp--preset--spacing--30);
}

.is-style-heft-titelbild .is-style-heft-kopf .wp-block-post-title {
	text-shadow: 0 1px 24px color-mix(in srgb, var(--jkc-surface, var(--wp--preset--color--base)) 60%, transparent);
}

.is-style-heft > .is-style-heft-titelbild + p.has-small-font-size {
	margin-block-start: 0;
	text-align: center;
}

.is-style-heft > .is-style-heft-titelbild + p.has-small-font-size + *,
.is-style-heft > .is-style-heft-titelbild + :not(p.has-small-font-size) {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

.is-style-heft-rubrik,
.wp-block-cover .is-style-heft-rubrik {
	color: var(--jkc-accent, var(--wp--preset--color--accent-2));
}

.is-style-heft-unterzeile {
	color: var(--jkc-muted, inherit);
	font-size: var(--wp--preset--font-size--medium-large);
	--jkc-lh: var(--wp--custom--line-height--ui);
}

.is-style-heft-autor {
	font-style: italic;
	text-align: right;
}

.is-style-heft-schluss {
	position: relative;
	box-sizing: border-box;
	padding-inline-end: 1.2em;
}

.is-style-heft-schluss::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0.55em;
	width: 0.55em;
	height: 0.55em;
	background: currentColor;
}

.is-style-heft .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--jkc-line);
	background: none;
	opacity: 1;
	margin-block: 4rem 0;
}

.is-style-heft .has-small-font-size {
	color: var(--jkc-muted);
}

.is-style-heft .jkc-heft-hinweis {
	background-color: var(--jkc-tint);
	margin-block-start: 3rem;
}

.is-style-heft .jkc-heft-hinweis .wp-block-media-text__content {
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.is-style-heft .jkc-heft-hinweis .wp-element-button {
	background-color: var(--jkc-accent, var(--wp--preset--color--accent-2));
	color: var(--jkc-on-accent, var(--wp--preset--color--base-2));
}

.is-style-heft > .is-style-heft-verlauf + * {
	margin-block-start: clamp(1rem, 3vw, 2.5rem);
}

.is-style-heft > :is(.alignwide, .alignfull, .wp-block-pullquote, .wp-block-separator, .is-style-heft-inschrift) {
	clear: both;
}

:is(.is-style-heft > h2.wp-block-heading, .is-style-heft .wp-block-pullquote p, .wp-block-quote.is-style-heft-inschrift p, .is-style-heft-kopf .wp-block-post-title, .is-style-heft-unterzeile) {
	line-height: var(--jkc-lh);
	line-height: round(nearest, calc(var(--jkc-lh) * 1em), 4px);
}
