body {
	font-family: var(--fonte-corpo);
	font-size: var(--tamanho-corpo);
	line-height: var(--line-height-corpo);
	color: var(--cor-corpo);
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--espaco-sm);
	font-family: var(--fonte-titulo);
	font-size: var(--tamanho-heading);
	font-weight: 400;
	line-height: 1.25;
	color: var(--cor-titulo);
}

p {
	margin: 0 0 1.5em;
}

.entry-content {
	overflow-wrap: break-word;
}

.entry-content a {
	padding: 0 0.2em;
	color: var(--cor-link);
	text-decoration: none;
	background-color: var(--cor-link-fundo);
	border-radius: var(--radius-link);
	transition: background-color 0.2s ease;
}

.entry-content a:hover {
	background-color: var(--cor-link-hover);
}

blockquote {
	margin: 0 0 1.5em;
	padding-left: var(--espaco-md);
	font-size: 0.9em;
	font-style: normal;
	border-left: 3px solid var(--cor-separador);
}

:is(.contex-post--are, .contex-post--notas) .entry-content blockquote {
	position: relative;
	margin: var(--espaco-lg) 0;
	margin-left: calc(var(--coluna-post) + var(--intervalo-grade));
	padding-left: 0;
	border-left: 0;
}

:is(.contex-post--are, .contex-post--notas) .entry-content blockquote::before {
	content: "";
	position: absolute;
	top: 0.15em;
	left: calc(-1 * (var(--coluna-post) + var(--intervalo-grade)));
	width: 1.6em;
	height: 1.6em;
	background-color: var(--cor-separador);
	-webkit-mask: url("../img/icones/quotes-fill.svg") no-repeat left top / contain;
	mask: url("../img/icones/quotes-fill.svg") no-repeat left top / contain;
}

:is(.contex-post--are, .contex-post--notas) .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

:is(.category-are, .category-notas) .entry-content {
	counter-reset: abnt-1 abnt-2 abnt-3 abnt-4 abnt-5;
}

:is(.category-are, .category-notas) .entry-content :is(h1, h2, h3, h4, h5, h6) {
	margin-top: var(--espaco-lg);
	text-transform: none;
}

:is(.category-are, .category-notas) .entry-content :is(h1, h2, h3, h4, h5)::before {
	margin-right: 0.5em;
}

:is(.category-are, .category-notas) .entry-content h1 {
	counter-increment: abnt-1;
	counter-set: abnt-2 0 abnt-3 0 abnt-4 0 abnt-5 0;
	font-weight: 600;
	text-transform: uppercase;
}

:is(.category-are, .category-notas) .entry-content h1::before {
	content: counter(abnt-1);
}

:is(.category-are, .category-notas) .entry-content h2 {
	counter-increment: abnt-2;
	counter-set: abnt-3 0 abnt-4 0 abnt-5 0;
	text-transform: uppercase;
}

:is(.category-are, .category-notas) .entry-content h2::before {
	content: counter(abnt-1) "." counter(abnt-2);
}

:is(.category-are, .category-notas) .entry-content h3 {
	counter-increment: abnt-3;
	counter-set: abnt-4 0 abnt-5 0;
	font-weight: 600;
}

:is(.category-are, .category-notas) .entry-content h3::before {
	content: counter(abnt-1) "." counter(abnt-2) "." counter(abnt-3);
}

:is(.category-are, .category-notas) .entry-content h4 {
	counter-increment: abnt-4;
	counter-set: abnt-5 0;
	font-style: italic;
}

:is(.category-are, .category-notas) .entry-content h4::before {
	content: counter(abnt-1) "." counter(abnt-2) "." counter(abnt-3) "." counter(abnt-4);
}

:is(.category-are, .category-notas) .entry-content h5 {
	counter-increment: abnt-5;
}

:is(.category-are, .category-notas) .entry-content h5::before {
	content: counter(abnt-1) "." counter(abnt-2) "." counter(abnt-3) "." counter(abnt-4) "." counter(abnt-5);
}

:is(.category-are, .category-notas) .entry-content h6 {
	font-weight: 600;
}

:is(.category-are, .category-notas) .entry-content .easy-footnote-title :is(h1, h2, h3, h4, h5, h6) {
	counter-increment: none;
}

:is(.category-are, .category-notas) .entry-content .easy-footnote-title :is(h1, h2, h3, h4, h5, h6)::before {
	content: none;
}

.entry-content .easy-footnote a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.35em;
	font-family: var(--fonte-detalhe);
	font-size: 0.6em;
	line-height: 1;
	vertical-align: super;
	color: var(--cor-corpo);
	background-color: var(--cor-link-fundo);
	border-radius: 999px;
}

.entry-content .easy-footnote a:hover {
	background-color: var(--cor-link-hover);
}

.entry-content .easy-footnote sup {
	font-size: inherit;
	vertical-align: baseline;
}

.entry-content .easy-footnote-title {
	margin-top: var(--espaco-xl);
	padding-top: var(--espaco-sm);
	border-top: var(--fio-fino);
}

.entry-content .easy-footnote-title :is(h1, h2, h3, h4, h5, h6) {
	display: flex;
	align-items: center;
	gap: var(--espaco-xs);
	margin: 0 0 var(--espaco-sm);
	font-family: var(--fonte-detalhe);
	font-size: var(--tamanho-detalhe);
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cor-titulo);
}

.entry-content .easy-footnotes-wrapper {
	font-size: 0.85em;
	color: var(--cor-detalhe);
}

.contex-post__titulo {
	margin: 0 0 var(--espaco-sm);
	font-size: var(--tamanho-titulo-post);
	font-style: italic;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.contex-404__codigo {
	grid-column: 1 / 11;
	margin: 0 0 var(--espaco-sm);
	font-family: var(--fonte-titulo);
	font-size: var(--tamanho-404);
	font-style: italic;
	line-height: 1;
	color: var(--cor-separador);
}

.contex-post--404 .contex-404__mensagem {
	grid-column: 2 / 11;
	font-size: var(--tamanho-heading);
	line-height: 1.25;
}

.contex-404__caminhos {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contex-404__caminhos li + li {
	margin-top: 0.4em;
}

.contex-404__caminhos a {
	color: var(--cor-titulo);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.contex-post--conto .entry-content p + p {
	text-indent: 1.5em;
}

@media (max-width: 900px) {

	.contex-post__titulo {
		font-size: var(--tamanho-titulo-post-tablet);
	}
}

@media (max-width: 480px) {

	.contex-post__titulo {
		font-size: var(--tamanho-titulo-post-mobile);
	}

	.contex-404__codigo {
		font-size: calc(var(--tamanho-404) * 0.6);
	}

	.contex-post--404 .contex-404__mensagem {
		font-size: var(--tamanho-titulo-card);
	}
}
