/**
 * Single post — mobile readability fixes.
 * Overrides legacy WPBakery custom.css card overlap that hid the lead paragraph.
 */

body.sx-single .fullwidth-container {
	position: relative;
	z-index: 0 !important;
	/* Tighter hero on small screens so the lead isn’t pushed below the fold */
	padding: 5.25rem 1.15rem 1.5rem !important;
}

body.sx-single .pageTitle .page_title,
body.sx-single h1.page_title {
	font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
	line-height: 1.2 !important;
}

@media (min-width: 640px) {
	body.sx-single .fullwidth-container {
		padding: 7.25rem 1.25rem 2.5rem !important;
	}

	body.sx-single .pageTitle .page_title,
	body.sx-single h1.page_title {
		font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
	}
}

body.sx-single .master_container,
body.sx-single .page_content {
	overflow: visible !important;
}

body.sx-single article.post {
	position: relative !important;
	z-index: 1 !important;
	/* Drop the aggressive pull-up on mobile — it clipped the first paragraph under the hero */
	margin-top: 1rem !important;
	padding-top: 1.5rem !important;
	overflow: visible !important;
}

@media (min-width: 640px) {
	body.sx-single article.post {
		margin-top: -1.5rem !important;
		padding-top: 2rem !important;
		overflow: hidden !important; /* keep radius clip when overlap is safe */
	}
}

body.sx-single .postcontent {
	padding-top: 0.15rem !important;
}

body.sx-single .the_content > *:first-child {
	margin-top: 0 !important;
}
