:where(.wysiwyg) {
	color: var(--black);
	font-size: 1.875rem;
	font-weight: 400;
}

:where(.wysiwyg) h1 {
	color: var(--black);
	font-family: var(--font-neue);
	font-size: 4rem;
	font-weight: 400;
}

:where(.wysiwyg) h2 {
	color: var(--black);
	font-size: 2.25rem;
	font-weight: 500;
}

:where(.wysiwyg) h3 {
	color: var(--black);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.2;
}

:where(.wysiwyg) h4,
:where(.wysiwyg) h5,
:where(.wysiwyg) h6 {
	color: var(--black);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

:where(.wysiwyg) h1 strong,
:where(.wysiwyg) h2 strong,
:where(.wysiwyg) h3 strong,
:where(.wysiwyg) h4 strong,
:where(.wysiwyg) h5 strong,
:where(.wysiwyg) h6 strong {
	font-weight: inherit;
}

:where(.wysiwyg) h1 + h2 {
	margin-top: 20px;
}

:where(.wysiwyg) :where(h1, h2) + :where(p, ul, ol, figure, section) {
	margin-top: 30px;
}

:where(.wysiwyg) :where(p, ul, ol, figure) + :where(h2, h3) {
	margin-top: 60px;
}

:where(.wysiwyg) :where(p, ul, ol, figure) + :where(h4, h5, h6) {
	margin-top: 40px;
}

:where(.wysiwyg) h3 + :where(p, ul, ol, figure, section) {
	margin-top: 40px;
}

:where(.wysiwyg) :where(h4, h5, h6) + :where(p, ul, ol, figure, section) {
	margin-top: 20px;
}

:where(.wysiwyg) p + p {
	margin-top: 1em;
}

:where(.wysiwyg) p + ul,
:where(.wysiwyg) p + ol,
:where(.wysiwyg) ul + p,
:where(.wysiwyg) ol + p {
	margin-top: 1em;
}

:where(.wysiwyg) ol {
	padding-left: 1.25em;
}

:where(.wysiwyg) ul {
	list-style: disc;
	padding-left: 1.25em;
}

:where(.wysiwyg) ol {
	list-style: decimal;
}

:where(.wysiwyg) li + li {
	margin-top: 1em;
}

:where(.wysiwyg) a {
	color: var(--black);
	font-weight: inherit;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 5px;
}

:where(.wysiwyg) a:hover {
	text-decoration: none;
}

:where(.wysiwyg) nav,
:where(.wysiwyg) :where(p, ul, ol, figure, section, nav) + section {
	margin-top: 80px;
}

:where(.wysiwyg) nav ul,
:where(.wysiwyg) nav ol {
	display: flex;
	flex-direction: column;
	gap: 30px;
	list-style: none;
	padding-left: 0;
}

:where(.wysiwyg) nav li + li {
	margin-top: 0;
}

:where(.wysiwyg) img {
	height: auto;
	max-width: 100%;
}

:where(.wysiwyg) figure + p,
:where(.wysiwyg) p + figure {
	margin-top: 1em;
}

:where(.wysiwyg) figure img {
	display: block;
}

:where(.wysiwyg) figcaption {
	font-size: 0.8em;
	margin-top: 0.5em;
}

:where(.wysiwyg) hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.14);
	margin: 60px 0;
}

@media (max-width: 767px) {
	:where(.wysiwyg) {
		font-size: 1.25rem;
	}

	:where(.wysiwyg) h1 {
		font-size: 2.25rem;
	}

	:where(.wysiwyg) h2 {
		font-size: 1.875rem;
	}

	:where(.wysiwyg) h3 {
		font-size: 1.5rem;
	}

	:where(.wysiwyg) h4,
	:where(.wysiwyg) h5,
	:where(.wysiwyg) h6 {
		font-size: 1.25rem;
	}

	:where(.wysiwyg) :where(p, ul, ol, figure) + :where(h2, h3) {
		margin-top: 40px;
	}

	:where(.wysiwyg) :where(p, ul, ol, figure) + :where(h4, h5, h6) {
		margin-top: 30px;
	}

	:where(.wysiwyg) h3 + :where(p, ul, ol, figure, section) {
		margin-top: 24px;
	}

	:where(.wysiwyg) nav,
	:where(.wysiwyg) :where(p, ul, ol, figure, section, nav) + section {
		margin-top: 50px;
	}

	:where(.wysiwyg) hr {
		margin: 40px 0;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	:where(.wysiwyg) {
		font-size: 1.5rem;
	}

	:where(.wysiwyg) h1 {
		font-size: 3.125rem;
	}

	:where(.wysiwyg) h3 {
		font-size: 1.5rem;
	}

	:where(.wysiwyg) h4,
	:where(.wysiwyg) h5,
	:where(.wysiwyg) h6 {
		font-size: 1.25rem;
	}

	:where(.wysiwyg) :where(p, ul, ol, figure) + :where(h2, h3) {
		margin-top: 50px;
	}

	:where(.wysiwyg) nav,
	:where(.wysiwyg) :where(p, ul, ol, figure, section, nav) + section {
		margin-top: 60px;
	}
}
