/*
 * Cardio LP 1.2.3 — textul articolelor de blog (1.2.0), al paginilor /simptome/ (1.2.1) și /boli/ (1.2.2).
 * Tema (Underscores) lasă textul la 14px, H2 cât H1, listele fără buline și tabelele fără borduri.
 * Cuprinsul (ez-toc) și restul site-ului nu sunt atinse. Montserrat 600/700 îl încarcă pluginul (tema are doar 400).
 * 1.2.3: paginile lipite din Google Docs (blocul lor <style> îl scoate PHP-ul la afișare; aici, golurile).
 */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) {
	color: #262626;
	font-size: 18px;
	line-height: 1.7;
	overflow-wrap: break-word;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) li,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) td,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) th,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) blockquote {
	font-size: 18px;
	line-height: 1.7;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p {
	margin: 0 0 1.1em;
}

/* Titluri: ierarhie clară față de text */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h2 {
	color: #1a1a1a;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.6em 0 0.55em;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h3 {
	color: #1a1a1a;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	margin: 1.6em 0 0.5em;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 1.4em 0 0.4em;
}

/* Tema face `h2 span/strong` bloc roșu; în articol rămân în rând, în culoarea titlului */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h2 span,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h2 strong,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h3 span,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h3 strong {
	display: inline;
	color: inherit;
	font-weight: inherit;
}

/* Liste: buline și cifre (tema le scoate); cuprinsul ez-toc rămâne cum e */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ul:not([class*="ez-toc"]),
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ol:not([class*="ez-toc"]) {
	margin: 0 0 1.2em;
	padding-left: 1.6em;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ul:not([class*="ez-toc"]) {
	list-style: disc;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ol:not([class*="ez-toc"]) {
	list-style: decimal;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ul:not([class*="ez-toc"]) ul {
	list-style: circle;
	margin: 0.3em 0 0;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ul:not([class*="ez-toc"]) > li,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ol:not([class*="ez-toc"]) > li {
	margin: 0 0 0.45em;
	padding-left: 0.2em;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ul:not([class*="ez-toc"]) > li::marker {
	color: #d9534f;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) ol:not([class*="ez-toc"]) > li::marker {
	color: #1a1a1a;
	font-weight: 700;
}

/* Linkuri: vizibile ca linkuri, contrast suficient pe alb */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) a:not(.ez-toc-link):not([class*="ez-toc"]) {
	color: #b23a33;
	text-decoration: underline;
	text-underline-offset: 2px;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) a:not(.ez-toc-link):not([class*="ez-toc"]):hover {
	color: #8a2b26;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) strong {
	color: #1a1a1a;
	font-weight: 700;
}

/* Tabele */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) table {
	border-collapse: collapse;
	margin: 1.4em 0 1.8em;
	width: 100%;
	border: 1px solid #d9d9d9;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) th,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) td {
	border: 1px solid #d9d9d9;
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	font-size: 16px;
	line-height: 1.5;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) thead th {
	background: #fbe7e5;
	color: #1a1a1a;
	font-weight: 700;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) tbody tr:nth-child(even) td {
	background: #fafafa;
}

/* Citate și separatoare */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) blockquote {
	border-left: 4px solid #f16b63;
	margin: 1.4em 0;
	padding: 0.2em 0 0.2em 1.1em;
	color: #333;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) hr {
	margin: 2em 0;
}

/* Disclaimerul final (paragraf doar în italic) */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p > em:only-child {
	color: #555;
	font-size: 16px;
}

/* Paginile vechi lipite din Google Docs (1.2.3): paragrafele goale nu mai lasă goluri, textul nu mai e „justify” */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p:empty,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p:has(> span:only-child:empty),
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p:has(> br:only-child) {
	display: none;
}

:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) li {
	text-align: left;
}

/* Cuprinsul nu moștenește mărimea textului */
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) #ez-toc-container li,
:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) #ez-toc-container a {
	font-size: 16px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content),
	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) p,
	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) li {
		font-size: 17px !important; /* tema forțează p 17px !important pe mobil; aliniem și listele */
	}

	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h2 {
		font-size: 23px !important; /* bate `h2 { 24px !important }` din Additional CSS */
		margin-top: 1.6em;
	}

	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) h3 {
		font-size: 19px;
	}

	/* Tabelul se derulează lateral în loc să iasă din ecran */
	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) th,
	:is(.single-post .post_content, .single-post_cardio_symptom .entry-content, .single-post_disease .entry-content) td {
		font-size: 15px;
		min-width: 140px;
		padding: 8px 10px;
	}
}
