/* PAGE STYLING */
.blog-container {
	max-width: 800px;
	margin: 50px auto;
	padding: 0 20px;
	line-height: 1.7;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.blog-container .blog-header {
	margin-bottom: 40px;
	padding: 0;
	background: none;
	border: none;
	width: auto;
}

.blog-container .blog-title {
	font-size: 2.5rem;
	margin-bottom: 5px;
	word-wrap: break-word;
}

.blog-metadata {
	color: #666;
	font-size: 0.9rem;
}

.back-link {
	display: inline-block;
	margin-top: 40px;
	color: #333;
	text-decoration: none;
}

.back-link.top-link {
	margin-top: 0;
	margin-bottom: 40px;
}

.back-link:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.blog-container {
		margin: 20px auto;
		padding: 0 15px;
		max-width: 100%;
		overflow-x: hidden;
	}

	.blog-container .blog-title {
		font-size: 1.8rem;
	}
}

/* STANDARD ELEMENTS */
.blog-content h2 {
	margin-top: 40px;
	margin-bottom: 20px;
	font-size: 1.8rem;
}

.blog-content h3 {
	margin-top: 30px;
	margin-bottom: 15px;
	font-size: 1.3rem;
}

.blog-content p {
	margin-bottom: 20px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.blog-content ul {
	margin-bottom: 20px;
	padding-left: 1em;
	list-style-position: outside;
}

.blog-content li {
	margin-bottom: 10px;
	padding-left: 1em;
	/* text-indent: -2em; */
}

.code-block {
	background: #f5f5f5;
	border-left: 4px solid #333;
	margin: 20px 0;
	overflow-x: auto;
	font-size: 0.9rem;
}

.code-block pre {
	padding: 15px;
	margin: 0;
	overflow-x: auto;
}

.code-block code {
	font-family: "Courier New", monospace;
	white-space: pre;
}

.code-block .highlight-green {
	background-color: #d4edda;
	padding: 2px 4px;
	border-radius: 3px;
	font-weight: 500;
	white-space: pre;
	display: inline-block;
}

.code-block .highlight-yellow {
	background-color: #fff3cd;
	padding: 2px 4px;
	border-radius: 3px;
	font-weight: 500;
	white-space: pre;
	display: inline-block;
}

.comparison {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 30px 0;
}

.comparison-section {
	border: 1px solid #bbb;
	padding: 20px;
	border-radius: 5px;
}

.comparison-section h4 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #d32f2f;
}

.comparison-section.after h4 {
	color: #388e3c;
}

@media (max-width: 768px) {
	.blog-content h2 {
		font-size: 1.5rem;
	}

	.blog-content h3 {
		font-size: 1.2rem;
	}

	.comparison {
		grid-template-columns: 1fr;
	}
}

/* CUSTOM ELEMENTS */
/* A), B) list styling */
.custom-alpha-list {
	list-style-type: none;
	counter-reset: item;
	margin-left: 0;
	padding-left: 2em;
}

.custom-alpha-list li {
	counter-increment: item;
	position: relative;
	margin-bottom: 1em;
	padding-left: 0em !important;
}

.custom-alpha-list li::before {
	content: counter(item, upper-alpha) ") ";
	font-weight: bold;
	position: absolute;
	left: -2em;
	width: 2em;
}

.extra-spacing {
	margin-top: 1.5em;
}
