/**
 * Single blog posts — mirrors LGP Kadence hero + constrained reading column (RGE palette).
 */

.single-post .content-bg.single-entry .entry-content-wrap {
	padding-top: clamp(1.25rem, 2vw, 2rem);
	padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.single-post .entry-content.single-content {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	font-size: var(--rge-text-base);
	line-height: 1.55;
}

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

/* Post title — align Kadence entry hero with RGE type scale (not theme 50px default). */
.single-post .entry-hero .entry-title,
.single-post .entry-header .entry-title,
.single-post h1.entry-title {
	font-family: var(--rge-font-display);
	font-size: var(--rge-h1) !important;
	font-weight: 700;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	color: var(--rge-ink);
}

/* Featured-image hero — light text over photo (rge-has-hero-cover body class). */
.single-post.rge-has-hero-cover .post-hero-section .hero-section-overlay {
	background: rgba(39, 38, 36, 0.5);
}

.single-post.rge-has-hero-cover .post-hero-section .entry-title,
.single-post.rge-has-hero-cover .post-hero-section .entry-header .entry-title,
.single-post.rge-has-hero-cover .post-hero-section h1.entry-title {
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.single-post.rge-has-hero-cover .post-hero-section .entry-meta,
.single-post.rge-has-hero-cover .post-hero-section .entry-meta a {
	color: rgba(255, 255, 255, 0.92) !important;
}

.single-post.rge-has-hero-cover .post-hero-section .entry-taxonomies a {
	color: var(--global-palette9, #fff) !important;
}

.single-post .entry-content.single-content p,
.single-post .entry-content.single-content li,
.single-post .entry-content.single-content .wp-block-list li {
	font-size: var(--rge-text-base) !important;
	line-height: 1.55 !important;
}

.single-post .entry-content.single-content p {
	margin-bottom: 1.1em;
}

.single-post .entry-content.single-content h2.wp-block-heading {
	font-size: var(--rge-h2) !important;
	font-weight: 700;
	line-height: 1.25 !important;
	margin-top: 1.75em;
	margin-bottom: 0.65em;
}

.single-post .entry-content.single-content h3.wp-block-heading {
	font-size: var(--rge-h3) !important;
	font-weight: 700;
	line-height: 1.3 !important;
	margin-top: 1.35em;
	margin-bottom: 0.5em;
}

.single-post .entry-content.single-content .wp-block-list {
	margin: 0.75em 0 1.25em 1.25em;
	padding-left: 0.35em;
}

.single-post .entry-content.single-content .wp-block-list li {
	margin-bottom: 0.35em;
}

.single-post .entry-content.single-content .wp-block-kadence-image,
.single-post .entry-content.single-content figure.wp-block-image {
	margin: 1.5em auto;
}

.single-post .entry-content.single-content .rge-post-hero-image {
	width: 100%;
	margin-top: 0;
	margin-bottom: 1.5em;
}

.single-post .entry-content.single-content .rge-post-hero-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--rge-radius, 0.5rem);
}

.single-post .entry-content.single-content figcaption {
	font-size: var(--rge-text-sm) !important;
	line-height: 1.5;
	color: var(--rge-muted, rgba(39, 38, 36, 0.62));
	margin-top: 0.5em;
	text-align: center;
}

.single-post .entry-content.single-content .kb-buttons-wrap {
	margin: 1.25em 0 1.5em;
}

.single-post .entry-content.single-content a {
	text-underline-offset: 0.15em;
}

.single-post .entry-content.single-content .rge-post-intro {
	margin: 0 0 1.35em;
	padding: 0.85rem 1rem 0.85rem 1.1rem;
	border-left: 3px solid var(--rge-brand-blue, #004aad);
	background: rgba(0, 74, 173, 0.06);
	border-radius: 0 var(--rge-radius, 0.5rem) var(--rge-radius, 0.5rem) 0;
	font-size: var(--rge-text-base) !important;
	line-height: 1.55 !important;
}

.single-post .entry-content.single-content .rge-post-cta {
	margin: 1.75em 0 0;
	padding: 1rem 1.15rem;
	background: var(--rge-card-bg, #fff);
	border: 1px solid rgba(39, 38, 36, 0.08);
	border-radius: var(--rge-radius, 0.5rem);
	box-shadow: var(--rge-shadow-sm, 0 2px 8px rgba(39, 38, 36, 0.06));
	font-size: var(--rge-text-base) !important;
	line-height: 1.55 !important;
}

.single-post .entry-content.single-content .rge-post-footer-links,
.single-post .entry-content.single-content .rge-seo-related-links.rge-post-footer-links {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(39, 38, 36, 0.08);
	font-size: var(--rge-text-sm) !important;
	line-height: 1.6;
	color: var(--rge-muted, #5c5a57);
}

.single-post .entry-content.single-content .rge-post-footer-links a,
.single-post .entry-content.single-content .rge-seo-related-links a {
	font-size: inherit;
	font-weight: 500;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.single-post .entry-content.single-content .rge-post-footer-links a,
	.single-post .entry-content.single-content .rge-seo-related-links a {
		white-space: normal;
	}
}
