/* Use the complete main column after the sticky share rail. */
@media (min-width: 1025px) {
	.single-post .s-ct {
		--s-content-width: 100%;
	}

	.single-post .has-lsl .e-ct-outer {
		margin-right: 0;
		margin-left: 0;
	}
}

/*
 * Keep long-form copy quieter than headings in dark mode. The parent theme
 * makes all body text pure white; the July article reference used a softer
 * reading color while preserving white headings and the gold link owner.
 */
body.single-post[data-theme='dark'] .entry-content > p,
body.single-post[data-theme='dark'] .entry-content > ul,
body.single-post[data-theme='dark'] .entry-content > ol {
	color: #c7ccd1;
}

body.single-post.slambo-reading-spacing-compact .entry-content > p,
body.single-post.slambo-reading-spacing-compact .entry-content > ul,
body.single-post.slambo-reading-spacing-compact .entry-content > ol {
	line-height: 1.55;
}

body.single-post.slambo-reading-spacing-relaxed .entry-content > p,
body.single-post.slambo-reading-spacing-relaxed .entry-content > ul,
body.single-post.slambo-reading-spacing-relaxed .entry-content > ol {
	line-height: 1.9;
}

body.single-post.slambo-reading-density-focused .entry-content {
	max-width: 680px;
	margin-inline: auto;
}

body.single-post.slambo-reading-density-wide .entry-content {
	max-width: 100%;
}

/*
 * Single-post list presentation moved from the surviving July Customizer
 * evidence. Scope it to direct article lists so TOC, tables, widgets, and
 * nested component lists retain their own owners.
 */
.single-post .entry-content > ul,
.single-post .entry-content > ol {
	margin: 0 0 30px 20px;
	padding-left: 15px;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	list-style-position: outside;
}

.single-post .entry-content > ul {
	list-style-type: disc;
}

.single-post .entry-content > ol {
	list-style-type: decimal;
}

.single-post .entry-content > ul > li,
.single-post .entry-content > ol > li {
	margin-bottom: 8px;
	padding: 8px 10px;
	color: inherit;
	border-inline-start: 3px solid #78ad4b;
	border-radius: 5px;
	background: rgb(120 173 75 / 7%);
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.single-post .entry-content > ul > li::marker,
.single-post .entry-content > ol > li::marker {
	color: #78ad4b;
	font-size: 1.2em;
}

body.single-post[data-theme='dark'] .entry-content > ul > li,
body.single-post[data-theme='dark'] .entry-content > ol > li {
	border-inline-start-color: #91c95d;
	background: rgb(145 201 93 / 7%);
}

body.single-post[data-theme='dark'] .entry-content > ul > li::marker,
body.single-post[data-theme='dark'] .entry-content > ol > li::marker {
	color: #91c95d;
}

@media (hover: hover) and (pointer: fine) {
	.single-post .entry-content > ul > li:hover,
	.single-post .entry-content > ol > li:hover {
		border-inline-start-color: #91c95d;
		background: rgb(120 173 75 / 12%);
		transform: translateX(5px);
	}
}

/* Keep every July sidebar bookmark on the text-column edge. */
.single-post .elementor-3537 .elementor-widget-slambo-list-small-2 .p-meta,
.single-post .elementor-3537 .elementor-widget-slambo-list-small-2 .meta-inner {
	width: 100%;
}

.single-post .elementor-3537 .elementor-widget-slambo-list-small-2 .meta-inner {
	display: flex;
}

.single-post .elementor-3537 .elementor-widget-slambo-list-small-2 .meta-bookmark {
	min-inline-size: var(--meta-fsize);
	min-block-size: var(--meta-fsize);
	flex: 0 0 var(--meta-fsize);
	margin-inline-start: auto;
	margin-inline-end: 10px;
}

.single-post .elementor-3537 .elementor-widget-slambo-list-small-2 .meta-bookmark .rb-bookmark {
	inline-size: 100%;
	block-size: 100%;
}

/* Active single-post author card, adapted from the surviving July CSS family. */
.single-post .ubox {
	margin: 1.5rem 0;
	padding: 1.5rem;
	border: 1px solid rgb(24 32 37 / 12%);
	border-radius: 16px;
	background: rgb(248 250 252 / 86%);
	box-shadow: 0 12px 36px rgb(20 29 34 / 7%);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.single-post .ubox:hover {
	transform: translateY(-2px);
	border-color: rgb(139 195 74 / 38%);
	box-shadow: 0 16px 40px rgb(20 29 34 / 11%);
}

.single-post .ubox-header {
	align-items: flex-start;
	gap: 1.5rem;
}

.single-post .ubox-header .author-info-wrap {
	min-width: 0;
	gap: 1rem;
}

.single-post .ubox .author-avatar {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
}

.single-post .ubox .usocials {
	gap: 8px;
	margin-inline-start: auto;
}

.single-post .ubox .usocials a {
	display: inline-grid;
	width: 36px;
	height: 36px;
	border: 1px solid rgb(24 32 37 / 12%);
	border-radius: 8px;
	background: rgb(255 255 255 / 42%);
	place-items: center;
}

.single-post .ubox > .bio-description {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgb(24 32 37 / 10%);
}

body.single-post[data-theme='dark'] .ubox {
	border-color: rgb(255 255 255 / 12%);
	background: rgb(15 23 42 / 80%);
	box-shadow: 0 14px 42px rgb(0 0 0 / 24%);
}

body.single-post[data-theme='dark'] .ubox:hover {
	border-color: rgb(139 195 74 / 42%);
	background: rgb(15 23 42 / 90%);
	box-shadow: 0 18px 46px rgb(0 0 0 / 32%);
}

body.single-post[data-theme='dark'] .ubox .usocials a,
body.single-post[data-theme='dark'] .ubox > .bio-description {
	border-color: rgb(255 255 255 / 12%);
}

body.single-post[data-theme='dark'] .ubox .usocials a {
	background: rgb(255 255 255 / 4%);
}

@media (max-width: 767px) {
	.single-post .entry-content > ul,
	.single-post .entry-content > ol {
		margin-left: 15px;
		padding-left: 10px;
	}

	.single-post .entry-content > ul > li,
	.single-post .entry-content > ol > li {
		padding: 6px 8px;
	}

	.single-post .ubox {
		margin: 1rem 0;
		padding: 1.25rem;
		border-radius: 12px;
	}

	.single-post .ubox-header,
	.single-post .ubox-header .author-info-wrap {
		align-items: center;
		flex-direction: column;
		width: 100%;
		text-align: center;
	}

	.single-post .ubox .usocials {
		justify-content: center;
		margin-inline-start: 0;
	}

	.single-post .ubox > .bio-description {
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-post .entry-content > ul > li,
	.single-post .entry-content > ol > li,
	.single-post .ubox {
		transition: none;
	}
}
