/**
 * Single blog post (single.php). Every value here was measured with
 * DevTools on a real post on basefitness.us: olive title band #4B5C2B
 * (53px vertical padding, 125px above it since the site header is a
 * transparent overlay), MonumentExtended 40px / 4px letter-spacing
 * title, 60px gap, a full-width 500px-tall featured image, then a
 * white content block with black text.
 */
/* Page background is black on the live site (Elementor kit body color);
   without it the white logo/nav in the transparent header vanish. */
body.single-post {
	background: var(--bf-color-primary);
	color: var(--bf-color-white);
}

.single-post-heading {
	margin: 125px 0 0;
	padding: 53px 0;
	background: #4B5C2B;
	color: var(--bf-color-white);
	text-align: center;
}

.single-post-heading .page-header {
	margin: 0;
	padding: 0;
}

/* Matches what the live site actually shows for post titles: its CSS
   asks for MonumentExtended, but that font never loads on those pages,
   so the browser falls back to the system sans (Helvetica/Arial), regular
   weight, 40px / 36px line-height / 4px tracking, uppercase — which is
   what the client asked for. Using MonumentExtended here made the title
   look bold and wrap onto two lines. */
.single-post-heading .entry-title {
	max-width: 1140px;
	margin: 8px auto 16px;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 36px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--bf-color-white);
}

.single-post-body {
	margin-top: 60px;
}

/* padding, not margin: the 6px is the inline-image baseline gap the live
   container has under the picture, and a margin would collapse into the
   20px margin of the content block below it. */
.single-featured {
	margin: 0;
	padding: 0 0 6px;
}

.single-featured img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 500px;
	object-fit: cover;
}

.single-post .page-content {
	margin: 20px 0 0;
	background: #fff;
	color: #000;
}

/* Non-Elementor content: keep it out of the screen edges. Sizes are the
   ones the live post shows for the same elements (p 17px, h2 32px/600,
   h4 24px/600). */
.single-post .page-content--plain {
	box-sizing: border-box;
	padding: 40px max(24px, calc((100% - 1140px) / 2));
	font-size: 17px;
	line-height: 1.3;
}

.single-post .page-content--plain p {
	margin: 0 0 14.4px;
}

.single-post .page-content--plain h2 {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
}

.single-post .page-content--plain h4 {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.single-post-heading {
		padding: 19px 0;
	}

	.single-post-heading .entry-title {
		margin: 8px 0 0;
		padding: 10px 10px 0;
		font-size: 26px;
		line-height: 23.4px;
	}

	.single-featured img {
		height: 260px;
	}
}

/* Post content typography: Tahoma, like the live site (its paragraphs,
   h2 and h4 all report Tahoma). Our global heading rule (main.css)
   would otherwise force the brand display font onto these headings.
   :where() keeps this at zero extra specificity so Elementor's own
   per-widget typography still wins where a post sets one. */
.single-post .page-content,
.single-post .page-content :where(h1, h2, h3, h4, h5, h6) {
	font-family: Tahoma, sans-serif;
}
