/** @format */

* {
	scroll-behavior: smooth;
	line-height: calc(1em + 0.4rem);
}

html,
body {
	color: var(--color-roedl-hunter-green);
	background-color: var(--color-white);
	font-family: var(--ff-primary-font);
}

body {
	font-size: var(--fs-body);
}

.page {
	max-width: 1800px;
	margin: 0 auto;
}

a {
	font-size: inherit;
	text-decoration: none;
	color: inherit;
}

.event_location_link {
	cursor: auto;
}

.event_location_link[href]:not([href='#']) {
	cursor: pointer;
}

.event_location_link[href]:not([href='#']),
.mce-content-body a:where([href]):not(.button),
.wysiwyg a:where([href]):not(.button) {
	text-decoration: underline;
	transition: all 300ms ease;
}

.event_location_link[href]:not([href='#']):hover,
.wysiwyg a:hover:where([href]):not(.button) {
	background-color: var(--color-roedl-poison-green);
	text-decoration: none;
}

a:focus,
a:active {
}

ul,
ol {
	padding-left: 1.5em;
}

.wysiwyg_container ol,
.wysiwyg_container ul {
	margin-bottom: 1rem;
}

.wysiwyg_container ol:last-child,
.wysiwyg_container ul:last-child {
	margin-bottom: 0;
}

p {
	margin-bottom: 1rem;
}

p:last-child {
	margin-bottom: 0;
}

.wysiwyg p .button,
#tinymce p .button {
	margin-block-start: var(--universal-gap);
	margin-block-end: calc(var(--universal-gap) + 1rem);
}

.wysiwyg p:first-child .button:first-child,
#tinymce p:first-child .button:first-child {
	margin-block-start: 0;
}

.wysiwyg p:last-child .button:last-child,
#tinymce p:last-child .button:last-child {
	margin-block-end: 0;
}

@media (hover: hover) {
	a:hover {
	}
}

.aligncenter,
.alignleft,
.alignright {
	display: block;
	padding: 0;
}

.aligncenter {
	float: none;
	margin: 0.5em auto 1em;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.wysiwyg img.alignleft,
.wysiwyg img.alignright {
	max-width: 50%;
	max-width: calc(50% - 0.5em);
}

@media (max-width: 750px) {
	.wysiwyg img.alignleft,
	.wysiwyg img.alignright {
		max-width: 100%;
		float: none;
	}
}

.wysiwyg img {
	border-radius: var(--border-radius-button);
	overflow: clip;
}

.wp-caption {
	padding: 5px 0;
}

.wp-caption img {
	display: inline;
}

.wp-caption p.wp-caption-text {
	margin: 5px 0 0;
	padding: 0;
	font-size: var(--fs-small);
	color: var(--color-dark-neutral);
}

.wrapper {
	width: 100%;
	padding: 0 var(--universal-gap);
	margin: 0 auto;
}

.wrapper--large {
	max-width: 1800px;
}
.wrapper--medium {
	max-width: 1200px;
}
.wrapper--small {
	max-width: 800px;
}

#content_wrapper {
	display: flex;
	--sidebar-width: 400px;
}

#sidebar_content,
#single_additional_content {
	flex-grow: 1;
	display: flex;
	flex-wrap: wrap;
}

#main_content {
	width: 100%;
}

#content_wrapper.sidebar_present #main_content {
	max-width: calc(100% - var(--sidebar-width));
}

#sidebar_content {
	position: relative;
	z-index: 1;
	width: var(--sidebar-width);
}

#sidebar_parent {
	position: relative;
	width: 100%;
	background-color: var(--color-white);
	padding-bottom: 0.1px;
}

#sidebar_sticky {
	position: sticky;
	top: var(--real-heights-from-top);
	left: 0px;
	max-height: calc(100dvh - (var(--real-heights-from-top)));
	overflow: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

#sidebar_sticky::-webkit-scrollbar {
	display: none;
}

@media (max-width: 1280px) {
	#content_wrapper {
		flex-direction: column;
	}

	#content_wrapper.sidebar_present #main_content {
		max-width: 100%;
	}

	#sidebar_content {
		border-left-width: 0;
		border-top-width: 1px;
		width: 100%;
	}

	#sidebar_sticky {
		max-height: none;
	}
}

.text-wrapper {
	display: block;
	width: 100%;
	max-width: var(--text-max-width);
	margin: 0px auto;
}

.text-wrapper.text-wrapper--full-width {
	max-width: 100%;
}

.post.not-found {
	width: 100%;
	padding: calc(var(--universal-gap) * 2) var(--universal-gap);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

:is(html, body) {
	min-height: 100vh;
	min-height: 100dvh;

	& #page {
		min-height: inherit;
		display: flex;
		flex-flow: column nowrap;
		justify-content: flex-start;
		align-content: flex-start;
		align-items: stretch;
	}

	& #main {
		flex-grow: 1;
	}
}

:is(#single_additional_content, .additional_news_headline_container) {
	margin-top: var(--universal-gap);
}
