/* Magazine-inspired article styles. The theme's existing font stays inherited. */
.post-body p,
.post-body :is(ul, ol) {
	line-height: 2rem;
	text-align: justify;
}

.post-body p { margin-top: 0; }
.post-body > * + * { margin-top: 1.25rem; }

.post-body h2 {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
	margin: 2rem 0 1rem;
}

.post-body h3 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.75rem;
	margin: 2rem 0 1rem;
}

.post-body h4,
.post-body h5,
.post-body h6 {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.75rem;
	margin: 1.5rem 0 1rem;
}

@media (min-width: 768px) {
	.post-body h2 { font-size: 1.25rem; }
	.post-body h3 { font-size: 1.125rem; }
}

.post-body ol { list-style-type: decimal; }
.post-body :is(ul, ol) li + li { margin-top: 0.5rem; }

.post-body blockquote {
	background: #fefefe;
	border-radius: 0.25rem;
	border-right: 0;
	border-top: 1px solid #0e0e0e;
	box-shadow: -2px 4px 12px rgb(0 0 0 / 8%);
	font-style: normal;
	margin: 2rem 0;
	padding: 3.5rem 2rem 2rem;
	position: relative;
}

.post-body blockquote::before {
	color: #1d76d3;
	content: "\201D";
	font-family: serif;
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	right: 2rem;
	top: 0.875rem;
}

.post-body blockquote :is(p, cite) {
	display: block;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 2rem;
	margin: 0;
	text-align: right;
}

.post-body blockquote p + p,
.post-body blockquote cite { margin-top: 1rem; }

.post-body #ez-toc-container {
	background: transparent;
	border: 0 !important;
	border-radius: 0.25rem !important;
	margin: 2rem 0;
	padding: 0 !important;
}

.post-body #ez-toc-container .ez-toc-title-container {
	align-items: center;
	background: #e1e1e1;
	border-radius: 0.25rem 0.25rem 0 0;
	color: #0e0e0e;
	display: flex;
	justify-content: space-between;
	min-height: 3rem;
	padding: 0.75rem 2rem;
}

.post-body #ez-toc-container .ez-toc-title {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 2rem;
	margin: 0;
}

.post-body #ez-toc-container nav {
	border-radius: 0 0 0.25rem 0.25rem;
	overflow: hidden;
}

.post-body #ez-toc-container .ez-toc-list {
	background: #f4f4f4;
	border-radius: 0 0 0.25rem 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0.75rem 2rem;
}

.post-body #ez-toc-container .ez-toc-list li {
	font-size: 0.875rem;
	line-height: 1.5rem;
	margin: 0;
	padding: 0 0 1.5rem;
}

.post-body #ez-toc-container .ez-toc-list > li:last-child { padding-bottom: 0; }

.post-body #ez-toc-container .ez-toc-list li ul {
	background: transparent;
	list-style: disc;
	margin: 1rem 0 0;
	padding: 0 1.5rem 0 0;
}

.post-body #ez-toc-container .ez-toc-list li ul li {
	color: #4a4a4a;
	padding-bottom: 0.5rem;
}

.post-body #ez-toc-container .ez-toc-list a {
	color: #0e0e0e;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	padding: 0;
	text-decoration: none;
}

.post-body #ez-toc-container .ez-toc-list a:hover { color: #1d76d3; }

@media (max-width: 767px) {
	.post-body blockquote { padding: 3.25rem 1.5rem 1.5rem; }
	.post-body blockquote::before { right: 1.5rem; }

	.post-body #ez-toc-container .ez-toc-title-container,
	.post-body #ez-toc-container .ez-toc-list {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}
