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

.title > *,
.gutenberg *:is(h1, h2, h3, h4, h5, h6) {
	font-weight: 400;
	font-family: var(--titleFont);
	line-height: 1em !important;
}
.f-title {
  font-family: var(--titleFont);
}
.title > * i,
.f-title i {
	font-weight: 500;
}
.title.huge > *,
.gutenberg .title-huge,
.gutenberg .wp-block-heading.has-x-large-font-size {
	font-size: 5em !important;
}
.title.big > * ,
.gutenberg .title-big,
.single-post .gutenberg h1:not([class*="title-"]),
.gutenberg .wp-block-heading.has-large-font-size {
	font-size: 3.9em !important;
}
.title.medium > *,
.gutenberg .title-medium,
.single-post .gutenberg h2:not([class*="title-"]),
.gutenberg .wp-block-heading.has-medium-font-size {
	font-size: 2.8em !important;
}
.title.small > *,
.gutenberg .title-small,
.single-post .gutenberg h3:not([class*="title-"]),
.gutenberg .wp-block-heading.has-small-font-size {
	font-size: 2.2em !important;
}
.title.tiny > *,
.gutenberg .title-tiny,
.single-post .gutenberg h4:not([class*="title-"]) {
	font-size: 1.75em !important;
}
.title.thin > *,
.gutenberg .thin:is(h1, h2, h3, h4, h5, h6) {
	font-weight: 400;
}
.title.light > *,
.gutenberg .light:is(h1, h2, h3, h4, h5, h6) {
	font-weight: 200;
}
.title.strong > *,
.gutenberg .strong:is(h1, h2, h3, h4, h5, h6) {
	font-weight: 700;
}

.title.boxed {
	display: inline-block;
	padding: 0.125em 1.5em 0.33em 1.5em;
	border-radius: 9999px;
	background-color: var(--color2);
}
.title.boxed.white-boxed {
	background-color: #fff;
}

.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:1600px) {
	.title.huge > *, .gutenberg .title-huge { font-size: 4.75em !important; }
}
@media screen and (max-width:1400px) {
	.title.huge > *, .gutenberg .title-huge { font-size: 4.5em !important; }
	.title.big > *, .gutenberg .title-big { font-size: 3.65em !important; }
}
@media screen and (max-width:1200px) {
	.title.huge > *, .gutenberg .title-huge { font-size: 4.25em !important; }
	.title.big > *, .gutenberg .title-big { font-size: 3.4em !important; }
	.title.medium > *, .gutenberg .title-medium { font-size: 2.55em !important; }
	.title.small > *, .gutenberg .title-small { font-size: 2.05em !important; }
}
@media screen and (max-width: 1000px) {
	.title > *, .gutenberg *:is(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
	.title > * br, .gutenberg *:is(h1, h2, h3, h4, h5, h6) br { display: none; }
}
@media screen and (max-width:800px) {
	.title.huge > *, .gutenberg .title-huge { font-size: 4em !important; }
	.title.big > *, .gutenberg .title-big { font-size: 3.15em !important; }
	.title.medium > *, .gutenberg .title-medium { font-size: 2.3em !important; }
	.title.small > *, .gutenberg .title-small { font-size: 1.8em !important; }
	.title.tiny > *, .gutenberg .title-tiny { font-size: 1.125em !important; }
}
@media screen and (max-width:600px) {
	.title > *, .gutenberg *:is(h1, h2, h3, h4, h5, h6) {
		hyphens: auto;
	}
}
@media screen and (max-width:400px) {
	.title.huge > *, .gutenberg .title-huge { font-size: 3.5em !important; }
	.title.big > *, .gutenberg .title-big { font-size: 2.9em !important; }
	.title.medium > *, .gutenberg .title-medium { font-size: 2.1em !important; }
	.title.small > *, .gutenberg .title-small { font-size: 1.55em !important; }
	.title.tiny > *, .gutenberg .title-tiny { font-size: 1.1em !important; }
}