.post:hover {
	background-color: inherit;
}

.article-content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	overflow-y: visible;
}

.article-content .post {
	margin: 5rem 2rem;
}

.blog-par {
	margin-top: 20px;
	font-size: 1.2rem;
	text-align: justify;
	text-wrap: pretty;
}

.article-navigation {
	position: static;
	display: flex;
	align-items: center;
	margin: 0 0 2.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #333;
}

.article-navigation a,
.article-navigation a:visited {
	color: var(--primary-color);
	text-decoration: underline;
	font-weight: 400;
}

.article-navigation a:hover {
	color: var(--primary-color);
	text-decoration: underline;
	font-weight: 600;
}

.article-navigation::after {
	display: none;
}

.ref-entry {
	text-align: left !important;
}

.article-content code {
	background: #202020;
	border: 1px solid #444;
	padding: 0.05rem 0.35rem;
	border-radius: 4px;
}

.article-content strong {
	color: var(--primary-color);
	font-weight: 600;
}

.article-content a,
.article-content a:visited {
	color: var(--secondary-color);
	text-decoration: underline;
}

.article-content a:hover {
	color: var(--primary-color);
	text-decoration: underline;
	font-weight: 600;
}

.article-content a.bib-link,
.article-content a.bib-link:hover {
	text-decoration: none;
}

@media (max-width: 768px) {
	html,
	body {
		padding: 0;
		overflow-x: hidden;
	}
	.article-content {
		width: 100%;
		max-width: 100%;
		padding: 0;
		padding-bottom: 3rem;
	}

	.article-content .post {
		margin: 0 0 3rem;
		padding: 1.25rem 1rem 2rem;
		border-radius: 0;
		box-shadow: none;
	}

	.article-content .post > header {
		margin: 2rem 0 2.5rem;
	}

	.article-navigation {
		margin-bottom: 2rem;
		font-size: 0.9rem;
	}

	.article-content .post-title {
		font-size: clamp(1.5rem, 7vw, 2rem);
		line-height: 1.3;
		overflow-wrap: anywhere;
	}

	.article-content .post-meta {
		font-size: 0.8rem;
		line-height: 1.5;
	}

	.article-content p {
		text-align: left;
	}

	.article-content .section-title {
		font-size: clamp(1.35rem, 6vw, 2rem);
		line-height: 1.3;
		overflow-wrap: anywhere;
	}

	.article-content .blog-par {
		font-size: 1rem;
		line-height: 1.7;
		overflow-wrap: anywhere;
		margin-top: 25px;
		text-align: justify;
		text-wrap: pretty;
	}

	.article-content .blog-par-block .blog-par {
		margin-left: 1rem;
	}

	.article-content .blog-par-block .blog-par::before {
		margin-left: -1rem;
	}

	.cv-section-divider-alt,
	.cv-section-divider {
		margin-top: 3rem;
		margin-bottom: 3rem;
	}

	.image-wrapper {
		width: 100%;
		margin: 2rem 0;
		padding: 0.75rem;
	}

	.article-image {
		width: 100%;
	}

	.image-caption,
	.table-caption {
		font-size: 0.8rem;
	}

	.table-wrapper {
		width: 100%;
		margin: 2rem 0;
		padding: 0.5rem;
	}

	.article-table {
		width: 100%;
		min-width: 0;
		table-layout: fixed;
		font-size: 0.8rem;
	}

	.article-table th,
	.article-table td {
		padding: 0.55rem 0.35rem;
		overflow-wrap: anywhere;
	}

	.article-content a {
		overflow-wrap: anywhere;
	}
}

/* Image */

.image-wrapper {
	margin: 3rem auto;
	padding: 1.25rem;
	border-radius: 10px;
	box-shadow: 0 0 2px #ffffff80;
	width: fit-content;
	max-width: 100%;
	background-color: transparent;
}

.image-wrapper:hover {
	background-color: #1f1f1f;
}

.article-image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 0 auto;
}

.image-caption {
	margin: 1rem auto;
	font-size: 0.95rem;
	color: #cfcfcf;
	line-height: 1.5;
	text-align: center;
	max-width: 800px;
}

.image-caption strong {
	color: var(--primary-color);
	font-weight: 600;
}

/* Table */

.table-wrapper {
	margin: 3rem auto;
	padding: 1.25rem;
	width: fit-content;
	max-width: 100%;
	border-radius: 10px;
	box-shadow: 0 0 2px #ffffff80;
	overflow-x: auto;
}

.table-wrapper:hover {
	background-color: #1f1f1f;
}

.article-table {
	border-collapse: collapse;
	min-width: 520px;
	color: #ffffff;
	margin: 0 auto;
}

.article-table th,
.article-table td {
	border: 1px solid #555;
	padding: 0.8rem 1.4rem;
	text-align: center;
}

.article-table thead th {
	font-weight: 700;
	color: var(--primary-color);
	background-color: #181818;
}

.article-table tbody th {
	text-align: left;
	font-weight: 600;
	background-color: #181818;
}

.table-yes {
	color: #33ff33;
	font-size: 1.2rem;
	font-weight: bold;
}

.table-no {
	color: #ff5555;
	font-size: 1.2rem;
	font-weight: bold;
}

.table-caption {
	margin: 1rem auto;
	font-size: 0.95rem;
	color: #cfcfcf;
	line-height: 1.5;
	text-align: center;
	max-width: 800px;
}

.table-caption strong {
	color: var(--primary-color);
}

@media (max-width: 768px) {
	.image-wrapper {
		width: 100%;
		margin: 2rem 0;
		padding: 0.75rem;
	}

	.table-wrapper {
		width: 100%;
		margin: 2rem 0;
		padding: 0.5rem;
	}

	.article-table {
		width: 100%;
		min-width: 0;
		table-layout: fixed;
		font-size: 0.8rem;
	}

	.article-table th,
	.article-table td {
		padding: 0.55rem 0.35rem;
		overflow-wrap: anywhere;
	}
}

@media (min-width: 769px) {
	.article-content {
		display: flow-root;
	}

	.article-content .post {
		margin-bottom: 5rem;
	}
}
