/*
 * Elarisa blog – article typography (loaded by mu-plugins/elarisa-blog-headings.php).
 * Brand tokens follow elarisa.gr (assets/v2/css/custom.css): orange #f37c20, Roboto titles.
 * Added 2026-12-05.
 */
:root {
	--eb-accent: #f37c20;
	--eb-accent-dark: #c95f0e;
	--eb-text: #2b2b2b;
	--eb-heading: #1a1a1a;
	--eb-muted: #6b7280;
	--eb-border: #e5e7eb;
	--eb-soft: #f8f8f8;
	--eb-measure: 50rem;
}

/* ---------- Post title (the single H1) ---------- */
body.single-post #wrapper #main #content article.post h1.entry-title.fusion-post-title {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--eb-heading);
	margin: 0 0 1.25rem;
	max-width: var(--eb-measure);
}
.single-post #content .fusion-flexslider,
.single-post #content .fusion-post-slideshow {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 2rem;
}

/* ---------- Article body ---------- */
.single-post #content article > .post-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--eb-text);
	max-width: var(--eb-measure);
	overflow-wrap: break-word;
}
.single-post #content article > .post-content p,
.single-post #content article > .post-content p[align="justify"] {
	margin: 0 0 1.25em;
	text-align: left !important;
	font-size: inherit;
	line-height: inherit;
}
/* classic-editor posts often wrap text in spans with inline weight 400 */
.single-post #content article > .post-content span[style*="font-weight: 400"] {
	font-weight: inherit !important;
}

.single-post #content article > .post-content h2,
.single-post #content article > .post-content h3,
.single-post #content article > .post-content h4 {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	color: var(--eb-heading);
	letter-spacing: -0.005em;
	text-align: left !important;
	clear: both;
}
.single-post #content article > .post-content h2 {
	font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 2.25em 0 0.75em;
	padding-left: 0.75rem;
	border-left: 4px solid var(--eb-accent);
}
.single-post #content article > .post-content h3 {
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
	font-weight: 600;
	line-height: 1.4;
	margin: 1.75em 0 0.5em;
}
.single-post #content article > .post-content h4 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 1.5em 0 0.5em;
}
.single-post #content article > .post-content > h2:first-child,
.single-post #content article > .post-content > h3:first-child {
	margin-top: 0.5em;
}
/* some headings wrap their text in <strong>/<b>/<span>: let the heading style win */
.single-post #content article > .post-content :is(h2, h3, h4) :is(strong, b, span) {
	font-weight: inherit !important;
	font-size: inherit !important;
	color: inherit;
}
.single-post #content article > .post-content strong,
.single-post #content article > .post-content b {
	font-weight: 600;
	color: var(--eb-heading);
}

/* Links */
.single-post #content article > .post-content a {
	color: var(--eb-accent-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.single-post #content article > .post-content a:hover {
	color: var(--eb-accent);
}

/* Lists */
.single-post #content article > .post-content ul,
.single-post #content article > .post-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}
.single-post #content article > .post-content li {
	margin: 0 0 0.45em;
	line-height: 1.7;
	padding-left: 0.2em;
}
.single-post #content article > .post-content ul > li::marker {
	color: var(--eb-accent);
}
.single-post #content article > .post-content ol > li::marker {
	color: var(--eb-accent);
	font-weight: 600;
}

/* Images & figures */
.single-post #content article > .post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.single-post #content article > .post-content .wp-caption,
.single-post #content article > .post-content figure {
	max-width: 100%;
	margin: 1.75em 0;
}
.single-post #content article > .post-content .wp-caption-text,
.single-post #content article > .post-content figcaption {
	font-size: 0.875rem;
	color: var(--eb-muted);
	margin-top: 0.5em;
	text-align: center;
}
.single-post #content article > .post-content img.aligncenter {
	display: block;
	margin: 1.75em auto;
}
.single-post #content article > .post-content img.alignleft {
	float: left;
	margin: 0.35em 1.5em 1em 0;
}
.single-post #content article > .post-content img.alignright {
	float: right;
	margin: 0.35em 0 1em 1.5em;
}

/* Blockquotes */
.single-post #content article > .post-content blockquote {
	margin: 1.75em 0;
	padding: 1em 1.25em;
	background: var(--eb-soft);
	border-left: 4px solid var(--eb-accent);
	border-radius: 0 8px 8px 0;
	font-size: 1.05em;
	font-style: italic;
	color: var(--eb-heading);
}
.single-post #content article > .post-content blockquote p:last-child {
	margin-bottom: 0;
}

/* Tables */
.single-post #content article > .post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.75em 0;
	font-size: 0.95rem;
	display: block;
	overflow-x: auto;
}
.single-post #content article > .post-content th,
.single-post #content article > .post-content td {
	border: 1px solid var(--eb-border);
	padding: 0.6em 0.8em;
	text-align: left;
	vertical-align: top;
}
.single-post #content article > .post-content th,
.single-post #content article > .post-content thead td {
	background: var(--eb-soft);
	font-weight: 600;
	color: var(--eb-heading);
}

.single-post #content article > .post-content hr {
	border: 0;
	border-top: 1px solid var(--eb-border);
	margin: 2.5em 0;
}

/* Fusion Builder text blocks inside a post keep the same rhythm */
.single-post #content article > .post-content .fusion-text {
	font-size: inherit;
	line-height: inherit;
}

/* Meta line under the article */
.single-post #content .fusion-meta-info {
	max-width: var(--eb-measure);
	border-color: var(--eb-border);
	color: var(--eb-muted);
	font-size: 0.875rem;
}

/* ---------- Listing pages (blog home, categories, search) ---------- */
.elarisa-listing-heading {
	padding: 2rem 30px 0;
}
.elarisa-listing-heading .fusion-row {
	max-width: 1300px;
	margin: 0 auto;
}
h1.elarisa-listing-title {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--eb-heading);
	margin: 0;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--eb-accent);
	display: inline-block;
}
h1.elarisa-listing-title .elarisa-listing-page {
	font-weight: 400;
	color: var(--eb-muted);
	font-size: 0.6em;
}
.archive #content .fusion-post-title,
.search #content .fusion-post-title {
	font-weight: 600;
	line-height: 1.3;
}
.archive #content .fusion-post-title a,
.search #content .fusion-post-title a {
	color: var(--eb-heading);
}
.archive #content .fusion-post-title a:hover,
.search #content .fusion-post-title a:hover {
	color: var(--eb-accent);
}

/* Footer text-widget lines that used to be h4/h6 */
.fusion-footer p.elarisa-footer-lead {
	font-size: 1rem;
	margin: 0 0 0.5em;
}
.fusion-footer p.elarisa-footer-links {
	font-size: 0.875rem;
	margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
	.single-post #content article > .post-content {
		font-size: 1.0625rem;
		line-height: 1.7;
	}
	.single-post #content article > .post-content h2 {
		margin-top: 1.9em;
	}
	.single-post #content article > .post-content img.alignleft,
	.single-post #content article > .post-content img.alignright {
		float: none;
		display: block;
		margin: 1.25em auto;
	}
	.elarisa-listing-heading {
		padding: 1.25rem 20px 0;
	}
}
