:root {
	--font-heading: 'Synthese', sans-serif;
	--font-primary: 'Synthese', sans-serif;
	--font-body: 'Synthese', sans-serif;
	--header-height: 80px;
	--page-max-width: 1320px;
	--num-grid-columns: 12;
	--color-orange: #ff5823;
	--color-orange-rgb: 255, 88, 35;
	--color-white: #ffffff;
	--color-almost-white: #f0f0f0;
	--color-almost-white-rgb: 240, 240, 240;
	--color-not-so-white: #d9d9d9;
	--color-almost-black: #1e1e1e;
	--color-almost-black-rgb: 30, 30, 30;
	--color-not-so-black: #3d3d3d;
	--spacing-xl: 160px;
	--spacing-lg: 80px;
	--spacing-md: 40px;
	--spacing-sm: 24px;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	font-size: 100%;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
html:focus-within {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	color: var(--color-almost-black);
}
body.scroll-lock {
	height: 100vh;
	height: -webkit-fill-available;
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

::selection {
	color: var(--color-white);
	background-color: rgba(169, 184, 146, 0.85);
}

.opacity-zero {
	opacity: 0;
}

#site-main {
	min-height: 800px;
}
#site-main .wp-block-image {
	margin: 0;
}

.wp.category-nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding: 24px 0;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 40px;
}
.wp.category-nav ul li {
	display: inline-flex;
}
.wp.category-nav ul li a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 24px;
	text-decoration: none;
}
.wp.category-nav ul li.current a {
	text-decoration: underline;
	font-weight: 500;
}

.post-list.event #post-list {
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 64px;
}
.post-list.event .item {
	list-style-type: none;
	margin-bottom: 0;
	padding-bottom: 64px;
	border-bottom: 1px solid #ebebeb;
}
.post-list.event .item .post-list-item {
	display: grid;
	grid-template-columns: 450px minmax(0, 1fr);
	gap: 40px;
}
@media screen and (max-width: 1024px) {
	.post-list.event .item .post-list-item {
		grid-template-columns: minmax(0, 1fr);
	}
}
.post-list.event .item .post-list-item .post-image {
	animation: skeleton-loading 1s linear infinite alternate;
	aspect-ratio: 3/2;
}
@media screen and (max-width: 1024px) {
	.post-list.event .item .post-list-item .post-image img {
		width: 100%;
	}
}
.post-list.event .item .post-list-item .post-details a {
	text-decoration: none;
}
.post-list.event .item .post-list-item .post-date {
	display: none;
}
.post-list.event .pager .pages {
	padding: 40px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.post-list.event .pager .pages .page-numbers {
	display: flex;
	gap: 24px;
	list-style-type: none;
}

.loading {
	animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
	0% {
		background-color: hsl(83, 20%, 40%);
	}
	100% {
		background-color: hsl(84, 21%, 65%);
	}
}
.events-content__main {
	grid-column: 1/10;
	margin-right: 40px;
	padding-right: 64px;
	border-right: 1px solid #ebebeb;
}
@media screen and (max-width: 1024px) {
	.events-content__main {
		border-right: 1px solid transparent;
		border-bottom: 1px solid #ebebeb;
		grid-column: 1/-1;
		margin-right: 0px;
		padding-right: 0px;
		margin-bottom: 40px;
		padding-bottom: 64px;
	}
}

.events-content__sidebar {
	grid-column: 10/13;
}
@media screen and (max-width: 1024px) {
	.events-content__sidebar {
		grid-column: 1/-1;
	}
}

.search-results__wrapper {
	padding: 80px 0;
}

.search-results__title {
	grid-column: 1/-1;
}

.search-results__content {
	grid-column: 1/-1;
}
.search-results__content .search-result {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #ebebeb;
}
.search-results__content .search-result > p {
	max-width: 84ch;
	margin-bottom: 24px;
}
.search-results__content .nav-links {
	display: flex;
	align-items: center;
}
.search-results__content .nav-links .page-numbers {
	margin: 0 4px;
}
.search-results__content .nav-links .prev.page-numbers {
	margin-right: auto;
}
.search-results__content .nav-links .next.page-numbers {
	margin-left: auto;
}

.container {
	width: 100%;
	padding: 0 24px;
	margin: 0 auto;
	max-width: 1140px;
	max-width: var(--page-max-width);
}
@media screen and (max-width: 1200px) {
	.container {
		padding: 0 40px;
	}
}
@media screen and (max-width: 1024px) {
	.container {
		padding: 0 32px;
	}
}
@media screen and (max-width: 768px) {
	.container {
		padding: 0 32px;
	}
}
@media screen and (max-width: 640px) {
	.container {
		padding: 0 24px;
	}
}

.container-sm {
	width: 100%;
	padding: 0 24px;
	margin: 0 auto;
	max-width: 960px;
}
@media screen and (max-width: 1200px) {
	.container-sm {
		padding: 0 40px;
	}
}
@media screen and (max-width: 1024px) {
	.container-sm {
		padding: 0 32px;
	}
}
@media screen and (max-width: 768px) {
	.container-sm {
		padding: 0 32px;
	}
}
@media screen and (max-width: 640px) {
	.container-sm {
		padding: 0 24px;
	}
}

.row {
	/* autoprefixer grid: off */
	display: grid;
	grid-template-columns: repeat(var(--num-grid-columns), minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

h1 {
	margin-bottom: 1.25rem;
}

h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
}

p {
	font-family: var(--font-body);
	color: var(--color-body);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 300;
	margin-bottom: 1em;
}

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

li {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 0.5em;
}
li ul {
	margin-top: 0.5em;
}

.sr-only {
	position: absolute;
	width: 0;
	height: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.mb-0 {
	margin-bottom: 0;
}

.mt-0 {
	margin-top: 0;
}
