/**
 * Bitcoin Lifespan Simulator - Blog Styles
 * Loaded after css/main.css on /blog/ pages only.
 */

/* Readable line length for article text */
.blog-prose {
	max-width: 68ch;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.0625rem;
	line-height: 1.7;
	text-wrap: pretty; /* avoid a lone word on the last line, where supported */
}

.blog-prose h1 {
	font-weight: 700;
	letter-spacing: -0.03rem;
	line-height: 1.2;
}

.blog-prose h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 2.5rem;
	letter-spacing: -0.02rem;
}

.blog-prose h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 2rem;
}

.blog-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.blog-meta {
	font-size: 0.9rem;
}

/* Article list on /blog/ */
.blog-list-item + .blog-list-item {
	border-top: 1px solid var(--bs-border-color);
}

.blog-list-item h2 {
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02rem;
}

.blog-list-item h2 a {
	text-decoration: none;
	color: inherit;
}

.blog-list-item h2 a:hover {
	text-decoration: underline;
}

/* Call-to-action box */
.blog-cta {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 100%);
}

:root[data-bs-theme="dark"] .blog-cta {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

@media (max-width: 768px) {
	.blog-prose {
		font-size: 1rem;
	}
}
