/*******************
  TITLES
*******************/

.title > * {
	font-weight: 400;
	font-family: var(--titleFont);
}
.f-title,
.gutenberg *[class*="title-"] {
  font-family: var(--titleFont);
}
.title.huge > *,
.gutenberg .title-huge {
	font-size: 4.5em;
	line-height: 1em;
	font-weight: 800;
}
.title.big > *,
.gutenberg .title-big {
	font-size: 3em;
	line-height: 1.05em;
	font-weight: 700;
}
.title.medium > *,
.gutenberg .title-medium {
	font-size: 2em;
	line-height: 1.075em;
	font-weight: 700;
}
.title.small > *,
.gutenberg .title-small {
	font-size: 1.5em;
	line-height: 1.1em;
	font-weight: 600;
}
.title.tiny > *,
.gutenberg .title-tiny {
	font-size: 1.1em;
	line-height: 1.3em;
	font-weight: 500;
}
.title.reg > * {
	font-weight: 400;
}
.title.thin > * {
	font-weight: 300;
}
.title.light > * {
	font-weight: 200;
}
.title.strong > * {
	font-weight: 700;
}

.title.balanced > * {
	text-wrap: balance;
}

.title.boxed > * > span {
	display: table;
	padding: 0.125em 0.85em 0.25em 0.85em;
	border-radius: 9999px;
	background-color: var(--color1);
	color: #fff;
	margin-bottom: 0.25em;
}
.title.boxed.white-boxed > * > span,
.bg-color1 > .title.boxed > * > span {
	background-color: #fff;
	color: var(--textColor);
}

.title.underlined > * {
	text-decoration: underline;
}

.pretitle > * {
	z-index: 1;
	position: relative;
	display: inline-block;
	font-family: var(--defaultFont);
	font-size: 1.2em;
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: 400;
}
.pretitle > *::after {
	content: '';
	z-index: -1;
	position: absolute;
	top: auto;
	bottom: -0.1em;
	left: -1em;
	right: 100%;
	height: 0.7em;
	width: auto;
	background-color: var(--color2);
	transition: 0.3s;
}
.reveal .pretitle > *::after {
	right: 0;
}


.pretitle + .text,
.text + .text,
.title + .text {
	margin-top: 1.5em;
}
.pretitle + .title,
.title + .title {
	margin-top: 1em;
}


@media screen and (max-width:1400px) {
	.title.huge > *,
	.gutenberg .title- { font-size: 4em; }
	.title.big > *,
	.gutenberg .title- { font-size: 2.75em; }
}
@media screen and (max-width:1200px) {
	.title.big > *,
.gutenberg .title- { font-size: 2.5em; }
	.title.medium > *,
.gutenberg .title- { font-size: 1.75em; }
	.title.small > *,
.gutenberg .title- { font-size: 1.33em; }
	.title.tiny > *,
.gutenberg .title- { font-size: 1.05em; }
}
@media screen and (max-width: 1000px) {
	.title > * { text-wrap: balance; }
	.title:not(.preserveBR) > * br { display: none; }
}
@media screen and (max-width:500px) {
	.title > * {
		hyphens: auto;
	}
	.title.huge > *,
.gutenberg .title- { font-size: 3em; }
	.title.big > *,
.gutenberg .title- { font-size: 2.25em; }
	.title.medium > *,
.gutenberg .title- { font-size: 1.55em; }
	.title.small > *,
.gutenberg .title- { font-size: 1.25em; }
}
