.page-body * {
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 150%;
	font-family: "Newsreader", Times, serif;
}

.page-cover-image {
	height: 50vh;
	object-fit: cover;
}

mark {
	background-color: transparent;
}

body {
	background-image: url("../images/blog/Blog\ bg.svg");
	background-position: top;
}

h1 {
	margin-bottom: 1rem;
	font-family: "Newsreader", Times, serif;
	font-weight: 400;
	letter-spacing: -0.02em;
	font-size: 3.5rem !important;
	margin-top: 2rem;
}

h2,
h3,
h4,
h5 {
	letter-spacing: -0.03em !important;
	margin: 4rem 0 0.5rem 0;
}

h2 {
	font-size: 2.5rem !important;
	font-weight: 500 !important;
}

h3,
h3 > strong {
	font-size: 1.75rem !important;
	font-weight: 500 !important;
	margin-top: 3rem;
}

h4 {
	font-size: 1.5rem !important;
	font-weight: 500 !important;
}

h1 mark,
h2 mark,
h3 mark,
h4 mark,
h1 .highlight-gray,
h2 .highlight-gray,
h3 .highlight-gray,
h4 .highlight-gray {
	font-size: inherit;
}

header {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 800px;
	align-self: center;
	/* transform: translateX(50%); */
	margin-bottom: 4rem;
	margin-top: 1rem;
}

header img {
	width: 800px;
	height: auto;
	margin-top: 4rem;
	/* height: 450px; */
}

header > small {
	font-size: 10px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 3.84px;
	word-wrap: break-word;
	opacity: 0.4;
}

figure {
	margin: 3rem 0;
}

figcaption,
figcaption a {
	margin-top: 0.5rem;
	font-size: 0.8rem !important;
}

header > p {
	font-size: 14px;
	opacity: 0.5;
}
article {
	max-width: 800px;
	transform: translateX(45%);
	width: 55vw;
	margin: 2rem 0 4rem 0;
}

article > section {
	margin-bottom: 1rem;
	padding: 1rem 0;
}

.page-body p,
.page-body li {
	font-size: 1rem;
	font-family: Helvetica, "Inter", sans-serif;
	line-height: 1.75rem;
	list-style: square;
	list-style-position: inside;
}

.section-link {
	display: inline-flex;
	border-radius: 4px;
	margin-left: 0.5rem;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

article section li {
	margin-bottom: 1rem;
	list-style: square;
	list-style-position: inside;
}

article img {
	max-width: 800px !important;
	height: auto;
	width: 100%;
}

.code,
code {
	background: rgba(135, 131, 120, 0.15);
	border-radius: 3px;
	padding: 0.2em 0.4em;
	border-radius: 3px;
	font-size: 85%;
	tab-size: 2;
}

code {
	color: #eb5757;
}

.code {
	padding: 1.5em 1em;
}

.code-wrap {
	white-space: pre-wrap;
	word-break: break-all;
}

.code > code {
	background: none;
	padding: 0;
	font-size: 100%;
	color: inherit;
}

blockquote {
	font-size: 1.25em;
	margin: 1.5em 0;
	padding-left: 1em;
	border-left: 3px solid rgb(156, 32, 238);
	overflow: visible;
	font-style: italic;
}

.bookmark {
	text-decoration: none;
	padding: 0;
	display: flex;
	width: 100%;
	align-items: stretch;
}

.bookmark-title {
	font-size: 0.85em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: "Inter", sans-serif;
}

.bookmark-text {
	display: flex;
	flex-direction: column;
}

.bookmark-info {
	flex: 4 1 180px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.bookmark-image {
	width: 33%;
	flex: 1 1 180px;
	display: block;
	position: relative;
	object-fit: cover;
	border-radius: 1px;
}

.bookmark-description {
	margin-top: 0.25rem;
	font-family: "Inter", sans-serif;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.65rem;
	overflow: hidden;
	max-height: 4.5em;
	word-break: break-word;
}

.bookmark-href img {
	width: 18px;
}
.bookmark-href {
	opacity: 0.5;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.6em;
	margin-top: 0.25em;
	font-family: "Inter";
}
.highlight-gray {
	color: rgba(255, 255, 255, 1);
	/* background-color: rgb(49, 49, 49); */
}

.table_of_contents {
	margin: 3rem 0 !important;
}

.table_of_contents-item a {
	font-family: "Inter", sans-serif !important;
	font-size: 1rem;
	letter-spacing: -0.015em;
}

.table_of_contents-item {
	display: block;
	font-size: 0.875rem;
	line-height: 1.3;
	padding: 0.125rem;
	margin: 0.5rem 0;
}

.table_of_contents-indent-1 {
	margin-left: 1.5rem;
}

.table_of_contents-indent-2 {
	margin-left: 3rem;
}

.table_of_contents-indent-3 {
	margin-left: 4.5rem;
}

.table_of_contents-link {
	text-decoration: none;
	opacity: 0.7;
	border-bottom: 1px solid rgba(55, 53, 47, 0.18);
}

figure > a {
	opacity: 1;
}

hr {
	opacity: 0.15;
	margin: 3rem 0;
}

figure.callout {
	display: flex;
	gap: 1rem;
	background-color: rgba(26, 27, 27, 0.25);
	border: 0.5px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	padding: 1.5rem;
	box-shadow: inset rgba(255, 255, 255, 0.05) 0px -24px 32px -12px;
}

figure.callout > div {
	white-space: normal;
	text-align: left;
}

.column-list {
	display: flex;
	gap: 1rem;
}

@media screen and (max-width: 800px) {
	.all-blogs > div {
		width: 100%;
		padding: 40px 20px;
		padding-top: 0;
	}
	nav > ul {
		margin-top: 2rem;
		padding-bottom: 2rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	nav > a,
	nav > ul {
		position: inherit;
	}
	nav {
		padding: 20px;
	}
	header,
	article {
		width: 100%;
		transform: none;
		padding: 0 20px;
	}
	header {
		padding: 0;
		margin-top: 2rem;
	}
	header > img {
		width: 100%;
		margin-top: 1rem;
	}

	header h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	h3,
	h3 > strong {
		font-size: 1.25rem;
	}

	h4 {
		font-size: 1.1rem;
	}
	p {
		font-size: 1rem;
	}
	article section li,
	article section p {
		font-size: 1rem;
	}
	.links {
		position: absolute;
	}
	.bookmark {
		flex-direction: column-reverse;
	}
	.bookmark-image {
		width: 100%;
	}
	figcaption a {
		width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		overflow-wrap: break-word;
	}
	.bookmark-info {
		flex: 4 1 150px;
	}
	.column-list > div.column {
		width: 100% !important;
	}
	.column-list > div.column > figure {
		margin: 0.5rem 0;
	}
	.column-list {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}
