/**
 * Single blog post — tipografía y respiración visual
 */

.stm-single-post {
	padding-top: 48px;
	padding-bottom: 64px;
}

.stm-single-post .post-title {
	margin: 0 0 32px;
	font-size: clamp(1.75rem, 2.4vw, 2.35rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #001e40;
	font-weight: 700;
}

.stm-single-post .post-thumbnail {
	margin: 8px 0 32px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 30, 64, 0.1);
	background: #eef1f6;
}

.stm-single-post .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
}

.stm-single-post .blog-meta {
	margin: 0 0 40px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #f4f6fa;
	border: 1px solid #e4e8ef;
}

.stm-single-post .blog-meta .blog-meta-unit,
.stm-single-post .blog-meta .blog-meta-unit span,
.stm-single-post .blog-meta .blog-meta-unit i {
	color: #001e40 !important;
	opacity: 1 !important;
}

.stm-single-post .blog-meta .blog-meta-unit {
	margin-right: 0;
	margin-bottom: 0 !important;
}

.stm-single-post .post-content {
	padding-bottom: 48px;
	margin-bottom: 40px;
	border-bottom: 1px solid #e4e8ef;
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #2a3340;
	max-width: 42rem;
}

.stm-single-post .post-content > *:first-child {
	margin-top: 0;
}

.stm-single-post .post-content p {
	margin: 0 0 1.35em;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.stm-single-post .post-content h2,
.stm-single-post .post-content h3,
.stm-single-post .post-content h4 {
	color: #001e40;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.stm-single-post .post-content h2 {
	margin: 2.4em 0 0.85em;
	font-size: clamp(1.35rem, 1.8vw, 1.65rem);
	padding-top: 0.35em;
	border-top: 1px solid #e8ecf2;
}

.stm-single-post .post-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.stm-single-post .post-content h3 {
	margin: 2em 0 0.7em;
	font-size: 1.25rem;
}

.stm-single-post .post-content ul,
.stm-single-post .post-content ol {
	margin: 0 0 1.6em;
	padding-left: 1.35em;
}

.stm-single-post .post-content li {
	margin: 0 0 0.75em;
	line-height: 1.7;
	padding-left: 0.25em;
}

.stm-single-post .post-content li:last-child {
	margin-bottom: 0;
}

.stm-single-post .post-content figure,
.stm-single-post .post-content .wp-block-image {
	margin: 2.75em 0 !important;
	max-width: none;
}

.stm-single-post .post-content figure + h2,
.stm-single-post .post-content .wp-block-image + h2 {
	margin-top: 0.5em;
	padding-top: 0;
	border-top: none;
}

.stm-single-post .post-content figure img,
.stm-single-post .post-content .wp-block-image img,
.stm-single-post .post-content p > img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 32px rgba(0, 30, 64, 0.1);
}

.stm-single-post .post-content figcaption {
	margin-top: 0.75em;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6a7685;
	text-align: center;
}

.stm-single-post .post-content a {
	color: #001e40;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.stm-single-post .post-content a:hover {
	color: #003366;
}

.stm-single-post .blog-meta-bottom {
	margin-top: 8px;
	padding: 22px 0 8px;
}

.stm-single-post .stm_post_comments {
	margin-top: 40px;
}

@media (max-width: 767px) {
	.stm-single-post {
		padding-top: 28px;
		padding-bottom: 40px;
	}

	.stm-single-post .post-title {
		margin-bottom: 20px;
	}

	.stm-single-post .post-thumbnail {
		margin-bottom: 20px;
		border-radius: 8px;
	}

	.stm-single-post .blog-meta {
		margin-bottom: 28px;
		padding: 14px 16px;
	}

	.stm-single-post .post-content {
		font-size: 1rem;
		line-height: 1.75;
		max-width: none;
	}

	.stm-single-post .post-content figure,
	.stm-single-post .post-content .wp-block-image {
		margin: 2em 0 !important;
	}

	.stm-single-post .post-content h2 {
		margin-top: 2em;
	}
}
