/* ═══════════════════════════════════════════════════════════════
   ECLOGA ITALIA — SINGLE ARTICLE (estensione di blog.css)
   
   Stile per la pagina articolo singolo, TOC, meta, commenti,
   CTA, articoli correlati.
   ═══════════════════════════════════════════════════════════════ */

.ecloga-single {
	--eh-blue: #1666C0;
	--eh-blue-dark: #124E94;
	--eh-blue-light: #d8e6f7;
	--eh-navy: #0B1A32;
	--eh-white: #FFFFFF;
	--eh-offwhite: #eef2ff;
	--eh-gray-100: #EEF1F5;
	--eh-gray-200: #DDE2EA;
	--eh-gray-300: #C5CCD8;
	--eh-gray-500: #6B7A90;
	--eh-gray-700: #3A4560;
	--eh-text: #1A1D26;

	font-family: 'Outfit', sans-serif;
	color: var(--eh-text);
	line-height: 1.65;
	background: var(--eh-white);
}

.ecloga-single * { box-sizing: border-box; }

.ecloga-single .ecloga-wrap {
	max-width: 1440px;
	margin: auto;
	padding: 0 2rem;
}

/* ═══════════════════════════════════════════
   PROGRESS BAR (reading progress)
   Barra in cima alla viewport, z-index altissimo
   per stare sopra a tutto (incluso header Divi).
   ═══════════════════════════════════════════ */
.ecloga-single .single-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: rgba(11,26,50,.06);
	z-index: 999999;
	pointer-events: none;
}

.ecloga-single .single-progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--eh-blue) 0%, var(--eh-blue-dark) 100%);
	transition: width .1s ease-out;
	box-shadow: 0 0 10px color-mix(in srgb, var(--eh-blue) 60%, transparent);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.ecloga-single .single-hero {
	padding: 2.5rem 2rem 2.5rem;
	background: var(--eh-white);
	border-bottom: 1px solid var(--eh-gray-100);
	position: relative;
	overflow: hidden;
}

.ecloga-single .single-hero::before {
	content: '';
	position: absolute;
	top: -30%;
	left: -20%;
	width: 140%;
	height: 180%;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%230B1A32' stroke-width='.18' fill='none' opacity='.06'/%3E%3C/svg%3E");
	background-size: 60px 60px;
	transform: rotate(45deg);
	pointer-events: none;
}

.ecloga-single .single-hero .ecloga-wrap {
	position: relative;
	z-index: 1;
	max-width: 1440px;
}

.ecloga-single .single-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	margin-bottom: 1.2rem;
	font-size: .82rem;
	color: var(--eh-gray-500);
}

.ecloga-single .single-breadcrumb a {
	color: var(--eh-gray-500);
	text-decoration: none;
	font-weight: 500;
	transition: color .2s;
}

.ecloga-single .single-breadcrumb a:hover {
	color: var(--eh-blue);
}

.ecloga-single .single-breadcrumb-sep {
	color: var(--eh-gray-300);
}

/* ─── Chip categoria ─── */
.ecloga-single .single-cat-chip {
	display: inline-block;
	background: color-mix(in srgb, var(--eh-blue) 11%, white);
	color: var(--eh-blue-dark);
	padding: .35rem .75rem;
	border-radius: 5px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none !important;
	margin-bottom: 1rem;
	transition: all .2s;
}

.ecloga-single .single-cat-chip:hover {
	background: var(--eh-blue);
	color: var(--eh-white);
}

/* ─── Titolo ─── */
.ecloga-single .single-title {
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.18;
	color: var(--eh-navy);
	margin: 0 0 1.2rem 0;
}

/* ─── Meta bar (autore, data, reading time, commenti) ─── */
.ecloga-single .single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .7rem;
	font-size: .9rem;
	color: var(--eh-gray-500);
}

.ecloga-single .single-meta > span,
.ecloga-single .single-meta > a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.ecloga-single .single-meta svg {
	width: 15px;
	height: 15px;
	color: var(--eh-gray-500);
	flex-shrink: 0;
}

.ecloga-single .single-meta-sep {
	color: var(--eh-gray-300);
	font-weight: 700;
}

.ecloga-single .single-meta a {
	color: var(--eh-gray-700);
	text-decoration: none;
	font-weight: 500;
	transition: color .2s;
}

.ecloga-single .single-meta a:hover {
	color: var(--eh-blue);
}

.ecloga-single .single-meta a strong {
	color: var(--eh-navy);
	font-weight: 700;
}

.ecloga-single .single-meta-comments {
	background: color-mix(in srgb, var(--eh-blue) 8%, white);
	padding: .3rem .7rem;
	border-radius: 5px;
	font-weight: 600;
}

.ecloga-single .single-meta-comments:hover {
	background: color-mix(in srgb, var(--eh-blue) 15%, white);
	color: var(--eh-blue-dark) !important;
}

/* ─── Badge "Ultimo aggiornamento" ─── */
.ecloga-single .single-modified {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: 1rem;
	padding: .45rem .85rem;
	background: color-mix(in srgb, #F59E0B 10%, white);
	border: 1px solid color-mix(in srgb, #F59E0B 25%, transparent);
	border-radius: 6px;
	font-size: .78rem;
	color: #92400E;
	font-weight: 600;
}

.ecloga-single .single-modified svg {
	width: 13px;
	height: 13px;
}

.ecloga-single .single-modified strong {
	color: #78350F;
	font-weight: 700;
}

/* ═══════════════════════════════════════════
   IMMAGINE IN EVIDENZA
   ═══════════════════════════════════════════ */
.ecloga-single .single-featured {
	padding: 2rem 2rem 0;
	background: var(--eh-white);
}

.ecloga-single .single-featured .ecloga-wrap {
	max-width: 1260px;
}

.ecloga-single .single-featured-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 4px 8px rgba(11,26,50,.06), 0 20px 40px -16px rgba(11,26,50,.18);
}

/* ═══════════════════════════════════════════
   BODY: contenuto + sidebar
   ═══════════════════════════════════════════ */
.ecloga-single .single-body {
	padding: 3rem 2rem 4rem;
	background: var(--eh-white);
}

.ecloga-single .single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3rem;
	align-items: flex-start;
}

/* ═══════════════════════════════════════════
   CONTENUTO ARTICOLO
   Usa tipografia ottimizzata per lettura lunga.
   ═══════════════════════════════════════════ */
.ecloga-single .single-content {
	min-width: 0;
	max-width: 920px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--eh-gray-700);
}

.ecloga-single .single-content p {
	margin: 0 0 1.2rem 0;
}

.ecloga-single .single-content p:last-child {
	margin-bottom: 0;
}

.ecloga-single .single-content strong,
.ecloga-single .single-content b {
	color: var(--eh-navy);
	font-weight: 700;
}

.ecloga-single .single-content em,
.ecloga-single .single-content i {
	font-style: italic;
}

/* ─── Heading ─── */
.ecloga-single .single-content h2 {
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	color: var(--eh-navy);
	margin: 2.6rem 0 1.1rem 0;
	padding-bottom: .6rem;
	border-bottom: 2px solid var(--eh-navy);
	scroll-margin-top: 2rem;
}

.ecloga-single .single-content > h2:first-child {
	margin-top: 0;
}

.ecloga-single .single-content h3 {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -.015em;
	line-height: 1.3;
	color: var(--eh-navy);
	margin: 2rem 0 .8rem 0;
	padding-left: .9rem;
	border-left: 4px solid var(--eh-blue);
	scroll-margin-top: 2rem;
}

.ecloga-single .single-content h4 {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--eh-navy);
	margin: 1.5rem 0 .5rem 0;
}

/* ─── Link inline ─── */
.ecloga-single .single-content a,
.ecloga-single .single-content a strong,
.ecloga-single .single-content a b,
.ecloga-single .single-content strong a,
.ecloga-single .single-content b a {
	color: var(--eh-blue);
}

.ecloga-single .single-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, var(--eh-blue) 40%, transparent);
	font-weight: 600;
	transition: text-decoration-color .2s, color .2s;
	word-break: break-word;
}

.ecloga-single .single-content a:hover {
	text-decoration-color: currentColor;
	color: var(--eh-blue-dark);
}

/* ─── Liste ─── */
.ecloga-single .single-content ul,
.ecloga-single .single-content ol {
	margin: 0 0 1.2rem 0;
	padding-left: 1.5rem;
}

.ecloga-single .single-content li {
	margin-bottom: .55rem;
	line-height: 1.7;
}

.ecloga-single .single-content ul {
	list-style: none;
	padding-left: 0;
}

.ecloga-single .single-content ul > li {
	position: relative;
	padding-left: 1.5rem;
}

.ecloga-single .single-content ul > li::before {
	content: '';
	position: absolute;
	left: .3rem;
	top: .7rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--eh-blue);
}

.ecloga-single .single-content ol {
	list-style: decimal;
	padding-left: 1.6rem;
}

.ecloga-single .single-content ol > li::marker {
	color: var(--eh-blue);
	font-weight: 700;
}

.ecloga-single .single-content ul ul,
.ecloga-single .single-content ol ol {
	margin-top: .5rem;
	margin-bottom: 0;
}

/* ─── Blockquote ─── */
.ecloga-single .single-content blockquote {
	margin: 1.8rem 0;
	padding: 1.2rem 1.6rem;
	background: var(--eh-offwhite);
	border-left: 4px solid var(--eh-blue);
	border-radius: 0 10px 10px 0;
	font-style: italic;
	color: var(--eh-gray-700);
}

.ecloga-single .single-content blockquote p {
	margin: 0;
}

/* ─── Tabelle ─── */
.ecloga-single .single-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.8rem 0;
	font-size: .92rem;
	border: 1px solid var(--eh-gray-200);
	border-radius: 10px;
	overflow: hidden;
	background: var(--eh-white);
	box-shadow: 0 1px 3px rgba(11,26,50,.03);
}

.ecloga-single .single-content table thead th,
.ecloga-single .single-content table tr:first-child th {
	background: color-mix(in srgb, var(--eh-blue) 10%, white);
	color: var(--eh-navy);
	font-weight: 800;
	text-align: left;
	padding: .8rem 1rem;
	border-bottom: 2px solid color-mix(in srgb, var(--eh-blue) 25%, transparent);
	font-size: .88rem;
}

.ecloga-single .single-content table td {
	padding: .7rem 1rem;
	border-bottom: 1px solid var(--eh-gray-100);
	vertical-align: top;
}

.ecloga-single .single-content table tr:last-child td {
	border-bottom: none;
}

/* Responsive tabelle: scroll orizzontale su mobile */
@media (max-width: 768px) {
	.ecloga-single .single-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ─── Separatore ─── */
.ecloga-single .single-content hr {
	border: none;
	border-top: 1px solid var(--eh-gray-200);
	margin: 2.5rem 0;
}

/* ─── Immagini inline ─── */
.ecloga-single .single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1.5rem 0;
	display: block;
}

.ecloga-single .single-content figure {
	margin: 1.8rem 0;
}

.ecloga-single .single-content figcaption {
	margin-top: .7rem;
	font-size: .85rem;
	color: var(--eh-gray-500);
	font-style: italic;
	text-align: center;
}

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.ecloga-single .single-sidebar {
	position: sticky;
	top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-height: calc(100vh - 3rem);
	overflow-y: auto;
	padding-right: 2px;
}

.ecloga-single .single-sidebar::-webkit-scrollbar {
	width: 6px;
}

.ecloga-single .single-sidebar::-webkit-scrollbar-thumb {
	background: var(--eh-gray-200);
	border-radius: 3px;
}

.ecloga-single .single-sidebar-card {
	background: var(--eh-white);
	border: 1px solid var(--eh-gray-100);
	border-radius: 14px;
	padding: 1.3rem 1.2rem;
	box-shadow: 0 2px 4px rgba(11,26,50,.03), 0 12px 26px -14px rgba(11,26,50,.08);
}

.ecloga-single .single-sidebar-title {
	font-size: .95rem;
	font-weight: 800;
	color: var(--eh-navy);
	margin: 0 0 .9rem 0;
	letter-spacing: -.01em;
}

/* ─── TOC ─── */
.ecloga-single .single-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border-left: 2px solid var(--eh-gray-100);
}

.ecloga-single .single-toc-item {
	margin: 0;
}

.ecloga-single .single-toc-item a {
	display: block;
	padding: .4rem .8rem;
	margin-left: -2px;
	border-left: 2px solid transparent;
	color: var(--eh-gray-700);
	font-size: .87rem;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none !important;
	transition: all .15s;
}

.ecloga-single .single-toc-item a:hover {
	color: var(--eh-navy);
	background: var(--eh-offwhite);
}

.ecloga-single .single-toc-item a.is-active {
	color: var(--eh-blue);
	font-weight: 700;
	border-left-color: var(--eh-blue);
	background: color-mix(in srgb, var(--eh-blue) 5%, white);
}

.ecloga-single .single-toc-h3 a {
	padding-left: 1.6rem;
	font-size: .82rem;
}

/* ─── Autore ─── */
.ecloga-single .single-author-link {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: .15rem .85rem;
	align-items: center;
	text-decoration: none !important;
	color: inherit;
	padding: .3rem 0;
	transition: opacity .2s;
}

.ecloga-single .single-author-link:hover {
	opacity: .9;
}

.ecloga-single .single-author-avatar {
	grid-row: 1 / 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--eh-blue) 0%, var(--eh-blue-dark) 100%);
	color: var(--eh-white);
	font-weight: 800;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: .02em;
}

.ecloga-single .single-author-name {
	grid-column: 2;
	grid-row: 1;
	font-size: .95rem;
	font-weight: 700;
	color: var(--eh-navy);
}

.ecloga-single .single-author-cta {
	grid-column: 2;
	grid-row: 2;
	font-size: .78rem;
	color: var(--eh-blue);
	font-weight: 600;
	transition: gap .2s;
}

.ecloga-single .single-author-link:hover .single-author-cta {
	color: var(--eh-blue-dark);
}

/* ─── Social share ─── */
.ecloga-single .single-share-buttons {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.ecloga-single .single-share-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .85rem;
	border-radius: 8px;
	color: var(--eh-gray-700) !important;
	background: var(--eh-white);
	border: 1px solid var(--eh-gray-200);
	text-decoration: none !important;
	font-weight: 600;
	font-size: .87rem;
	transition: all .2s;
}

.ecloga-single .single-share-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.ecloga-single .single-share-linkedin:hover {
	background: #0A66C2;
	color: var(--eh-white) !important;
	border-color: #0A66C2;
	transform: translateY(-1px);
}

.ecloga-single .single-share-facebook:hover {
	background: #1877F2;
	color: var(--eh-white) !important;
	border-color: #1877F2;
	transform: translateY(-1px);
}

/* ─── Altri articoli (mini nella sidebar) ─── */
.ecloga-single .single-related-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.ecloga-single .single-related-link {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: .6rem .7rem;
	border-radius: 7px;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: all .15s;
}

.ecloga-single .single-related-link:hover {
	background: var(--eh-offwhite);
	border-color: color-mix(in srgb, var(--eh-blue) 18%, transparent);
}

.ecloga-single .single-related-title {
	font-size: .85rem;
	font-weight: 700;
	color: var(--eh-navy);
	line-height: 1.35;
}

.ecloga-single .single-related-date {
	font-size: .72rem;
	color: var(--eh-gray-500);
	font-weight: 500;
}

/* ═══════════════════════════════════════════
   CTA FINALE
   ═══════════════════════════════════════════ */
.ecloga-single .single-cta-wrap {
	padding: 0 2rem 3rem;
	background: var(--eh-white);
}

.ecloga-single .single-cta {
	background: linear-gradient(135deg, var(--eh-navy) 0%, var(--eh-blue-dark) 100%);
	border-radius: 18px;
	padding: 2.5rem 2.5rem;
	color: var(--eh-white);
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.ecloga-single .single-cta::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 200%;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='white' stroke-width='.3' fill='none' opacity='.15'/%3E%3C/svg%3E");
	background-size: 60px 60px;
	transform: rotate(45deg);
	pointer-events: none;
}

.ecloga-single .single-cta-content {
	position: relative;
	z-index: 1;
}

.ecloga-single .single-cta-eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--eh-blue-light) 80%, white);
	margin-bottom: .6rem;
}

.ecloga-single .single-cta-title {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	color: var(--eh-white);
	margin: 0 0 .7rem 0;
}

.ecloga-single .single-cta-desc {
	font-size: .98rem;
	color: rgba(255,255,255,.85);
	line-height: 1.6;
	margin: 0;
}

.ecloga-single .single-cta-actions {
	display: flex;
	flex-direction: column;
	gap: .7rem;
	position: relative;
	z-index: 1;
}

.ecloga-single .single-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .95rem 1.6rem;
	border-radius: 10px;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: all .2s;
	text-align: center;
}

.ecloga-single .single-cta-btn svg {
	width: 15px;
	height: 15px;
}

.ecloga-single .single-cta-btn-primary {
	background: var(--eh-white);
	color: var(--eh-navy) !important;
	box-shadow: 0 4px 14px -3px rgba(0,0,0,.2);
}

.ecloga-single .single-cta-btn-primary:hover {
	background: var(--eh-blue-light);
	transform: translateY(-2px);
	gap: .7rem;
	box-shadow: 0 10px 22px -4px rgba(0,0,0,.3);
}

.ecloga-single .single-cta-btn-secondary {
	background: transparent;
	color: var(--eh-white) !important;
	border: 1.5px solid rgba(255,255,255,.35);
}

.ecloga-single .single-cta-btn-secondary:hover {
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.6);
}

/* ═══════════════════════════════════════════
   ARTICOLI CORRELATI (grid sotto)
   ═══════════════════════════════════════════ */
.ecloga-single .single-related-wrap {
	padding: 3rem 2rem 4rem;
	background: var(--eh-offwhite);
	border-top: 1px solid var(--eh-gray-100);
}

.ecloga-single .single-related-title-section {
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--eh-navy);
	margin: 0 0 2rem 0;
	text-align: center;
}

.ecloga-single .single-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

/* Regole .blog-card rinforzate (fallback se blog.css non caricato).
   Clamp degli SVG per evitare frecce giganti. */
.ecloga-single .single-related-grid .blog-card {
	display: flex;
	margin: 0;
	padding: 0;
}

.ecloga-single .single-related-grid .blog-card-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--eh-white);
	border: 1px solid var(--eh-gray-100);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
	transition: all .25s cubic-bezier(.16,1,.3,1);
	box-shadow: 0 2px 4px rgba(11,26,50,.03), 0 12px 24px -14px rgba(11,26,50,.08);
}

.ecloga-single .single-related-grid .blog-card-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(11,26,50,.04), 0 18px 36px -14px rgba(11,26,50,.14);
	border-color: color-mix(in srgb, var(--eh-blue) 25%, transparent);
}

.ecloga-single .single-related-grid .blog-card-img {
	background-size: cover;
	background-position: center;
	background-color: var(--eh-navy);
	aspect-ratio: 16 / 9;
	width: 100%;
	display: block;
}

.ecloga-single .single-related-grid .blog-card-img-placeholder {
	background: linear-gradient(135deg, var(--eh-navy) 0%, var(--eh-blue-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.ecloga-single .single-related-grid .blog-card-img-placeholder svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: .4;
}

.ecloga-single .single-related-grid .blog-card-content {
	padding: 1.3rem 1.4rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	flex: 1;
}

.ecloga-single .single-related-grid .blog-card-topmeta {
	display: flex;
	align-items: center;
	gap: .7rem;
	flex-wrap: wrap;
	margin-bottom: .1rem;
}

.ecloga-single .single-related-grid .blog-card-cat {
	display: inline-block;
	background: color-mix(in srgb, var(--eh-blue) 11%, white);
	color: var(--eh-blue-dark);
	padding: .3rem .65rem;
	border-radius: 4px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.ecloga-single .single-related-grid .blog-card-date {
	font-size: .78rem;
	color: var(--eh-gray-500);
	font-weight: 500;
}

.ecloga-single .single-related-grid .blog-card-title {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: -.015em;
	line-height: 1.28;
	color: var(--eh-navy);
	margin: 0;
	padding: 0;
	border: none;
}

.ecloga-single .single-related-grid .blog-card-link:hover .blog-card-title {
	color: var(--eh-blue);
}

.ecloga-single .single-related-grid .blog-card-excerpt {
	font-size: .9rem;
	color: var(--eh-gray-700);
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

.ecloga-single .single-related-grid .blog-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin-top: auto;
	padding-top: .9rem;
	border-top: 1px solid var(--eh-gray-100);
}

.ecloga-single .single-related-grid .blog-card-author {
	font-size: .82rem;
	color: var(--eh-gray-500);
}

.ecloga-single .single-related-grid .blog-card-author strong {
	color: var(--eh-navy);
	font-weight: 700;
}

.ecloga-single .single-related-grid .blog-card-arrow {
	color: var(--eh-gray-300);
	transition: all .2s;
	display: flex;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.ecloga-single .single-related-grid .blog-card-link:hover .blog-card-arrow {
	color: var(--eh-blue);
	transform: translateX(3px);
}

/* CLAMP SVG: evita che gli svg diventino giganti se blog.css non applica */
.ecloga-single .single-related-grid .blog-card-arrow svg,
.ecloga-single .single-related-grid svg {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
}

/* ═══════════════════════════════════════════
   COMMENTI
   ═══════════════════════════════════════════ */
.ecloga-single .single-comments-wrap {
	padding: 3rem 2rem 4rem;
	background: var(--eh-white);
	border-top: 1px solid var(--eh-gray-100);
}

.ecloga-single .single-comments-wrap .ecloga-wrap {
	max-width: 920px;
}

.ecloga-single .ecloga-comments .comments-header {
	margin-bottom: 2rem;
}

.ecloga-single .ecloga-comments .comments-title {
	display: flex;
	align-items: center;
	gap: .7rem;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--eh-navy);
	margin: 0;
	padding-bottom: .7rem;
	border-bottom: 2px solid var(--eh-navy);
}

.ecloga-single .ecloga-comments .comments-title svg {
	width: 22px;
	height: 22px;
	color: var(--eh-blue);
}

.ecloga-single .ecloga-comments .comments-empty {
	font-size: .95rem;
	color: var(--eh-gray-500);
	margin: 1rem 0 0;
}

/* ─── Lista commenti ─── */
.ecloga-single .ecloga-comments .comments-list,
.ecloga-single .ecloga-comments .comments-list .children {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ecloga-single .ecloga-comments .comments-list > .ecloga-comment {
	margin-bottom: 1.4rem;
}

.ecloga-single .ecloga-comments .comments-list .children {
	margin-top: 1.2rem;
	margin-left: 2.2rem;
	padding-left: 1.5rem;
	border-left: 2px solid var(--eh-gray-100);
}

.ecloga-single .ecloga-comments .comments-list .children > .ecloga-comment {
	margin-bottom: 1rem;
}

/* ─── Singolo commento ─── */
.ecloga-single .ecloga-comment-body {
	background: var(--eh-white);
	border: 1px solid var(--eh-gray-100);
	border-radius: 12px;
	padding: 1.2rem 1.3rem;
	transition: border-color .2s;
}

.ecloga-single .ecloga-comment.is-staff .ecloga-comment-body {
	background: color-mix(in srgb, var(--eh-blue) 4%, white);
	border-color: color-mix(in srgb, var(--eh-blue) 25%, transparent);
	border-left: 3px solid var(--eh-blue);
}

.ecloga-single .ecloga-comment-head {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	margin-bottom: .7rem;
}

.ecloga-single .ecloga-comment-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--eh-gray-200);
	color: var(--eh-gray-700);
	font-weight: 800;
	font-size: .92rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ecloga-single .ecloga-comment.is-staff .ecloga-comment-avatar {
	background: linear-gradient(135deg, var(--eh-blue) 0%, var(--eh-blue-dark) 100%);
	color: var(--eh-white);
}

.ecloga-single .ecloga-comment-logo {
	font-size: 1.1rem;
	letter-spacing: -.02em;
}

.ecloga-single .ecloga-comment-meta {
	flex: 1;
	min-width: 0;
}

.ecloga-single .ecloga-comment-author {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
}

.ecloga-single .ecloga-comment-author strong {
	color: var(--eh-navy);
	font-weight: 700;
	font-size: .92rem;
}

.ecloga-single .ecloga-comment-badge {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	background: var(--eh-blue);
	color: var(--eh-white);
	padding: .18rem .5rem;
	border-radius: 4px;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.ecloga-single .ecloga-comment-badge svg {
	width: 11px;
	height: 11px;
}

.ecloga-single .ecloga-comment-date {
	font-size: .78rem;
	color: var(--eh-gray-500);
	margin-top: .15rem;
}

.ecloga-single .ecloga-comment-date a {
	color: var(--eh-gray-500);
	text-decoration: none;
}

.ecloga-single .ecloga-comment-date a:hover {
	color: var(--eh-blue);
}

.ecloga-single .ecloga-comment-actions {
	align-self: center;
	flex-shrink: 0;
}

.ecloga-single .ecloga-comment-actions .comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: .35rem .75rem;
	background: transparent;
	color: var(--eh-blue);
	border: 1px solid color-mix(in srgb, var(--eh-blue) 25%, transparent);
	border-radius: 6px;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: all .15s;
}

.ecloga-single .ecloga-comment-actions .comment-reply-link:hover {
	background: var(--eh-blue);
	color: var(--eh-white) !important;
	border-color: var(--eh-blue);
}

.ecloga-single .ecloga-comment-content {
	font-size: .92rem;
	line-height: 1.65;
	color: var(--eh-gray-700);
}

.ecloga-single .ecloga-comment-content p {
	margin: 0 0 .8rem 0;
}

.ecloga-single .ecloga-comment-content p:last-child {
	margin-bottom: 0;
}

.ecloga-single .ecloga-comment-pending {
	font-style: italic;
	color: #92400E;
	background: color-mix(in srgb, #F59E0B 10%, white);
	padding: .5rem .8rem;
	border-radius: 5px;
	font-size: .85rem;
}

/* ─── Paginazione commenti ─── */
.ecloga-single .ecloga-comments .comments-pagination {
	display: flex;
	justify-content: center;
	gap: .3rem;
	margin: 1.5rem 0;
	padding-top: 1rem;
	border-top: 1px solid var(--eh-gray-100);
}

.ecloga-single .ecloga-comments .comments-pagination a,
.ecloga-single .ecloga-comments .comments-pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 .7rem;
	border-radius: 7px;
	border: 1px solid var(--eh-gray-200);
	background: var(--eh-white);
	color: var(--eh-gray-700);
	font-weight: 700;
	font-size: .85rem;
	text-decoration: none !important;
}

.ecloga-single .ecloga-comments .comments-pagination a:hover {
	background: var(--eh-offwhite);
	border-color: var(--eh-blue);
	color: var(--eh-blue);
}

.ecloga-single .ecloga-comments .comments-pagination .current {
	background: var(--eh-blue);
	color: var(--eh-white);
	border-color: var(--eh-blue);
}

/* ─── Form commento ─── */
.ecloga-single .ecloga-comments .comment-respond {
	margin-top: 2.5rem;
	padding: 1.8rem 1.8rem;
	background: var(--eh-offwhite);
	border: 1px solid var(--eh-gray-100);
	border-radius: 14px;
}

.ecloga-single .ecloga-comments .comment-reply-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--eh-navy);
	margin: 0 0 .4rem 0;
	letter-spacing: -.01em;
}

.ecloga-single .ecloga-comments .comment-reply-title small {
	font-size: .82rem;
	font-weight: 500;
	margin-left: .6rem;
}

.ecloga-single .ecloga-comments .comment-reply-title small a {
	color: var(--eh-red, #D13C3C);
	text-decoration: none;
}

.ecloga-single .ecloga-comments .comment-notes {
	font-size: .82rem;
	color: var(--eh-gray-500);
	margin: 0 0 1.2rem 0;
}

.ecloga-single .ecloga-comments .comment-notes .required,
.ecloga-single .ecloga-comments .required {
	color: #D13C3C;
	font-weight: 700;
}

.ecloga-single .ecloga-comments .comment-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ecloga-single .ecloga-comments .comment-form-field {
	margin-bottom: 1rem;
}

.ecloga-single .ecloga-comments .comment-form-row .comment-form-field {
	margin-bottom: 0;
}

.ecloga-single .ecloga-comments .comment-form-field label {
	display: block;
	font-size: .82rem;
	font-weight: 700;
	color: var(--eh-navy);
	margin-bottom: .3rem;
}

.ecloga-single .ecloga-comments .comment-form-field input[type="text"],
.ecloga-single .ecloga-comments .comment-form-field input[type="email"],
.ecloga-single .ecloga-comments .comment-form-field textarea {
	width: 100%;
	padding: .75rem .9rem;
	border: 1px solid var(--eh-gray-200);
	border-radius: 8px;
	background: var(--eh-white);
	font-family: inherit;
	font-size: .95rem;
	color: var(--eh-text);
	transition: border-color .2s, box-shadow .2s;
}

.ecloga-single .ecloga-comments .comment-form-field input:focus,
.ecloga-single .ecloga-comments .comment-form-field textarea:focus {
	outline: none;
	border-color: var(--eh-blue);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--eh-blue) 15%, transparent);
}

.ecloga-single .ecloga-comments .comment-form-field textarea {
	min-height: 140px;
	resize: vertical;
}

.ecloga-single .ecloga-comments .comment-form-cookies {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
}

.ecloga-single .ecloga-comments .comment-form-cookies-label {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-size: .85rem;
	font-weight: 500;
	color: var(--eh-gray-700);
	cursor: pointer;
	margin: 0;
}

.ecloga-single .ecloga-comments .comment-form-cookies-label input {
	margin-top: .2rem;
	flex-shrink: 0;
}

.ecloga-single .ecloga-comments .form-submit {
	margin: 1.4rem 0 0;
}

.ecloga-single .ecloga-comments .submit,
.ecloga-single .ecloga-comments .comment-submit {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--eh-blue);
	color: var(--eh-white);
	padding: .9rem 1.6rem;
	border-radius: 8px;
	border: 2px solid var(--eh-blue);
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	box-shadow: 0 4px 14px -3px color-mix(in srgb, var(--eh-blue) 35%, transparent);
}

.ecloga-single .ecloga-comments .submit:hover,
.ecloga-single .ecloga-comments .comment-submit:hover {
	background: var(--eh-blue-dark);
	border-color: var(--eh-blue-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -4px color-mix(in srgb, var(--eh-blue) 45%, transparent);
}

/* Logged-in status */
.ecloga-single .ecloga-comments .logged-in-as {
	font-size: .85rem;
	color: var(--eh-gray-500);
	margin: 0 0 1.2rem 0;
}

.ecloga-single .ecloga-comments .logged-in-as a {
	color: var(--eh-blue);
	font-weight: 600;
	text-decoration: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
	.ecloga-single .single-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.ecloga-single .single-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.ecloga-single .single-content {
		max-width: none;
	}
	.ecloga-single .single-cta {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 2rem 1.8rem;
	}
	.ecloga-single .single-cta-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.ecloga-single .single-cta-btn {
		flex: 1;
		min-width: 200px;
	}
}

@media (max-width: 768px) {
	.ecloga-single .single-hero {
		padding: 2rem 1rem 2rem;
	}
	.ecloga-single .single-title {
		font-size: 1.7rem;
	}
	.ecloga-single .single-featured {
		padding: 1.5rem 1rem 0;
	}
	.ecloga-single .single-body {
		padding: 2.3rem 1rem 2.5rem;
	}
	.ecloga-single .single-content {
		font-size: .97rem;
	}
	.ecloga-single .single-content h2 {
		font-size: 1.35rem;
		margin-top: 2rem;
	}
	.ecloga-single .single-content h3 {
		font-size: 1.1rem;
	}
	.ecloga-single .single-cta-title {
		font-size: 1.25rem;
	}
	.ecloga-single .single-cta-wrap,
	.ecloga-single .single-related-wrap,
	.ecloga-single .single-comments-wrap {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.ecloga-single .ecloga-comments .comments-list .children {
		margin-left: 1rem;
		padding-left: 1rem;
	}
	.ecloga-single .ecloga-comments .comment-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.ecloga-single .ecloga-comments .comment-respond {
		padding: 1.3rem 1.2rem;
	}
}
