/*
 * EverReady Home Care — Blog design system (single posts only).
 * Scoped to body.single-post. Does not affect pages, the homepage, archives or Elementor layouts.
 * Rollback: delete this file and mu-plugins/everready-blog-system.php.
 */
body.single-post {
	--ev-teal: #135e69;
	--ev-teal-dark: #0b3f47;
	--ev-text: #2b2b2b;
	--ev-rule: #d3e0e2;
}

/* ---------- H1: restore the visible post title (single posts only) ---------- */
body.single-post .entry-header h1.entry-title {
	display: block;
	font-family: Oswald, sans-serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.15;
	color: var(--ev-teal);
	margin: 0 0 .5em;
	overflow-wrap: anywhere;
}

/* ---------- Article body ---------- */
body.single-post .entry-content :is(p, li):not(#ez-toc-container *) {
	font-family: Poppins, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--ev-text);
}
body.single-post .entry-content h2:not(#ez-toc-container *) {
	font-family: Oswald, sans-serif;
	font-weight: 400;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ev-teal);
	margin: 1.8em 0 .6em;
}
body.single-post .entry-content h3:not(#ez-toc-container *) {
	font-family: Oswald, sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.3;
	color: var(--ev-teal);
	margin: 1.5em 0 .5em;
}
body.single-post .entry-content h2 strong,
body.single-post .entry-content h3 strong {
	font-weight: 400;
}

/* ---------- Links: accessible teal + visible underline (TOC untouched) ---------- */
body.single-post .entry-content a:not(#ez-toc-container a),
body.single-post .ev-blog-extra a {
	color: var(--ev-teal);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.single-post .entry-content a:not(#ez-toc-container a):hover,
body.single-post .entry-content a:not(#ez-toc-container a):focus,
body.single-post .ev-blog-extra a:hover,
body.single-post .ev-blog-extra a:focus {
	color: var(--ev-teal-dark);
	text-decoration-thickness: 2px;
}
body.single-post .entry-content a:not(#ez-toc-container a):focus-visible,
body.single-post .ev-blog-extra a:focus-visible {
	outline: 2px solid var(--ev-teal);
	outline-offset: 2px;
}

/* ---------- Featured image: uniform 16:9 display (media files untouched) ---------- */
body.single-post .entry-header .post-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center 10%;
}

/* ---------- Shared components: Related Reading + Sources ---------- */
body.single-post .ev-blog-extra {
	margin: 2.5em 0 0;
	padding-top: 1.5em;
	border-top: 1px solid var(--ev-rule);
	clear: both;
}
body.single-post .ev-blog-extra + .ev-blog-extra {
	margin-top: 1.75em;
}
body.single-post .ev-blog-extra__title {
	font-family: Oswald, sans-serif;
	font-weight: 400;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ev-teal);
	margin: 0 0 .6em;
}
body.single-post .ev-blog-extra__list {
	margin: 0 0 0 1.25em;
	padding: 0;
}
body.single-post .ev-blog-extra__list li {
	font-family: Poppins, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ev-text);
	margin: 0 0 .5em;
}

/* ---------- Tablet ---------- */
@media (max-width: 921px) {
	body.single-post .entry-header h1.entry-title { font-size: 36px; }
	body.single-post .entry-content h2:not(#ez-toc-container *),
	body.single-post .ev-blog-extra__title { font-size: 26px; }
	body.single-post .entry-content h3:not(#ez-toc-container *) { font-size: 20px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 544px) {
	body.single-post .entry-header h1.entry-title { font-size: 30px; }
	body.single-post .entry-content :is(p, li):not(#ez-toc-container *),
	body.single-post .ev-blog-extra__list li { font-size: 16px; }
	body.single-post .entry-content h2:not(#ez-toc-container *),
	body.single-post .ev-blog-extra__title { font-size: 24px; }
	body.single-post .entry-content h3:not(#ez-toc-container *) { font-size: 19px; }
}
