/*-----------------------------
		TEXT & Gutenberg
-----------------------------*/


.text p, .text ul, .text ol {
	line-height: 1.3em;
}
.text.lh-plus p, .text.lh-plus ul, .text.lh-plus ol {
	line-height: 1.5em;
}
.text ul, .text ol {
	margin-left: 1em;
}
.text > *:not(:last-child) {
	margin-bottom: 18px;
}
.text h2 {
	font-size: 1.5625em;
	line-height: 1.15em;
	font-weight: 400;
}
.text h3 {
	font-size: 1.3em;
	line-height: 1.2em;
	font-weight: 400;
}
.text h4, .text h5 {
	font-size: 1.125em;
	line-height: 1.25em;
	font-weight: 400;
}
.text > h1:not(:first-child),
.text h2:not(:first-child),
.text h3:not(:first-child),
.text h4:not(:first-child),
.text h5:not(:first-child) {
	margin-top: 36px;
}

.text a {
	text-decoration: underline;
}
.text a:hover {
	color: var(--color1);
}

.text strong {
	font-weight: 700;
}

.gutenberg {
	text-align: left;
}
.gutenberg p, .gutenberg ul, .gutenberg ol {
	line-height: 1.6em;
}
.gutenberg ul, .gutenberg ol {
	margin-left: 1em;
}
.gutenberg li {
	margin-bottom: 0.2em;
}
.gutenberg p:not(:last-child),
.gutenberg ul:not(:last-child),
.gutenberg ol:not(:last-child) {
	margin-bottom: 1.75em;
}
.gutenberg > *:last-child {
	margin-bottom: 0 !important;
}
.gutenberg h1 {
	font-size: 2.5em;
	line-height: 1.15em;
	font-weight: 400;
	margin-bottom: 18px;
	font-family: var(--titleFont);
}
.gutenberg h2 {
	font-size: 1.75em;
	line-height: 1.15em;
	font-weight: 400;
	margin-bottom: 18px;
	font-family: var(--titleFont);
}
.gutenberg h3 {
	font-size: 1.35em;
	line-height: 1.2em;
	font-weight: 400;
	margin-bottom: 18px;
	font-family: var(--titleFont);
}
.gutenberg h4, .gutenberg h5 {
	font-size: 1.15em;
	line-height: 1.25em;
	font-weight: 400;
	margin-bottom: 12px;
}
.gutenberg h1:not(:first-child),
.gutenberg h2:not(:first-child),
.gutenberg h3:not(:first-child),
.gutenberg h4:not(:first-child),
.gutenberg h5:not(:first-child) {
	margin-top: 36px;
}

.gutenberg blockquote,
.gutenberg .wp-block-quote,
.gutenberg .wp-block-quote.is-large {
	border: none;
	border-left: var(--color1) 4px solid;
	padding: 2.5em var(--gutter);
	background-color: var(--lightGrey);
}
.gutenberg blockquote > p,
.gutenberg .wp-block-quote > p {
	font-size: 1.125em;
	margin-bottom: 0.5em;
}
.gutenberg blockquote > cite,
.gutenberg .wp-block-quote > cite {
	position: relative;
	font-size: 1.125em;
	padding-left: 2.15em;
	font-family: var(--titleFont);
	margin-top: 0.5em;
	display: inline-block;
}
.gutenberg blockquote > cite::before,
.gutenberg .wp-block-quote > cite::before {
	content: '';
	position: absolute;
	top: 0.65em;
	left: 0;
	width: 1.5em;
	height: 2px;
	background: currentColor;
}
.gutenberg img.alignright { float: right; margin: 0 0 1em 1em; }
.gutenberg img.alignleft { float: left; margin: 0 1em 1em 0; }
.gutenberg img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.gutenberg .alignright { float: right; padding: 5px 0 5px 5px; }
.gutenberg .alignleft { float: left; padding: 5px 5px 5px 0; }
.gutenberg .aligncenter { display: block; margin-left: auto; margin-right: auto; }

.gutenberg > p:blank {
	display: none;
}
.gutenberg .alignwide {
	width: calc(100% + (var(--gutter) * 2));
	margin-left: calc(var(--gutter) * -1);
}
.gutenberg .alignfull {
	width: 100vw;
	max-width: 100vw;
	overflow: hidden;
	margin-left: 49%;
	transform: translateX(-50%);
}

.gutenberg .wp-block-table {
	width: 100%;
}

.wp-element-button {
	background-color: var(--color1);
}
.wp-element-button:hover {
	background-color: var(--color2);
}

.gutenberg a:not(.wp-element-button) {
	text-decoration: underline;
}
.gutenberg a:not(.wp-element-button):hover {
	color: var(--color1);
}

.gutenberg iframe {
	width: 100%;
}

@media screen and (min-width: 1000px) {
    .gutenberg > .wp-block-group:not(.no-reveal) {
    	position: relative;
        opacity: 0;
        top: 10vh;
        transition: ease-out 1s;
    }
    .gutenberg > .wp-block-group.reveal {
        opacity: 1;
        top: 0;
    }
}


