html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

/* Safari Flexbox Fix für Columns mit Wrap */
.wp-block-columns {
	/* Safari braucht explizite Werte für korrektes Wrapping */
	> .wp-block-column {
		min-width: 0;
		flex-shrink: 1;
	}
}

section {
	position: relative;
}

a {
	text-underline-offset: 3px;
}

.wp-block-separator {
	border-top: 1px solid black;
}

h1 em,
h2 em {
	white-space: nowrap;
}

@media (max-width: 782px) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		hyphenate-limit-chars: 6 3 3;
		hyphenate-limit-lines: 2;
		hyphenate-limit-zone: 1em;
	}

	:root :where(.is-layout-flow) > *,
	:root :where(.is-layout-constrained) > * {
		margin-block-start: 16px;
	}
}

video {
	border-radius: 12px;
}

.wpml-language-switcher-block {
	margin-top: 0;
}
